Decohack Bug? State freeing for weapons is a little faulty, when doing:
weapon 1 free Fire
weapon 1 "Pistol"
{
states
{
fire:
PISG A 3
PISG B 6 A_FirePistol
PISG C 3
PISG B 4 A_RefireTo(Fire)
goto ready
}
}
It seems like it should only free the states under "fire", but it also frees the state on "ready" and it caused the weapon to fire uncontrollably the moment it got ready at starting the game, so I had to add:
states
{
ready:
PISG A 1 A_WeaponReady
loop
fire:
PISG A 3
PISG B 6 A_FirePistol
PISG C 3
PISG B 4 A_RefireTo(Fire)
goto ready
}
This just ends up not modifying the ready state on the patch at all, only prevents decohack from modifying it, so it ends up being redundant when specifying to only free the fire state.