3D Floor Switch

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.
Post Reply
User avatar
Beetow Brode
Posts: 69
Joined: Sat Sep 24, 2016 1:46 pm
Graphics Processor: nVidia (Modern GZDoom)
Location: "We've Got Hostiles"

3D Floor Switch

Post by Beetow Brode »

Does anyone have any idea how to pull this off, every time i did it in the past it works but the texture doesn't register and it shows nonactive whilst it works opening, etc.
I assume this question has been asked alot.
User avatar
Enjay
 
 
Posts: 26517
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: 3D Floor Switch

Post by Enjay »

You mean a switch on the side of a 3D floor? If so, give the floor line in the model sector a flag of 16 or 32 (16 for upper texture, 32 for lower texture). Then give the line that you want to act as a switch the appropriate line action for your needs and set the upper or lower side def to have the switch texture that you want.

If you want an example, extract the file nj_3d_floorUDMF.wad from here and look at how the floating switch is set up.

http://www.aspectsweb.co.uk/enjay/doom/ ... 3DUDMF.zip

User avatar
Kappes Buur
 
 
Posts: 4114
Joined: Thu Jul 17, 2003 12:19 am
Graphics Processor: nVidia (Legacy GZDoom)
Location: British Columbia, Canada
Contact:

Re: 3D Floor Switch

Post by Kappes Buur »

Enjay wrote:..., extract the file nj_3d_floorUDMF.wad from here and look at how the floating switch is set up.
Nice the way the switch bobs up/down.

In case you want/need another example.
I included several 3D sector switches constructed with different methods,
with use trigger and the one at the top left shootable to open the door.

[imgur]https://i.imgur.com/Hig0ta2[/imgur]

Or do you mean a switch set into the floor of a 3D sector.
Post Reply

Return to “Mapping”