summaryrefslogtreecommitdiff
path: root/graphics/particles/firebreath.xml
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/particles/firebreath.xml')
-rw-r--r--graphics/particles/firebreath.xml34
1 files changed, 34 insertions, 0 deletions
diff --git a/graphics/particles/firebreath.xml b/graphics/particles/firebreath.xml
new file mode 100644
index 00000000..7ac82b5b
--- /dev/null
+++ b/graphics/particles/firebreath.xml
@@ -0,0 +1,34 @@
+<?xml version="1.0"?>
+<!--
+A horizontal flame burst with a range of about 60 pixels.
+Creates up to 400 particles but only for a very brief moment.
+used for the fire breath attack of the fire goblins.
+-->
+<effect>
+ <particle position-x="0" position-y="0" position-z="16" lifetime="25">
+ <emitter>
+ <property name="position-x" min="0" max="0"/>
+ <property name="position-y" min="-8" max="-8"/>
+ <property name="horizontal-angle" min="80" max="100"/>
+ <property name="vertical-angle" min="-20" max="20"/>
+ <property name="power" min="1" max="1.5"/>
+ <property name="momentum" value="0.99"/>
+ <property name="gravity" value="-0.02"/>
+ <animation imageset="graphics/particles/aniblaze-medium.png|W:#ffff00,ff0000" width="16" height="16">
+ <frame index="0" delay="5"/>
+ <frame index="1" delay="10"/>
+ <frame index="2" delay="15"/>
+ <frame index="3" delay="25"/>
+ <frame index="4" delay="35"/>
+ <frame index="5" delay="60"/>
+ <frame index="6" delay="95"/>
+ <frame index="7" delay="160"/>
+ <frame index="8" delay="9999"/>
+ </animation>
+ <property name="lifetime" min="0" max="80"/>
+ <property name="output" min="5" max="10"/>
+ <property name="fade-in" value="0"/>
+ <property name="fade-out" value="60"/>
+ </emitter>
+ </particle>
+</effect>