Bomb Duty Queue 1.0.0 (olds.ro)
===============================
During the freeze time a Terrorist who wants the bomb types /bombme. The bomb
carrier types /bombduty and picks one of the volunteers from a menu; the bomb
moves to that player at once and both hear a short radio cue. No more "drop
the bomb!" in chat at round start.
Rules
- Each teammate can volunteer once per round; the carrier's menu lists each
volunteer once.
- Requests are open from the new round until the freeze time ends, plus
olds_bombduty_expire seconds. Then they are cleared.
- When the carrier picks a name, everything is checked again: the carrier
must still hold the bomb, the volunteer must still be a living Terrorist,
and the game must confirm the handover. Otherwise nothing moves and the
carrier is told why (for example "There is no bomb carrier any more").
- Only on bomb maps.
Requirements
- ReHLDS, ReGameDLL_CS, Metamod-r, ReAPI (the handover uses rg_transfer_c4)
- AMX Mod X 1.10 or newer
- Tested on AMX Mod X 1.10.0.5490, ReAPI 5.29.0.358, ReGameDLL_CS 5.30.0.814,
ReHLDS 3.15.0.896
Install
1. Compile scripting/olds_bombduty.sma with amxxpc 1.10 and copy
olds_bombduty.amxx to addons/amxmodx/plugins/. The compiler needs ReAPI's
include files (reapi.inc and reapi_*.inc) in addons/amxmodx/scripting/include/.
2. Copy data/lang/olds_bombduty.txt to addons/amxmodx/data/lang/.
3. Copy configs/plugins/olds_bombduty.cfg to addons/amxmodx/configs/plugins/.
4. Add olds_bombduty.amxx to addons/amxmodx/configs/plugins.ini.
Commands (chat or team chat)
/bombme volunteer to carry the bomb this round
/bombduty (the bomb carrier) choose a volunteer from a menu
Settings (addons/amxmodx/configs/plugins/olds_bombduty.cfg)
olds_bombduty_expire 0 seconds requests stay open after the freeze time
ends (0 - 60; 0 = they end with the freeze time)
The cue is the stock radio/com_getinpos.wav, so nothing is downloaded. Texts
are in data/lang/olds_bombduty.txt (English).
Credits and licence
Written from scratch by alexit (olds.ro workshop) for workshop card AMX-021.
Licence: GPL-3.0-or-later.