Author Topic: Particles.  (Read 760 times)

Coldfusionstorm

  • Golem
  • ******
  • Posts: 868
    • View Profile
Particles.
« on: 27 May 2014, 00:11:24 »
Is there a way to attach a particle system to a projectile wholesale?, fx i have a particle effect i want to attach to a projectile model.

Also what are the current limitations of the particle system?.
WiP Game developer.
I do danish translations.
"i break stuff"

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: Particles.
« Reply #1 on: 27 May 2014, 04:34:33 »
Is there a way to attach a particle system to a projectile wholesale?, fx i have a particle effect i want to attach to a projectile model.

What do you mean? Attacks can currently have a project and particle. The same XML that defines the model can also have a particle. In fact, most projectile models have accompanying particles. See https://docs.megaglest.org/XML/Projectile_Particle

Also what are the current limitations of the particle system?.

It'd be easier to answer what the system can do rather than what it can't. There's a lot it can do. Making complicated shapes, however, can be difficult (the Annex mod has some nice solutions).

As far as I know, there's still no way to track particles towards the target (ie, change direction to adjust for moving targets). There's no way to differentiate between starting and ending offsets or the direction that the projectile goes (so no "draining effects" of having particles fly from the target to the source).

Lightning effects are difficult. No way to create that ricketing, semi-random arcing effect that electricity has.

No "billboard" support. Billboards are static images that always face the user. While particles can come close to them if luminance is on, I don't believe they can fully replicate how most game engines treat billboards. Particularly useful if used as sprites (rapidly switching through a series of 2D images to create an animation). Could be useful for creating complicated graphics that the current particles can't replicate, but also difficult because of their 2D nature.

As an aside, I mostly drew these limitations from the features that GAE had.
Edit the MegaGlest wiki: http://docs.megaglest.org/

My personal projects: http://github.com/KatrinaHoffert

Coldfusionstorm

  • Golem
  • ******
  • Posts: 868
    • View Profile
Re: Particles.
« Reply #2 on: 27 May 2014, 11:09:07 »
Calling Annex a mod at this point is kinda stretching it don't you think?.

Just call it Annex. It's a game on the MG engine.

Ohhh, And this MIGHT just be what i was looking for. I have 4 other tabs with Wiki Links open on particles, But this one i havent seen or ive overlooked it :/. THANKS.

What kind of particles can you attach to this?, Splash systems, Another Projectile perhaps?, or unit system?
WiP Game developer.
I do danish translations.
"i break stuff"

 

anything