Otfan125
Well-Known Member
Hey everyone, I'm trying to implement a melee system that applies different conditions (stun, bleeding, critical, etc.) during combat.
Is there a way to do this through source edit? I've been editing weapon.cpp with a lot of success so far, though adding conditions has not been so straight forward to me.
I know there is a way to do this, which is by creating a .lua script in data/weapons and apply it to every melee item there is, though, I wish to circumvent this and attempt to do it through the c++ sources... Any pointers?
Thanks!
Is there a way to do this through source edit? I've been editing weapon.cpp with a lot of success so far, though adding conditions has not been so straight forward to me.
I know there is a way to do this, which is by creating a .lua script in data/weapons and apply it to every melee item there is, though, I wish to circumvent this and attempt to do it through the c++ sources... Any pointers?
Thanks!