
Now, is a shame this is taking this long. Adding offsets per tic in an animation that lasts around 50 tics, is certainly time consuming.
I get around this by using A_WeaponReady(WRF_NOFIRE), which resets the offset to 0,32.DBThanatos wrote:That weird tiny one-pixel movement at the end of the offsetted ones, is because of a certain issue regarding the offsets
Actually, you don't want to prevent bobbing, as that's what resets the offsets. However, if you want a weapon without autofire to have a longer animation but a quicker rate of fire, padding the end of the fire states with A_WeaponReady(WRF_NOBOB) will allow the player to click to fire another shot sooner, while the offset animation is still going.DBThanatos wrote:Ahh1 So that's what they meant in that topic! Thanks for that. But I'll also add the flag to prevent bobbing, just in case