View unanswered posts | View active topics It is currently Wed Dec 25, 2024 6:20 pm



Reply to topic  [ 2 posts ] 
 Sprite Animation for Semi-Automatic weapons 
Author Message

Joined: Thu Feb 16, 2012 4:05 am
Posts: 37
Reply with quote
Post 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?


Thu Nov 06, 2014 2:39 am
Profile
Forum Moderator
User avatar

Joined: Fri Feb 02, 2007 3:53 pm
Posts: 1896
Location: in my little gay bunker
Reply with quote
Post 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.


Thu Nov 06, 2014 12:48 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.080s | 13 Queries | GZIP : Off ]