|
Post by JRavens on Apr 11, 2015 18:41:04 GMT
originally by user wmk:
From Hardcore mod FAQ.txt:
Q: How can I change the crafting stuff (how many slots in the loot bag, wallet size, etc)? A: The game does not accept changes from the file controlling those. So for now you cannot.
It is possible. Two files must be changed:
1. __UNKNOWN\misc\4EF705FE5CDB8750.fcb - the values from this file are used only for displaying. 2. __UNKNOWN\game\CEF2050C2780F74C.fcb - this contains the real values for upgraded wallets / loot bags etc...
To find the data for loot bags in the last file search for following hashes: 65E2EEB4 (lootbag_lv1), DFB3E72D (lv2), 4983E05A (lv3) and EA1684C4 (lv4). For each crafted lootbag there's a value specifying the number of additional slots. Actually for all of them there's the same value: 0000F041 = 0x41F00000 = 30.0 (as a float).
To find the data for crafted wallets search in the last file for 09DB26D9 (lv1), B38A2F40 (lv2), 25BA2837 (lv3) and 862F4CA9 (lv4). The default values are 00247448 = 0x48742400 = 250000.0, 0024F448 = 0x48F42400 = 500000.0, 00247449 = 0x49742400 = 1000000.0 and 001B374A = 0x4A371B00 = 3000000.0.
See generated\nomadobjecttemplates.fcb to find the hashes for other crafted items.
|
|
|
Post by bontainer on Apr 25, 2015 17:34:07 GMT
I have a problem with this. I can`t get 0x4A371B00 into any relation to 3000000.0 or 0x41F00000 to 30.0
How are the numbers decoded? Hex to dec does definitely not work.
|
|
|
Post by JRavens on Apr 26, 2015 16:51:48 GMT
I have a problem with this. I can`t get 0x4A371B00 into any relation to 3000000.0 or 0x41F00000 to 30.0 How are the numbers decoded? Hex to dec does definitely not work. Sorry they are float32 numbers. Just ignore wmk's conversions. You can use the numbers you find in the file and convert it yourself directly rather than use some weird conversion process. (I think he was using a hex editor to do it... not sure) Most values in the game are either string, float32, or Int32 depending on the data. There are others, but primarily those are the value types. If you don't have a converter you can change the lines like this to achieve the desired results (for example wallet level 1): <field hash="1D775834" type="BinHex">00247448</field> change to: <field hash="1D775834" type="Float32">250000</field> You can also comment files yourself to make things easier. For example: <field hash="1D775834" type="BinHex">00247448</field> // 250,000 Float32 Anything after // will be discarded when the file is packed. Note however you need to keep this file separately because once it's converted by Gibbed when it's unpacked again all of your edits (float32, comments) will be stripped out and returned to bin hex format. Your changed amounts WILL remain, but they will be converted back to binhex values and all your comments will be stripped out and gone. So best bet is to keep a copy separately yourself that you keep commented to make it easier for you to do changes in the future.
|
|
|
Post by bontainer on Apr 26, 2015 17:06:57 GMT
Ok, thanks a lot. So what i need now are the hashes for the other equipment, most important ammo and launcher grenades, to finish my hard(er)core mod...
|
|
|
Post by JRavens on Apr 26, 2015 17:53:17 GMT
Ok, thanks a lot. So what i need now are the hashes for the other equipment, most important ammo and launcher grenades, to finish my hard(er)core mod... BTW Notepad++ HATES this file because of it's large size and huge amount of line numbers. If you have trouble switching from one application to another you might want to try a different editor. So the GEAR section starts at: <field hash="A7056326" type="BinHex">4765617200</field> 4765617200 is binhex for the string "Gear" Here's an easy way to find each component (search for each - hopefully I haven't screwed any of these up in my copy paste): E068FC5C weaponholster 1 5A39F5C5 weaponholster 2 CC09F2B2 weaponholster 3 C37FF0B2 arrowquiver 1 792EF92B arrowquiver 2 EF1EFE5C arrowquiver 3 4C8B9AC2 arrowquiver 4 54B3C2E7 throwablessatchel 1 EEE2CB7E throwablessatchel 2 78D2CC09 throwablessatchel 3 B8BC8F02 throwablessatchel 4 87DFBFB7 explosivessatchel 1 3D8EB62E explosivessatchel 2 ABBEB159 explosivessatchel 3 E3D432BD explosivessatchel 4 BAF23ED9 flametanksatchel 1 00A33740 flametanksatchel 2 96933037 flametanksatchel 3 350654A9 flametanksatchel 4 CC968E86 rocketsatchel 1 76C7871F rocketsatchel 2 E0F78068 rocketsatchel 3 4362E4F6 rocketsatchel 4 B190424B ammopouch 1 0BC14BD2 ammopouch 2 9DF14CA5 ammopouch 3 5387B4C0 ammopouch 4 9CC85B24 recipepouch 1 269952BD recipepouch 2 B0A955CA recipepouch 3 133C3154 recipepouch 4 65E2EEB4 lootbag 1 DFB3E72D lootbag 2 4983E05A lootbag 3 EA1684C4 lootbag 4 09DB26D9 wallet 1 B38A2F40 wallet 2 25BA2837 wallet 3 862F4CA9 wallet 4 5A804B8B baitbag 1 E0D14212 baitbag 2 76E14565 baitbag 3 D57421FB baitbag 4 E21F487E heavyammo 1 584E41E7 heavyammo 2 CE7E4690 heavyammo 3 6DEB220E heavyammo 4 All the field hashes are going to start with 1D775834 i.e. wallet 1 is <field hash="1D775834" type="BinHex">00247448</field> We already know that this converts as Float32 to 250,000 So these fields all designate the VALUE of the effect to apply so in our wallets case this is how much additional cash limit to add (+250000). The field above them start with 5CDB3219 i.e. <field hash="5CDB3219" type="BinHex">6D000000</field> This field designates WHICH DATA to apply the bonus to so in this case 6D000000 is NOT a Float32 number (6D000000 = 1.527415E-43). Checking it as an Int32 produces 6D000000 = 109 which must mean that effect number 109 is maximum wallet capacity. This jives with some of the others ID numbers I have seen for various effects. NOTE that things like the ammo bags and heavy ammo etc are all going to have MULTIPLE numbers to change (field hash="1D775834") because they effect multiple different maximum capactities. For example the ammo bag affects max pistol ammo, shotgun ammo, assault rifle ammo, etc etc. You might have to do some trial and error to determine which field affects which ammo type. This is where commenting your file becomes very helpful More on the NomadObjects file later (skills, xp levels, etc)
|
|
|
Post by bontainer on Apr 26, 2015 18:24:58 GMT
G R E A T ! ! ! Thank you!
|
|
|
Post by bontainer on Apr 26, 2015 18:44:45 GMT
Could you perhaps attach your commented file, that would be extremely helpful.
|
|
|
Post by bontainer on Apr 27, 2015 8:23:16 GMT
I have a another problem. I tried to adapt the heavyammo values. Right now they are extremely high, 52 at Tier 3 and 66 at Tier 4, e.g. a progression of 14 staring from 10 = 10,24,38,52,66
If I change the values in the fields (set them all to float32 "1")
E21F487E heavyammo 1 584E41E7 heavyammo 2 CE7E4690 heavyammo 3 6DEB220E heavyammo 4
and reconvert it to .fcb it has no effect on the values in game, they stay as they are.
|
|
|
Post by JRavens on Apr 27, 2015 16:06:35 GMT
I have a another problem. I tried to adapt the heavyammo values. Right now they are extremely high, 52 at Tier 3 and 66 at Tier 4, e.g. a progression of 14 starting from 10 = 10,24,38,52,66 If I change the values in the fields (set them all to float32 "1") E21F487E heavyammo 1 584E41E7 heavyammo 2 CE7E4690 heavyammo 3 6DEB220E heavyammo 4 and reconvert it to .fcb it has no effect on the values in game, they stay as they are. Hmmm so under each one of those you are changing each of the "1D775834" lines to: <field hash="1D775834" type="Float32">1</field> And not seeing a change in the heavy ammo capacity? Do you see changes on other things (wallets, loot bag, etc) using the same method (Float32)? If not then I think we are having a problem with this file being read. If so then it has to be something in the data - either a syntax error, wrong lines changed or I screwed up which entry affects which thing (maybe the heavyammo entries I listed are for actually for some other gear like explosives or throwables... I might have 2 types swapped by accident) Can you post a code block of your heavyammo 1 - the full block including your changed lines and lines you didn't change. Not sure why this wouldn't be working... >Could you perhaps attach your commented file, that would be extremely helpful. That would be awesome wouldn't it? You know if I actually DID the things I tell other people to do and properly commented files and didn't accidentally pack up those commented files. Or double delete them thinking they weren't needed anymore or other bonehead moves like that. Yeah I'm still sorting through dozens and dozens of disorganized folders trying to find notes and commented files. I'm horribly unorganized for someone who does modding.
|
|
|
Post by bontainer on Apr 27, 2015 16:26:06 GMT
Grin, it always comes back to bite you.
This problem with the huge amounts of GL ammo was something along HC20, before the values were normal.
Here is an exerpt from the file, the fcb is too big forthis forum.
<object hash="7D9E97B2">
<field hash="5E237E06" type="BinHex">E21F487E</field>
<field hash="57F2673F" type="BinHex">C957900D</field>
<object hash="7D9E97B2">
<field hash="2D06EB93" type="BinHex">00</field>
<object hash="4A88F64E">
<object hash="5E59507E">
<field hash="5CDB3219" type="BinHex">39000000</field>
<field hash="1D775834" type="Float32">1</field> // 6 Float 32, grenade tier 1
<field hash="86CEF28B" type="BinHex">FFFFFFFF</field>
<field hash="42964DFA" type="BinHex">01</field>
<field hash="423694D6" type="BinHex">01</field>
<field hash="70DE02EE" type="BinHex">FFFFFFFF</field>
<field hash="94D3B6E3" type="BinHex">01000000</field>
<object hash="9E439516">
<field hash="5CDB3219" type="BinHex">00000000</field>
<field hash="DCB67730" type="BinHex">00000000</field>
</object>
</object>
<object hash="5E59507E">
<field hash="5CDB3219" type="BinHex">3A000000</field>
<field hash="1D775834" type="BinHex">0000803F</field>
<field hash="86CEF28B" type="BinHex">FFFFFFFF</field>
<field hash="42964DFA" type="BinHex">01</field>
<field hash="423694D6" type="BinHex">01</field>
<field hash="70DE02EE" type="BinHex">FFFFFFFF</field>
<field hash="94D3B6E3" type="BinHex">01000000</field>
<object hash="9E439516">
<field hash="5CDB3219" type="BinHex">00000000</field>
<field hash="DCB67730" type="BinHex">00000000</field>
</object>
</object>
<object hash="5E59507E">
<field hash="5CDB3219" type="BinHex">5A000000</field>
<field hash="1D775834" type="BinHex">0000C040</field>
<field hash="86CEF28B" type="BinHex">FFFFFFFF</field>
<field hash="42964DFA" type="BinHex">01</field>
<field hash="423694D6" type="BinHex">01</field>
<field hash="70DE02EE" type="BinHex">FFFFFFFF</field>
<field hash="94D3B6E3" type="BinHex">01000000</field>
<object hash="9E439516">
<field hash="5CDB3219" type="BinHex">00000000</field>
<field hash="DCB67730" type="BinHex">00000000</field>
</object>
</object>
<object hash="5E59507E">
<field hash="5CDB3219" type="BinHex">5B000000</field>
<field hash="1D775834" type="BinHex">00004040</field>
<field hash="86CEF28B" type="BinHex">FFFFFFFF</field>
<field hash="42964DFA" type="BinHex">01</field>
<field hash="423694D6" type="BinHex">01</field>
<field hash="70DE02EE" type="BinHex">FFFFFFFF</field>
<field hash="94D3B6E3" type="BinHex">01000000</field>
<object hash="9E439516">
<field hash="5CDB3219" type="BinHex">00000000</field>
<field hash="DCB67730" type="BinHex">00000000</field>
</object>
</object>
<object hash="5E59507E">
<field hash="5CDB3219" type="BinHex">00000000</field>
<field hash="1D775834" type="BinHex">00000000</field>
<field hash="86CEF28B" type="BinHex">FFFFFFFF</field>
<field hash="42964DFA" type="BinHex">01</field>
<field hash="423694D6" type="BinHex">01</field>
<field hash="70DE02EE" type="BinHex">FFFFFFFF</field>
<field hash="94D3B6E3" type="BinHex">00000000</field>
<object hash="9E439516">
<field hash="5CDB3219" type="BinHex">00000000</field>
<field hash="DCB67730" type="BinHex">00000000</field>
</object>
</object>
</object>
</object>
</object>
<object hash="7D9E97B2">
<field hash="5E237E06" type="BinHex">584E41E7</field>
<field hash="57F2673F" type="BinHex">C957900D</field>
<object hash="7D9E97B2">
<field hash="2D06EB93" type="BinHex">00</field>
<object hash="4A88F64E">
<object hash="5E59507E">
<field hash="5CDB3219" type="BinHex">39000000</field>
<field hash="1D775834" type="Float32">1</field> // 6 Float 32, grenade tier 2
<field hash="86CEF28B" type="BinHex">FFFFFFFF</field>
<field hash="42964DFA" type="BinHex">01</field>
<field hash="423694D6" type="BinHex">01</field>
<field hash="70DE02EE" type="BinHex">FFFFFFFF</field>
<field hash="94D3B6E3" type="BinHex">01000000</field>
<object hash="9E439516">
<field hash="5CDB3219" type="BinHex">00000000</field>
<field hash="DCB67730" type="BinHex">00000000</field>
</object>
|
|
|
Post by bontainer on Apr 27, 2015 17:25:49 GMT
It could be the fuel tanks, the amount at Tier 3 is 103. Thats 100 + 3x 1
|
|
|
Post by JRavens on Apr 28, 2015 12:51:37 GMT
Hmmm no that looks correct. I'm pretty sure it is heavy ammo too since it's affecting multiple things... lets see:
You changed this thinking it is GL ammo, but I suspect like you that it is flamer fuel:
<field hash="5CDB3219" type="BinHex">39000000</field> // int32 for 57 - this appears under flametanksatchel as well <field hash="1D775834" type="BinHex">0000C842</field> // float32 for 100
This is possibly RPG rockets:
<field hash="5CDB3219" type="BinHex">3A000000</field> // int32 for 58 <field hash="1D775834" type="BinHex">0000803F</field> // this float32 for 1
This is most likely you GL ammo:
<field hash="5CDB3219" type="BinHex">5A000000</field> // int32 for 90 <field hash="1D775834" type="BinHex">0000C040</field> // float32 for 6
Not sure about this one. It only appears under heavy ammo. I think it may be mines, because oddly mines don't appear under the explosives satchels. In my mind the explosves satchel should give you C4 & mines capacity. Might be worth fixing.
<field hash="5CDB3219" type="BinHex">5B000000</field> // int32 for 91 <field hash="1D775834" type="BinHex">00004040</field> // float32 for 3
|
|
|
Post by wmk on May 1, 2015 19:32:47 GMT
I have a problem with this. I can`t get 0x4A371B00 into any relation to 3000000.0 or 0x41F00000 to 30.0 How are the numbers decoded? Hex to dec does definitely not work. You can use this: gregstoll.dyndns.org/~gregstoll/floattohex
|
|
|
Post by bontainer on May 1, 2015 21:24:35 GMT
Great! Thank you!
|
|
|
Post by bontainer on May 3, 2015 14:16:08 GMT
Ok, I did a bit of checking E21F487E heavyammo 1 584E41E7 heavyammo 2 CE7E4690 heavyammo 3 6DEB220E heavyammo 4 are infact the flametanksatchel values. BAF23ED9 flametanksatchel 1 00A33740 flametanksatchel 2 96933037 flametanksatchel 3 350654A9 flametanksatchel 4 I changed them but they do not register at all in the shop so they must be something different. Do you have any idea, which values could be the GL ammo? The current progression is 14 starting from 10 = 10,24,38,52,66, but I do not know what 14 would look like in the XML file. It definitely is not 0x41600000. Looking for 41600 does not register any results and I do not know how to convert other than from floating point to hex. so I would need the coded version of "14" I to search in the XML file. On the other hand I have now found and changed all the standard ammo values B190424B ammopouch 1 0BC14BD2 ammopouch 2 9DF14CA5 ammopouch 3 5387B4C0 ammopouch 4 (see table in attached excel file), the different blocks below the header are Handguns, SMG, Shotgun, Assault, Sniper and LMG in that order. I included the hex numbers for reference, but the numbers in the files are the values I chose for the hard(er)core version.
|
|