Simple question [laser beam projectile]

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Locked
lukas2288
Posts: 23
Joined: Sat Feb 11, 2012 3:11 am

Simple question [laser beam projectile]

Post by lukas2288 »

Is it possible made in gzdoom laser beam projectile?If yes is there some sample code?
Blue Shadow
Posts: 5043
Joined: Sun Nov 14, 2010 12:59 am

Re: Simple question

Post by Blue Shadow »

If I recall correctly, this weapon is supposed to be a beam-based weapon.
User avatar
Ed the Bat
Posts: 3060
Joined: Thu May 03, 2012 1:18 pm
Graphics Processor: nVidia with Vulkan support
Location: Maryland, US
Contact:

Re: Simple question

Post by Ed the Bat »

That's just a series of high-speed projectiles. The laser beam weapons I made use continuous rail attacks. It's not perfect, but...
User avatar
Matt
Posts: 9696
Joined: Sun Jan 04, 2004 5:37 pm
Preferred Pronouns: They/Them
Operating System Version (Optional): Debian Bullseye
Location: Gotham City SAR, Wyld-Lands of the Lotus People, Dominionist PetroConfederacy of Saudi Canadia
Contact:

Re: Simple question

Post by Matt »

Well, he did say "laser beam projectile"... really, without further details (e.g. "like they shoot in Star Wars") I don't think it's clear whether a projectile, a fastprojectile, a rail or just a plain old hitscan would work the best.
User avatar
wildweasel
Posts: 21706
Joined: Tue Jul 15, 2003 7:33 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): A lot of them
Graphics Processor: Not Listed
Contact:

Re: Simple question [laser beam projectile]

Post by wildweasel »

I've updated your thread title to be much more descriptive.
User avatar
Ed the Bat
Posts: 3060
Joined: Thu May 03, 2012 1:18 pm
Graphics Processor: nVidia with Vulkan support
Location: Maryland, US
Contact:

Re: Simple question

Post by Ed the Bat »

Vaecrius wrote:Well, he did say "laser beam projectile"... really, without further details (e.g. "like they shoot in Star Wars") I don't think it's clear whether a projectile, a fastprojectile, a rail or just a plain old hitscan would work the best.
Good point. I guess what I meant was that the weapon linked above uses projectiles (in the ZDoom-technical definition), and they don't really work as what I picture to be a continuous beam. Taking 'laser' more literally (and yes, I may be assuming too much), I figured a continuous beam would fit the bill better, and to the best of my knowledge, the closest approximation available would be made with rail attacks.
lukas2288
Posts: 23
Joined: Sat Feb 11, 2012 3:11 am

Re: Simple question [laser beam projectile]

Post by lukas2288 »

i´m sorry that i didn´t write more details in my first post.i meant laser effect like this one for example
Image
Locked

Return to “Editing (Archive)”