addonsVersion 1.0: First release.
README.txtVersion 1.0: First release.
README.txt2.6 KB
No file matches.
Bomb Mute 1.0.0 (olds.ro)
=========================
The planted bomb stops beeping, and optionally its red light stops blinking,
for a quieter round. It can be done for Counter-Terrorists only, so the
Terrorists still hear and see their bomb.
- olds_bq_beep 1 (default): the bomb's countdown beep is not heard.
- olds_bq_blink 1: the bomb's red light does not blink (off by default).
- olds_bq_ct_only 1: only the Counter-Terrorists lose the beep and the
light; Terrorists and spectators keep them.
- Only the beep (weapons/c4_beep1-5.wav) and the blinking light are
touched. The plant, defuse and explosion sounds and the explosion itself
stay as they are.
- Nothing changes on the players' computers: the server simply does not
send the beep or the light. Bots are not affected.
- The plugin shows no text 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
1. Compile scripting/olds_bombmute.sma and copy olds_bombmute.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.
2. Copy configs/plugins/olds_bombmute.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.)
3. Add olds_bombmute.amxx to addons/amxmodx/configs/plugins.ini.
Settings (addons/amxmodx/configs/plugins/olds_bombmute.cfg)
olds_bq_beep 1 1 = the bomb's beep is not heard
olds_bq_blink 0 1 = the bomb's red light does not blink
olds_bq_ct_only 0 1 = only Counter-Terrorists lose the beep and
the light; Terrorists and spectators keep them
Commands
None.
How it works
The beep is blocked in the engine's sound function (FM_EmitSound, channel
CHAN_VOICE, weapons/c4_beep*.wav). The light is a small glow sprite
(sprites/ledglow.spr) the bomb sends every 2 seconds; the C4 model has no
blinking skin, so the glow message is blocked instead. With
olds_bq_ct_only 1 each Terrorist and spectator is sent their own copy of
the beep and the light.
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-0114. Licence: GNU General Public License v3.0 or later
(GPL-3.0-or-later).