[Added] Vertical distance for quakes

Moderator: GZDoom Developers

Vertical distance for quakes

Postby Marisa the Magician » Wed Apr 20, 2022 2:24 am

As it currently stands, all quake effects do their radius check in 2D, so even if one happens far above/below the player with a small radius, they'll still be affected by it. Could a new flag be added to also take vertical distance into account?
User avatar
Marisa the Magician
ZScript Crimester
 
 
 
Joined: 08 Feb 2008
Location: Vigo, Galicia
Discord: Marisa the Magician#1666
Twitch ID: MarisaDOOM
Github ID: OrdinaryMagician
Operating System: Other Linux 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: Vertical distance for quakes

Postby nova++ » Wed Apr 20, 2022 2:52 am

I wouldn't mind some whole new screenshake system admittedly... the current one is kind of a huge kludge with a lot of legacy baggage. Like, the rumble sound is hardcoded into the function as one example...
User avatar
nova++
Real life space alien (not fake)
 
Joined: 04 Sep 2021
Operating System: Other Linux 64-bit

Re: Vertical distance for quakes

Postby Enjay » Wed Apr 20, 2022 10:35 am

nova++ wrote:Like, the rumble sound is hardcoded into the function as one example...

It is in Radius_Quake, but in Radius_Quake2 you can specify the sound.
User avatar
Enjay
Everyone is a moon, and has a dark side which he never shows to anybody. Twain
 
 
 
Joined: 15 Jul 2003
Location: Scotland

Re: Vertical distance for quakes

Postby Major Cooke » Sat May 07, 2022 10:49 am

Does this include A_QuakeEx?
User avatar
Major Cooke
QZDoom Maintenance Team
 
Joined: 28 Jan 2007

Re: Vertical distance for quakes

Postby Marisa the Magician » Sat May 07, 2022 4:57 pm

Yes, all quake functions are 2D.
User avatar
Marisa the Magician
ZScript Crimester
 
 
 
Joined: 08 Feb 2008
Location: Vigo, Galicia
Discord: Marisa the Magician#1666
Twitch ID: MarisaDOOM
Github ID: OrdinaryMagician
Operating System: Other Linux 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: Vertical distance for quakes

Postby Major Cooke » Sat May 07, 2022 11:04 pm

User avatar
Major Cooke
QZDoom Maintenance Team
 
Joined: 28 Jan 2007


Return to Closed Feature Suggestions

Who is online

Users browsing this forum: No registered users and 0 guests