Skip to content
View in the app

A better way to browse. Learn more.

Learn more

weapon-speed-hud/README.txt

README.txt
49 lines · 2.2 KB · Text
Raw
Weapon Speed HUD 1.0.0 (olds.ro)
================================

A small line in the bottom left corner of the screen shows the highest
running speed the game allows you right now: 250 with the knife, 210 with
the AWP, 150 with the AWP scoped, 1 during freeze time, and so on. It is the
speed the game really uses for you, read again at every update, so it is
right for every weapon (also when another plugin changes the speed).

Requirements
  - ReHLDS, ReGameDLL_CS, Metamod-R, ReAPI
  - AMX Mod X 1.10 or newer (written for 1.10.0.5490), with the fun module
    (part of every AMX Mod X install)

Install
  1. Compile scripting/olds_wspeed.sma and copy olds_wspeed.amxx to
     addons/amxmodx/plugins/. The compiler needs ReAPI's include files
     (reapi.inc and the reapi_*.inc files from the ReAPI release) next to the
     stock AMX Mod X includes.
  2. Copy data/lang/olds_wspeed.txt to addons/amxmodx/data/lang/.
  3. Copy configs/plugins/olds_wspeed.cfg to addons/amxmodx/configs/plugins/
     (if it is missing, the plugin writes it with the default values).
  4. Add olds_wspeed.amxx to addons/amxmodx/configs/plugins.ini.

Commands
  say /speedhud   (also in team chat) Hides or shows your own speed line. The
                  choice stays until you leave the server (also over new
                  rounds and restarts).

How it works
  - Every olds_wspd_period seconds each living player gets the line
    "Max speed: <value>". Dead players and spectators do not get it, so the
    line disappears soon after death.
  - The value is the player's maxspeed, which the game sets for the weapon in
    hand (and its scope), the VIP, and freeze time (1, as nobody may move).
  - The line uses a free HUD channel chosen by AMX Mod X (channel -1).

Settings (addons/amxmodx/configs/plugins/olds_wspeed.cfg)
  olds_wspd_show 1       1 = show the speed line, 0 = off for everyone
  olds_wspd_period 0.5   seconds between two updates of the line (0.1 - 5)

Some stock values: knife 250, pistols 250, M4A1 230, AK-47 221, AWP 210
(150 scoped), M249 220, Scout 260.

No sounds, models or sprites are added.

Credits and licence
  Written from scratch by alexit (olds.ro workshop) for workshop card LIB-2034.
  Licence: GNU GPL version 3 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.