Merge branch 'master' into Mario/wepent_experimental
authorMario <mario@smbclan.net>
Mon, 12 Dec 2016 14:02:45 +0000 (00:02 +1000)
committerMario <mario@smbclan.net>
Mon, 12 Dec 2016 14:02:45 +0000 (00:02 +1000)
21 files changed:
1  2 
mutators.cfg
qcsrc/client/defs.qh
qcsrc/client/view.qc
qcsrc/common/monsters/monster/mage.qc
qcsrc/common/mutators/mutator/nix/sv_nix.qc
qcsrc/common/mutators/mutator/overkill/sv_overkill.qc
qcsrc/common/stats.qh
qcsrc/common/t_items.qc
qcsrc/common/vehicles/vehicle/bumblebee.qc
qcsrc/common/vehicles/vehicle/racer.qc
qcsrc/common/vehicles/vehicle/raptor.qc
qcsrc/common/vehicles/vehicle/spiderbot.qc
qcsrc/server/bot/api.qh
qcsrc/server/bot/default/scripting.qc
qcsrc/server/client.qc
qcsrc/server/defs.qh
qcsrc/server/g_hook.qc
qcsrc/server/g_world.qc
qcsrc/server/miscfunctions.qc
qcsrc/server/player.qc
qcsrc/server/weapons/weaponsystem.qc

diff --cc mutators.cfg
@@@ -53,8 -53,24 +53,8 @@@ set g_overkill_powerups_replace 
  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_filter_armormega 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
Simple merge
Simple merge
Simple merge
@@@ -8,11 -11,17 +8,11 @@@ bool autocvar_g_overkill_powerups_repla
  bool autocvar_g_overkill_filter_healthmega;
  bool autocvar_g_overkill_filter_armormedium;
  bool autocvar_g_overkill_filter_armorbig;
- bool autocvar_g_overkill_filter_armorlarge;
+ bool autocvar_g_overkill_filter_armormega;
  
 -.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();
  
@@@ -55,11 -55,18 +55,12 @@@ REGISTER_STAT(PL_CROUCH_MAX, vector, au
  
  REGISTER_STAT(KH_KEYS, int)
  
 -/** weapon requested to switch to; next WANTED weapon (for HUD) */
 -REGISTER_STAT(SWITCHWEAPON, int)
 -/** weapon currently being switched to (is copied from switchweapon once switch is possible) */
 -REGISTER_STAT(SWITCHINGWEAPON, int)
 -REGISTER_STAT(WEAPON_NEXTTHINK, float)
  #ifdef SVQC
 -SPECTATE_COPYFIELD(_STAT(WEAPON_NEXTTHINK))
  float W_WeaponRateFactor(entity this);
+ float gameover;
  #endif
  REGISTER_STAT(WEAPONRATEFACTOR, float, W_WeaponRateFactor(this))
+ REGISTER_STAT(GAMEOVER, int, gameover)
  REGISTER_STAT(GAMESTARTTIME, float)
  REGISTER_STAT(STRENGTH_FINISHED, float)
  REGISTER_STAT(INVINCIBLE_FINISHED, float)
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
@@@ -163,9 -144,9 +163,9 @@@ void GrapplingHookThink(entity this
                error("Owner lost the hook!\n");
                return;
        }
-       if(LostMovetypeFollow(this) || intermission_running || (round_handler_IsActive() && !round_handler_IsRoundStarted()) || ((this.aiment.flags & FL_PROJECTILE) && this.aiment.classname != "nade"))
+       if(LostMovetypeFollow(this) || gameover || (round_handler_IsActive() && !round_handler_IsRoundStarted()) || ((this.aiment.flags & FL_PROJECTILE) && this.aiment.classname != "nade"))
        {
 -              RemoveGrapplingHook(this.realowner);
 +              RemoveHook(this);
                return;
        }
        if(this.aiment)
Simple merge
Simple merge
Simple merge
Simple merge