forked from mirrors/0ad
Adds simple samples for new particle features
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<actor version="1">
|
||||
<group>
|
||||
<variant name="Base">
|
||||
<particles file="simple_ray.xml"/>
|
||||
</variant>
|
||||
</group>
|
||||
</actor>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<actor version="1">
|
||||
<group>
|
||||
<variant name="Base">
|
||||
<particles file="simple_rings.xml"/>
|
||||
</variant>
|
||||
</group>
|
||||
</actor>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<actor version="1">
|
||||
<group>
|
||||
<variant name="Base">
|
||||
<particles file="simple_ripples.xml"/>
|
||||
</variant>
|
||||
</group>
|
||||
</actor>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<actor version="1">
|
||||
<group>
|
||||
<variant name="Base">
|
||||
<particles file="simple_water_splash.xml"/>
|
||||
</variant>
|
||||
</group>
|
||||
</actor>
|
||||
@@ -0,0 +1,26 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<particles>
|
||||
<texture>art/textures/particles/raindrop.png</texture>
|
||||
<blend mode="add"/>
|
||||
|
||||
<start_full/>
|
||||
|
||||
<use_local_space/>
|
||||
|
||||
<constant name="emissionrate" value="5.0"/>
|
||||
<uniform name="lifetime" min="5.0" max="5.0"/>
|
||||
|
||||
<uniform name="position.y" min="5.0" max="5.0"/>
|
||||
|
||||
<constant name="angle" value="1.57079"/>
|
||||
|
||||
<uniform name="velocity.y" min="0.0" max="0.0"/>
|
||||
<uniform name="velocity.z" min="2.5" max="2.5"/>
|
||||
<uniform name="velocity.angle" min="0.0" max="0.0"/>
|
||||
|
||||
<uniform name="size" min="2.0" max="2.1"/>
|
||||
|
||||
<particle>
|
||||
<fixed_orientation name="axisX" mode="relative" z="1.0"/>
|
||||
</particle>
|
||||
</particles>
|
||||
@@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<particles>
|
||||
<texture>art/textures/particles/ring.png</texture>
|
||||
<blend mode="add"/>
|
||||
|
||||
<start_full/>
|
||||
<use_local_space/>
|
||||
|
||||
<constant name="emissionrate" value="5.0"/>
|
||||
<uniform name="lifetime" min="2.0" max="2.0"/>
|
||||
<uniform name="velocity.y" min="1.0" max="1.0"/>
|
||||
<constant name="size" value="2.0"/>
|
||||
|
||||
<force y="10.0"/>
|
||||
<particle>
|
||||
<fixed_orientation name="axisX" mode="absolute" x="1.0"/>
|
||||
<fixed_orientation name="axisY" mode="absolute" z="1.0"/>
|
||||
</particle>
|
||||
</particles>
|
||||
@@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<particles>
|
||||
<texture>art/textures/particles/ring.png</texture>
|
||||
<blend mode="add"/>
|
||||
|
||||
<start_full/>
|
||||
|
||||
<constant name="emissionrate" value="5.0"/>
|
||||
<uniform name="lifetime" min="5.0" max="5.0"/>
|
||||
|
||||
<uniform name="position.x" min="-5.0" max="5.0"/>
|
||||
<uniform name="position.z" min="-5.0" max="5.0"/>
|
||||
<uniform name="position.y" min="0.1" max="0.1"/>
|
||||
<constant name="velocity.y" value="0.0"/>
|
||||
|
||||
<uniform name="size" min="0.1" max="0.1"/>
|
||||
<constant name="size.growthRate" value="1.0"/>
|
||||
|
||||
<particle>
|
||||
<fixed_orientation name="axisX" mode="relative" x="1.0"/>
|
||||
<fixed_orientation name="axisY" mode="relative" z="1.0"/>
|
||||
</particle>
|
||||
</particles>
|
||||
@@ -0,0 +1,31 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<particles>
|
||||
<texture>art/textures/particles/raindrop.png</texture>
|
||||
<blend mode="add"/>
|
||||
|
||||
<start_full/>
|
||||
<use_relative_position/>
|
||||
<use_relative_velocity/>
|
||||
|
||||
<constant name="emissionrate" value="200.0"/>
|
||||
<uniform name="lifetime" min="2.0" max="2.2"/>
|
||||
|
||||
<uniform name="position.x" min="-0.2" max="0.2"/>
|
||||
<uniform name="position.z" min="-0.2" max="0.2"/>
|
||||
<uniform name="position.y" min="0.1" max="0.1"/>
|
||||
|
||||
<constant name="angle" value="-1.57079"/>
|
||||
|
||||
<uniform name="velocity.y" min="7.0" max="8.0"/>
|
||||
<uniform name="velocity.x" min="-2.0" max="2.0"/>
|
||||
<uniform name="velocity.z" min="-2.0" max="2.0"/>
|
||||
<uniform name="velocity.angle" min="0.0" max="0.0"/>
|
||||
|
||||
<uniform name="size" min="0.8" max="1.0"/>
|
||||
|
||||
<particle>
|
||||
<fixed_orientation name="axisX" mode="velocity" z="1.0"/>
|
||||
</particle>
|
||||
|
||||
<force y="-9.81"/>
|
||||
</particles>
|
||||
Binary file not shown.
Reference in New Issue
Block a user