A_SpawnParticle Enhancements (Decorate Only)

Post a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: A_SpawnParticle Enhancements (Decorate Only)

Re: A_SpawnParticle Enhancements (Decorate Only)

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

Re: A_SpawnParticle Enhancements (Decorate Only)

by Graf Zahl » Thu Jan 21, 2016 5:59 pm

Feel free to do it. I'm off to bed now.

Re: A_SpawnParticle Enhancements (Decorate Only)

by Major Cooke » Thu Jan 21, 2016 5:24 pm

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)

by NeuralStunner » Thu Jan 21, 2016 5:21 pm

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)

by Gez » Thu Jan 21, 2016 5:17 pm

Can you move color to first position while you're at it?

Re: A_SpawnParticle Enhancements (Decorate Only)

by Major Cooke » Thu Jan 21, 2016 5:16 pm

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)

by Hellser » Thu Jan 21, 2016 4:57 pm

It just came out. Let it simmer for a few hours. :laff:

But in seriousness, good suggestions.

A_SpawnParticle Enhancements (Decorate Only)

by Major Cooke » Thu Jan 21, 2016 4:42 pm

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.
Attachments
test.pk3
Right click upon loading.
(7.54 KiB) Downloaded 117 times

Top