Skip to content
View in the app

A better way to browse. Learn more.

Learn more

Alive Voice Silence Window

Featured Replies

  • Administrator

For a time window living players cannot hear voice chat from the others, so dead players discuss without leaking info.

Alive Voice Silence Window 1.0.0 (olds.ro)

For a while after a player dies, the living players cannot hear his voice, so the dead can talk among themselves without giving information away. Dead players and spectators still hear him.

  • olds_vs_window sets how long (20 seconds); 0 = for the whole time the player is dead.
  • It also applies with sv_alltalk 1: during the window the living do not hear a dead player or a spectator. The plugin never lets anyone hear more than the game itself allows.
  • The window starts when the player dies, joins the spectators or connects, and ends when he spawns again.
  • Admins with flag i (ADMIN_CHAT) are always heard (olds_vs_admin 1).
  • Everything is checked each time the game updates who hears whom, so a team change or a cvar change (olds_vs_enable 0) takes effect at once.
  • The plugin shows no text in the game and has no language file.

Requirements

  • ReHLDS, ReGameDLL_CS, Metamod-r, ReAPI
  • AMX Mod X 1.10.0.5490 or newer, with the fakemeta module (enabled by default)

Install

  • Compile scripting/olds_voicesilence.sma and copy olds_voicesilence.amxx to addons/amxmodx/plugins/. The compiler needs ReAPI's include files (reapi.inc and the reapi_*.inc files from the ReAPI release, in addons/amxmodx/scripting/include/) next to the stock AMX Mod X includes.
  • Copy configs/plugins/olds_voicesilence.cfg to addons/amxmodx/configs/plugins/ and change the values you want. (If the file is missing, the plugin writes one with the defaults the first time it starts.)
  • Add olds_voicesilence.amxx to addons/amxmodx/configs/plugins.ini.

Settings (addons/amxmodx/configs/plugins/olds_voicesilence.cfg)

  olds_vs_enable 1         1 = the plugin is on
  olds_vs_window 20        seconds after a death during which the living
                           cannot hear the dead player; 0 = the whole time
                           he is dead
  olds_vs_admin 1          1 = admins (flag i) are always heard

Commands

  olds_vs_status           (ADMIN_KICK, also from the server console) lists
                           the players who are not alive and whether the
                           living can hear them now, for example:
                           [Voice] Bravo: not alive for 3 s, the living
                           cannot hear him

How it works The game tells the engine, for every pair of players, whether one hears the other (fakemeta forward FM_Voice_SetClientListening). When the listener is alive and the speaker is not and is in his window, the plugin tells the engine "no" instead.

Tested on ReHLDS 3.15.0.896, ReGameDLL_CS 5.30.0.814, Metamod-r 1.3.0.149, AMX Mod X 1.10.0-git5490, ReAPI 5.29.0.358.

Credits and licence Written from scratch by alexit (olds.ro workshop) for workshop card LIB-0068. Licence: GNU General Public License v3.0 or later (GPL-3.0-or-later).

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_voicesilence.sma, test/lib0068_probe.sma

Idea: olds.ro workshop library · Plugin: alexit · 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 (LIB-0068).

Alive Voice Silence Window
v1.0Counter-Strike 1.6PluginNot tested yet
AMX Mod X 1.10Server engine ReHLDSNeeds ReAPI YesMetamod Metamod-R0 downloads4.4 KBUpdated 10 hours ago
Sign in to download
Pawn (AMX Mod X) · 193 lines
/*
 * Alive Voice Silence Window (olds.ro workshop card LIB-0068)
 *
 * For a while after a player dies, the living players cannot hear his
 * voice, so the dead can talk among themselves without giving information
 * away. Dead players and spectators still hear him.
 *
Show all 193 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.