diff options
author | Philipp Sehmisch <tmw@crushnet.org> | 2008-05-22 15:27:39 +0000 |
---|---|---|
committer | Philipp Sehmisch <tmw@crushnet.org> | 2008-05-22 15:27:39 +0000 |
commit | 46a34f9d1970d3cb138b1264f21a4be500c16545 (patch) | |
tree | 4266cb867fe01c10746bfacdf3fa0ca0e674daea /graphics | |
parent | baa10c7a006f3bdd6ab2b916f05797e01a63d1c2 (diff) | |
download | clientdata-46a34f9d1970d3cb138b1264f21a4be500c16545.tar.gz clientdata-46a34f9d1970d3cb138b1264f21a4be500c16545.tar.bz2 clientdata-46a34f9d1970d3cb138b1264f21a4be500c16545.tar.xz clientdata-46a34f9d1970d3cb138b1264f21a4be500c16545.zip |
Converted particle effect definitions to use dye system for particle images. Please give feedback if it works properly and is performant so I can delete the colored versions of the particles.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/particles/attack.particle.xml | 8 | ||||
-rw-r--r-- | graphics/particles/circle.particle.xml | 2 | ||||
-rw-r--r-- | graphics/particles/colorful-orbits.particle.xml | 49 | ||||
-rw-r--r-- | graphics/particles/fountain.particle.xml | 4 | ||||
-rw-r--r-- | graphics/particles/hadesblaze.particle.xml | 4 | ||||
-rw-r--r-- | graphics/particles/levelup.particle.xml | 2 | ||||
-rw-r--r-- | graphics/particles/nomadpipe.particle.xml | 6 | ||||
-rw-r--r-- | graphics/particles/playerglow.particle.xml | 2 | ||||
-rw-r--r-- | graphics/particles/skillup.particle.xml | 2 | ||||
-rw-r--r-- | graphics/particles/soulmenhir.particle.xml | 4 |
10 files changed, 44 insertions, 39 deletions
diff --git a/graphics/particles/attack.particle.xml b/graphics/particles/attack.particle.xml index 9b60c17a..eaebb850 100644 --- a/graphics/particles/attack.particle.xml +++ b/graphics/particles/attack.particle.xml @@ -19,7 +19,7 @@ used to visualize some kind of special attack. <property name="horizontal-angle" min="45" max="135"/>
<property name="power" min="0" max="6"/>
<property name="gravity" value="100"/>
- <property name="image" value="graphics/particles/orb-small-red.png"/>
+ <property name="image" value="graphics/particles/orb-small-white.png|W:#ff0000"/>
<property name="lifetime" min="0" max="80"/>
<property name="output" min="6" max="12"/>
</emitter>
@@ -30,7 +30,7 @@ used to visualize some kind of special attack. <property name="horizontal-angle" min="45" max="135"/>
<property name="power" min="0" max="6"/>
<property name="gravity" value="0.1"/>
- <property name="image" value="graphics/particles/star-small-red.png"/>
+ <property name="image" value="graphics/particles/star-small-white.png|W:#ff0000"/>
<property name="lifetime" min="0" max="80"/>
<property name="output" min="6" max="12"/>
</emitter>
@@ -41,7 +41,7 @@ used to visualize some kind of special attack. <property name="horizontal-angle" min="45" max="135"/>
<property name="power" min="0" max="6"/>
<property name="gravity" value="0.1"/>
- <property name="image" value="graphics/particles/orb-medium-red.png"/>
+ <property name="image" value="graphics/particles/orb-medium-white.png|W:#ff0000"/>
<property name="lifetime" min="0" max="80"/>
<property name="output" min="6" max="12"/>
</emitter>
@@ -52,7 +52,7 @@ used to visualize some kind of special attack. <property name="horizontal-angle" min="45" max="135"/>
<property name="power" min="0" max="6"/>
<property name="gravity" value="0.1"/>
- <property name="image" value="graphics/particles/star-medium-red.png"/>
+ <property name="image" value="graphics/particles/star-medium-white.png|W:#ff0000"/>
<property name="lifetime" min="0" max="80"/>
<property name="output" min="3" max="6"/>
</emitter>
diff --git a/graphics/particles/circle.particle.xml b/graphics/particles/circle.particle.xml index 2884ced2..3ace80be 100644 --- a/graphics/particles/circle.particle.xml +++ b/graphics/particles/circle.particle.xml @@ -20,7 +20,7 @@ A circle on the ground 60 pixels in diameter made from particles. <emitter>
<property name="gravity" value="-0.7"/>
<property name="momentum" value="0.3"/>
- <property name="image" value="graphics/particles/orb-small-cyan.png"/>
+ <property name="image" value="graphics/particles/orb-small-white.png|W:#00ffff"/>
<property name="lifetime" value="50"/>
<property name="fade-out" value="50"/>
<property name="output" value="1"/>
diff --git a/graphics/particles/colorful-orbits.particle.xml b/graphics/particles/colorful-orbits.particle.xml index 25786f8f..ec866a12 100644 --- a/graphics/particles/colorful-orbits.particle.xml +++ b/graphics/particles/colorful-orbits.particle.xml @@ -2,11 +2,14 @@ <!--
6 differently colored objects which orbit around a centerpoint in different
-circular orbits forming a sphere. Beautiful but I can't imagine any application
-for this effect as it is. It is basically a proof of concept.
+circular orbits forming a sphere with 80 pixels diameter. Beautiful but I can't
+imagine any application for this effect as it is. It is basically a proof of
+concept.
+
+Uses exactly 247 particles. Does not work with particleFastPhysics on 2.
Want it bigger or smaller? When you half the orbit (distance) just double the
-acceleration and vice versa.
+acceleration and vice versa.
-->
<effect>
<particle
@@ -15,101 +18,103 @@ acceleration and vice versa. position-z = "40"
lifetime = "1"
>
+ <!-- BLUE -->
<emitter>
<property name="position-x" value = "40"/>
<property name="position-y" value = "0"/>
<property name="position-z" value = "0"/>
- <property name="image" value="graphics/particles/orb-medium-blue.png" />
+ <property name="image" value="graphics/particles/orb-medium-white.png|W:#0000ff" />
<property name="horizontal-angle" value= "90"/>
<property name="vertical-angle" value = "0" />
<property name="power" value = "3" />
<property name="acceleration" value = "0.2" />
<emitter>
- <property name="image" value="graphics/particles/star-small-blue.png"/>
+ <property name="image" value="graphics/particles/star-small-white.png|W:#0000ff"/>
<property name="lifetime" value="40" />
<property name="fade-out" value="40" />
</emitter>
</emitter>
-
+
+ <!-- CYAN-->
<emitter>
<property name="position-x" value = "-40"/>
<property name="position-y" value = "0"/>
<property name="position-z" value = "0"/>
- <property name="image" value="graphics/particles/orb-medium-yellow.png" />
+ <property name="image" value="graphics/particles/orb-medium-white.png|W:#00ffff" />
<property name="horizontal-angle" value= "270"/>
<property name="vertical-angle" value = "0" />
<property name="power" value = "3" />
<property name="acceleration" value = "0.2" />
<emitter>
- <property name="image" value="graphics/particles/star-small-yellow.png"/>
+ <property name="image" value="graphics/particles/star-small-white.png|W:#00ffff"/>
<property name="lifetime" value="40" />
<property name="fade-out" value="40" />
</emitter>
</emitter>
-
-
-
+
+ <!-- GREEN -->
<emitter>
<property name="position-x" value = "28.28"/>
<property name="position-y" value = "-28.28"/>
<property name="position-z" value = "0"/>
- <property name="image" value="graphics/particles/orb-medium-green.png" />
+ <property name="image" value="graphics/particles/orb-medium-white.png|W:#00ff00" />
<property name="horizontal-angle" value= "0"/>
<property name="vertical-angle" value = "90" />
<property name="power" value="3" />
<property name="acceleration" value = "0.2" />
<emitter>
- <property name="image" value="graphics/particles/star-small-green.png"/>
+ <property name="image" value="graphics/particles/star-small-white.png|W:#00ff00"/>
<property name="lifetime" value="40" />
<property name="fade-out" value="40" />
</emitter>
</emitter>
-
+
+ <!-- YELLOW -->
<emitter>
<property name="position-x" value = "-28.28"/>
<property name="position-y" value = "28.28"/>
<property name="position-z" value = "0"/>
- <property name="image" value="graphics/particles/orb-medium-magenta.png" />
+ <property name="image" value="graphics/particles/orb-medium-white.png|W:#ffff00" />
<property name="horizontal-angle" value= "0"/>
<property name="vertical-angle" value = "270" />
<property name="power" value="3" />
<property name="acceleration" value = "0.2" />
<emitter>
- <property name="image" value="graphics/particles/star-small-magenta.png"/>
+ <property name="image" value="graphics/particles/star-small-white.png|W:#ffff00"/>
<property name="lifetime" value="40" />
<property name="fade-out" value="40" />
</emitter>
</emitter>
-
-
+ <!-- RED -->
<emitter>
<property name="position-x" value = "0"/>
<property name="position-y" value = "0"/>
<property name="position-z" value = "40"/>
- <property name="image" value="graphics/particles/orb-medium-red.png" />
+ <property name="image" value="graphics/particles/orb-medium-white.png|W:#ff0000" />
<property name="horizontal-angle" value= "45"/>
<property name="vertical-angle" value = "0" />
<property name="power" value = "3" />
<property name="acceleration" value = "0.2" />
<emitter>
- <property name="image" value="graphics/particles/star-small-red.png"/>
+ <property name="image" value="graphics/particles/star-small-white.png|W:#ff0000"/>
<property name="lifetime" value="40" />
<property name="fade-out" value="40" />
</emitter>
</emitter>
+ <!-- MAGENTA -->
<emitter>
<property name="position-x" value = "0"/>
<property name="position-y" value = "0"/>
<property name="position-z" value = "-40"/>
- <property name="image" value="graphics/particles/orb-medium-cyan.png" />
+ <property name="image" value="graphics/particles/orb-medium-white.png|W:#ff00ff" />
<property name="horizontal-angle" value= "225"/>
<property name="vertical-angle" value = "0" />
<property name="power" value = "3" />
<property name="acceleration" value = "0.2" />
<emitter>
- <property name="image" value="graphics/particles/star-small-cyan.png"/>
+ <property name="image" value="graphics/particles/star-small-white.png|W:#ff00ff"/>
<property name="lifetime" value="40" />
<property name="fade-out" value="40" />
</emitter>
diff --git a/graphics/particles/fountain.particle.xml b/graphics/particles/fountain.particle.xml index 2a135d91..acba5c58 100644 --- a/graphics/particles/fountain.particle.xml +++ b/graphics/particles/fountain.particle.xml @@ -12,7 +12,7 @@ Fancy fireworks effect which fills the whole screen. <property name="position-x" min="0" max="32"/>
<property name="position-y" min="0" max="32"/>
<property name="position-z" min="0" max="32"/>
- <property name="image" value="graphics/particles/star-medium-cyan.png"/>
+ <property name="image" value="graphics/particles/star-medium-white.png|W:#00ffff"/>
<property name="horizontal-angle" min="0" max="360"/>
<property name="vertical-angle" min="45" max="90"/>
<property name="power" min="6" max="7"/>
@@ -23,7 +23,7 @@ Fancy fireworks effect which fills the whole screen. <property name="position-x" value="0"/>
<property name="position-y" value="0"/>
<property name="position-z" value="0"/>
- <property name="image" value="graphics/particles/star-small-cyan.png"/>
+ <property name="image" value="graphics/particles/star-small-white.png|W:#00ffff"/>
<property name="horizontal-angle" min="0" max="360"/>
<property name="vertical-angle" min="0" max="360"/>
<property name="power" value="1"/>
diff --git a/graphics/particles/hadesblaze.particle.xml b/graphics/particles/hadesblaze.particle.xml index 9405f62c..c75f12e6 100644 --- a/graphics/particles/hadesblaze.particle.xml +++ b/graphics/particles/hadesblaze.particle.xml @@ -23,7 +23,7 @@ some evil magicans laboratory or a demonic temple or something like that. <emitter>
<property name="gravity" value="-0.2"/>
<property name="momentum" value="0.9"/>
- <property name="image" value="graphics/particles/orb-medium-cyan.png"/>
+ <property name="image" value="graphics/particles/orb-medium-white.png|W:#00ffff"/>
<property name="lifetime" value="180"/>
<property name="fade-in" value="10"/>
<property name="fade-out" value="150"/>
@@ -33,7 +33,7 @@ some evil magicans laboratory or a demonic temple or something like that. <emitter>
<property name="gravity" value="-0.2"/>
<property name="momentum" value="0.9"/>
- <property name="image" value="graphics/particles/glow-medium-blue.png"/>
+ <property name="image" value="graphics/particles/glow-medium-white.png|W:#0000ff"/>
<property name="lifetime" value="200"/>
<property name="fade-in" value="10"/>
<property name="fade-out" value="150"/>
diff --git a/graphics/particles/levelup.particle.xml b/graphics/particles/levelup.particle.xml index 32f3ccb9..d43f126d 100644 --- a/graphics/particles/levelup.particle.xml +++ b/graphics/particles/levelup.particle.xml @@ -10,7 +10,7 @@ Red stars which are supposed to engulf a character lifetime = "128"
>
<emitter>
- <property name="image" value="graphics/particles/star-medium-red.png"/>
+ <property name="image" value="graphics/particles/star-medium-white.png|W:#ff0000"/>
<property name="vertical-angle" value="90"/>
<property name="power" value="2"/>
<property name="lifetime" value="36"/>
diff --git a/graphics/particles/nomadpipe.particle.xml b/graphics/particles/nomadpipe.particle.xml index 703c823b..10b0d2f4 100644 --- a/graphics/particles/nomadpipe.particle.xml +++ b/graphics/particles/nomadpipe.particle.xml @@ -16,7 +16,7 @@ nomad NPC. <property name="output" min="-200" max="1"/>
<property name="lifetime" value="10"/>
<emitter>
- <property name="image" value="graphics/particles/fog-medium-white-a.png"/>
+ <property name="image" value="graphics/particles/fog-medium-white-a.png|W:#9999bb"/>
<property name="horizontal-angle" min="0" max="360"/>
<property name="vertical-angle" min="50" max="90"/>
<property name="power" value="0.5"/>
@@ -28,7 +28,7 @@ nomad NPC. <property name="randomnes" value="50"/>
</emitter>
<emitter>
- <property name="image" value="graphics/particles/fog-medium-white-b.png"/>
+ <property name="image" value="graphics/particles/fog-medium-white-b.png|W:#9999bb"/>
<property name="horizontal-angle" min="0" max="360"/>
<property name="vertical-angle" min="50" max="90"/>
<property name="power" value="0.5"/>
@@ -40,7 +40,7 @@ nomad NPC. <property name="randomnes" value="50"/>
</emitter>
<emitter>
- <property name="image" value="graphics/particles/fog-medium-white-c.png"/>
+ <property name="image" value="graphics/particles/fog-medium-white-c.png|W:#9999bb"/>
<property name="horizontal-angle" min="0" max="360"/>
<property name="vertical-angle" min="50" max="90"/>
<property name="power" value="0.5"/>
diff --git a/graphics/particles/playerglow.particle.xml b/graphics/particles/playerglow.particle.xml index 57779248..980fa122 100644 --- a/graphics/particles/playerglow.particle.xml +++ b/graphics/particles/playerglow.particle.xml @@ -25,7 +25,7 @@ more useful status effect particle effects. <property name="fade-out" value="30"/>
<property name="acceleration" value="0.1"/>
<property name="momentum" value="0.998"/>
- <property name="image" value="graphics/particles/orb-medium-yellow.png"/>
+ <property name="image" value="graphics/particles/orb-medium-white.png|W:#ffff00"/>
</emitter>
</particle>
</effect>
\ No newline at end of file diff --git a/graphics/particles/skillup.particle.xml b/graphics/particles/skillup.particle.xml index 54b2c7c5..22f59e0c 100644 --- a/graphics/particles/skillup.particle.xml +++ b/graphics/particles/skillup.particle.xml @@ -10,7 +10,7 @@ Green stars which are supposed to engulf a character lifetime = "128"
>
<emitter>
- <property name="image" value="graphics/particles/star-medium-green.png"/>
+ <property name="image" value="graphics/particles/star-medium-white.png|W:#00ff00"/>
<property name="vertical-angle" value="90"/>
<property name="power" value="2"/>
<property name="lifetime" value="36"/>
diff --git a/graphics/particles/soulmenhir.particle.xml b/graphics/particles/soulmenhir.particle.xml index 77ac0b92..8576cb29 100644 --- a/graphics/particles/soulmenhir.particle.xml +++ b/graphics/particles/soulmenhir.particle.xml @@ -20,7 +20,7 @@ character some magical aura. <emitter>
<property name="gravity" value="-0.2"/>
<property name="momentum" value="0.9"/>
- <property name="image" value="graphics/particles/orb-medium-cyan.png"/>
+ <property name="image" value="graphics/particles/orb-medium-white.png|W:#00ffff"/>
<property name="lifetime" value="100"/>
<property name="fade-in" value="10"/>
<property name="fade-out" value="90"/>
@@ -30,7 +30,7 @@ character some magical aura. <emitter>
<property name="gravity" value="-0.2"/>
<property name="momentum" value="0.9"/>
- <property name="image" value="graphics/particles/orb-small-cyan.png"/>
+ <property name="image" value="graphics/particles/orb-small-white.png|W:#00ffff"/>
<property name="lifetime" value="100"/>
<property name="fade-in" value="10"/>
<property name="fade-out" value="90"/>
|