summaryrefslogtreecommitdiff
path: root/graphics/particles
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/particles')
-rw-r--r--graphics/particles/campfire.particle.xml87
-rw-r--r--graphics/particles/hellblaze.particle.xml87
2 files changed, 174 insertions, 0 deletions
diff --git a/graphics/particles/campfire.particle.xml b/graphics/particles/campfire.particle.xml
new file mode 100644
index 00000000..875ddcf4
--- /dev/null
+++ b/graphics/particles/campfire.particle.xml
@@ -0,0 +1,87 @@
+<?xml version="1.0"?>
+<!--
+A red and yellow blaze. Does not really look like fire but looks awesome
+nevertheless. Maybe we could modify this effect and use it for some persistent
+AoE fire magic spell.
+
+It is about 100 pixels wide and 200 pixels high, takes about 280 particles and
+lowers my FPS by about 30%.
+-->
+<effect>
+ <particle
+ position-x = "0"
+ position-y = "15"
+ position-z = "150"
+ >
+ <emitter>
+ <property name="position-z" value="-150" />
+ <property name="position-y" value="32" />
+ <property name="acceleration" value="0.05"/>
+ <property name="momentum" value="0.95"/>
+ <property name="image" value="graphics/particles/glow-small.png|W:#dd3311"/>
+ <property name="lifetime" min="40" max="140"/>
+ <property name="fade-in" value="30"/>
+ <property name="fade-out" value="30"/>
+ <property name="output" min="1" max="2"/>
+ <property name="horizontal-angle" min="0" max="360" />
+ <property name="power" min="1" max="3" />
+ </emitter>
+ <emitter>
+ <property name="position-z" value="-150" />
+ <property name="position-y" value="32" />
+ <property name="acceleration" value="0.05"/>
+ <property name="momentum" value="0.95"/>
+ <property name="image" value="graphics/particles/glow-small.png|W:#ffff00"/>
+ <property name="lifetime" min="40" max="140"/>
+ <property name="fade-in" value="10"/>
+ <property name="fade-out" value="30"/>
+ <property name="output" min="0" max="1"/>
+ <property name="horizontal-angle" min="0" max="360" />
+ <property name="power" min="0" max="2" />
+ </emitter>
+ <emitter>
+ <property name="position-z" value="-150" />
+ <property name="position-y" value="32" />
+ <property name="acceleration" value="0.05"/>
+ <property name="momentum" value="0.95"/>
+ <property name="image" value="graphics/particles/orb-medium.png|W:#dd3311"/>
+ <property name="lifetime" min="40" max="140"/>
+ <property name="fade-in" value="10"/>
+ <property name="fade-out" value="50"/>
+ <property name="output" min="-1" max="1"/>
+ <property name="randomnes" value="150"/>
+ <property name="horizontal-angle" min="0" max="360" />
+ <property name="power" min="0" max="2" />
+ </emitter>
+ <emitter>
+ <property name="position-z" value="-150" />
+ <property name="position-y" value="32" />
+ <property name="acceleration" value="0.05"/>
+ <property name="momentum" value="0.95"/>
+ <property name="image" value="graphics/particles/orb-medium.png|W:#ddff00"/>
+ <property name="lifetime" min="40" max="140"/>
+ <property name="fade-in" value="10"/>
+ <property name="fade-out" value="50"/>
+ <property name="output" min="-1" max="1"/>
+ <property name="randomnes" value="150"/>
+ <property name="horizontal-angle" min="0" max="360" />
+ <property name="power" min="0" max="2" />
+ </emitter>
+ <emitter>
+ <property name="position-z" value="-150" />
+ <property name="position-y" value="32" />
+ <property name="acceleration" value="0.05"/>
+ <property name="momentum" value="0.95"/>
+ <animation imageset="graphics/particles/aniblaze.png|W:#BF0019,FF6715,FFE659" width="8" height="8">
+ <sequence start="0" end="14" delay="20"/>
+ <frame index="14" delay="1000"/>
+ </animation>
+ <property name="lifetime" min="40" max="140"/>
+ <property name="fade-in" value="10"/>
+ <property name="fade-out" value="50"/>
+ <property name="output" min="-1" max="1"/>
+ <property name="horizontal-angle" min="0" max="360" />
+ <property name="power" min="0" max="2" />
+ </emitter>
+ </particle>
+</effect>
diff --git a/graphics/particles/hellblaze.particle.xml b/graphics/particles/hellblaze.particle.xml
new file mode 100644
index 00000000..55b45c20
--- /dev/null
+++ b/graphics/particles/hellblaze.particle.xml
@@ -0,0 +1,87 @@
+<?xml version="1.0"?>
+<!--
+A red and yellow blaze. Does not really look like fire but looks awesome
+nevertheless. Maybe we could modify this effect and use it for some persistent
+AoE fire magic spell.
+
+It is about 100 pixels wide and 200 pixels high, takes about 280 particles and
+lowers my FPS by about 30%.
+-->
+<effect>
+ <particle
+ position-x = "0"
+ position-y = "0"
+ position-z = "150"
+ >
+ <emitter>
+ <property name="position-z" value="-150" />
+ <property name="position-y" value="32" />
+ <property name="acceleration" value="0.05"/>
+ <property name="momentum" value="0.95"/>
+ <property name="image" value="graphics/particles/glow-medium.png|W:#dd3311"/>
+ <property name="lifetime" min="60" max="160"/>
+ <property name="fade-in" value="30"/>
+ <property name="fade-out" value="30"/>
+ <property name="output" min="1" max="2"/>
+ <property name="horizontal-angle" min="0" max="360" />
+ <property name="power" min="1" max="3" />
+ </emitter>
+ <emitter>
+ <property name="position-z" value="-150" />
+ <property name="position-y" value="32" />
+ <property name="acceleration" value="0.05"/>
+ <property name="momentum" value="0.95"/>
+ <property name="image" value="graphics/particles/glow-medium.png|W:#ffff00"/>
+ <property name="lifetime" min="40" max="140"/>
+ <property name="fade-in" value="10"/>
+ <property name="fade-out" value="30"/>
+ <property name="output" min="0" max="1"/>
+ <property name="horizontal-angle" min="0" max="360" />
+ <property name="power" min="0" max="2" />
+ </emitter>
+ <emitter>
+ <property name="position-z" value="-150" />
+ <property name="position-y" value="32" />
+ <property name="acceleration" value="0.05"/>
+ <property name="momentum" value="0.95"/>
+ <property name="image" value="graphics/particles/orb-medium.png|W:#dd3311"/>
+ <property name="lifetime" min="60" max="160"/>
+ <property name="fade-in" value="10"/>
+ <property name="fade-out" value="50"/>
+ <property name="output" min="-1" max="1"/>
+ <property name="randomnes" value="200"/>
+ <property name="horizontal-angle" min="0" max="360" />
+ <property name="power" min="0" max="2" />
+ </emitter>
+ <emitter>
+ <property name="position-z" value="-150" />
+ <property name="position-y" value="32" />
+ <property name="acceleration" value="0.05"/>
+ <property name="momentum" value="0.95"/>
+ <property name="image" value="graphics/particles/orb-medium.png|W:#ddff00"/>
+ <property name="lifetime" min="60" max="160"/>
+ <property name="fade-in" value="10"/>
+ <property name="fade-out" value="50"/>
+ <property name="output" min="-1" max="1"/>
+ <property name="randomnes" value="200"/>
+ <property name="horizontal-angle" min="0" max="360" />
+ <property name="power" min="0" max="2" />
+ </emitter>
+ <emitter>
+ <property name="position-z" value="-150" />
+ <property name="position-y" value="32" />
+ <property name="acceleration" value="0.05"/>
+ <property name="momentum" value="0.95"/>
+ <animation imageset="graphics/particles/aniblaze.png|W:#BF0019,FF6715,FFE659" width="8" height="8">
+ <sequence start="0" end="14" delay="20"/>
+ <frame index="14" delay="1000"/>
+ </animation>
+ <property name="lifetime" min="60" max="160"/>
+ <property name="fade-in" value="10"/>
+ <property name="fade-out" value="50"/>
+ <property name="output" min="-1" max="1"/>
+ <property name="horizontal-angle" min="0" max="360" />
+ <property name="power" min="0" max="2" />
+ </emitter>
+ </particle>
+</effect>