diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2018-02-16 12:56:05 +0100 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2018-02-16 12:56:05 +0100 |
commit | de1173186ceb402d1a723be769902d361c75d863 (patch) | |
tree | 5c913349cc11226f262f5dbfa9c7e2b9fbb40129 | |
parent | 9e4828bb33abda21d72a80abfc572b0648567867 (diff) |
Reactor particle system.
-rw-r--r-- | maps/p9_reactor.map | 6 | ||||
-rw-r--r-- | scripts/analmango.particle | 31 |
2 files changed, 37 insertions, 0 deletions
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% + } +} |