Last modified 3 months ago Last modified on 2013-12-07 08:57:01
Particle file format  Particle effects are specified with an XML
file, stored in art\particles (see mod layout).  A typical
particle effect file looks like:       <blend mode="add"/>
<!-- Parameters: -->      <constant name="emissionrate"
value="20.0"/>      <uniform name="lifetime" min="1.0"
max="1.5"/>      <uniform name="position.x" min="-8.0"
max="8.0"/>     <uniform name="position.z" min="-8.0"
max="8.0"/>     <constant name="position.y" value="0.0"/>
<uniform name="angle" min="-0.5" max="0.5"/>      <uniform
name="velocity.x" min="-0.3" max="0.3"/>     <uniform
name="velocity.y" min="2.0" max="2.5"/>     <uniform
name="velocity.z" min="-0.3" max="0.3"/>     <uniform
name="velocity.angle" min="-0.5" max="0.5"/>      <uniform
name="size" min="1.0" max="2.0"/>     <uniform
name="size.growthRate" min="1.0" max="2.0"/>      <uniform
name="color.r" min="0.8" max="1.0"/>     <copy name="color.g"
from="color.r"/>     <copy name="color.b"