This is the official TFA SWEP Base documentation.
Before going through anything from here, make sure you have read through Lua basics guide for GMod here first!
- Weapon Template - reference for the main weapon Lua file with all values (legacy template is available for backwards compatibility reference)
- Melee Weapon Template - reference for melee-type weapons
- Attachment Template - file name is the ID of attachment that goes into
SWEP.Attachmentstable, place to<your addon>/lua/tfa/attfolder - Animations Reference - list of animations that are used by the base
- Custom Hooks - list of hooks added by the base for