Destructible lines don't take explosive damage

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Post Reply
dodopod
Posts: 66
Joined: Wed Oct 04, 2017 2:00 pm
Contact:

Destructible lines don't take explosive damage

Post by dodopod »

If there is a step between an explosion and a destructible line, the line won't take damage. I haven't looked at the code, but I'm guessing that damage is based on a LOS check between the pos of the explosion, and the bottom of the line's mid-texture. I've noticed weird things happen when damaging floors, too (in the demo for my destructible geometry handler, firing at the grass with a rocket launcher only damages the 4 adjacent squares) so there may be a similar issue with that.
Attachments
line-damage.pk3
(1.15 KiB) Downloaded 71 times
User avatar
StroggVorbis
Posts: 866
Joined: Wed Nov 08, 2017 4:23 pm
Graphics Processor: nVidia with Vulkan support
Location: Germany

Re: Destructible lines don't take explosive damage

Post by StroggVorbis »

Is this related to Hexen's stained glass windows too? Don't know how they're setup, but they're also unaffected by splash damage. Strife's computer terminals and screens too iirc.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49066
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Destructible lines don't take explosive damage

Post by Graf Zahl »

That are plain shootable walls, they require impact damage.
Post Reply

Return to “Closed Bugs [GZDoom]”