summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReid <reidyro@gmail.com>2011-02-04 22:42:33 +0100
committerReid <reidyro@gmail.com>2011-02-04 22:42:33 +0100
commita97c329e657ee50bd0e6216bb1afb33310e74159 (patch)
treec95bb6c5c5daf54a5ff3b85f1979f35c8f0663cc
parentb802c8a89cff1ef32e1adf9c755b388c2167ae06 (diff)
downloadclientdata-a97c329e657ee50bd0e6216bb1afb33310e74159.tar.gz
clientdata-a97c329e657ee50bd0e6216bb1afb33310e74159.tar.bz2
clientdata-a97c329e657ee50bd0e6216bb1afb33310e74159.tar.xz
clientdata-a97c329e657ee50bd0e6216bb1afb33310e74159.zip
New polter and spectre particle + added color change in monsters.xml : It will change the color of particle of spectre, poltergeist and wisp mob in their respectable colors.
-rw-r--r--graphics/particles/polter.particle.xml31
-rw-r--r--graphics/particles/spectre.particle.xml31
-rw-r--r--graphics/particles/wisp.particle.xml2
-rwxr-xr-xmonsters.xml6
4 files changed, 66 insertions, 4 deletions
diff --git a/graphics/particles/polter.particle.xml b/graphics/particles/polter.particle.xml
new file mode 100644
index 00000000..723bbb28
--- /dev/null
+++ b/graphics/particles/polter.particle.xml
@@ -0,0 +1,31 @@
+<?xml version="1.0"?>
+
+<!--
+A circle on the ground 60 pixels in diameter made from particles.
+-->
+
+<effect>
+ <particle
+ position-x = "0"
+ position-y = "0"
+ position-z = "48"
+ >
+ <emitter>
+ <property name="position-y" min="-16" max="16"/>
+ <property name="position-y" min="-16" max="16"/>
+ <property name="position-z" min="-16" max="16"/>
+ <property name="horizontal-angle" min="0" max="360"/>
+ <property name="vertical-angle" min="0" max="360"/>
+ <property name="power" min="0.4" max="2"/>
+ <property name="lifetime" value="160"/>
+ <property name="fade-out" value="40" />
+ <property name="fade-in" value="40" />
+ <property name="output" min="-20" max="1"/>
+ <property name="acceleration" value="0.1" />
+ <property name="alpha" value="0.5" />
+ <property name="image" value="graphics/particles/star-small.png|W:#77ffdd,77ddff" />
+ <property name="follow-parent" />
+ </emitter>
+ </particle>
+</effect>
+
diff --git a/graphics/particles/spectre.particle.xml b/graphics/particles/spectre.particle.xml
new file mode 100644
index 00000000..097e0fed
--- /dev/null
+++ b/graphics/particles/spectre.particle.xml
@@ -0,0 +1,31 @@
+<?xml version="1.0"?>
+
+<!--
+A circle on the ground 60 pixels in diameter made from particles.
+-->
+
+<effect>
+ <particle
+ position-x = "0"
+ position-y = "0"
+ position-z = "48"
+ >
+ <emitter>
+ <property name="position-y" min="-16" max="16"/>
+ <property name="position-y" min="-16" max="16"/>
+ <property name="position-z" min="-16" max="16"/>
+ <property name="horizontal-angle" min="0" max="360"/>
+ <property name="vertical-angle" min="0" max="360"/>
+ <property name="power" min="0.4" max="2"/>
+ <property name="lifetime" value="160"/>
+ <property name="fade-out" value="40" />
+ <property name="fade-in" value="40" />
+ <property name="output" min="-20" max="1"/>
+ <property name="acceleration" value="0.1" />
+ <property name="alpha" value="0.5" />
+ <property name="image" value="graphics/particles/star-small.png|W:#ff77dd,dd77ff" />
+ <property name="follow-parent" />
+ </emitter>
+ </particle>
+</effect>
+
diff --git a/graphics/particles/wisp.particle.xml b/graphics/particles/wisp.particle.xml
index e0557c2c..fd2f92c6 100644
--- a/graphics/particles/wisp.particle.xml
+++ b/graphics/particles/wisp.particle.xml
@@ -23,7 +23,7 @@ A circle on the ground 60 pixels in diameter made from particles.
<property name="output" min="-20" max="1"/>
<property name="acceleration" value="0.1" />
<property name="alpha" value="0.5" />
- <property name="image" value="graphics/particles/star-small.png|W" />
+ <property name="image" value="graphics/particles/star-small.png|W:#ffff00,ffffff" />
<property name="follow-parent" />
</emitter>
</particle>
diff --git a/monsters.xml b/monsters.xml
index d1c3467c..cf8db49f 100755
--- a/monsters.xml
+++ b/monsters.xml
@@ -978,7 +978,7 @@ exp<TAG>: Tells how much experience point a monster is giving up
<monster id="38" name="Wisp">
<sprite>monsters/monster-wisp.xml|#aadd44,ffff66</sprite>
- <particlefx>graphics/particles/wisp.particle.xml|#aadd44,ffff66</particlefx>
+ <particlefx>graphics/particles/wisp.particle.xml</particlefx>
<exp>20</exp>
<attributes
hp="20"
@@ -1033,7 +1033,7 @@ exp<TAG>: Tells how much experience point a monster is giving up
<monster id="40" name="Spectre">
<sprite>monsters/monster-wisp.xml|#ff77dd,dd77ff</sprite>
- <particlefx>graphics/particles/wisp.particle.xml|#ff77dd,dd77ff</particlefx>
+ <particlefx>graphics/particles/spectre.particle.xml</particlefx>
<exp>20</exp>
<attributes
hp="20"
@@ -1158,7 +1158,7 @@ exp<TAG>: Tells how much experience point a monster is giving up
<monster id="45" name="Poltergeist">
<sprite>monsters/monster-wisp.xml|#77ffdd,77ddff</sprite>
- <particlefx>graphics/particles/wisp.particle.xml|#77ffdd,77ddff</particlefx>
+ <particlefx>graphics/particles/polter.particle.xml</particlefx>
<exp>20</exp>
<attributes
hp="20"