Destructible lines don't take explosive damage
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.
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.
Destructible lines don't take explosive damage
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
- 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
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.
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49073
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Destructible lines don't take explosive damage
That are plain shootable walls, they require impact damage.