Admin party mode: cycles the map light style through flicker patterns and spawns coloured dynamic lights around every player for a set time, then restores the lighting.
Daemon666
1.0.0 - Initial release.
| csb_disco_lights.sma main | afdde56 | 4.3 KB |
README.md
CSB Disco Lights turns the server into a dance floor on command. amx_disco [0|1] starts (or stops) a party: the map light style is rotated twice a second through a set of flicker patterns while a coloured TE_DLIGHT pops over every player, so the whole level pulses with random colour. When the timer runs out - or an admin toggles it off - the lighting is restored with set_lights("#OFF").
Features
amx_discotoggles, oramx_disco 1/amx_disco 0forces on/off.- Runs for
csb_disco_durationseconds, then auto-restores the normal lighting. - Rotating map light styles plus a random-colour dynamic light on each alive player.
- Lighting is also restored on plugin unload so it never gets stuck.
Installation
- Compile
csb_disco_lights.smaand copy it toaddons/amxmodx/plugins/. - Add it to
plugins.iniand change the map.
amx_disco needs the ADMIN_LEVEL_A flag (b) by default.
Installation
1. Put csb_disco_lights.amxx in addons/amxmodx/plugins/ 2. Add it to addons/amxmodx/configs/plugins.ini 3. Change map
Cvars
| CVAR | Default | Description |
|---|---|---|
csb_disco_enabled |
1 |
Enable or disable the command. |
csb_disco_duration |
30 |
How many seconds a disco lasts. |
Befehle
| Command | Access | Description |
|---|---|---|
amx_disco |
b (ADMIN_LEVEL_A) |
amx_disco [0|1] - start or stop disco party mode. |
Änderungsprotokoll — v1.0.0
1.0.0 - Initial release.Versionen →
Bewertung
No ratings yet.
Download v1.0.0
Anforderungen
| AMX Mod X | ≥ 1.9 |
| Engine | ReHLDS HLDS |
| ReGameDLL | Optional |
| ReAPI | Optional |
| Metamod | Metamod / Metamod-r |
| Bekannte Konflikte | Other plugins that drive map light styles (day/night, weather) will fight the disco for control of set_lights. |
Mitwirkende









