Skip to content
View in the app

A better way to browse. Learn more.

Learn more
Alexit/

Bomb Timer Bar

Plugin
Alexita058e1f513Version 1.0: First release.History
addonsVersion 1.0: First release.
README.txtVersion 1.0: First release.
Bomb Timer Bar 1.0.0 (olds.ro) ============================== When the bomb is planted, the game's progress bar (the one used for defusing) appears at the bottom of the screen and fills up as the time passes: it is full when the bomb explodes. - olds_btb_ct and olds_btb_t choose which team sees the bar; spectators see it too. - A player who joins a team after the plant, or whose team gets the bar back, sees it at the right point within a second. - While a player defuses, the game's defuse bar takes the place of this one (also for spectators watching him). If he stops, the timer bar comes back at the right point. - The bar goes away when the bomb is defused, explodes, or the round restarts. - The game's progress bar can only fill up (it cannot shrink), and its colour is each player's HUD colour: a server cannot change either, so the colour setting the card mentions (olds_btb_color) is not there. - 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 Install 1. Compile scripting/olds_c4bar.sma and copy olds_c4bar.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_c4bar.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_c4bar.amxx to addons/amxmodx/configs/plugins.ini. Settings (addons/amxmodx/configs/plugins/olds_c4bar.cfg) olds_btb_ct 1 1 = Counter-Terrorists see the bar olds_btb_t 1 1 = Terrorists see the bar Commands None. How it works When the bomb is planted (ReAPI RG_PlantBomb), every player who may see the bar gets the game's BarTime message with the bomb's seconds. A player who comes later gets BarTime2, which starts the same bar part way. BarTime 0 takes it away on defuse, explosion and round restart. 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-0119. Licence: GNU General Public License v3.0 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.