Textured particles support and particledefs

Moderator: Graf Zahl

User avatar
Alex-bomber_Man
Posts: 56
Joined: Sat Aug 19, 2006 9:47
Location: Ukraine\Kharkov

Textured particles support and particledefs

Post by Alex-bomber_Man »

I'm making GZDoom Resource Pack, and i want to make cool effects for explosions fireball traces and so on..
So what do you think about implementing textured particles?
Here what can we get using this tehnology:

Image

And more: is it realy - to make particle definitions, like modeldefs and doomdefs (lightdefs)
User avatar
ChupaReaper
Posts: 202
Joined: Fri Jun 15, 2007 16:35
Location: England

Post by ChupaReaper »

I was gonna suggest something like this as well, I'm stuck with using sprites on models for fire, which doesn't work so well.
User avatar
KeksDose
Stronghold Team
Posts: 319
Joined: Thu Apr 12, 2007 21:35
Location: Germany

Post by KeksDose »

Nice bump :D

By the way, it isn't THAT difficult to create decent particle effects only with Decorate. P: It's EASY.

[EDIT]
And I'm making the effect resource here :P
User avatar
ChupaReaper
Posts: 202
Joined: Fri Jun 15, 2007 16:35
Location: England

Post by ChupaReaper »

Knowing a bit more on how to do decorate particles, an actor property that spawns things like a_custommissile or a_spawnitem would be useful, meaning instead of have a_custommissile(blah blah blah...) jotted all over the place, one could have something like:
Particles "Type", zoffset, xoffset, yoffset, ... (like from a_spawnitemex)
Then actions like a_startparticles and a_stopparticles.
User avatar
KeksDose
Stronghold Team
Posts: 319
Joined: Thu Apr 12, 2007 21:35
Location: Germany

Post by KeksDose »

I certainly see this as a pointless option. Actually "Decorate" is capable of doing such things easily. You just have to learn the correct process. Basically, things like "Tint", "Rotating" and "Scaling" would really help (did I hear correctly that "Rotating" and "Scaling" will be available if DoomScript will be available?). Otherwise it would be just like "Decorate", only with different commands. So, if DoomScript would be done you don't need any particle definitions then. ;)

What does Zahl say about this?
User avatar
Enjay
Developer
Developer
Posts: 4753
Joined: Tue Aug 30, 2005 23:19
Location: Scotland

Post by Enjay »

I'd like some customisable particle effects (weather would be an obvious one) and better looking particles but, yes, some excellent results can be achieved with DECORATE and a lot of what is being asked for simply isn't required because it can already be done very well with the existing system.

The only thing I would like to enhance the present system is some way of flagging your DECORATE actors so that they don't cause as much slow-down in the game. A large number of particle actors on a map can cause significant, very noticeable degradation of game performance. Some people certainly had problems with my Heretic/Thief level and I included scripts to remove the particle actors for slow computers and also had scripts switching off certain actors when I could guarantee them not being in view. That was a bit of a pain to set up.
User avatar
KeksDose
Stronghold Team
Posts: 319
Joined: Thu Apr 12, 2007 21:35
Location: Germany

Post by KeksDose »

THIS IS ABSOLUTELY CORRECT.
Less slowdown - Bad-Assed!
User avatar
ChupaReaper
Posts: 202
Joined: Fri Jun 15, 2007 16:35
Location: England

Post by ChupaReaper »

Less slow down sounds good, it takes about 50 lost souls (with model and particles) to cock things up!
But a decorate property that emits projectiles (particles in this case) would save cluttering scripts with a_custommissile, instead a_startparticles and a_stopparticles.

Return to “Closed Feature Suggestions”