summaryrefslogtreecommitdiff
path: root/src/game/tremulous.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/tremulous.h')
-rw-r--r--src/game/tremulous.h212
1 files changed, 109 insertions, 103 deletions
diff --git a/src/game/tremulous.h b/src/game/tremulous.h
index 7e723ecc..53e07a0b 100644
--- a/src/game/tremulous.h
+++ b/src/game/tremulous.h
@@ -38,61 +38,61 @@
#define ABUILDER_BLOB_SPEED_MOD 0.5f
#define ABUILDER_BLOB_TIME 5000
-#define SOLDIER_BITE_DMG ADM(60)
-#define SOLDIER_BITE_RANGE 64.0f
-#define SOLDIER_BITE_WIDTH 6.0f
-#define SOLDIER_BITE_REPEAT 500
-
-#define HYDRA_CLAW_DMG ADM(40)
-#define HYDRA_CLAW_RANGE 96.0f
-#define HYDRA_CLAW_WIDTH 10.0f
-#define HYDRA_CLAW_REPEAT 600
-#define HYDRA_CLAW_U_REPEAT 500
-#define HYDRA_GRAB_RANGE 64.0f
-#define HYDRA_GRAB_TIME 1000
-#define HYDRA_PCLOUD_DMG ADM(5)
-#define HYDRA_PCLOUD_RANGE 200.0f
-#define HYDRA_PCLOUD_REPEAT 2000
-#define HYDRA_PCLOUD_TIME 10000
-
-#define CHIMERA_CLAW_DMG ADM(50)
-#define CHIMERA_CLAW_RANGE 96.0f
-#define CHIMERA_CLAW_WIDTH 12.0f
-#define CHIMERA_CLAW_REPEAT 500
-#define CHIMERA_CLAW_U_REPEAT 400
-#define CHIMERA_AREAZAP_DMG ADM(100)
-#define CHIMERA_AREAZAP_RANGE 200.0f
-#define CHIMERA_AREAZAP_REPEAT 3000
-#define CHIMERA_WALLJUMP_MAXSPEED 1000.0f
-
-#define DRAGOON_CLAW_DMG ADM(100)
-#define DRAGOON_CLAW_RANGE 96.0f
-#define DRAGOON_CLAW_WIDTH 16.0f
-#define DRAGOON_CLAW_REPEAT 700
-#define DRAGOON_CLAW_U_REPEAT 600
-#define DRAGOON_POUNCE_DMG ADM(200)
-#define DRAGOON_POUNCE_RANGE 96.0f
-#define DRAGOON_POUNCE_WIDTH 16.0f
-#define DRAGOON_POUNCE_SPEED 700
-#define DRAGOON_POUNCE_UPG_SPEED 800
-#define DRAGOON_POUNCE_SPEED_MOD 0.75f
-#define DRAGOON_POUNCE_TIME 700
-#define DRAGOON_BOUNCEBALL_DMG ADM(150)
-#define DRAGOON_BOUNCEBALL_REPEAT 1000
-#define DRAGOON_BOUNCEBALL_SPEED 1000.0f
-
-#define BMOFO_CLAW_DMG ADM(150)
-#define BMOFO_CLAW_RANGE 128.0f
-#define BMOFO_CLAW_WIDTH 20.0f
-#define BMOFO_CLAW_REPEAT 750
-#define BMOFO_REGEN_RANGE 200.0f
-#define BMOFO_REGEN_MOD 2.0f
-#define BMOFO_CHARGE_SPEED 2.0f
-#define BMOFO_CHARGE_TIME 3000
-#define BMOFO_CHARGE_CHARGE_TIME 1000
-#define BMOFO_CHARGE_CHARGE_RATIO (BMOFO_CHARGE_TIME/BMOFO_CHARGE_CHARGE_TIME)
-#define BMOFO_CHARGE_REPEAT 500
-#define BMOFO_CHARGE_DMG ADM(200)
+#define LEVEL0_BITE_DMG ADM(60)
+#define LEVEL0_BITE_RANGE 64.0f
+#define LEVEL0_BITE_WIDTH 6.0f
+#define LEVEL0_BITE_REPEAT 500
+
+#define LEVEL1_CLAW_DMG ADM(40)
+#define LEVEL1_CLAW_RANGE 96.0f
+#define LEVEL1_CLAW_WIDTH 10.0f
+#define LEVEL1_CLAW_REPEAT 600
+#define LEVEL1_CLAW_U_REPEAT 500
+#define LEVEL1_GRAB_RANGE 64.0f
+#define LEVEL1_GRAB_TIME 1000
+#define LEVEL1_PCLOUD_DMG ADM(5)
+#define LEVEL1_PCLOUD_RANGE 200.0f
+#define LEVEL1_PCLOUD_REPEAT 2000
+#define LEVEL1_PCLOUD_TIME 10000
+
+#define LEVEL2_CLAW_DMG ADM(50)
+#define LEVEL2_CLAW_RANGE 96.0f
+#define LEVEL2_CLAW_WIDTH 12.0f
+#define LEVEL2_CLAW_REPEAT 500
+#define LEVEL2_CLAW_U_REPEAT 400
+#define LEVEL2_AREAZAP_DMG ADM(100)
+#define LEVEL2_AREAZAP_RANGE 200.0f
+#define LEVEL2_AREAZAP_REPEAT 3000
+#define LEVEL2_WALLJUMP_MAXSPEED 1000.0f
+
+#define LEVEL3_CLAW_DMG ADM(100)
+#define LEVEL3_CLAW_RANGE 96.0f
+#define LEVEL3_CLAW_WIDTH 16.0f
+#define LEVEL3_CLAW_REPEAT 700
+#define LEVEL3_CLAW_U_REPEAT 600
+#define LEVEL3_POUNCE_DMG ADM(200)
+#define LEVEL3_POUNCE_RANGE 96.0f
+#define LEVEL3_POUNCE_WIDTH 16.0f
+#define LEVEL3_POUNCE_SPEED 700
+#define LEVEL3_POUNCE_UPG_SPEED 800
+#define LEVEL3_POUNCE_SPEED_MOD 0.75f
+#define LEVEL3_POUNCE_TIME 700
+#define LEVEL3_BOUNCEBALL_DMG ADM(150)
+#define LEVEL3_BOUNCEBALL_REPEAT 1000
+#define LEVEL3_BOUNCEBALL_SPEED 1000.0f
+
+#define LEVEL4_CLAW_DMG ADM(150)
+#define LEVEL4_CLAW_RANGE 128.0f
+#define LEVEL4_CLAW_WIDTH 20.0f
+#define LEVEL4_CLAW_REPEAT 750
+#define LEVEL4_REGEN_RANGE 200.0f
+#define LEVEL4_REGEN_MOD 2.0f
+#define LEVEL4_CHARGE_SPEED 2.0f
+#define LEVEL4_CHARGE_TIME 3000
+#define LEVEL4_CHARGE_CHARGE_TIME 1000
+#define LEVEL4_CHARGE_CHARGE_RATIO (LEVEL4_CHARGE_TIME/LEVEL4_CHARGE_CHARGE_TIME)
+#define LEVEL4_CHARGE_REPEAT 500
+#define LEVEL4_CHARGE_DMG ADM(200)
@@ -124,53 +124,53 @@
#define ABUILDER_UPG_REGEN 3
#define ABUILDER_UPG_COST 0
-#define SOLDIER_SPEED 1.3f
-#define SOLDIER_VALUE AVM(175)
-#define SOLDIER_HEALTH AHM(25)
-#define SOLDIER_REGEN 1
-#define SOLDIER_COST 0
-
-#define HYDRA_SPEED 1.25f
-#define HYDRA_VALUE AVM(225)
-#define HYDRA_HEALTH AHM(75)
-#define HYDRA_REGEN 2
-#define HYDRA_COST 1
-
-#define HYDRA_UPG_SPEED 1.25f
-#define HYDRA_UPG_VALUE AVM(275)
-#define HYDRA_UPG_HEALTH AHM(100)
-#define HYDRA_UPG_REGEN 2
-#define HYDRA_UPG_COST 1
-
-#define CHIMERA_SPEED 1.2f
-#define CHIMERA_VALUE AVM(350)
-#define CHIMERA_HEALTH AHM(150)
-#define CHIMERA_REGEN 3
-#define CHIMERA_COST 1
-
-#define CHIMERA_UPG_SPEED 1.2f
-#define CHIMERA_UPG_VALUE AVM(450)
-#define CHIMERA_UPG_HEALTH AHM(175)
-#define CHIMERA_UPG_REGEN 4
-#define CHIMERA_UPG_COST 1
-
-#define DRAGOON_SPEED 1.1f
-#define DRAGOON_VALUE AVM(500)
-#define DRAGOON_HEALTH AHM(200)
-#define DRAGOON_REGEN 5
-#define DRAGOON_COST 1
-
-#define DRAGOON_UPG_SPEED 1.1f
-#define DRAGOON_UPG_VALUE AVM(600)
-#define DRAGOON_UPG_HEALTH AHM(250)
-#define DRAGOON_UPG_REGEN 6
-#define DRAGOON_UPG_COST 1
-
-#define BMOFO_SPEED 1.2f
-#define BMOFO_VALUE AVM(800)
-#define BMOFO_HEALTH AHM(400)
-#define BMOFO_REGEN 7
-#define BMOFO_COST 2
+#define LEVEL0_SPEED 1.3f
+#define LEVEL0_VALUE AVM(175)
+#define LEVEL0_HEALTH AHM(25)
+#define LEVEL0_REGEN 1
+#define LEVEL0_COST 0
+
+#define LEVEL1_SPEED 1.25f
+#define LEVEL1_VALUE AVM(225)
+#define LEVEL1_HEALTH AHM(75)
+#define LEVEL1_REGEN 2
+#define LEVEL1_COST 1
+
+#define LEVEL1_UPG_SPEED 1.25f
+#define LEVEL1_UPG_VALUE AVM(275)
+#define LEVEL1_UPG_HEALTH AHM(100)
+#define LEVEL1_UPG_REGEN 2
+#define LEVEL1_UPG_COST 1
+
+#define LEVEL2_SPEED 1.2f
+#define LEVEL2_VALUE AVM(350)
+#define LEVEL2_HEALTH AHM(150)
+#define LEVEL2_REGEN 3
+#define LEVEL2_COST 1
+
+#define LEVEL2_UPG_SPEED 1.2f
+#define LEVEL2_UPG_VALUE AVM(450)
+#define LEVEL2_UPG_HEALTH AHM(175)
+#define LEVEL2_UPG_REGEN 4
+#define LEVEL2_UPG_COST 1
+
+#define LEVEL3_SPEED 1.1f
+#define LEVEL3_VALUE AVM(500)
+#define LEVEL3_HEALTH AHM(200)
+#define LEVEL3_REGEN 5
+#define LEVEL3_COST 1
+
+#define LEVEL3_UPG_SPEED 1.1f
+#define LEVEL3_UPG_VALUE AVM(600)
+#define LEVEL3_UPG_HEALTH AHM(250)
+#define LEVEL3_UPG_REGEN 6
+#define LEVEL3_UPG_COST 1
+
+#define LEVEL4_SPEED 1.2f
+#define LEVEL4_VALUE AVM(800)
+#define LEVEL4_HEALTH AHM(400)
+#define LEVEL4_REGEN 7
+#define LEVEL4_COST 2
@@ -329,6 +329,12 @@
#define PAINSAW_DAMAGE HDM(20)
#define PAINSAW_RANGE 48.0f
+#define GRENADE_PRICE 300
+#define GRENADE_REPEAT 0
+#define GRENADE_DAMAGE HDM(350)
+#define GRENADE_RANGE 192.0f
+#define GRENADE_SPEED 400.0f
+
#define SHOTGUN_PRICE 150
#define SHOTGUN_SHELLS 8
#define SHOTGUN_PELLETS 8 //used to sync server and client side
@@ -549,4 +555,4 @@
#define FREEKILL_PERIOD 180000 //msec
#define FREEKILL_ALIEN 1
-#define FREEKILL_HUMAN SOLDIER_VALUE
+#define FREEKILL_HUMAN LEVEL0_VALUE