Skip to content

Reference

Each page lists what one part of the game gives a mod, on the server, on a client or on both.

  • Players: The people playing and the server’s bots.
  • NPCs: Characters the server moves for the mod, such as zombies.
  • Entities and models: Things in the world the mod places and moves.
  • Movement: How players move, and how the mod changes it.
  • Health: Hurting, healing and killing players, and explosions.
  • Weapons: What players carry and how it fires.
  • Sounds: Sounds are .sound files your mod names by path.
  • Effects: Particle effects, such as an explosion or smoke.
  • Map: What the mapper put in the map, by the names they gave it.
  • Traces: Questions about lines through the world.
  • Chat: Lines in the chat box.
  • Commands: Commands players type in the chat box, as /mute, or bind to keys themselves, and the actions on the keys.
  • State and events: How modules keep data and talk.
  • Timers: Doing something later, or again and again.
  • Calls: The server’s calls to the outside.
  • Settings: The values a server owner sets, and the matches a server plays.
  • Types: The types state, events, requests and commands are declared with, in the global t, on the server and in client scripts.
  • Boxes and styles: The HUD a client script draws.
  • Menus: Screens a client script opens over the game.