10 hours ago10 hr Administrator A progress bar at the bottom of the screen shows the time left before the bomb explodes. 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, ReAPIAMX Mod X 1.10.0.5490 or newer Install 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.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.)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). InstallDownload 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_c4bar.sma, test/lib0119_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-0119). Bomb Timer Barv1.0Counter-Strike 1.6PluginNot tested yetAMX Mod X 1.10Server engine ReHLDSNeeds ReAPI YesMetamod Metamod-R0 downloads4.6 KBUpdated 10 hours agoSign in to downloadolds_c4bar.smaPawn (AMX Mod X) · 325 lines3 files/* * Bomb Timer Bar (olds.ro workshop card LIB-0119) * * 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. *Show all 325 linesChangelogVersions (1)Install into: cstrike/Open the full page →
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.