// ==========
set g_overkill 0 "enable overkill"
- set g_overkill_100a_anyway 1
- set g_overkill_100h_anyway 1
set g_overkill_powerups_replace 1
- set g_overkill_superguns_respawn_time 120
+ set g_overkill_filter_healthmega 0
+ set g_overkill_filter_armormedium 0
+ set g_overkill_filter_armorbig 0
+ set g_overkill_filter_armorlarge 0
-set g_overkill_ammo_charge 0
-set g_overkill_ammo_charge_notice 1
-set g_overkill_ammo_charge_limit 1
-set g_overkill_ammo_charge_rate 0.5
-set g_overkill_ammo_charge_rate_vortex 0.5
-set g_overkill_ammo_charge_rate_machinegun 0.5
-set g_overkill_ammo_charge_rate_shotgun 0.5
-set g_overkill_ammo_charge_rate_hmg 0.25
-set g_overkill_ammo_charge_rate_rpc 1.5
-set g_overkill_ammo_decharge 0.1
-set g_overkill_ammo_decharge_machinegun 0.025
-set g_overkill_ammo_decharge_shotgun 0.15
-set g_overkill_ammo_decharge_vortex 0.2
-set g_overkill_ammo_decharge_rpc 1
-set g_overkill_ammo_decharge_hmg 0.01
-
// =========
// vampire
#include "rpc.qh"
bool autocvar_g_overkill_powerups_replace;
- float autocvar_g_overkill_superguns_respawn_time;
- bool autocvar_g_overkill_100h_anyway;
- bool autocvar_g_overkill_100a_anyway;
+ bool autocvar_g_overkill_ammo_charge;
+ float autocvar_g_overkill_ammo_charge_notice;
+ float autocvar_g_overkill_ammo_charge_limit;
+
+ bool autocvar_g_overkill_filter_healthmega;
+ bool autocvar_g_overkill_filter_armormedium;
+ bool autocvar_g_overkill_filter_armorbig;
+ bool autocvar_g_overkill_filter_armorlarge;
- .vector ok_deathloc;
- .float ok_spawnsys_timer;
- .Weapon ok_lastwep[MAX_WEAPONSLOTS];
-.float ok_lastwep;
.float ok_item;
-.float ok_notice_time;
-.float ammo_charge[Weapons_MAX];
-.float ok_use_ammocharge = _STAT(OK_AMMO_CHARGE);
-.float ok_ammo_charge = _STAT(OK_AMMO_CHARGEPOOL);
-
-void(entity ent, float wep) ok_DecreaseCharge;
++.Weapon ok_lastwep[MAX_WEAPONSLOTS];
+
void ok_Initialize();
REGISTER_MUTATOR(ok, cvar("g_overkill") && !cvar("g_instagib") && !g_nexball && cvar_string("g_mod_balance") == "Overkill")