{"repo":"YuRaNnNzZZ/TFA-SWEP-Base-Documentation","free":true,"listed":false,"github":"https://github.com/YuRaNnNzZZ/TFA-SWEP-Base-Documentation","clone":"git clone https://github.com/YuRaNnNzZZ/TFA-SWEP-Base-Documentation.git","description":"Collection of documentation useful for addon developers for TFA SWEP Base on Garry's Mod.","language":null,"stars":10,"topics":["changelog","documentation","gmod","localization","sweps","weapons","garrys-mod","garrysmod","glua","lua"],"license":null,"category":"docs-static-sites","readme_excerpt":"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! List of contents: - Frequently Asked Questions - Answers to common base users questions - 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.Attachments table, place to /lua/tfa/att folder - Batch Attachments Template - for registering multiple attachments in a single file, to reduce Lua files. Place to /lua/tfa/attbatch folder - Animations Reference - list of animations that are used by the base - Custom Hooks - list of hooks added by the base for the addons intercompatibility - Material Proxies - list of material proxies added by the base - Developer FAQ - Common code stuff relevant to developing TFA Base addons Paths that are loaded by the base automatically (in load order): - lua/tfa/enums/ - Early enums initialization (only recommended for early global variables declaration) - lua/tfa/modules/ - Base modules (official modules are loaded first; custom modules loading is only kept for backwards compatibility and is unsupported!) - lua/tfa/external/ - External modules (code loaded in there is guaranteed to have TFA global variable initalized) - lua/tfa/att/ - Attachments (files with base in t","default_branch":null,"files":null,"tree":[],"storefront":"/r/YuRaNnNzZZ","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/YuRaNnNzZZ/TFA-SWEP-Base-Documentation/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}