summaryrefslogtreecommitdiff
path: root/assets/scripts/hw_lightning.particle
diff options
context:
space:
mode:
authorenneract <trem.redman@gmail.com>2014-12-14 14:56:38 +0100
committerenneract <trem.redman@gmail.com>2014-12-14 14:56:38 +0100
commit7c02e34b08a4e44a7f7935bf6b1bee45c3a8df6c (patch)
treee3ff69394522a6cc7dd11edf27cd69df6c0a5819 /assets/scripts/hw_lightning.particle
parentbd6fc418d171378de5de2b7450e22f70b4899b5c (diff)
parent5130cdd357c5b3b442d39ee05052739419456e77 (diff)
Merge branch 'newguns'
Conflicts: src/cgame/cg_local.h src/cgame/cg_main.c
Diffstat (limited to 'assets/scripts/hw_lightning.particle')
-rw-r--r--assets/scripts/hw_lightning.particle35
1 files changed, 35 insertions, 0 deletions
diff --git a/assets/scripts/hw_lightning.particle b/assets/scripts/hw_lightning.particle
new file mode 100644
index 0000000..f9370d5
--- /dev/null
+++ b/assets/scripts/hw_lightning.particle
@@ -0,0 +1,35 @@
+
+models/weapons/lightning/impactPS
+{
+ ejector
+ {
+ particle
+ {
+ shader sync gfx/lightning/particle
+
+ displacement 0 0 0 ~2.0
+
+ velocityType normal
+ velocityDir linear
+ velocityMagnitude 100
+ velocity 0 0 -1 ~10
+
+ accelerationType static
+ accelerationDir linear
+ accelerationMagnitude 800
+ acceleration 0 0 -1 ~10
+
+ radius 0 9 0
+ alpha 0 1.0 1.0
+ rotation 0 ~360 -
+ bounce 0.5
+
+ lifeTime 100
+ }
+
+ count 1
+ delay 0
+ period 0 - ~0%
+ }
+}
+