Author Topic: particle problems!  (Read 905 times)

hls

  • Guest
particle problems!
« on: 1 October 2010, 10:54:52 »
how to enable particles in effects blocks? I could't let them work! please help me!

John.d.h

  • Moderator
  • Airship
  • ********
  • Posts: 3,757
  • I have to go now. My planet needs me.
    • View Profile
Re: particle problems!
« Reply #1 on: 1 October 2010, 11:32:06 »
« Last Edit: 18 June 2016, 18:58:08 by filux »

hls

  • Guest
Re: particle problems!
« Reply #2 on: 1 October 2010, 11:55:57 »
Is <particle enabled="true" path="firey_particles.xml"/> right? Can it work?

John.d.h

  • Moderator
  • Airship
  • ********
  • Posts: 3,757
  • I have to go now. My planet needs me.
    • View Profile
Re: particle problems!
« Reply #3 on: 1 October 2010, 12:41:16 »
If you have a particle file called "firey_particles.xml" in the same folder as the unit xml, then it should work.
« Last Edit: 1 October 2010, 21:20:11 by John.d.h »

silnarm

  • Local Moderator
  • Behemoth
  • ********
  • Posts: 1,373
    • View Profile
Re: particle problems!
« Reply #4 on: 1 October 2010, 21:12:50 »
More wiki updates needed...

Must look like this:
Code: [Select]
<particle-systems value="true">
    <particle-file path="glow_particles.xml"/>
</particle-systems>

It should also support MG style <particles value="true"> but I see the code currently doesn't accept that in effects... Ooops...

Glest Advanced Engine - Code Monkey

Timeline | Downloads

 

anything