set g_overkill_filter_armormedium 1
set g_overkill_filter_armorbig 1
set g_overkill_filter_armormega 0
+set g_overkill_blaster_keepdamage 0 "allow secondary fire to hurt players"
+set g_overkill_blaster_keepforce 0 "allow secondary fire to push players"
// =========
#include "okrpc.qh"
bool autocvar_g_overkill_powerups_replace;
-
bool autocvar_g_overkill_itemwaypoints = true;
+bool autocvar_g_overkill_blaster_keepforce = false;
+bool autocvar_g_overkill_blaster_keepdamage = false;
.Weapon ok_lastwep[MAX_WEAPONSLOTS];
if(frag_attacker != frag_target)
if(!STAT(FROZEN, frag_target))
if(!IS_DEAD(frag_target))
- {
+ if(!autocvar_g_overkill_blaster_keepforce)
M_ARGV(6, vector) = '0 0 0'; // force
- }
- M_ARGV(4, float) = 0; // damage
+ if(!autocvar_g_overkill_blaster_keepdamage)
+ M_ARGV(4, float) = 0; // damage
}
}