]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
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
index 23d0a6fb288d1ad4dcee687c99e154f91e984848,781377637e076515e4fc0474340d4357e4460079..f36a5a77494e9508a79bc8d083574b408c2f1262
@@@ -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
index 85beb641f0a91d3db6e1c2becde94a5080d4b96f,56bc8d14cce8d4fad53d010fd57ecea83fa17e1d..9bc39781bace277a70743819d32dda4440b089ac
@@@ -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();
  
index c4c5172aafb8d7f8bd141a7b1a764997bb717914,b3459a67b9e5dcacfc4a33c0ce03b6a0fd47f1fb..995923a5ee943e3b746a629a37531cadd262b999
@@@ -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
index 36e1e4e52ba2458cab620ac962d1b9af6fc634ae,cccba42bb42128fff96050498f317875c050c360..a69b98487d2cbb7cb16833656178e4b369419faa
@@@ -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