Skip to content
View in the app

A better way to browse. Learn more.

Learn more
Daemon/

Hide and Seek Core Mode

Plugin
Daemonf803557a04Version 1.0.0: First release.History
addonsVersion 1.0.0: First release.
README.txtVersion 1.0.0: First release.
Hide and Seek Core Mode 1.0.0 (olds.ro) ======================================= The full hide and seek mode. Terrorists hide, counter-terrorists seek, and everyone has a knife only. - Round start: the seekers (CTs) are frozen and blinded (black screen) for olds_hns_freeze seconds while the hiders run. A centre countdown runs, with the stock fvox voice saying three, two, one at the end. - Time up with a hider alive: the terrorists win, with a message. This holds on every map (on bomb or hostage maps the game would give the round to the CTs; the mode turns it into a hider win). - Every hider dead: the counter-terrorists win. - After each round the win count since the last swap is shown. When the team set in hns.ini reaches olds_hns_swapwins wins, the teams swap at the next round and the counts start again. - Knife only: nothing can be bought, picked up or handed out by the map (a buy shows "Knives only in Hide and Seek."), and no C4 is given. Requirements - AMX Mod X 1.10.0.5490 or newer, with ReAPI (ReGameDLL_CS) Install 1. Compile scripting/olds_hns.sma and copy olds_hns.amxx to addons/amxmodx/plugins/. 2. Copy configs/hns.ini to addons/amxmodx/configs/ and data/lang/olds_hns.txt to addons/amxmodx/data/lang/. No downloads: the countdown voice (sound/fvox/one.wav to three.wav) is stock, and the blind is a ScreenFade message. Settings (addons/amxmodx/configs/plugins/olds_hns.cfg, made on first run) olds_hns_roundtime 4.0 round time in minutes (1 to 9); written to mp_roundtime at every round start olds_hns_freeze 15 seconds the seekers are frozen and blind (0 = none) olds_hns_swapwins 3 wins before the teams swap (0 = never) The mode sets mp_freezetime 0: the seekers' freeze replaces it. configs/hns.ini (team swap) swap_team = any any, t or ct: whose wins count for the swap reset_on_loss = 0 1 = a loss sets that team's count back to 0 win_counter_message = 1 print the win count after every round Command amx_hns (ADMIN_KICK) freeze state, wins of each team, swap pending API for add-ons (scripting/include/olds_hns.inc, library olds_hns) native bool:olds_hns_is_frozen(); native olds_hns_get_wins(team); 1 = terrorists, 2 = counter-terrorists forward olds_hns_released(); How it works RG_CSGameRules_RestartRound starts the freeze (top speed 1 through RG_CBasePlayer_ResetMaxSpeed, ScreenFade stay-out to black); the release resets the speed and fades back in. RG_CBasePlayer_Spawn strips every item and gives the knife; RG_CBasePlayer_HasRestrictItem refuses all other items; the C4 is taken back after RG_CSGameRules_GiveC4. RG_RoundEnd turns a time-up round with a living hider into a terrorist win and counts the wins.

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.