Skip to content
View in the app

A better way to browse. Learn more.

Learn more

juggernaut-damage-shares/README.txt

README.txt
31 lines · 1.6 KB · Text
Raw
Juggernaut Damage Shares (olds.ro workshop card IDEA-7235520106911C17) - Juggernaut add-on
Copyright (C) 2026 daemon (olds.ro). GPL-3.0-or-later.

Every player's damage to the current juggernaut is counted in
RG_CBasePlayer_TakeDamage (the health and armour each hit really took away).
Damage from the juggernaut's own falls, the world or other entities does not count.

When the juggernaut dies, olds_jshare_pool is shared by damage with
rg_add_account, rounded down:
  - a share above 5% gets at least olds_jshare_min;
  - a share of 5% or less gets nothing;
  - a player who left keeps their part of the total but is paid nothing, and
    nobody gets that money instead.
Example: 1000 and 500 damage share a 6000 pool as 4000 and 2000.
Each player paid sees their share in chat; the server log lists every share.

At the round end a HUD table (title and up to five lines) names the five
biggest damage dealers still on the server, highest first, with their damage,
share and money.

The juggernaut: named by a core with olds_jshare_set_juggernaut(id)
(scripting/include/olds_jshare.inc), or else the only player on the terrorist
team while counter-terrorists play (the Juggernaut Mode layout, LIB-0916).
A new juggernaut and every new round start a new count.

Cvars (configs/plugins/olds_jshare.cfg): olds_jshare_pool 6000, olds_jshare_min 100.
Admin: amx_jshare (ADMIN_KICK) shows the damage counted so far.

Install: compile scripting/olds_jshare.sma with amxxpc 1.10, add olds_jshare.amxx
after the Juggernaut core, copy data/lang/olds_jshare.txt. Needs ReAPI
(ReGameDLL_CS). No downloads.

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.