• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

Where exactly i can set weapon damage?

Solomon

Refugee
Im trying to make some custom modlet weapons for my servers, i have got the baselines up the xpath for the items, the names, ammunation but i just cant figure out how do i exactly set the damage of a weapon.

Im pretty sure i need to modify the items.xml entity lines (the first one most likely):

        <passive_effect name="EntityDamage" operation="base_add" value="15"/>

        <passive_effect name="EntityDamage" operation="perc_add" value="-.15,.15"/> <!-- random EntityDmg -->
        <passive_effect name="EntityDamage" operation="perc_add" value=".1,.5" tier="2,6"/> <!-- tier bonus -->
        <passive_effect name="BlockDamage" operation="perc_add" value="-.15,.15"/> <!-- random BlockDmg -->
        <passive_effect name="BlockDamage" operation="perc_add" value=".1,.5" tier="2,6"/> <!-- tier bonus -->

but not sure how, i kinda expected a set base value somewhere here what i just increase or decrease. Do i get it right that i technically just add a bonus value to the power of the bullets and its not the weapons what actually hold the damage values?

 
Back
Top