Beam effect

Moderator: GZDoom Developers

Post Reply
Russell
Posts: 9
Joined: Sat Jun 19, 2004 10:27 pm
Contact:

Beam effect

Post by Russell »

Hello, I was wondering if its possible to add a continuous stream effect to the railgun attack (A_RailAttack), something like the proton pack from ghostbusters or a continuous arc of electricity between 2 points

Additional features could include beam movement (a vertical or horizontal wave effect or random angle) and a room lighting effect that will travel down the beam (affecting each sectors lighting value).

I'm not entirely sure how this would be implemented, hitscans or spawning a projectile at the end of the beam (a maxdistance), then having a continuous particle stream between the player and the projectile.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49252
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Post by Graf Zahl »

Sorry, but this is among the things that are either impossible or extemely hard to add to the Doom engine.
User avatar
Cutmanmike
Posts: 11354
Joined: Mon Oct 06, 2003 3:41 pm
Operating System Version (Optional): Windows 10
Location: United Kingdom
Contact:

Post by Cutmanmike »

The closest you'll get is a repeated A_RailAttack like you said.
User avatar
LilWhiteMouse
Posts: 2270
Joined: Tue Jul 15, 2003 7:00 pm
Location: Maine, US
Contact:

Post by LilWhiteMouse »

Would a customizable MageWandMissile be out of the question?
User avatar
Cutmanmike
Posts: 11354
Joined: Mon Oct 06, 2003 3:41 pm
Operating System Version (Optional): Windows 10
Location: United Kingdom
Contact:

Post by Cutmanmike »

I though magewandmissile was just a fast projectile which left a large trail?
User avatar
The NUtcracker
Posts: 843
Joined: Sun Jan 14, 2007 9:12 pm
Location: South Dakota
Contact:

Post by The NUtcracker »

It is.
User avatar
LilWhiteMouse
Posts: 2270
Joined: Tue Jul 15, 2003 7:00 pm
Location: Maine, US
Contact:

Post by LilWhiteMouse »

Cutmanmike wrote:I though magewandmissile was just a fast projectile which left a large trail?
It is, but the trail is specially coded to be left every few units. You can make the projectile go as fast/slow you want, and the trail will remain a consistant density.
User avatar
Cutmanmike
Posts: 11354
Joined: Mon Oct 06, 2003 3:41 pm
Operating System Version (Optional): Windows 10
Location: United Kingdom
Contact:

Post by Cutmanmike »

Hmm, I wouldn't mind something like that. It would be a pretty good solution for repeating A_Spawnitem over and over just for a nice trail effect.
User avatar
StrikerMan780
Posts: 486
Joined: Tue Nov 29, 2005 2:15 pm
Graphics Processor: nVidia with Vulkan support
Contact:

Post by StrikerMan780 »

Hmm, I was thinking more of the DOOM64 Laser when I though of this, just a solid-color beam. maybe do this by making particles line up extremely close to eachother so that they don't appear separated? Or make a solid stream of a color through some sort of means.
User avatar
Anakin S.
Posts: 1067
Joined: Fri Nov 28, 2003 9:39 pm
Location: A long time ago in a galaxy far, far away...

Post by Anakin S. »

Cutmanmike wrote:Hmm, I wouldn't mind something like that. It would be a pretty good solution for repeating A_Spawnitem over and over just for a nice trail effect.
Even if you repeated A_SpawnItem over and over again, it still wouldn't look right if shooting up or down. Then it would be more of a saircase than a continuous stream. I think a customizable sprite trail is definitely needed.

@LWM: I thought that in vanilla Hexen, if you slow down MageWandMissile, the sprites get closer together and if you speed it up they get farther apart. Guess that's not the same in zdoom.
User avatar
Cutmanmike
Posts: 11354
Joined: Mon Oct 06, 2003 3:41 pm
Operating System Version (Optional): Windows 10
Location: United Kingdom
Contact:

Post by Cutmanmike »

Anakin S. wrote:@LWM: I thought that in vanilla Hexen, if you slow down MageWandMissile, the sprites get closer together and if you speed it up they get farther apart. Guess that's not the same in zdoom.
I thought that happened too.
Post Reply

Return to “Closed Feature Suggestions [GZDoom]”