Skip to content
View in the app

A better way to browse. Learn more.

Learn more

dead-and-all-talk-toggle/README.txt

README.txt
66 lines · 2.9 KB · Text
Raw
Dead And All Talk Toggle 1.0.0 (olds.ro)
========================================

Switches the voice rules between normal, all-talk and dead-talk, and turns
all-talk on by itself while only a few players are on the server.

  normal     each team hears only itself (the game's own rules)
  all-talk   everyone hears everyone
  dead-talk  dead players hear the living; the living do not hear the dead

Requirements
  - AMX Mod X 1.10 or newer with the fakemeta module (enabled by default)
  - ReAPI (ReGameDLL_CS) for the round start hook
  - Written for AMX Mod X 1.10.0.5490, ReAPI 5.29.0.358, ReHLDS 3.15.0.896,
    ReGameDLL_CS 5.30.0.814

Install
  1. Compile scripting/olds_voice.sma with amxxpc 1.10 (with the ReAPI
     include files) and copy olds_voice.amxx to addons/amxmodx/plugins/.
  2. Copy data/lang/olds_voice.txt to addons/amxmodx/data/lang/.
  3. Copy configs/plugins/olds_voice.cfg to addons/amxmodx/configs/plugins/
     (if you skip this, the plugin writes the same file with the defaults on
     its first start).
  4. Add olds_voice.amxx to addons/amxmodx/configs/plugins.ini.

Admin command (flag "h", ADMIN_CFG, and the server console)
  amx_voicemode 0   normal
  amx_voicemode 1   all-talk
  amx_voicemode 2   dead-talk
  amx_voicemode     prints the rules in use

  - The change works at once; chat says who made it.
  - Every change is written to the AMX Mod X log with the admin's name.
  - Players without the flag are refused and the rules stay as they are.
  - The access flag can be changed in addons/amxmodx/configs/cmdaccess.ini.

Automatic all-talk (olds_voice_auto)
  - While fewer players than olds_voice_auto are connected (bots count,
    HLTV does not), everyone hears everyone, whatever the mode.
  - It is checked when a player joins or leaves and at every round start.
  - It turns on at once when players leave. When enough players are on
    again, the normal rules come back at the next round start, so the rules
    never change in the middle of a round. Chat tells the players both times.
  - olds_voice_auto 0 turns it off.

Server command
  olds_voice_status   prints the rules in use and, for every player, whom
                      they hear under those rules

Settings (addons/amxmodx/configs/plugins/olds_voice.cfg)
  olds_voice_mode  0   0 = normal, 1 = all-talk, 2 = dead-talk
  olds_voice_auto  6   all-talk while fewer players are on; 0 = never
  olds_voice_dead  1   dead-talk: 1 = the dead hear both teams,
                       0 = the dead hear only their own team

Notes
  - In mode 0 without automatic all-talk the plugin leaves voice to the
    game, so sv_alltalk works as usual.
  - Players can still mute each other in the game's own menu.

Texts are in data/lang/olds_voice.txt (English). Add a section such as [ro]
to translate them. No sounds, models or sprites are used.

Credits and licence
  Written from scratch by alexit (olds.ro workshop) for workshop card LIB-1542.
  Licence: GNU GPL version 3 or later (GPL-3.0-or-later).

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.