The G3d viewer doesn't load the particlexml if it is in an extra folder :
IN MEGAGLEST THE PARTICLES WORK!!!!
The particle.bmp is placed under unit/images/particle.bmp
Unit xml (only the skill):
<skill>
<type value="harvest"/>
<name value="harvest_skill"/>
<ep-cost value="0"/>
<speed value="200"/>
<anim-speed value="0"/>
<animation path="models/unit.g3d"/>
<particles value="true">
<particle-file path="particle/particles.xml"/>
</particles>
<sound enabled="false" start-time="0">
<sound-file path="sounds/initiate_harvest1.wav"/>
<sound-file path="sounds/initiate_harvest2.wav"/>
<sound-file path="sounds/initiate_harvest3.wav"/>
<sound-file path="sounds/initiate_harvest4.wav"/>
</sound>
</skill>
Particle xml (placed under /unit/particle/particles.xml):
<?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="-4.0" z="1"/>
<direction x="0" y="1.0" z="-0.4"/>
<color red="0.0" green="0.9" blue="0.1" alpha="1.0" />
<color-no-energy red="0.0" green="0.4" blue="0.0" alpha="1.0" />
<radius value="0.3" />
<size value="1" />
<size-no-energy value="0" />
<speed value="5" />
<gravity value="0.1"/>
<emission-rate value="4" />
<energy-max value="50" />
<energy-var value="0" />
<fixed value="false" />
<relative value="true" />
<teamcolorNoEnergy value="false" />
<teamcolorEnergy value="false" />
<!--trajectory type="spiral">
<speed value="14.0"/>
<scale value="1"/>
<frequency value="0.5"/>
</trajectory-->
</unit-particle-system>
I won't say what i am working on while i found out this ...