Right now, all I have for a pseudo-offhand attacking ability is this:
- Code: Select all • Expand view
Reload:
TNT1 A 0 A_CheckFloor("KickEX")
// code for ground attack
Goto Ready
KickEX:
// code for aerial attack
Goto Ready
and I'm having to copy and paste this across all weapon definitions, and when I want to update something, I have to do it in one weapon definition and then copy and paste to the others. The knockback of the attack is also inconsistent since each definition is just inheriting from the weapon that the Reload state is present in.
I could probably see if I could do it in ZScript, but then I'd have to rewrite everything which will take a while, so I'm not sure I want to do that yet...