Hello everyone, i was doing some testing today to figure out how to make headshots do more damage and body shots do less than headshots (the game naturally has headshot damage do more damage but i wanted to see if i can increase it)
So this is what i have found:
Here is the full code (i added it to the wooden bow which can be found in items.xml)
<property name="Group" value="Ammo/Weapons,Basics"/>
<effect_group name="Base Effects"> <!-- gunWoodenBow -->
<passive_effect name="DamageFalloffRange" operation="base_set" value="20"/>
<passive_effect name="MaxRange" operation="base_set" value="100"/>
<passive_effect name="MagazineSize" operation="base_set" value="1"/>
<passive_effect name="DamageModifier" operation="perc_add" value="2" tags="head"/>
<passive_effect name="EntityDamage" operation="perc_add" value="0"/>
<passive_effect name="BlockDamage" operation="perc_add" value="0"/>
everything in this code is default except what i added which is
<passive_effect name="DamageModifier" operation="perc_add" value="2" tags="head"/>
Now i am not sure how this is calculated or how much this will affect the headshot perk but with a value of 2, i had to shoot 2 arrows into a zombies head to kill him, and i put his health at 300, so you can calculate what value you want....
I made my server a bit harder, Zombies have increased health (just by a little bit) and i made some of them run (runners hit less damage but stun more) and others walk (hit harder, adds random bleed/infection/stun, i added zombie bosses that have high health that drops good loot to make it worth killing them...
so i wanted to up the damage to the wooden bow but only to headshots... with the codes above, i tested it and it worked exactly how i wanted.... i tested this on a fresh character so i am not sure how the headshot perk will affect it yet.
hope this helps anyone
Happy Modding!
So this is what i have found:
Here is the full code (i added it to the wooden bow which can be found in items.xml)
<property name="Group" value="Ammo/Weapons,Basics"/>
<effect_group name="Base Effects"> <!-- gunWoodenBow -->
<passive_effect name="DamageFalloffRange" operation="base_set" value="20"/>
<passive_effect name="MaxRange" operation="base_set" value="100"/>
<passive_effect name="MagazineSize" operation="base_set" value="1"/>
<passive_effect name="DamageModifier" operation="perc_add" value="2" tags="head"/>
<passive_effect name="EntityDamage" operation="perc_add" value="0"/>
<passive_effect name="BlockDamage" operation="perc_add" value="0"/>
everything in this code is default except what i added which is
<passive_effect name="DamageModifier" operation="perc_add" value="2" tags="head"/>
Now i am not sure how this is calculated or how much this will affect the headshot perk but with a value of 2, i had to shoot 2 arrows into a zombies head to kill him, and i put his health at 300, so you can calculate what value you want....
I made my server a bit harder, Zombies have increased health (just by a little bit) and i made some of them run (runners hit less damage but stun more) and others walk (hit harder, adds random bleed/infection/stun, i added zombie bosses that have high health that drops good loot to make it worth killing them...
so i wanted to up the damage to the wooden bow but only to headshots... with the codes above, i tested it and it worked exactly how i wanted.... i tested this on a fresh character so i am not sure how the headshot perk will affect it yet.
hope this helps anyone
Happy Modding!