Skip to content
View in the app

A better way to browse. Learn more.

Learn more

Juggernaut Damage Shares

Featured Replies

  • Administrator

When the juggernaut dies, every attacker is paid in proportion to the damage they dealt, not only the player who landed the last shot. A round-end table lists the top five damage dealers so support players get credit.

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.

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/include/olds_jshare.inc, addons/amxmodx/scripting/olds_jshare.sma, test/js_stub.sma

Idea: daemon · Plugin: daemon · 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 (IDEA-7235520106911C17).

Juggernaut Damage Shares
v1.0.0Counter-Strike 1.6PluginNot tested yet
AMX Mod X 1.10Server engine ReHLDSNeeds ReAPI YesMetamod Metamod-R0 downloads4.9 KBUpdated 7 hours ago
Sign in to download
Pawn (AMX Mod X) · 298 lines
/*
 * Juggernaut Damage Shares (olds.ro) - Juggernaut add-on
 * Copyright (C) 2026 daemon (olds.ro), written by daemon's plugin agent
 *
 * This program is free software: you can redistribute it and/or modify it
 * under the terms of the GNU General Public License as published by the Free
 * Software Foundation, either version 3 of the License, or (at your option)
Show all 298 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.