Skip to content
View in the app

A better way to browse. Learn more.

Learn more

Dusk Dawn Zombie Mode

Featured Replies

  • Administrator

A day and night cycle: humans get stronger in daylight and zombies in darkness, with lighting changes announced.

Dusk Dawn Zombie Mode 1.0.0 (olds.ro)

A day and night cycle for zombie servers.

  • Day: full map brightness; humans deal 25% more damage to zombies.
  • Night: the lights drop to a dark level, a siren sounds; zombies deal 30% more damage to humans and run 20 units faster; humans get night vision switched on.

A HUD clock shows the phase and the time left. The cycle runs on its own clock: a round restart does not reset it.

Requirements

  • AMX Mod X 1.10.0.5490 or newer, with ReAPI (ReGameDLL_CS); engine
  • a zombie mode in which the zombies are one team (the olds.ro infection mode and most zombie cores put them on the Terrorist side)

Install

  • Compile scripting/olds_duskdawn.sma and copy olds_duskdawn.amxx to addons/amxmodx/plugins/ (after the zombie mode in plugins.ini, so the night speed is added on top of the zombie speed).
  • Copy data/lang/olds_duskdawn.txt to addons/amxmodx/data/lang/. No downloads: the lighting uses the engine light style (set_lights) and the siren is the stock sound/ambience/siren.wav.

Settings (addons/amxmodx/configs/plugins/olds_duskdawn.cfg, made on first run)

  olds_dd_day 120      seconds of daylight (a new length counts from the next day)
  olds_dd_night 90     seconds of night
  olds_dd_dark "b"     light level at night, a (darkest) to m (normal)
  olds_dd_zdmg 30      percent more damage for zombies at night
  olds_dd_zspeed 20    speed added to zombies at night
  olds_dd_hdmg 25      percent more damage for humans by day
  olds_dd_nvg 1        switch night vision on for humans at night
  olds_dd_zteam 1      team of the zombies: 1 = Terrorists, 2 = CTs

Admin

  amx_dd_phase <day|night>  (ADMIN_CVAR) start a phase now

How it works

  • The map starts in daylight (set_lights "m"); the night uses olds_dd_dark. The map's own light comes back when the map ends.
  • RG_CBasePlayer_TakeDamage (pre) raises the damage of a hit between a zombie and a human by the bonus of the phase.
  • RG_CBasePlayer_ResetMaxSpeed (post) adds the night speed to zombies; on every phase change all players' speed is recomputed (rg_reset_maxspeed), so nothing is left over. Frozen players stay frozen.
  • Night vision: humans who have none get it for the night and lose it at dawn; those who bought it keep it (it is only switched off by them).
  • Nothing is stored per player except whether the plugin gave night vision, which is cleared when the player leaves.

Install

Download the ZIP above and copy its folders into cstrike/. Compile the .sma in addons/amxmodx/scripting with the AMX Mod X 1.10 compiler, put the .amxx in addons/amxmodx/plugins, and add it to plugins.ini.

Files: addons/amxmodx/scripting/olds_duskdawn.sma, test/dd_stub.sma

Idea: olds.ro workshop library · Plugin: daemon · Tested automatically (compiled on AMX Mod X 1.8.2, 1.9 and 1.10, played on a CS 1.6 test server)
License: GPL-3.0-or-later. Written for the olds.ro plugin workshop (LIB-2284).

Dusk Dawn Zombie Mode
v1.0.0Counter-Strike 1.6PluginNot tested yet
AMX Mod X 1.10Server engine ReHLDSNeeds ReAPI YesMetamod Metamod-R0 downloads4.4 KBUpdated 3 hours ago
Sign in to download
Pawn (AMX Mod X) · 277 lines
/*
 * Dusk Dawn Zombie Mode (olds.ro workshop card LIB-2284)
 *
 * A day and night cycle for zombie servers. In daylight (full map brightness) humans deal
 * more damage; at night the lights drop, zombies deal more damage and run faster, and
 * humans can get night vision switched on for them. Each change is announced in chat (the
 * night with a siren) and a HUD clock shows the phase and the seconds left. The cycle runs
Show all 277 lines

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.