Page 1 of 1

A_SpawnParticle Enhancements (Decorate Only)

Posted: Thu Jan 21, 2016 4:42 pm
by Major Cooke
Pull Request

Adds flags (relativity and fullbright flags) and an angle parameter. Because of relativity to the calling actor, this is DECORATE only.

- SPF_FULLBRIGHT makes the particle full bright.
- SPF_RELATIVE: Macro. Combines the following flags.
- SPF_RELPOS: Position is relative to angle.
- SPF_RELVEL: Velocity is relative to angle.
- SPF_RELACCEL: Acceleration is relative to angle.
- SPF_RELANG: Add caller's angle to angle parameter for relativity.

Re: A_SpawnParticle Enhancements (Decorate Only)

Posted: Thu Jan 21, 2016 4:57 pm
by Hellser
It just came out. Let it simmer for a few hours. :laff:

But in seriousness, good suggestions.

Re: A_SpawnParticle Enhancements (Decorate Only)

Posted: Thu Jan 21, 2016 5:16 pm
by Major Cooke
It HAS been simmering for a few hours. :P

Also, if you're wondering why: Try running A_SpawnItemEx all the time with almost all of the absolute flags on all the damn time.

Re: A_SpawnParticle Enhancements (Decorate Only)

Posted: Thu Jan 21, 2016 5:17 pm
by Gez
Can you move color to first position while you're at it?

Re: A_SpawnParticle Enhancements (Decorate Only)

Posted: Thu Jan 21, 2016 5:21 pm
by NeuralStunner
Gez wrote:Can you move color to first position while you're at it?
I'll second this. It's the most important parameter and useful enough on its own, I'll bet.

Re: A_SpawnParticle Enhancements (Decorate Only)

Posted: Thu Jan 21, 2016 5:24 pm
by Major Cooke
Gez wrote:Can you move color to first position while you're at it?
If the devs let me. In fact, I will happily reorganize angle too.

Graf? Blzut3? Randi (dare I assume you even watch these)? What do you guys say?

Re: A_SpawnParticle Enhancements (Decorate Only)

Posted: Thu Jan 21, 2016 5:59 pm
by Graf Zahl
Feel free to do it. I'm off to bed now.

Re: A_SpawnParticle Enhancements (Decorate Only)

Posted: Thu Jan 21, 2016 6:44 pm
by Major Cooke