addonsVersion 1.0.0: First release.
README.txtVersion 1.0.0: First release.
README.txt3 KB
No file matches.
Juggernaut Exposed Back 1.0.0 (olds.ro)
=======================================
An add-on for juggernaut game modes: the juggernaut's armour covers only the
front. Hits that land from behind deal extra damage (twice as much by
default), the shooter sees a short BACK HIT marker, and the juggernaut sees an
arrow for one second that shows the side the hit came from. Hunters gain by
flanking, and the juggernaut has to keep turning instead of walking straight
down a corridor.
Requirements
- ReGameDLL_CS, Metamod-r and ReAPI
- AMX Mod X 1.10 or newer
- A juggernaut core (the game mode plugin) that provides this native, true
while the player is the juggernaut:
native olds_is_juggernaut(id);
A core with a different native needs a one-line wrapper, for example in
the core's plugin_natives():
register_native("olds_is_juggernaut", "native_is_juggernaut");
Without such a core the plugin still loads, logs one line and changes
nothing.
- Tested on ReGameDLL_CS 5.30.0.814, ReAPI 5.29.0.358 and AMX Mod X
1.10.0.5490
Install
1. Compile scripting/olds_jback.sma with amxxpc 1.10 and copy olds_jback.amxx
to addons/amxmodx/plugins/. The compiler needs ReAPI's include files
(reapi.inc and reapi_*.inc) in addons/amxmodx/scripting/include/.
2. Copy data/lang/olds_jback.txt to addons/amxmodx/data/lang/.
3. Copy configs/plugins/olds_jback.cfg to addons/amxmodx/configs/plugins/.
4. Add olds_jback.amxx to addons/amxmodx/configs/plugins.ini.
What counts as a back hit
- The juggernaut's front is an arc around where the juggernaut looks:
olds_jback_arc degrees wide, 120 by default (60 degrees to each side).
Damage from another player standing outside that arc is multiplied by
olds_jback_mult before the game applies armour and health.
- Grenades count only with olds_jback_nades 1, judged from the spot where
the grenade went off.
- A teammate who cannot hurt the juggernaut (friendly fire off) gets no
marker and is not counted.
- The BACK HIT marker shows at most twice a second and the arrow once a
second, so automatic fire does not fill the screen.
Settings (addons/amxmodx/configs/plugins/olds_jback.cfg)
olds_jback_enable 1 1 = on, 0 = off
olds_jback_arc 120 width of the armoured front in degrees (0 - 360)
olds_jback_mult 2.0 damage multiplier for hits from behind (1 - 10)
olds_jback_nades 0 1 = grenades count too, 0 = never
olds_jback_sound 1 1 = the shooter hears a short ricochet on a back hit
Commands
olds_jback_status (server console, or admins with the rcon flag "l")
back hits since the map started and the damage of the
last one (after the multiplier, before armour)
Files
The markers are DHUD text and the ricochet is the stock
weapons/ric1.wav, so nothing is downloaded. Texts are in
data/lang/olds_jback.txt (English).
Credits and licence
Written from scratch by alexit (olds.ro workshop) for workshop card
IDEA-72C828BF7EE751EF.
Licence: GPL-3.0-or-later.