summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/particles/firetrail.xml71
-rw-r--r--monsters/monster1132_LavaSlime.xml8
2 files changed, 79 insertions, 0 deletions
diff --git a/graphics/particles/firetrail.xml b/graphics/particles/firetrail.xml
new file mode 100644
index 00000000..3ac2df6b
--- /dev/null
+++ b/graphics/particles/firetrail.xml
@@ -0,0 +1,71 @@
+<?xml version="1.0"?>
+<!--
+Fire trail animation
+-->
+<effect>
+ <particle position-x="15" position-y="0" position-z="15">
+ <emitter>
+ <property name="position-x" value="-5"/>
+ <property name="position-y" min="-4" max="-4"/>
+ <property name="horizontal-angle" min="0" max="360"/>
+ <property name="vertical-angle" min="0" max="90"/>
+ <property name="power" min="0" max="0.05"/>
+ <property name="gravity" value="-0.03"/>
+ <animation imageset="graphics/particles/aniblaze.png|W:#BF0019,FF6715,FFE659" width="8" height="8">
+ <sequence start="0" end="14" delay="30"/>
+ <frame index="14" delay="1000"/>
+ </animation>
+ <property name="lifetime" value="15"/>
+ <property name="output" value="1"/>
+ <property name="fade-out" value="100"/>
+ <property name="fade-in" value="40"/>
+ </emitter>
+ <emitter>
+ <property name="position-x" value="5"/>
+ <property name="position-y" min="-4" max="-2"/>
+ <property name="horizontal-angle" min="0" max="360"/>
+ <property name="vertical-angle" min="0" max="90"/>
+ <property name="power" min="0" max="0.05"/>
+ <property name="gravity" value="-0.03"/>
+ <animation imageset="graphics/particles/aniblaze.png|W:#BF0019,FF6715,FFE659" width="8" height="8">
+ <sequence start="0" end="14" delay="30"/>
+ <frame index="14" delay="1000"/>
+ </animation>
+ <property name="lifetime" value="15"/>
+ <property name="output" value="1"/>
+ <property name="fade-out" value="100"/>
+ <property name="fade-in" value="40"/>
+ </emitter>
+ <emitter>
+ <property name="position-y" min="-4" max="0"/>
+ <property name="horizontal-angle" min="0" max="360"/>
+ <property name="vertical-angle" min="0" max="90"/>
+ <property name="power" min="0.0" max="0.05"/>
+ <property name="gravity" value="-0.03"/>
+ <animation imageset="graphics/particles/aniblaze.png|W:#BF0019,FF6715,FFE659" width="8" height="8">
+ <sequence start="0" end="14" delay="30"/>
+ <frame index="14" delay="1000"/>
+ </animation>
+ <property name="lifetime" value="15"/>
+ <property name="output" value="1"/>
+ <property name="fade-out" value="100"/>
+ <property name="fade-in" value="40"/>
+ </emitter>
+ <emitter>
+ <property name="position-y" value="-10"/>
+ <property name="horizontal-angle" min="0" max="360"/>
+ <property name="vertical-angle" min="0" max="180"/>
+ <property name="power" value="0.3"/>
+ <property name="gravity" value="-0.01"/>
+ <animation imageset="graphics/particles/fog-medium-c.png" width="32" height="32">
+ <frame index="0" delay="100"/>
+ <frame index="0" delay="1000"/>
+ </animation>
+ <property name="lifetime" value="40"/>
+ <property name="output" value="1"/>
+ <property name="output-pause" min="30" max="80"/>
+ <property name="fade-in" value="0"/>
+ <property name="fade-out" value="230"/>
+ </emitter>
+ </particle>
+</effect>
diff --git a/monsters/monster1132_LavaSlime.xml b/monsters/monster1132_LavaSlime.xml
index 99f2c45a..0032685d 100644
--- a/monsters/monster1132_LavaSlime.xml
+++ b/monsters/monster1132_LavaSlime.xml
@@ -2,6 +2,14 @@
<monsters offset="0">
<monster id="1132" name="Lava Slime">
<sprite>monsters/slime.xml|#bb0201,ff9934,ffd366</sprite>
+ <particlefx>graphics/particles/firetrail.xml</particlefx>
+ <sound event="die">monsters/slime/slime-die1.ogg</sound>
<sound event="hit">monsters/slime/slime-hit1.ogg</sound>
+ <sound event="hurt">monsters/slime/slime-hurt1.ogg</sound>
+ <sound event="hurt">monsters/slime/slime-hurt2.ogg</sound>
+ <sound event="hurt">monsters/slime/slime-hurt3.ogg</sound>
+ <sound event="move">monsters/slime/slime-move1.ogg</sound>
+ <sound event="move">monsters/slime/slime-move2.ogg</sound>
+ <attack id="1" critical-hit-effect-id="400" action="attack"/>
</monster>
</monsters>