summaryrefslogtreecommitdiff
path: root/assets/scripts/headshot.particle
diff options
context:
space:
mode:
authormtiusane <mtiusane@users.noreply.github.com>2014-08-20 20:32:00 +0300
committermtiusane <mtiusane@users.noreply.github.com>2014-08-20 20:32:00 +0300
commit0a382e146ac52e111c90ad1e093ade77b710d993 (patch)
treee76f922ef468a6230cb97e26f5a72d135eca0e67 /assets/scripts/headshot.particle
parenta7ca0aa8c8a66adce30b8ac21d4849b91e4fc75b (diff)
parent943539a1a7741d395667f2830b31cfdfea5e0816 (diff)
Merge pull request #8 from ppetr/headshot
The head-shot mod: headshots on humans splash blood around
Diffstat (limited to 'assets/scripts/headshot.particle')
-rw-r--r--assets/scripts/headshot.particle37
1 files changed, 37 insertions, 0 deletions
diff --git a/assets/scripts/headshot.particle b/assets/scripts/headshot.particle
new file mode 100644
index 0000000..42c7295
--- /dev/null
+++ b/assets/scripts/headshot.particle
@@ -0,0 +1,37 @@
+headShotPS
+{
+ ejector
+ {
+ particle
+ {
+ shader sync gfx/sprites/blood
+
+ displacement 0 0 20 ~2
+ parentVelocityFraction 1.0
+
+ velocityType static_transform
+ velocityDir linear
+ velocityMagnitude 150~75%
+ velocity -1 0 1 ~60
+
+ accelerationType static
+ accelerationDir linear
+ accelerationMagnitude 800
+ acceleration 0 0 -1 ~30
+
+ radius 0 4.0 10.0
+ alpha 0 1.0 0.0
+ rotation 0 ~360 -
+ //bounce 0.2
+ bounce cull
+ bounceMark 1~1 10 gfx/marks/blood_mrk
+ bounceSound ~0.7 sound/edge/blood_splat.wav
+
+ lifeTime 1000~100%
+ }
+
+ count 50
+ delay 0
+ period 10 - ~0%
+ }
+}