summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2015-04-12 15:36:31 +0200
committerPaweł Redman <pawel.redman@gmail.com>2015-04-12 15:36:31 +0200
commit0acd120b36b4eac1d55646d09745bb39c15dd0fc (patch)
treefaa9c3ede84d923a46d99c8e01cb87cd15af32de /src
parent622ecb7bedeacaf4063dadc87764d3b66ad2f009 (diff)
Revert Rocket Launcher stats to 28fbbadc but with lower splash damage and a parabolic trajectory.
Diffstat (limited to 'src')
-rw-r--r--src/game/g_missile.c4
-rw-r--r--src/game/tremulous.h13
2 files changed, 9 insertions, 8 deletions
diff --git a/src/game/g_missile.c b/src/game/g_missile.c
index a7781a7..3ac98f2 100644
--- a/src/game/g_missile.c
+++ b/src/game/g_missile.c
@@ -989,7 +989,7 @@ gentity_t *fire_rocket( gentity_t *self, vec3_t start, vec3_t dir )
bolt->r.ownerNum = self->s.number;
bolt->parent = self;
bolt->damage = ROCKETL_DAMAGE;
- bolt->splashDamage = ROCKETL_DAMAGE;
+ bolt->splashDamage = ROCKETL_SPLASHDAMAGE;
bolt->splashRadius = ROCKETL_RADIUS;
bolt->methodOfDeath = MOD_ROCKETL;
bolt->splashMethodOfDeath = MOD_ROCKETL_SPLASH;
@@ -997,7 +997,7 @@ gentity_t *fire_rocket( gentity_t *self, vec3_t start, vec3_t dir )
bolt->target_ent = NULL;
bolt->r.mins[ 0 ] = bolt->r.mins[ 1 ] = bolt->r.mins[ 2 ] = -ROCKETL_SIZE;
bolt->r.maxs[ 0 ] = bolt->r.maxs[ 1 ] = bolt->r.maxs[ 2 ] = ROCKETL_SIZE;
- bolt->s.pos.trType = TR_LINEAR;
+ bolt->s.pos.trType = TR_GRAVITY;
bolt->s.pos.trTime = level.time - MISSILE_PRESTEP_TIME; // move a bit on the very first frame
VectorCopy( start, bolt->s.pos.trBase );
VectorScale( dir, ROCKETL_SPEED, bolt->s.pos.trDelta );
diff --git a/src/game/tremulous.h b/src/game/tremulous.h
index 7800bb3..321512b 100644
--- a/src/game/tremulous.h
+++ b/src/game/tremulous.h
@@ -543,16 +543,17 @@ TREMULOUS EDGE MOD SRC FILE
#define LCANNON_CHARGE_TIME_WARN 2000
#define LCANNON_CHARGE_AMMO 10 // ammo cost of a full charge shot
-#define ROCKETL_PRICE 700
+#define ROCKETL_PRICE 800
#define ROCKETL_AMMO 20
-#define ROCKETL_CLIPS 1
+#define ROCKETL_CLIPS 0
#define ROCKETL_RELOAD 0
-#define ROCKETL_REPEAT 1200
+#define ROCKETL_REPEAT 1000
#define ROCKETL_K_SCALE 1.0f
-#define ROCKETL_DAMAGE HDM(80) // DPS: 66.67
-#define ROCKETL_RADIUS 80
+#define ROCKETL_DAMAGE HDM(88) // DPS: 88
+#define ROCKETL_SPLASHDAMAGE ( ROCKETL_DAMAGE / 2 )
+#define ROCKETL_RADIUS 120
#define ROCKETL_SIZE 5
-#define ROCKETL_SPEED 500
+#define ROCKETL_SPEED 700
#define HBUILD_PRICE 0
#define HBUILD_REPEAT 1000