Skip to content

Latest commit

 

History

History
22 lines (18 loc) · 2.23 KB

README.md

File metadata and controls

22 lines (18 loc) · 2.23 KB

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:

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!