Can this be done with portals?

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
Enjay
 
 
Posts: 27085
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Can this be done with portals?

Post by Enjay »

The attached file is a modified demo map that I made years ago (itself based on one of Rex's maps) to show how to use teleporting deep water. I've converted the map to UDMF but I'm wondering if the same thing could be done with "vertical portals" rather than old-style deep water and teleporting when eye's go below the water.

Above water


Below water



When I say "the same thing" I mean, could this exact same structure be recreated? By that I mean stand-alone water tanks in the middle of an open area like in the demo, taking you under water without full-height vertical walls being visible above the water from the below-water viewpoint?

I've tried, and failed, but I'm not very confident with vertical portals anyway. However, my interpretation of the tutorials that I read led me to believe that maybe this particular setup isn't well suited to portals anyway. So, can it be done?

Sorry, I don't have the source for the ACS in this map, but IIRC, it's just the HUDMessage when you start anyway. There is nothing about the map setup that needs a script.
User avatar
Guardsoul
Posts: 195
Joined: Sun Dec 11, 2011 3:58 am
Location: Creating a new dimension

Re: Can this be done with portals?

Post by Guardsoul »

I created this small demo using the UDMF format.

Some small notes:

- The deep water is now a swimmable 3D floor (less pain to set it up)
- The portal has been created using the 57 action Sector_SetPortal in order to make it interactive (Extensive tutorial here https://www.dfdoom.com/gzdoom-portal-tutorial/)

Not sure if it is exactly what you are asking for but feel free to correct me if I´m wrong.

EDIT: Uploaded the wrong file
Attachments
PortalWater_Example.wad
(10.67 KiB) Downloaded 59 times
User avatar
Enjay
 
 
Posts: 27085
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: Can this be done with portals?

Post by Enjay »

That's precisely the kind of effect I was looking for. Now to see if I can translate it to a more complicated setup like in the example I posted. Thank you. :)
Post Reply

Return to “Mapping”