How do i make destructible walls in udmf?

Ask about mapping, UDMF, using DoomBuilder/editor of choice, etc, here!

Moderator: GZDoom Developers

Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.
User avatar
JetteboyTV
Posts: 53
Joined: Mon Sep 04, 2023 9:17 am

How do i make destructible walls in udmf?

Post by JetteboyTV »

i want to make destructible walls that explode with a explosive weapon kinda like duke nukem 3d, how do i do it?
User avatar
schkorpio
Posts: 34
Joined: Fri Sep 15, 2023 5:07 pm
Operating System Version (Optional): 10
Graphics Processor: Intel (Modern GZDoom)

Re: How do i make destructible walls in udmf?

Post by schkorpio »

There might be a better way, but I just raise ceilings and lower floors, super fast, and play an explosion type sound effect and shake the view. You can even spawn in a fireball explosion, flash ah the lights etc for more visual flair. Done by script.

The way I did it was to make it all look neat, but then run some jagged lines through it all. It looks fine until the ceiling and floor moves to reveal the jagged edges making it look destroyed.

Feel free to steal the code of level 2 in my hexen map pack. After you destroy the boss, the floor cracks and a wall explodes.

You can of course trigger it by buttons, gun shots, damage etc I just happened to use monster death.
Fragger
Posts: 42
Joined: Sat Mar 19, 2022 11:59 am
Graphics Processor: Intel (Modern GZDoom)

Re: How do i make destructible walls in udmf?

Post by Fragger »

You could use an actor as your wall.
User avatar
Cherno
Posts: 1322
Joined: Tue Dec 06, 2016 11:25 am

Re: How do i make destructible walls in udmf?

Post by Cherno »

Fragger
Posts: 42
Joined: Sat Mar 19, 2022 11:59 am
Graphics Processor: Intel (Modern GZDoom)

Re: How do i make destructible walls in udmf?

Post by Fragger »

I would create models in ultimate doom builder. A whole wall, then a damaged wall, and use the models as frames in decorate/zscript. I've been thinking about destructible columns, to eventually bring the ceiling down on monsters (or on you, as a trap). Imagine your cover gets destroyed by a well placed cyberdemon rocket?

Return to “Mapping”