From 943539a1a7741d395667f2830b31cfdfea5e0816 Mon Sep 17 00:00:00 2001 From: Petr Pudlak Date: Tue, 19 Aug 2014 22:24:50 +0200 Subject: The head-shot mod: headshots on humans splash blood around .. using the particle system. Blood drops splat on impact. --- assets/scripts/wound_bleed.particle | 79 +++++++++++++++++++++++++++++++++++++ 1 file changed, 79 insertions(+) create mode 100644 assets/scripts/wound_bleed.particle (limited to 'assets/scripts/wound_bleed.particle') 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% + } +} -- cgit