CSB Capture The Flag

v1.0.0 6 загрузок Daemon666 Обновлено: Jul 16, 2026

A capture-the-flag layer: two flags at per-map bases, pick up the enemy flag by touch, carry it home to score, with auto-return and a HUD scoreboard.

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.

Установка

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

Cvar-ы

CVARDefaultDescription
csb_ctf_enabled 1 Enable or disable capture the flag.

История изменений — v1.0.0

1.0.0 - Initial release.
Версии →
Участники: Daemon666 ✦
Оригинальный автор: Avalanche Лицензия: GPL-3.0

Рейтинг

No ratings yet.

Download v1.0.0

Compiled live from the source below — nothing pre-built.
Скачать .sma
Файлы:
csb_ctf.sma main 6.7 KB

Требования

AMX Mod X ≥ 1.9
Движок ReHLDS HLDS
ReGameDLL Необязательно
ReAPI Необязательно
Metamod Metamod / Metamod-r
Модули fakemeta hamsandwich
Известные конфликты Without a per-map data file the plugin stays idle; the flag model must exist on the server.
Назад к плагинам