Skip to content
View in the app

A better way to browse. Learn more.

Learn more

bomb-status-hud/README.txt

README.txt
57 lines · 2.4 KB · Text
Raw
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
  1. 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.
  2. Copy data/lang/olds_bombstatus.txt to addons/amxmodx/data/lang/.
  3. 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.)
  4. 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).

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.