Skip to content
View in the app

A better way to browse. Learn more.

Learn more

hidden-in-plain-sight/README.txt

README.txt
52 lines · 2.3 KB · Text
Raw
Hidden in Plain Sight 1.0.0 (olds.ro)
=====================================

Hide and Seek: once a second the plugin notes which named map sector each
hider is in, keeping only changes, and when the round closes it tells everyone
the last three sectors of the last surviving hider. Live routes stay private:
during the round a hider can read only their own route, and seekers get
nothing.

Requirements
  - ReHLDS, ReGameDLL_CS, Metamod-r, ReAPI
  - AMX Mod X 1.10.0.5490 or newer
  - A Hide and Seek core that plays hiders as terrorists and seekers as
    counter-terrorists with the game's own rounds, such as
    Hide And Seek: Ultimate (github.com/iwonz/amxx-hns-ultimate).

Install
  1. Compile scripting/olds_route.sma and copy olds_route.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_route.txt to addons/amxmodx/data/lang/.
  3. Copy configs/olds_route/ to addons/amxmodx/configs/olds_route/ and write
     one <mapname>.ini per map (see _example.ini). Maps without a file are
     not tracked.

Sector files (addons/amxmodx/configs/olds_route/<map>.ini)
  "Sector name"  x1 y1 z1  x2 y2 z2     one box per line, opposite corners
  The first box that holds the player wins; outside every box nothing is
  noted. Bad lines are skipped and logged.

Use
  say /route            a hider: your own route this round. Seekers and
                        spectators get no answer, so nothing leaks.
  olds_route_status     sectors and every hider's route (ADMIN_CFG)

Settings (addons/amxmodx/configs/plugins/olds_route.cfg, created on first run)
  olds_route_reveal 1   1 = the end-of-round reveal in chat to everyone

How the route is kept
  - Sampled once per second; only changes are stored, so A, A, B, A, C is
    stored as A, B, A, C (the 16 latest per hider).
  - The reveal shows the last three: B > A > C.
  - Routes start over every round.

The last surviving hider
  - One hider alive when the round closes: that hider.
  - No hider alive: the hider killed last. If the last two were killed in the
    same frame, the reveal says it is a tie and shows both routes.
  - Two or more hiders alive: there is no last survivor and nothing is shown.

The reveal plays the stock sound events/task_complete.wav, already on every
client. No new 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.