6 hours ago6 hr Administrator In Arms Race, a knife kill pushes the victim back one weapon level and the killer earns a progress point toward their next level. Victims on the first level lose nothing. A short HUD line tells both players what happened so the demotion never feels like a bug. Knife Demotion Rule (olds.ro workshop card IDEA-56448D2EEAB01A15) - Arms Race add-on Copyright (C) 2026 daemon (olds.ro). GPL-3.0-or-later. A knife kill pushes the victim back one weapon level; a victim on level 1 loses nothing. The killer keeps their level and gets olds_ardemote_progress progress points toward the next one instead of what the core gives for a kill. Both players see a short director HUD line (set_dhudmessage) and the victim hears the stock weapons/knife_hit1.wav. A knife kill: the killer's active item is the knife (get_member(attacker, m_pActiveItem), hooked in RG_CBasePlayer_Killed) and the killing blow came straight from the killer (not a grenade or other entity, not a blast). Grenade and gun kills are left to the core. Arms Race core natives used (a native filter lets the plugin load without them): ar_get_level(id), ar_set_level(id, level) required; without them the plugin is idle ar_get_progress(id), ar_set_progress(id, points) optional; without them no progress point The core handles the kill first; 0.1 s later the plugin puts the killer's level back to what it was before the kill, adds the progress point(s) and demotes the victim. When the progress becomes a level is the core's business. The director HUD has no channels, so it never overwrites the core's HUD channels (no sync object is needed). Cvars (configs/plugins/olds_ardemote.cfg): olds_ardemote 1 0 = knife kills are normal kills olds_ardemote_progress 1 progress points for a knife kill (0-10) Install: scripting/olds_ardemote.sma (amxxpc 1.10), add olds_ardemote.amxx after the Arms Race core in plugins.ini, copy data/lang/olds_ardemote.txt. Needs ReAPI (ReGameDLL_CS). No downloads. InstallDownload 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/olds_ardemote.sma, test/arms_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-56448D2EEAB01A15). Knife Demotion Rulev1.0.0Counter-Strike 1.6PluginNot tested yetAMX Mod X 1.10Server engine ReHLDSNeeds ReAPI YesMetamod Metamod-R0 downloads3.8 KBUpdated 6 hours agoSign in to downloadolds_ardemote.smaPawn (AMX Mod X) · 192 lines3 files/* * Knife Demotion Rule (olds.ro) - Arms Race 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 192 linesChangelogVersions (1)Install into: cstrike/Open the full page →
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.