Garry's Mod

Garry's Mod

[ArcCW] Arctic's Customizable Weapons (Base)
Making a SWEP - specific firing animations for each firing mode?
Currently building a SWEP on this base & I'm not smart enough to figure this one out. I have two different firing animations, one for semi-auto and one for full-auto. As it is, the SWEP uses the semi-auto fire animation for both firemodes. In order to apply the full-auto firing animation to full-auto firemode, I think I have to implement something with this:
SWEP.Hook_SelectFireAnimation
However, having looked at others' SWEPs, I only find custom reload anims depending on attachments applied.
Can anyone help me? Would be massively appreciated.
< >
Showing 1-2 of 2 comments
Fesiug  [developer] 20 Apr @ 3:15am 
There's quite a few people who can help in the discord, but generally you'd want to check against the current firemode with something like GetCurrentFiremode() and return the defined animation name of the one you want
Originally posted by Fesiug:
There's quite a few people who can help in the discord, but generally you'd want to check against the current firemode with something like GetCurrentFiremode() and return the defined animation name of the one you want
Thank you very much for the reply. Your MW2 weapons pack is incredible! Tried incorporating GetCurrentFiremode() into the if/then but no luck. I am definitely not a natural programmer it would seem. I’ll have to ask around in the discord.
< >
Showing 1-2 of 2 comments
Per page: 1530 50