From a0c96de3cd2b5fd1b57276caafc07e17a54d001a Mon Sep 17 00:00:00 2001
From: Michael Levin <risujin@fastmail.fm>
Date: Sat, 3 Oct 2009 11:17:37 +0000
Subject: Some more work on the Mass Driver: * Fixed a bug in SnapVectorTowards
 which would snap incorrectly if the point was below the world origin. Also
 added an analogous function to work with normals (SnapVectorNormal). * Added
 weapon.cfg to source control to set alwaysImpact (to show flash along with
 blood spurt when hitting a player). * The maximum number of hits allowed
 moved to tremulous.h, set MDRIVER_MAX_HITS. * Since a the visual effects
 changed, removed old massDriverFire() function and toggle switch.

---
 models/weapons/mdriver/weapon.cfg | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 models/weapons/mdriver/weapon.cfg

(limited to 'models/weapons/mdriver')

diff --git a/models/weapons/mdriver/weapon.cfg b/models/weapons/mdriver/weapon.cfg
new file mode 100644
index 00000000..2c74131f
--- /dev/null
+++ b/models/weapons/mdriver/weapon.cfg
@@ -0,0 +1,13 @@
+weaponModel       models/weapons/mdriver/mdriver.md3
+icon              icons/iconw_driver
+crosshair         24 gfx/2d/crosshair-mdriver_s
+
+primary
+{
+  flashDlightColor  0.0 1.0 0.0
+  flashSound        0 models/weapons/mdriver/flash0.wav
+
+  impactMark           6 gfx/marks/bullet_mrk
+  impactParticleSystem models/weapons/mdriver/impactPS
+  alwaysImpact
+}
-- 
cgit