You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 their name are loaded first)
All paths (except attachments) support client and server-side separation by prepending cl_ or sv_ to the file name.
If you want to translate the base to your language, take a look at the localization reference!
About
Collection of documentation useful for addon developers for TFA SWEP Base on Garry's Mod.