From 40d8546371e366f2dc10197106000a191b98de43 Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Sun, 25 Feb 2018 23:32:48 +0100 Subject: Add a smoke PS to the chimneys outside. --- maps/p8_outside.map | 24 ++++++++++++++++++++++++ scripts/analmango.particle | 31 +++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) diff --git a/maps/p8_outside.map b/maps/p8_outside.map index 3a02643..e6f5326 100644 --- a/maps/p8_outside.map +++ b/maps/p8_outside.map @@ -11911,3 +11911,27 @@ niveus/base_yellow "wait" "360" "random" "240" } +// entity 162 +{ +"classname" "misc_particle_system" +"origin" "-248.000000 672.000000 808.000000" +"psName" "analmango_large_smoke" +} +// entity 163 +{ +"classname" "misc_particle_system" +"origin" "-248.000000 1152.000000 808.000000" +"psName" "analmango_large_smoke" +} +// entity 164 +{ +"classname" "misc_particle_system" +"origin" "-248.000000 992.000000 808.000000" +"psName" "analmango_large_smoke" +} +// entity 165 +{ +"classname" "misc_particle_system" +"origin" "-248.000000 832.000000 808.000000" +"psName" "analmango_large_smoke" +} diff --git a/scripts/analmango.particle b/scripts/analmango.particle index 6d8d991..8a74e25 100644 --- a/scripts/analmango.particle +++ b/scripts/analmango.particle @@ -225,3 +225,34 @@ analmango_reactor period 30 - ~0% } } + +analmango_large_smoke +{ + ejector + { + particle + { + shader sync gfx/sprites/smoke + + velocityType static + velocityDir linear + velocityMagnitude 200 + velocity -0.07 0.2 1 0 + + accelerationType static + accelerationDir linear + accelerationMagnitude 200 + acceleration 0.4 0.1 0 ~0 + + radius 0 40.0 400.0 + alpha 0 0.5 0.0 + rotation 0 ~360 - + + lifeTime 3000 + } + + count infinite + delay 0 + period 160 - ~100% + } +} -- cgit