Skip to content
View in the app

A better way to browse. Learn more.

Learn more

head-start-handshake/README.txt

README.txt
46 lines · 2.1 KB · Text
Raw
Head-Start Handshake 1.0.0 (olds.ro)
====================================

Hide and Seek: a player who joins mid-round is told their actual role and
the phase of the hunt, and anyone can ask again with /phase:

  [HNS] You are a seeker. Head start active: seekers are held until the countdown ends.
  [HNS] You are a hider. Hunt live: seekers are out.

Requirements
  - ReHLDS, ReGameDLL_CS, Metamod-r, ReAPI
  - AMX Mod X 1.10.0.5490 or newer
  - Hide And Seek: Ultimate (github.com/iwonz/amxx-hns-ultimate) or a Hide and
    Seek core that works the same way (hiders = terrorists, seekers =
    counter-terrorists, seekers held with FL_FROZEN during the head start)

Install
  1. Compile scripting/olds_phase.sma and copy olds_phase.amxx to
     addons/amxmodx/plugins/; add it to plugins.ini.
     The compiler needs ReAPI's include files next to the stock includes.
  2. Copy data/lang/olds_phase.txt to addons/amxmodx/data/lang/.

Use
  say /phase            your role and the phase, read now
  olds_phase_status     the phase as read from the game (ADMIN_CFG)

Settings (addons/amxmodx/configs/plugins/olds_phase.cfg, created on first run)
  olds_phase_delay 3    seconds after joining, and after the first spawn,
                        before the status line, so the core has assigned the
                        role (1-15)

How the state is read
  Hide And Seek: Ultimate has no natives, so the plugin reads the state the
  core itself sets, every time it answers; it keeps no countdown of its own:
  - role: the player's team. The core swaps the teams between rounds, so after
    a transfer /phase already gives the new role.
  - head start: after freeze time the core freezes every living seeker
    (FL_FROZEN) until its countdown ends; while any is held, the head start
    is active.
  - freeze time and round end: the game's own state. Without players on both
    teams the core starts no hunt, and the line says so.

Late joiners get the line once after joining and once after their first
spawn (if they spawn before the first line is due, only the second is sent).

No downloads: the status line is chat text.

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.