Merge branch 'master' into Mario/wepent_experimental
authorMario <mario@smbclan.net>
Wed, 12 Oct 2016 22:53:23 +0000 (08:53 +1000)
committerMario <mario@smbclan.net>
Wed, 12 Oct 2016 22:53:23 +0000 (08:53 +1000)
# Conflicts:
# qcsrc/common/mutators/mutator/overkill/sv_overkill.qc

1  2 
mutators.cfg
qcsrc/common/mutators/mutator/overkill/sv_overkill.qc
qcsrc/common/physics/player.qc
qcsrc/common/stats.qh
qcsrc/server/client.qc
qcsrc/server/g_world.qc
qcsrc/server/mutators/events.qh

diff --cc mutators.cfg
@@@ -45,11 -49,28 +49,12 @@@ set g_instagib_friendlypush 1 "allow pu
  // ==========
  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
@@@ -4,15 -4,25 +4,19 @@@
  #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")
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge