Author Topic: Particles - Conical Angle Only Affecting One Dimension  (Read 1483 times)

-Archmage-

  • Moderator
  • Dragon
  • ********
  • Posts: 5,887
  • Make it so.
    • View Profile
    • My Website
Problem.

What's interesting is that it seems to work properly with values over 45, and under 135. Unfortunately, I need an angle less than 45.
Egypt Remastered!

Proof: Owner of glest@mail.com

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,240
    • View Profile
    • http://www.titusgames.de
Re: Particles - Conical Angle Only Affecting One Dimension
« Reply #1 on: 14 March 2017, 09:38:52 »
please show an xml example of such a particle system
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

-Archmage-

  • Moderator
  • Dragon
  • ********
  • Posts: 5,887
  • Make it so.
    • View Profile
    • My Website
Re: Particles - Conical Angle Only Affecting One Dimension
« Reply #2 on: 14 March 2017, 14:41:00 »
Sure thing.

Code: [Select]
<?xml version="1.0" standalone="yes"?>
<unit-particle-system>
    <texture value="true" path="images/particle.bmp" luminance="true"/>
<mode value="black"/>
<primitive value="quad"/>
<offset x="0" y="0.8" z="0.0"/>
<direction x="0" y="1" z="0"/>
<color red="0.4" green="0.0" blue="0.0" alpha="1.0" />
<color-no-energy red="0.3" green="0.0" blue="0.0" alpha="1.0" />
    <radius value="0.25" />
    <size value="0.1" />
    <size-no-energy value="0.2" />
    <speed value="4" />
<gravity value="0.3"/>
    <emission-rate value="3" />
    <energy-max value="30" />
    <energy-var value="0" />
    <fixed value="true" />
    <relative value="false" />
    <teamcolorNoEnergy value="false" />
    <teamcolorEnergy value="false" />
<shape value="conical">
<angle value="5"/>
</shape>

<!--trajectory type="spiral">
<speed value="14.0"/>
<scale value="1"/>
<frequency value="0.5"/>
</trajectory-->
</unit-particle-system>

Result of this XML:
 
Egypt Remastered!

Proof: Owner of glest@mail.com