Skip to content
View in the app

A better way to browse. Learn more.

Learn more

shelter-shift/README.txt

README.txt
46 lines · 2.3 KB · Text
Raw
Shelter Shift 1.0.0 (olds.ro)
=============================

For zombie servers. Each named shelter on the map is timed while survivors
hold it: the clock runs while at least one living survivor is inside, and the
stay ends when the last one leaves, dies or is turned. At round end everyone
sees which shelter held out longest without a break (ties are named
together), then the longest stay of each shelter that ranked.

Requirements
  - ReHLDS, ReGameDLL_CS, Metamod-r, ReAPI
  - AMX Mod X 1.10.0.5490 or newer
  - Any zombie mod that keeps survivors on one team and moves a turned
    survivor to the other: Zombie Swarm (zombies are terrorists), Zombie
    Plague and Biohazard (an infected player moves to the terrorists). Set
    olds_shelter_team if your survivors are the terrorists.

Install
  1. Compile scripting/olds_shelter.sma and copy olds_shelter.amxx to addons/amxmodx/plugins/.
     The compiler needs ReAPI's include files (reapi.inc and the reapi_*.inc
     files from the ReAPI release, addons/amxmodx/scripting/include/) next to
     the stock AMX Mod X includes.
  2. Copy data/lang/olds_shelter.txt to addons/amxmodx/data/lang/.
  3. Copy configs/olds_shelter/ to addons/amxmodx/configs/olds_shelter/ and write one
     <mapname>.ini per map (see _example.ini). Maps without a file are not timed.
  4. Add olds_shelter.amxx to plugins.ini.

How stays are timed
  - Shelters are checked once a second, so stays are in whole seconds.
  - Timing starts when the freeze time ends and stops the moment the round is
    decided; a shelter still held then ends its stay there.
  - A survivor who dies or turns stops counting at the next check, even if
    the round goes on.
  - Stays shorter than olds_shelter_minsec never appear at round end.
  - Round-end text goes to everyone in chat, with the winner line also on the
    HUD, and to the AMX Mod X log.

Settings (addons/amxmodx/configs/plugins/olds_shelter.cfg, created on first run)
  olds_shelter_minsec 10   shortest stay that ranks, in seconds (0-600)
  olds_shelter_team 2      survivor team: 1 terrorists, 2 counter-terrorists

Commands
  olds_shelter_status      shelters, occupants and this round's stays (ADMIN_CFG)
  olds_shelter_where       your position and the shelters you stand in (ADMIN_CFG)

No sounds, models or sprites are added.

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.