how does the damage system for weapons work?

Post Reply
User avatar
samjb1992
Posts: 607
Joined: Thu Jan 26, 2012 10:05 am

how does the damage system for weapons work?

Post by samjb1992 » Fri May 11, 2012 6:29 pm

i am trying to change how much damage a weapon does to an enemy with each attack and i can't seem to get it to have anymore effect with increased states in the attack xml files for the dog hammer then with its original stats, how do u change the weapons attack xml so that the weapon does more damage?

User avatar
SteelRaven7
Posts: 681
Joined: Sat Sep 26, 2009 4:02 pm
Location: Sweden

Re: how does the damage system for weapons work?

Post by SteelRaven7 » Sat May 12, 2012 4:23 am

Code: Select all

<block_damage min="0.0" max="0.1"/>
<damage min="0.0" max="0.1"/>
<sharp_damage min="0.5" max="0.7"/>
block_damage is the damage done if the attack is blocked.
damage is the normal blunt damage.
sharp_damage is sharpness damage.

I don't think there is a difference between blunt and sharpness damage right now, but I guess it'll affect armor differently somehow in the future.

User avatar
Korban3
Posts: 4146
Joined: Tue May 31, 2011 9:14 pm
Location: 42nd St E, Hell

Re: how does the damage system for weapons work?

Post by Korban3 » Wed May 16, 2012 1:57 am

:D You're not using my hammer mod are you? The hammer wasn't functional for a while, so I add the spear animations and made it have weak default damage. The real damage with that weapon is the secondary impacts that it causes. My intent was to have it be used for pushing enemies into walls, floors and off cliffs, depending on the situation to make it more strategic. No armor yet means that a one-shot hammer attack is boring and OP.

User avatar
samjb1992
Posts: 607
Joined: Thu Jan 26, 2012 10:05 am

Re: how does the damage system for weapons work?

Post by samjb1992 » Wed May 16, 2012 3:21 pm

Korban3 wrote::D You're not using my hammer mod are you? The hammer wasn't functional for a while, so I add the spear animations and made it have weak default damage. The real damage with that weapon is the secondary impacts that it causes. My intent was to have it be used for pushing enemies into walls, floors and off cliffs, depending on the situation to make it more strategic. No armor yet means that a one-shot hammer attack is boring and OP.
no and i got the weapons to do more damage now so i am happy

Post Reply