Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Jul 19, 2015 18:41:09 GMT
Hi, all. I can not get the serious damage resistance for the body armor... maybe is necessary to increase the value upto 100...
File nomadobjecttemplates.xml: ... <object name="BonusPlan"> <!-- string 148938 --> <field name="text_name" type="String">armordefense_a</field> <field name="name" type="Hash32">A275C26B</field> <field name="selBonusTypeId" type="Int32">227563465</field> <object name="BonusPlan"> <field name="bAllowMultipleInstances" type="Boolean">False</field> <object name="Bonuses"> <object name="Bonus"> <field name="selAttribute" type="Int32">77</field> <!-- type="enum">ArmorDamageResistance< --> <field name="value" type="Float32">0.5</field> <!-- 5 or 100? --> <field name="iDifficultyLevel" type="Int32">-1</field> <field name="bAllowStacking" type="Boolean">True</field> <field name="bPositive" type="Boolean">True</field> <field name="locidLocName" type="Int32">-1</field> <field name="selValueType" type="Int32">0</field> <object name="UIAttribute"> <field name="selAttribute" type="Int32">0</field> <field name="Value" type="Float32">0</field> </object> </object> ... Your opinions?
|
|
|
Post by JRavens on Jul 19, 2015 22:16:34 GMT
Is this FC3 or FC4?
There several nomadtemplates in FC4, but only one of them affects changes.
Let's see...
0.5 I think is the damage multiplier so incoming damage is halved. You would make this number .25 for 1/4 damage etc. Could be wrong but try something like .1 or .01 to see if there is any difference.
However:
This bonus plan looks like it's for multiplayer so be sure it is the SP one and also if it is for SP be aware that not everything works even though Ubi coded it. There's lots of stuff that's in there that they were planning on using but then ditched it for whatever reason.
Having said all of that single player body armor in FC4 is handled through another .xml file we found. What you are changing would be a bonus plan like what might be applied if the hero used a damage reducing syringe or a skill that reduced damage. Just picking body armor up off the ground is handled elsewhere I think.
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Jul 20, 2015 1:05:49 GMT
But, how do you think? I have used nomadobjecttemplates.fcb (820 kb) from patch.dat/fat ver. 1.8, folder "generated"... i saw it in common.dat/fat in the same folder... size 798 kb. OK. I'll do more experiments. Thanks.
|
|
|
Post by JRavens on Jul 20, 2015 4:17:29 GMT
>I have used nomadobjecttemplates.fcb (820 kb) from patch.dat/fat ver. 1.8, folder "generated"
Yeah that one is residual from FC3 and doesn't appear to work in game.
The one I think you want is from common.dat and is this file I believe:
\__UNKNOWN\game\CEF2050C2780F74C.fcb
Convert that and try making adjustments to it and add it to your mod patch and see if it works.
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Jul 20, 2015 9:02:34 GMT
I took CEF2050C2780F74C.fcb from patch.dat/fat... I have changed parameter to 1.0... ... <field hash="5CDB3219" type="BinHex">4D000000</field> <!-- type="enum">ArmorDamageResistance< --> <field hash="1D775834" type="Float32">1.0</field> ... ... and I got not sensitive to damage bodyArmor, which fully protects me against assault rifles - AK-47/AK-103. QED.
The issue is closed.
Thanks.
|
|
|
Post by pj on Jul 20, 2015 13:22:25 GMT
Does this mean you cannot be killed - at least by AR's?
|
|
|
Post by JRavens on Jul 20, 2015 14:48:07 GMT
That's interesting so 1.0 sets it to 100% immunity... it's the reverse of what I thought. I'm guessing .9 would mean Ajay only takes 10% damage then etc. So does this deplete worn body armor any faster (or at all)? Maybe with this bit plus the body armor file we can adjust body armor to have more health (which was a frequent mod request) pinging bontainer on this thread.
|
|
|
Post by bontainer on Jul 20, 2015 16:14:37 GMT
Interesting, have to test it..
The base value is 3F = 0,5
Getting more health for the vests would be nice.
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Jul 20, 2015 20:23:47 GMT
Hi. Guys.
"... which fully protects me against assault rifles - AK-47/AK-103." -> "Does this mean you cannot be killed - at least by AR's?" Sorry, It's a irony or, may be, not successful joke. -> "That's interesting so 1.0 sets it to 100% immunity... " 100% immunity for bodyArmor - the perpetual body armor. How body armor protects Ajay - it's a complex question... Ajay will be damaged in any case, because the body armor does not protect the whole body, I think. ... and during hit to the body armor, Ajay should get some damage also, i think. My visual assessment - Ajay slightly longer lives with the perpetual body armor. All depends on the weapons and rank of the enemy. I'm slightly surprised. I used this feature in FC3 and as I know other people use it too... All trainers have this feature. Why are here such questions from the experienced modders?
|
|
|
Post by pj on Jul 20, 2015 22:23:38 GMT
It's a matter of understanding and (written) interpretation of someone else's native language, anvart. Each society has it's own language, and the structure and grammar is not necessarily the same for all cross-interpretations. Sometimes this makes forum communications quite interesting! (and we all share this problem)
"which fully protects me against assault rifles" The word "fully" as you use it means "I will get complete protection against all hits from all AR's" i.e. I do not take any injury - at all - from those weapons. None - which implies I do not die, and this would not be realistic with the type of protective clothing seen in the game - hence my question. It wasn't meant as a joke - ok!
The jacket protection has been an issue for a long time, and seeing your fix was a surprise, and probably caught the eyes of both JR and Bontainer!
All the best,
pj
|
|
|
Post by pj on Jul 20, 2015 22:34:28 GMT
Just a follow-up, Anvart:
Ubisoft FC4 v 1.10.0 has these lines as default:-
<field hash="5CDB3219" type="BinHex">25000000</field> <field hash="1D775834" type="BinHex">0000803F</field> <-- this already converts to a float value of "1", so I think that's an issue with version 1.8.0 of FC4, which I think) you are using.
I also took a look at the CEF file from (JR's) posted Ubi 1.8.0 files, and it also shows this figure "1", so I don't know where any other number is coming from.
<field hash="5CDB3219" type="BinHex">25000000</field> <field hash="1D775834" type="BinHex">0000803F</field>
pj
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Jul 22, 2015 3:12:30 GMT
... "which fully protects me against assault rifles" The word "fully" as you use it means "I will get complete protection against all hits from all AR's" i.e. I do not take any injury - at all - from those weapons. None - which implies I do not die, and this would not be realistic with the type of protective clothing seen in the game - hence my question. It wasn't meant as a joke - ok! ... I have already explained - it's an ironic joke. For what purpose to write not proper words... Maybe I inflicted a wound on your pride... I prefer constructive conversation. Just a follow-up, Anvart: Ubisoft FC4 v 1.10.0 has these lines as default:- <field hash="5CDB3219" type="BinHex"> 25000000</field> <!-- "int32">37< => "enum">HoldBreathTime< --> <field hash="1D775834" type="BinHex">0000803F</field> <-- this already converts to a float value of "1", so I think that's an issue with version 1.8.0 of FC4, which I think) you are using. I also took a look at the CEF file from (JR's) posted Ubi 1.8.0 files, and it also shows this figure "1", so I don't know where any other number is coming from. <field hash="5CDB3219" type="BinHex"> 25000000</field> <field hash="1D775834" type="BinHex">0000803F</field> pj Maybe do you have vision problems? See my first and last posts: <object name=" BonusPlan"> <!-- string 148938 --> <field name="text_name" type="String"> armordefense_a</field> ... <field name="selAttribute" type=" Int32">77</field> <!-- type="enum">ArmorDamageResistance< --> <field name="value" type="Float32">0.5</field> ... <field hash="5CDB3219" type=" BinHex">4D000000</field> <!-- type="enum">ArmorDamageResistance< --> <field hash="1D775834" type="Float32">1.0</field> I hope now you see the difference with your strings...
|
|
|
Post by JRavens on Jul 22, 2015 15:29:24 GMT
>Maybe do you have vision problems?
Easy anvart. Let's not be rude to one another.
I know there are some communication barriers to get over, but try to be polite.
(Also pj is a moderator on these forums. In English we have a phrase - "don't poke the bear")
|
|
|
Post by willyr1100 on Jul 22, 2015 18:58:44 GMT
"don't poke the bear", an angry Grizz is a mean Grizz pilgrim
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Jul 22, 2015 20:03:47 GMT
==> "I know there are some communication barriers to get over,..." The value 4D000000 is the unique value to search for and understanding... Where did you see the communication barrier here? Before presenting any arguments, all need understand the subject of conversation. If there is no understanding, need to ask questions using the appropriate terminology. To understand the relationship between "int32" and "enum" (readable version), see Dunia2 ==> CBonusPlan.binaryclass.xml and FC3 stuff... for encoding (FC4) use only "int32" type.
gb
|
|