Prodvigat server
csb-ctf / README.md
1 lines 1.2 KiB Markdown Source Rendered Raw Permalink History

CSB Capture The Flag turns any map into CTF. Two flag entities are spawned at base coordinates read from a per-map data file (addons/amxmodx/configs/csb_ctf/<map>.ini, two x y z lines: Terrorist base then CT base). Touching the enemy flag picks it up (a Ham_Touch hook) and it then follows the carrier; bringing it to your own base while your flag is home scores a capture. Dropped flags auto-return after a delay, and the score is shown on a HUD.

Inspired by CTF by Avalanche. Independent GPL re-implementation.

Features

  • Two flags placed from a per-map data file.
  • Pick up by touch, carry, and capture at your home base.
  • Flags drop on death and auto-return after a timeout.
  • Live capture scoreboard on the HUD.

Installation

  1. Enable the fakemeta and hamsandwich modules in modules.ini.
  2. Create addons/amxmodx/configs/csb_ctf/<map>.ini with two x y z base lines.
  3. Compile csb_ctf.sma, copy it to addons/amxmodx/plugins/ and add it to plugins.ini.
  4. Change the map.