I've been playing around with the FSM for weapons. I've been having a good time adding reload animations, etc. I was wondering, can you use FSM and the particles command (or the custom particles command) to add shell casings ejecting for a gun?
I gave it a quick test. Added a shell casing png to the end of the weapons image set. It's named correctly. However, when I try to use it, it crashes. I assume I am doing something incorrect.
state ATTACK IDLE 0
frame 2 0.01 0 0 0 NONE
frame 3 0.02 0 0 0 SOUNDANDATTACK 0
frame 4 0.02 0 0 0 MUZZLEANDFLASH
frame 5 0.02 0 0 0 PARTICLES 25 1,1,0,0,1,0,0,1
frame 6 0.02 0 0 0 READY
frame 7 0.01 0 0 0 NONE
frame 1 0.01 0 0 0 NONE
Here's my quick little test. I admit I have no idea what I am doing ha ha