diff options
author | Mikko Tiusanen <ams@daug.net> | 2014-08-20 20:32:12 +0300 |
---|---|---|
committer | Mikko Tiusanen <ams@daug.net> | 2014-08-20 20:32:12 +0300 |
commit | 613030b05c409cef42b0e98d5180a41f8f67c661 (patch) | |
tree | 480cdbf625d7dcce1bb5477ab1dca6c9d8102106 /assets/scripts/wound_bleed.particle | |
parent | 7ad16ee1fea76bab54d97a78c1063b7c2c2adef6 (diff) | |
parent | 0a382e146ac52e111c90ad1e093ade77b710d993 (diff) |
Merge branch 'master' of https://github.com/mtiusane/new-edge
Diffstat (limited to 'assets/scripts/wound_bleed.particle')
-rw-r--r-- | assets/scripts/wound_bleed.particle | 79 |
1 files changed, 79 insertions, 0 deletions
diff --git a/assets/scripts/wound_bleed.particle b/assets/scripts/wound_bleed.particle new file mode 100644 index 0000000..53d1f15 --- /dev/null +++ b/assets/scripts/wound_bleed.particle @@ -0,0 +1,79 @@ +humanWoundBleedPS +{ + ejector + { + particle + { + shader sync gfx/sprites/blood + + displacement 0 0 0 ~2 + parentVelocityFraction 1.0 + + velocityType static_transform + velocityDir linear + velocityMagnitude 50~100% + velocity -0.5 0 -1 ~30 + + 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 ~1 sound/edge/blood_splat.wav + + overdrawProtection + + lifeTime 5000~50% + } + + count 3 + delay 0 + period 1000 - ~100% + } +} + +alienWoundBleedPS +{ + ejector + { + particle + { + shader sync gfx/sprites/green_acid // TODO? + + displacement 0 0 0 ~2 + parentVelocityFraction 1.0 + + velocityType static_transform + velocityDir linear + velocityMagnitude 50~100% + velocity -0.5 0 -1 ~30 + + 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/ablood_mrk + //bounceSound ~1 sound/edge/blood_splat.wav // TODO? + + overdrawProtection + + lifeTime 5000~50% + } + + count 3 + delay 0 + period 1000 - ~100% + } +} |