MegaGlest Forum

MegaGlest => Feature requests => Closed feature requests => Topic started by: titi on 4 August 2014, 16:03:56

Title: [done]particle acceleration
Post by: titi on 4 August 2014, 16:03:56
There is a new pull request https://github.com/MegaGlest/megaglest-source/pull/24 about particles which can accelerate.
Please comment/discuss
Title: Re: particle acceleration
Post by: Omega on 4 August 2014, 16:22:01
The pull request says
Quote
For example with negative speed + spherical shape you can make very nice effects.

I'd like to see an example of exactly what this looks like, because I'm having difficulty imagining it.

As for other use cases, attacks that shoot rockets might look interesting with acceleration. I think for really long range attacks, though (the thing I have in mind is the nuclear missile that I previously implemented in Military, which was able to target anywhere on the map), we'd need a way to specify the maximum speed, so that the projectile won't accelerate too fast. Rather, it'd start slow and eventually reach a max speed (very much like a real missile).

Title: Re: particle acceleration
Post by: titi_son on 5 August 2014, 17:40:21
As for other use cases, attacks that shoot rockets might look interesting with acceleration. I think for really long range attacks, though (the thing I have in mind is the nuclear missile that I previously implemented in Military, which was able to target anywhere on the map), we'd need a way to specify the maximum speed, so that the projectile won't accelerate too fast. Rather, it'd start slow and eventually reach a max speed (very much like a real missile).
Sadly this is not for projectiles but only particles :( (unit particles and splash particles )
I may try speed-up for projectiles later.

I made a youtube video and i hope you can see what this does:

https://www.youtube.com/watch?v=jGjIlm57OTY

(click to show/hide)
Title: Re: particle acceleration
Post by: Omega on 5 August 2014, 18:00:39
Ah, I see what you mean now. I was assuming attack projectiles, not unit particles (any chance we could see both?). Looks good.
Title: Re: particle acceleration
Post by: titi_son on 5 August 2014, 19:07:24
Ah, I see what you mean now. I was assuming attack projectiles, not unit particles (any chance we could see both?). Looks good.
I suppose we can. I just didn't look at it until now: :)
Title: Re: particle acceleration
Post by: Ishmaru on 29 August 2014, 12:24:22
How do yo make a spherical or conical shape?

Would you mind posting those particle xmls for reference?
Title: Re: particle acceleration
Post by: jammyjamjamman on 29 August 2014, 18:13:18
It's all in the xml examples, these are the lines in question:

Code: [Select]
<shape value="spherical">
Code: [Select]
<shape value="conical">
The ring and the crown both use the conical shape