(Since we found the problem was with the script, let's try this again) |
(Adding categories) |
||
Line 40: | Line 40: | ||
*[[GAE]] |
*[[GAE]] |
||
*[[XMLs]] |
*[[XMLs]] |
||
+ | [[Category:XMLs]] |
Revision as of 22:16, 24 June 2011
GAE and MegaGlest expand on Glest's particle system, allowing unit particles, which are particles emitted from the unit itself, rather than always on an attack. Particles have a lifecycle. They are born with energy-max and they die with when energy is zero. With every step their energy is lowered by one. A unit particle system currently can control 200 particles. If the particle system has a high emission rate and you would get more than 200 alive particles the ones with the lowest energy are recycled and used as new ones.
XML
<!-- Start GAE+MG Only -->
<?xml version="1.0" standalone="yes"?>
<unit-particle-system>
<texture value="true" path="images/particle.bmp" luminance="true"/>
<mode value="normal"/>
<primitive value="quad"/>
<offset x="0" y="-0.4" z="0.0"/>
<direction x="0" y="1" z="0"/>
<color red="1.0" green="0.0" blue="0.0" alpha="0.8" />
<color-no-energy red="1.0" green="1.0" blue="0.3" alpha="0.6" />
<radius value="0.7" />
<size value="0.6" />
<size-no-energy value="0.3" />
<speed value="3.0" />
<gravity value="0"/>
<emission-rate value="10" />
<energy-max value="30" />
<energy-var value="0" />
<fixed value="false" />
<relativeDirection value="false" />
<relative value="true" />
<teamcolorEnergy value="false" />
<teamcolorNoEnergy value="false" />
<static-particle-count value="4" />
</unit-particle-system>
<!-- End GAE+MG Only -->