Custom MageWand trail

Moderator: GZDoom Developers

User avatar
HotWax
Posts: 10002
Joined: Fri Jul 18, 2003 6:18 pm
Location: Idaho Falls, ID

Re: Custom MageWand trail

Post by HotWax »

Can you control the spacing between actors with this new implementation? Because then you could set them to appear one map unit apart (possibly less?) and get as close to an uninterrupted "beam" as the Doom engine will allow.

Granted it would also lag some computers, but there are many effects that can do that already...
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49252
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Custom MageWand trail

Post by Graf Zahl »

No. The spawning is done per movement step. So the spacing only gets smaller when the speed decreases.
User avatar
HotWax
Posts: 10002
Joined: Fri Jul 18, 2003 6:18 pm
Location: Idaho Falls, ID

Re: Custom MageWand trail

Post by HotWax »

But presumedly (haven't looked at any code here yet) the special spawns X actors in the space between its current position and its previous position, else we're back to the whole "Why not do this once a tic with A_Spawn" problem. So then could we change the value of X to increase the number of particles spawned, thus closing the gaps?

For the record, I'm not saying any of this would be a good idea. :) But in some circumstances (such as very fast / slow projectiles) it may be useful to adjust the particle density.
Gez
 
 
Posts: 17946
Joined: Fri Jul 06, 2007 3:22 pm

Re: Custom MageWand trail

Post by Gez »

Fast projectiles cut their movements in smaller steps. At least eight steps, but it can be more. (If the x or y velocity per step is larger than the fastprojectile's radius, then the number of steps doubles, which halves the velocity per step.)
User avatar
Snarboo
Posts: 2599
Joined: Tue Nov 29, 2005 4:37 am

Re: Custom MageWand trail

Post by Snarboo »

So a fast moving projectile with a small radius would take more steps than a similar projectile with the same speed but a larger radius?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49252
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Custom MageWand trail

Post by Graf Zahl »

Just like any other actor.
Post Reply

Return to “Closed Feature Suggestions [GZDoom]”