Difference between revisions of "XML/Splash particle"

From MegaGlest
Jump to navigation Jump to search
 
Line 15: Line 15:
 
**    <energy-var value="10" /> Variation
 
**    <energy-var value="10" /> Variation
 
** <emission-rate-fade value="1"/> Particles last longer with a lower number / disappear quicker with a higher number
 
** <emission-rate-fade value="1"/> Particles last longer with a lower number / disappear quicker with a higher number
** <vertical-spread a="0" b="0"/> ??
+
** <vertical-spread a="0" b="0"/> direction splash goes after hitting
** <horizontal-spread a="1" b="0"/> ??
+
** <horizontal-spread a="1" b="0"/> direction splash goes after hitting
 
*</splash-particle-system>
 
*</splash-particle-system>

Revision as of 00:06, 15 October 2007

<?xml version="1.0" standalone="yes"?>

  • <splash-particle-system>
    • <texture value="true|false" path=".../texture_name.bmp" luminance="true"/>
    • <model value="true|false" path=".../model_name.g3d"/>
    • <primitive value="quad|line"/>
    • <offset x="0" y="0" z="0"/> ??
    • <color red="0.0" green="0.0" blue="1.0" alpha="0.5" /> Colors at epicentre
    • <color-no-energy red="1.0" green="1.0" blue="1.0" alpha="0.0" /> Colors at edge
    • <size value="1" /> Particle start size (center)
    • <size-no-energy value="2" /> Ending particle size
    • <speed value="5" /> The Maximum Radius of the explosion
    • <gravity value="0"/> Gravity effects
    • <emission-rate value="20" /> How many particles are emitted
    • <energy-max value="30" /> Energy
    • <energy-var value="10" /> Variation
    • <emission-rate-fade value="1"/> Particles last longer with a lower number / disappear quicker with a higher number
    • <vertical-spread a="0" b="0"/> direction splash goes after hitting
    • <horizontal-spread a="1" b="0"/> direction splash goes after hitting
  • </splash-particle-system>