Post by LinkHero95 on Sept 14, 2018 17:08:24 GMT
Can someone tell me how to mod body armour in Far Cry 4 so that animal attacks do not damage it ?? I'm sick and tired of buying armour in the store only to lose half of it in a random wild animal encounter.
Thanks in advance!!
EDITED by JRAVENS
The attached file can be converted back and forth using Gibbed.Dunia2.ConvertXml.exe
When converted to XML it looks as such:
<lib>
<Generic disLibItemId="7780278970635" Name="Armor_Basic" hidGUID_Legacy="{11880EE7-D726-413F-B9F9-2A0291D3FD15}" hidSingleObject="0" bCanBeShared="1" hidName="Armor_Basic" hidKey="1001332968" fPierceDamageMitigation="0.75" fCrushDamageMitigation="0.75" fCutDamageMitigation="0" fBurnDamageMitigation="0" fDirtDamageMitigation="0" fExplosionDamageMitigation="0.75" fToxicDamageMitigation="0" fStunDamageMitigation="0" />
</lib>
It's unclear what all of these do without further testing. My belief was fPierceDamageMitigation="0.75" reduced bullet damage by multiplying it by x0.75 (which is pretty much how it works on enemies who have high armor or if you shoot them in the legs vs the body or head)
fCrushDamageMitigation should affect the melee damage (flevel) of weapons as listed in their weapon .ark.xml files. Likewise (obviously) fPierceDamageMitigation should affect bullet damage from those same files.
Animals likely do "cutting" damage so fCutDamageMitigation is probably the key there... although I'm pretty sure thats counter to how it typically works for example body armor doesn't make you impervious to burning so that entry has a zero... same thing with toxic damage which I would assume to be snake bites. Unless those specific entries work differently. fDirtDamageMitigation is likely falling damage which again body armor does not protect against. Again all of these need some extensive testing to be sure.
EDIT: Ayup checking the original file fCutDamageMitigation was set to 0.75
Note that none of this alters the total amount of damage that body armor can absorb which I have not been able to find
Body armor functions as an additional health bar above the players standard one. However I believe this bar has a fixed health of 100 points. Though again this needs to be tested. I suppose someone with the desire could change enemy weapon damage to 100 and count the number of hits body armor absorbs. If the above assumptions I wrote are correct body armor should take 25 damage per hit (100 damage x 0.75) and it should take four of those hits to deplete the armor completely.
Another test for fire and toxins would be to set the number very low say 0.01 or even (if it will accept it) 0.001 and then those things should do vastly reduced damage perhaps even none.
If any DOES test any of this I would appreciate posting your findings to this thread for future use by modders