From de1173186ceb402d1a723be769902d361c75d863 Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Fri, 16 Feb 2018 12:56:05 +0100 Subject: Reactor particle system. --- maps/p9_reactor.map | 6 ++++++ scripts/analmango.particle | 31 +++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) diff --git a/maps/p9_reactor.map b/maps/p9_reactor.map index dc3bf58..474a660 100644 --- a/maps/p9_reactor.map +++ b/maps/p9_reactor.map @@ -6156,3 +6156,9 @@ analmango/reactor_beam "model" "models/mapobjects/analmango/railing_barrier.md3" "angles" "-0.000000 16.160509 -90.000000" } +// entity 107 +{ +"classname" "misc_particle_system" +"origin" "1792.000000 -300.000000 -60.000000" +"psName" "analmango_reactor" +} diff --git a/scripts/analmango.particle b/scripts/analmango.particle index 40ab747..6d8d991 100644 --- a/scripts/analmango.particle +++ b/scripts/analmango.particle @@ -194,3 +194,34 @@ analmango_rocket period 0 - ~0% } } + +analmango_reactor +{ + ejector + { + particle + { + shader sync gfx/sprites/spark + + velocityType static + velocityDir linear + velocityMagnitude 1000 + velocity 0 0 1 ~180 + + accelerationType static + accelerationDir point + accelerationMagnitude 40000 + accelerationPoint 1792 -300 150 0 + + radius 0 10.0 10.0 + alpha 0 1.0 1.0 + rotation 0 ~360 - + + lifeTime 800 + } + + count infinite + delay 0 + period 30 - ~0% + } +} -- cgit