addonsVersion 1.0.0: First release.
README.txtVersion 1.0.0: First release.
README.txt2.1 KB
No file matches.
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.