My problem: I wanted to add an alt attack for a weapon. Made a .states file for said weapon, with the name matching the name in Weapons. dat. After making the states file, the program could not run its Test Game or Test Current Map. After deleting said states file, it works like normal. Is my code for the States wrong?
Code:
image Melee Kick 0 8
sound Melee KickFire
state IDLE NONE 0
frame 1 0.25 0 0 0 NONE
frame 1 0.25 0 0 0 READY
state ATTACK IDLE 0
frame 2 0.25 0 0 0 NONE
frame 3 0.25 0 0 0 SOUNDANDATTACK 0
frame 4 0.25 0 0 0 READY
frame 5 0.25 0 0 0 NONE
frame 6 0.25 0 0 0 NONE
frame 7 0.25 0 0 0 NONE
frame 1 1 0 0 0 NONE
state ALTATTACK IDLE 0
frame 1 0.25 0 0 0 NONE
frame 8 0.25 0 0 0 SOUNDANDATTACK 0
frame 2 0.25 0 0 0 READY
frame 7 1 0 0 0 NONE
Thank you