summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2018-02-25 23:32:48 +0100
committerPaweł Redman <pawel.redman@gmail.com>2018-02-25 23:32:48 +0100
commit40d8546371e366f2dc10197106000a191b98de43 (patch)
treeb7a77cdc6918de5293c646a23f6193f4ffe5b760
parenta5d530a54fb321b511f49526fdfec239eaf3f524 (diff)
Add a smoke PS to the chimneys outside.
-rw-r--r--maps/p8_outside.map24
-rw-r--r--scripts/analmango.particle31
2 files changed, 55 insertions, 0 deletions
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%
+ }
+}