Detects camping by tracking time inside a radius and punishes with a HUD warning, a bright glow and escalating damage.
Daemon666
1.0.0 - Initial release.
| csb_anti_camp.sma main | c682063 | 3.8 KB |
README.md
CSB Anti Camp keeps players moving. A task samples each player's distance from an anchor point; if they stay inside csb_camp_radius for too long they first get a HUD warning and a bright red glow shell that exposes them to enemies, then take periodic damage until they move. Moving out resets the anchor and clears the glow. Bomb carriers are exempt so the objective is never punished.
Inspired by the classic Anti Camp plugins for AMX Mod X. Independent GPL re-implementation.
Features
- Radius / warn-time / punish-time / damage all cvar-driven.
- Escalation: HUD warning and glow first, then damage.
- Bomb (C4) carriers are exempt.
- Anchor resets and glow clears as soon as the player moves.
Installation
- Enable the
fakemetaandfunmodules inmodules.ini. - Compile
csb_anti_camp.sma, copy it toaddons/amxmodx/plugins/and add it toplugins.ini. - Change the map.
Инсталация
1. Enable the fakemeta and fun modules in addons/amxmodx/configs/modules.ini 2. Put csb_anti_camp.amxx in addons/amxmodx/plugins/ and add it to plugins.ini 3. Change map
Cvar-и
| CVAR | Default | Description |
|---|---|---|
csb_camp_enabled |
1 |
Enable or disable anti-camp. |
csb_camp_radius |
120 |
Units a player may stay within before it counts as camping. |
csb_camp_warn |
6 |
Seconds of camping before the warning and glow trigger. |
csb_camp_punish |
10 |
Seconds of camping before damage starts. |
csb_camp_damage |
8 |
Damage per second applied to a punished camper. |
Списък с промени — v1.0.0
1.0.0 - Initial release.Версии →
Оценка
No ratings yet.
Download v1.0.0
Изисквания
| AMX Mod X | ≥ 1.9 |
| Engine | ReHLDS HLDS |
| ReGameDLL | Незадължително |
| ReAPI | Незадължително |
| Metamod | Metamod / Metamod-r |
| Модули | fakemeta fun |
| Известни конфликти | Other plugins using set_user_rendering can override the anti-camp glow shell. |
Сътрудници









