]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Make mines 1/3 the size of Mortar grenades, not two times bigger (too large imo)
authorMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Sun, 26 Sep 2010 10:08:11 +0000 (13:08 +0300)
committerMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Sun, 26 Sep 2010 10:08:11 +0000 (13:08 +0300)
qcsrc/client/projectile.qc
qcsrc/server/w_minelayer.qc

index f45a52aa164e4158cc790246afbe8308188c1ec9..39aabc44adf4a430f357c0e6e82d4a6d07e596ef 100644 (file)
@@ -332,8 +332,8 @@ void Ent_Projectile()
                                self.move_bounce_stopspeed = g_balance_grenadelauncher_secondary_bouncestop;
                                break;
                        case PROJECTILE_MINE:
-                               self.mins = '-6 -6 -6';
-                               self.maxs = '6 6 6';
+                               self.mins = '-4 -4 -4';
+                               self.maxs = '4 4 4';
                                break;
                        case PROJECTILE_PORTO_RED:
                                self.colormod = '2 1 1';
index 984fc71b381023fff69bcbbd3b5eef58dda2cd88..8709bd19510a0b7044ec80f48d1470ea9bf88546 100644 (file)
@@ -156,7 +156,7 @@ void W_Mine_Attack (void)
        if not(self.items & IT_UNLIMITED_WEAPON_AMMO)
                self.ammo_rockets = self.ammo_rockets - cvar("g_balance_minelayer_ammo");
 
-       W_SetupShot_ProjectileSize (self, '-6 -6 -6', '6 6 6', FALSE, 5, "weapons/mine_fire.wav", cvar("g_balance_minelayer_damage"));
+       W_SetupShot_ProjectileSize (self, '-4 -4 -4', '4 4 4', FALSE, 5, "weapons/mine_fire.wav", cvar("g_balance_minelayer_damage"));
        pointparticles(particleeffectnum("rocketlauncher_muzzleflash"), w_shotorg, w_shotdir * 1000, 1);
 
        mine = WarpZone_RefSys_SpawnSameRefSys(self);
@@ -178,9 +178,9 @@ void W_Mine_Attack (void)
        mine.movetype = MOVETYPE_TOSS;
        PROJECTILE_MAKETRIGGER(mine);
        mine.projectiledeathtype = WEP_MINE_LAYER;
-       setsize (mine, '-6 -6 -6', '6 6 6'); // give it some size so it can be shot
+       setsize (mine, '-4 -4 -4', '4 4 4'); // give it some size so it can be shot
 
-       setorigin (mine, w_shotorg - v_forward * 6); // move it back so it hits the wall at the right point
+       setorigin (mine, w_shotorg - v_forward * 4); // move it back so it hits the wall at the right point
        W_SetupProjectileVelocity(mine, cvar("g_balance_minelayer_speedstart"), 0);
        mine.angles = vectoangles (mine.velocity);