Re: Re:Better Visibility for Resource Crates.

Just Cause 2 Mods Forums Mod Ideas Better Visibility for Resource Crates. Re: Re:Better Visibility for Resource Crates.

#85441

c411umh wrote:

Quote:
In player.bin there’s a setting called “ResourceItemPickupRange” and it’s default is set to 150. Whap that up to 500 or so and you can extend the range of the scanner.

I tried increasing this to 3000, and didn’t really notice any change (yes, I converted the XML back into BIN and put it in the dropzone folder).

The icon thing just kind of .. vanishes if you can’t see the crate anymore (ie, it’s on top of a building and you jump off the building), might have something to do with the game unloading that model or something when it’s obscured from vision.

So.. not as helpful as I would of hoped :(

Perhaps an alternative would be to make the hitbox for the resource crates bigger or something?

If you want to test it yourself, here’s a player.bin with 1000x the default ResourceItemPickupRange (150 -> 150000): http://www.omploader.org/vNDU3MA/1000x_ResourceItemPickupRange_JustCause2.7z

Edit:

Found the relevant files for the pickup crate objects.. no real way to edit anything useful inside of them though.

pickup.boost.armor.ee(z)
pickup.boost.cash.ee(z)
pickup.boost.vehicle.ee(z)
pickup.boost.weapon.ee(z)

I’m pretty sure the pickup.boost.*.ee.epe files inside of those are what is “of interest” for this purpose :P

Unfortunately, I suck at hex editing and don’t have the vaguest idea of where to begin on this:

Code:
50434242E0090000394954000200000010000000200000000100000001000000DDDDDDDDDDDDDDDD79B173140200000030000000600000000300000040000000DDDDDDDDDDDDDDDD4353696D706C6552696769644F626A65637400DDDDDDDDDDDDDDDDDDDDDDDDDDBB6C9D1801000000700000005003000080000000DDDDDDDDDDDDDDDDDDDDDDDDEDFDA00A0200000090000000B000000003000000A0000000DDDDDDDDDDDDDDDD00DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDC03CB71102000000C0000000D00000000100000002000000DDDDDDDDDDDDDDDD79B1731402000000E00000000001000003000000F0000000DDDDDDDDDDDDDDDD434F75746C696E65
Code:
PCBB….9IT……… ……………….y.s…..0…`……[email protected]………..CSimpleRigidObject……………l……p…P…………………………………………………………..<…………………………y.s………………………..COutline