• Tfa SWEP with underbelly weapon - delevoping an M16-Masterkey
    1 replies, posted
I’m planning to work on an M16 masterkey like Billy used in Predator, but I like ironsights and I don’t know what’s the Lua code to switch to, fire, and reload the secondary weapon, then with back to primary. Any tips how to? I dissected a TFA_Based assault rifle/grenade launcher SWEP and a shotgun SWEP for animation .smd file references. I've made the animations for the masterkey deployment and firing based on the AK-12 GP-25 SWEP and a shotgun. But the ACT_VM_ animations are a bit complicated, and I can't find the secondary SWEP weapon ammo on my TFA_Based SWEP shared Lua. Is there a TFA SWEP maker in the community with knowledge of Lua that can help me with the Lua code for the TFA_Base, I'm using one model with no attachment options like the INS2 Parts-based SWEP. And apparently, the underbelly weapon happens to be a shotgun, not a grenade launcher so it will be confused for which reloads shall I use for the rifle and the shotgun. If you want I can show you the lists of the animation files I've created.
I believe Random Fusion was able to make the SMG1 and AR2 shoot SMG grenades and combine balls in his Half-Life 2 SWEPs on the TFA base while still keeping the functionality of the weapons the same. Haven't seen anyone do any weapons with a shotgun attachment like what you're trying to do however. Not too sure if he's on Facepunch at all but you could find the addon I'm talking about (TFA HL2 SWEPs) on the Steam Workshop and perhaps have a look at it. Other than that, don't really know how to help, I just know it's been done before but not with a shotgun attachment.
Sorry, you need to Log In to post a reply to this thread.