Skip to content
View in the app

A better way to browse. Learn more.

Learn more

Bomb Status HUD

Featured Replies

  • Administrator

A short HUD line describes the bomb's state: carried, dropped, planted or defused.

Bomb Status HUD 1.0.0 (olds.ro)

A short HUD line tells where the bomb is: carried by a player, dropped near a part of the map, planted, or defused.

  • "Bomb: carried by <name>" while a player has the bomb, also right after a round restart for the new carrier.
  • "Bomb: dropped near <place>" while it lies on the ground. The place is the nearest of the map's bombsites ("bombsite A", "bombsite B"...) and the two spawn areas ("the Terrorist spawn", "the CT spawn"). Bombsites are lettered in the order the map file lists them, which may not match the letters players use on every map.
  • "Bomb: planted" from the plant until the round ends.
  • "Bomb: defused" for 5 seconds after the defuse, then it fades out.
  • olds_bsh_team chooses who sees the line: 0 both teams and spectators, 1 Terrorists only, 2 Counter-Terrorists only.
  • The line sits at olds_bsh_x / olds_bsh_y (left side, below the radar by default). Maps without a bombsite show nothing.

Requirements

  • ReHLDS, ReGameDLL_CS, Metamod-r, ReAPI
  • AMX Mod X 1.10.0.5490 or newer

Install

  • Compile scripting/olds_bombstatus.sma and copy olds_bombstatus.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 data/lang/olds_bombstatus.txt to addons/amxmodx/data/lang/.
  • Copy configs/plugins/olds_bombstatus.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_bombstatus.amxx to addons/amxmodx/configs/plugins.ini.

Settings (addons/amxmodx/configs/plugins/olds_bombstatus.cfg)

  olds_bsh_x 0.02          horizontal position (0.0 left, 1.0 right,
                           -1 centre)
  olds_bsh_y 0.2           vertical position (0.0 top, 1.0 bottom)
  olds_bsh_team 0          0 both teams, 1 Terrorists only, 2 CTs only

Commands None.

Texts The HUD lines and place names are in data/lang/olds_bombstatus.txt and can be translated there.

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-0118. Licence: GNU General Public License v3.0 or later (GPL-3.0-or-later).

Install

Download 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_bombstatus.sma, test/lib0118_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-0118).

Bomb Status HUD
v1.0Counter-Strike 1.6PluginNot tested yet
AMX Mod X 1.10Server engine ReHLDSNeeds ReAPI YesMetamod Metamod-R0 downloads6 KBUpdated 10 hours ago
Sign in to download
Pawn (AMX Mod X) · 468 lines
/*
 * Bomb Status HUD (olds.ro workshop card LIB-0118)
 *
 * A short HUD line tells where the bomb is: carried by a player, dropped
 * near a part of the map, planted, or defused.
 *
 * Commands: none.
Show all 468 lines

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

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.