Skip to content
View in the app

A better way to browse. Learn more.

Learn more

Head-Start Handshake

Featured Replies

  • Administrator

Tell late joiners their actual role and the phase of the current hunt.

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

  • 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.
  • 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.

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_phase.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 (AMX-050).

Head-Start Handshake
v1.0.0Counter-Strike 1.6PluginNot tested yet
AMX Mod X 1.10Server engine ReHLDSNeeds ReAPI YesMetamod Metamod-R0 downloads3.8 KBUpdated 11 hours ago
Sign in to download
Pawn (AMX Mod X) · 173 lines
/*
 * Head-Start Handshake (olds.ro workshop card AMX-050)
 *
 * Hide and Seek: a player who joins mid-round is told their actual role and
 * the phase of the hunt, for example
 *     You are a seeker. Head start active: seekers are held until the countdown ends.
 *     You are a hider. Hunt live: seekers are out.
Show all 173 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.