summaryrefslogtreecommitdiff
path: root/src/game/tremulous.h
diff options
context:
space:
mode:
authorMichael Levin <risujin@fastmail.fm>2009-10-03 11:19:05 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:14:52 +0000
commit5e46c5258c1999af57f2589a6cead5682af6ca5d (patch)
tree7f1ded1b916f9a74212f5bb169a40508675dc654 /src/game/tremulous.h
parent16289f1b853e5da3f944045e191d465857110fad (diff)
* Turrets are smarter and will fire if they can hit their target rather than when perfectly aligned
* Also added two turret params: spin duration and spin down time which give finer control over turret behavior (set their values to minimum) * Fixed some patch problems, spacing and duplicate code * Fixed Sprint/Dodge binding through menu * Tutorial text size shrunk * ALL clients lose their credits entirely when switching teams
Diffstat (limited to 'src/game/tremulous.h')
-rw-r--r--src/game/tremulous.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/game/tremulous.h b/src/game/tremulous.h
index 582e0a70..97e32929 100644
--- a/src/game/tremulous.h
+++ b/src/game/tremulous.h
@@ -559,15 +559,16 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#define MGTURRET_SPLASHDAMAGE 100
#define MGTURRET_SPLASHRADIUS 100
#define MGTURRET_ANGULARSPEED 12
-#define MGTURRET_ANGULARSPEED_LOCKED 8
-#define MGTURRET_ACCURACYTOLERANCE 0
+#define MGTURRET_ANGULARSPEED_GRAB 8
#define MGTURRET_VERTICALCAP 30 // +/- maximum pitch
-#define MGTURRET_REPEAT 100
+#define MGTURRET_REPEAT 150
#define MGTURRET_K_SCALE 1.0f
#define MGTURRET_RANGE 400.0f
#define MGTURRET_SPREAD 200
#define MGTURRET_DMG HDM(8)
#define MGTURRET_SPINUP_TIME 750 // time between target sighted and fire
+#define MGTURRET_SPIN_DURATION 50 // time that the turret stays spun-up
+#define MGTURRET_SPINDOWN_TIME 50 // time to return to idle state after a spinup
#define MGTURRET_VALUE 320
#define TESLAGEN_BP 10