summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLedmitz <smoothshifter@tuta.io>2023-11-21 18:56:40 -0400
committerLedmitz <smoothshifter@tuta.io>2023-11-21 18:56:40 -0400
commit2ab588cc3db6dda8e3e4f25c466f74a58b41dacb (patch)
treed7f1659c36f85f3ce8dcddb5975a32be27c9541d
parent2fbfe721bd69d3ef30c9ee8f3caf7e178a434a7c (diff)
downloadclientdata-2ab588cc3db6dda8e3e4f25c466f74a58b41dacb.tar.gz
clientdata-2ab588cc3db6dda8e3e4f25c466f74a58b41dacb.tar.bz2
clientdata-2ab588cc3db6dda8e3e4f25c466f74a58b41dacb.tar.xz
clientdata-2ab588cc3db6dda8e3e4f25c466f74a58b41dacb.zip
Added blood trail to Zombie
-rw-r--r--graphics/particles/monster-zombie-trail.xml17
-rw-r--r--monsters.xml1
2 files changed, 18 insertions, 0 deletions
diff --git a/graphics/particles/monster-zombie-trail.xml b/graphics/particles/monster-zombie-trail.xml
new file mode 100644
index 00000000..198fafbc
--- /dev/null
+++ b/graphics/particles/monster-zombie-trail.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0"?>
+<!-- A thin trail of slime. -->
+<effect>
+ <particle position-x="0" position-y="0" position-z="5">
+ <emitter>
+ <property name="position-y" min="-1" max="5"/>
+ <property name="position-x" min="-3" max="3"/>
+ <property name="lifetime" value="1000"/>
+ <property name="fade-out" value="800"/>
+ <property name="fade-in" value="100"/>
+ <property name="output" min="1" max="3"/>
+ <property name="output-pause" min="30" max="60"/>
+ <property name="image" value="graphics/particles/orb-medium.png|W:#7F0505,7F0505,7F0505"/>
+ <property name="alpha" value=".5"/>
+ </emitter>
+ </particle>
+</effect>
diff --git a/monsters.xml b/monsters.xml
index 163f1426..3d073dcb 100644
--- a/monsters.xml
+++ b/monsters.xml
@@ -275,6 +275,7 @@
<monster id="1036" name="Zombie">
<sprite>monsters/zombie.xml</sprite>
+ <particlefx>graphics/particles/monster-zombie-trail.xml</particlefx>
<sound event="move">monsters/zombie/zombie-move1.ogg</sound>
<sound event="move">monsters/zombie/zombie-move2.ogg</sound>
<sound event="hit">monsters/zombie/zombie-hit1.ogg</sound>