|Data Realms Fan Forums
|Sprite Animation for Semi-Automatic weapons
|Page 1 of 1|
|Author:||Magmacow358 [ Thu Nov 06, 2014 2:39 am ]|
|Post subject:||Sprite Animation for Semi-Automatic weapons|
So lately I've been toying with SpriteAnims, and have managed to sync a few assault rifles so that they have recoil/bolt animations instead of being static.
However, it doesn't seem to work with guns that don't fire full auto.
I've been using SpriteAnimMode 4, which loops the different .bmps as long as the trigger is being held, but things like sniper rifles and shotguns can't be used this way, thus it doesn't work.
Is there a SpriteAnimMode or lua workaround?
|Author:||p3lb0x [ Thu Nov 06, 2014 12:48 pm ]|
|Post subject:||Re: Sprite Animation for Semi-Automatic weapons|
You can do some funky lua workarounds with setting the sprite number of the gun or a attachable like I did in this. Keep in mind though that the way I did it probably wasn't well done as I didn't have a lot of programming experience back then.
|Page 1 of 1||All times are UTC [ DST ]|
|Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group