Ok,
This is a rather technical question, as the title indicates, concerning the code of BF2. There is some inconsistency concerning the damage modifier for armour and limbs.
In Common_server.zip you'll find:
materialManagerDefine.con
So Material 23 is the body with armour vest and 77 are limbs. So the damage modifier for this material for the bullets of small arms (material 38) gives you
materialManagerSettings.con
0.66 for armour and 0.7 for limbs...
But the question; Impact 38 on 24 (normal body) uses the effect e_bhit_s_sold_limb, while impact 38 on 77 (limb) uses the effect e_bhit_s_sold_bodyarmor.
What's that all about? Can anyone confirm following the damage modifier:
bullet - bodyarmour 0.66
bullet - body 1
bullet - limbs 0.7
And if so, how is the EffectTemplate corrected?
As I said, quite technical, but hey if you want the numbers to be correct, you'll have to start from the correct assumptions.
Cheers,
R
This is a rather technical question, as the title indicates, concerning the code of BF2. There is some inconsistency concerning the damage modifier for armour and limbs.
In Common_server.zip you'll find:
materialManagerDefine.con
Code:
Material.active 23 Material.name "Human_bodyarmour" Material.type 4 Material.active 24 Material.name "Human_body" Material.type 4 Material.active 77 Material.name "Human_limbs" Material.type 4 Material.active 38 Material.name "Bullet_small_arms" Material.type 2
materialManagerSettings.con
Code:
MaterialManager.createCell 38 23 MaterialManager.damageMod 0.66 MaterialManager.setEffectTemplate 0 e_bhit_s_sold_bodyarmor MaterialManager.setSoundTemplate 0 S_Impact_Kevlar_Vest MaterialManager.createCell 38 24 MaterialManager.damageMod 1 MaterialManager.setEffectTemplate 0 e_bhit_s_sold_limb MaterialManager.setSoundTemplate 0 S_Impact_Flesh MaterialManager.createCell 38 77 MaterialManager.damageMod 0.7 MaterialManager.setEffectTemplate 0 e_bhit_s_sold_bodyarmor MaterialManager.setSoundTemplate 0 S_Impact_Flesh
But the question; Impact 38 on 24 (normal body) uses the effect e_bhit_s_sold_limb, while impact 38 on 77 (limb) uses the effect e_bhit_s_sold_bodyarmor.
What's that all about? Can anyone confirm following the damage modifier:
bullet - bodyarmour 0.66
bullet - body 1
bullet - limbs 0.7
And if so, how is the EffectTemplate corrected?
As I said, quite technical, but hey if you want the numbers to be correct, you'll have to start from the correct assumptions.
Cheers,
R