Mod the TTT gamemode with custom weapons
masterYou can customize TTT without modifying the core gamemode code. The recommended way to add content is by creating scripted weapons (SWEPs).
- Custom Weapons: You can add your own scripted weapons independently. To learn how, refer to the GMod wiki regarding SWEPs.
- Reference Implementation: You can find the scripts for standard TTT weapons in:
\gamemodes\terrortown\entities\weapons\. - Base Class: The
weapon_tttbasescript contains documentation that is useful for creating TTT-compatible weapons. - Hooks: TTT provides various hooks for customization. Detailed information is available at http://ttt.badking.net/.