]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
spider balance, make artillery rockets have some spread
authorJakob MG <jakob_mg@hotmail.com>
Sun, 24 Jun 2012 13:04:34 +0000 (15:04 +0200)
committerJakob MG <jakob_mg@hotmail.com>
Sun, 24 Jun 2012 13:04:34 +0000 (15:04 +0200)
qcsrc/server/vehicles/spiderbot.qc
vehicle_spiderbot.cfg

index e0cb068477679d6f2bb04d5728e067729804dc9f..42bd7902b654ef7685bd533cd587fb74aba077c5 100644 (file)
@@ -284,7 +284,8 @@ void spiderbot_rocket_do()
                                    DEATH_SBROCKET, PROJECTILE_SPIDERROCKET, autocvar_g_vehicle_spiderbot_rocket_health, FALSE, TRUE);
             
             crosshair_trace(self.owner);
-            rocket.pos1       = trace_endpos;
+            rocket.pos1       = trace_endpos + randomvec() * (0.75 * autocvar_g_vehicle_spiderbot_rocket_radius);
+            rocket.pos1_z       = trace_endpos_z;
             traceline(v, v + '0 0 1' * MAX_SHOT_DISTANCE, MOVE_WORLDONLY, self);     
             
             rocket.velocity  = spiberbot_calcartillery(v, rocket.pos1, (0.75 * vlen(v - trace_endpos)));
index 7cb8e4a0f71a3dbcec24e878c35ba553ba8431e2..a7c0e5228f86a49017d9691baf81d16e775dd491 100644 (file)
@@ -1,12 +1,12 @@
 set g_vehicle_spiderbot_respawntime                      45
 
-set g_vehicle_spiderbot_health                800
-set g_vehicle_spiderbot_health_regen             20
+set g_vehicle_spiderbot_health                500
+set g_vehicle_spiderbot_health_regen             15
 set g_vehicle_spiderbot_health_regen_pause    5
 
-set g_vehicle_spiderbot_shield                250
+set g_vehicle_spiderbot_shield                300
 set g_vehicle_spiderbot_shield_block          1
-set g_vehicle_spiderbot_shield_regen          30
+set g_vehicle_spiderbot_shield_regen          25
 set g_vehicle_spiderbot_shield_regen_pause    0.35
 
 set g_vehicle_spiderbot_energy              0
@@ -26,15 +26,15 @@ set g_vehicle_spiderbot_speed_strafe       300
 set g_vehicle_spiderbot_movement_inertia   0.15
 set g_vehicle_spiderbot_tiltlimit          90
 
-set g_vehicle_spiderbot_minigun_damage          9       // 300 (x2) DPS 
+set g_vehicle_spiderbot_minigun_damage          12       // 400 (x2) DPS 
 set g_vehicle_spiderbot_minigun_refire          0.03
 set g_vehicle_spiderbot_minigun_force           9
 set g_vehicle_spiderbot_minigun_spread          0.025
 set g_vehicle_spiderbot_minigun_speed           45000  // ~ 32QU
 set g_vehicle_spiderbot_minigun_bulletconstant  110
 set g_vehicle_spiderbot_minigun_ammo_cost       1
-set g_vehicle_spiderbot_minigun_ammo_max        200
-set g_vehicle_spiderbot_minigun_ammo_regen      30
+set g_vehicle_spiderbot_minigun_ammo_max        100
+set g_vehicle_spiderbot_minigun_ammo_regen      40
 set g_vehicle_spiderbot_minigun_ammo_regen_pause 1
 
 set g_vehicle_spiderbot_springlength        150