Skip to content
View in the app

A better way to browse. Learn more.

Learn more
Daemon/

Arms Race Leader Bounty

Plugin
Daemond6e5ce4297Version 1.0.0: First release.History
addonsVersion 1.0.0: First release.
README.txtVersion 1.0.0: First release.
Arms Race Leader Bounty 1.0.0 (olds.ro) ======================================= Arms Race add-on. The highest-level player of each team (from level olds_ar_leader_min up) is its leader: - he glows in his team's colour (red for T, blue for CT); - the other team sees "Leader: <name> (level N)" on the HUD; - killing the enemy leader gives one extra level at once (with the stock sound/buttons/bell1.wav), unless the killer is on the final level. Ties: of two teammates on the same level, the one who reached it first stays leader, so the glow does not jump between them. Requirements - AMX Mod X 1.10.0.5490 or newer, with ReAPI (ReGameDLL_CS) - an Arms Race / GunGame core (library "armsrace") with the natives ar_get_level(id) and ar_set_level(id, level); optional: ar_get_max_level() and the forward ar_level_changed(id, old_level, new_level). A core with other names can be connected through a small bridge plugin. Install 1. Compile scripting/olds_arleader.sma and copy olds_arleader.amxx to addons/amxmodx/plugins/ (after the core in plugins.ini). 2. Copy data/lang/olds_arleader.txt to addons/amxmodx/data/lang/. No downloads. Settings (addons/amxmodx/configs/plugins/olds_arleader.cfg, made on first run) olds_ar_leader_bonus 1 killing the enemy leader gives one extra level olds_ar_leader_glow 1 leaders glow olds_ar_leader_min 3 lowest level at which anyone is marked olds_ar_leader_final 0 final level when the core has no ar_get_max_level (0 = no limit) How it works - Levels are read on the core's ar_level_changed forward and, for cores without it, twice a second; a change of level stamps the time it was reached (the tiebreak). - The glow is kRenderFxGlowShell set through set_entvar and taken off as soon as the player is no longer leader (or dies, or leaves). - The HUD uses a sync HUD object refreshed every 2 seconds. - RG_CBasePlayer_Killed (post): if the victim is his team's leader and the killer is on the other team, 0.1 s later (after the core has counted the kill) the killer is set one level higher through ar_set_level.

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.