Portal example gallery

Discuss all aspects of editing for ZDoom.
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.

Portal example gallery

Postby Nash » Fri May 20, 2016 6:27 am

Can someone/has anyone made a simple, clear cut example WAD on how to use the various new portal features in ZDoom? I'm still a little confused TBH... would be cool if someone put together simple map examples because IMO the fastest way to learn is from actual example files...
User avatar
Nash
 
 
 
Joined: 27 Oct 2003
Location: Kuala Lumpur, Malaysia
Github ID: nashmuhandes

Re: Portal example gallery

Postby Graf Zahl » Fri May 20, 2016 6:32 am

Not really. All the portal demos I have seen so far went for the gimmick aspect rather than making sensible use of portals.
User avatar
Graf Zahl
Lead GZDoom Developer
Lead GZDoom Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: Portal example gallery

Postby Gez » Fri May 20, 2016 7:07 am

A portal demo is supposed to demonstrate, not illustrate.

I thought about updating the portal test map to make it work with the actual implementation but it's far too much work.
Gez
 
 
 
Joined: 06 Jul 2007

Re: Portal example gallery

Postby arookas » Fri May 20, 2016 11:53 am

I've been using portals as a way to get around overlapping rooms without spamming 3D floors. Combined with interactive sector portals, you can even travel between them vertically, making for very interesting layouts. I made a quick test map to show what I mean (it doesn't use any 3D floors).
Attachments
portals.wad
(49.7 KiB) Downloaded 290 times
User avatar
arookas
...but only sometimes.
 
Joined: 24 Jan 2011

Re: Portal example gallery

Postby Kappes Buur » Fri May 20, 2016 12:09 pm

User avatar
Kappes Buur
 
 
 
Joined: 17 Jul 2003
Location: British Columbia Canada

Re: Portal example gallery

Postby Rachael » Fri May 20, 2016 2:16 pm

Graf Zahl wrote:Not really. All the portal demos I have seen so far went for the gimmick aspect rather than making sensible use of portals.

That will change when the feature matures a bit and people get over their "ooh-aah" phase about it. It still feels really new and exciting so people just want to get into them more than they really want to "make sensible use" of them at this point.

It's also an experimental phase where mappers start seeing what does and doesn't work with portals - both in a technical sense, and also in a more "feel" (gameplay) sense.
User avatar
Rachael
Webmaster
 
Joined: 13 Jan 2004
Discord: Rachael#3767
Twitch ID: madamerachelle
Github ID: madame-rachelle

Re: Portal example gallery

Postby Jaxxoon R » Fri May 20, 2016 7:56 pm

Kappes Buur wrote:http://forum.zdoom.org/viewtopic.php?f=3&t=51936&p=905753#p905753

Two weeks and still no reply! :(
User avatar
Jaxxoon R
 
Joined: 04 May 2014

Re: Portal example gallery

Postby Nash » Sat May 21, 2016 10:15 am

Arookas wrote:I've been using portals as a way to get around overlapping rooms without spamming 3D floors. Combined with interactive sector portals, you can even travel between them vertically, making for very interesting layouts. I made a quick test map to show what I mean (it doesn't use any 3D floors).


This is the perfect, clear-cut example I was seeking. Thanks!

Although playing around in this map has revealed a shortcoming of the portals, and that is sound. Its seems really weird that explosions and monster sounds can't be heard in the other "room" that's right in front of your eyes, because technically they're not really adjacent, physically. :( Will this eventually be solved?
User avatar
Nash
 
 
 
Joined: 27 Oct 2003
Location: Kuala Lumpur, Malaysia
Github ID: nashmuhandes

Re: Portal example gallery

Postby Trusty McLegit » Sat May 21, 2016 7:45 pm

Here are a couple wads I made testing out different ways of using them
Attachments
Elevator_V3.wad
(78.05 KiB) Downloaded 127 times
INFINITY.wad
(63.2 KiB) Downloaded 135 times
User avatar
Trusty McLegit
 
Joined: 07 Feb 2016

Re: Portal example gallery

Postby Graf Zahl » Sun May 22, 2016 5:22 am

Nash wrote:Although playing around in this map has revealed a shortcoming of the portals, and that is sound. Its seems really weird that explosions and monster sounds can't be heard in the other "room" that's right in front of your eyes, because technically they're not really adjacent, physically. :( Will this eventually be solved?



Use static portals. For the other types this is not really solvable but I said that right from the beginning.
User avatar
Graf Zahl
Lead GZDoom Developer
Lead GZDoom Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: Portal example gallery

Postby Trusty McLegit » Sun May 22, 2016 7:51 am

Could you give a full explaination as to what the different portal types do? The explanations on the wiki don't really say much
User avatar
Trusty McLegit
 
Joined: 07 Feb 2016

Re: Portal example gallery

Postby Graf Zahl » Sun May 22, 2016 8:21 am

Visual: self-explaining
Teleport: Actors can cross the portal but anything that gets spawned by another actor with an offset (like an angled projectile) will ignore it
Interactive: Actors can cross the portal and anything that gets spawned by another actor with an offset will be offset by it.
Static: There may be no angle or height change. Also, for any two sections in the map any path through different portals that connects both areas must have the same offset. Due to these limitations it is possible to store a global offset for any two areas which can then be used for sound positioning or monster targeting calculations.
For the other portal types this is not possible because there is no well-defined displacement information. It'd have to be calculated manually each time by tracing through all available portals. Obviously this is prohibitive in terms of processing cost.
User avatar
Graf Zahl
Lead GZDoom Developer
Lead GZDoom Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: Portal example gallery

Postby Trusty McLegit » Sun May 22, 2016 10:52 am

Awesome, thanks. But could you clarify what you mean here?
Graf Zahl wrote:Also, for any two sections in the map any path through different portals that connects both areas must have the same offset.
User avatar
Trusty McLegit
 
Joined: 07 Feb 2016

Re: Portal example gallery

Postby Graf Zahl » Sun May 22, 2016 11:12 am

Say, you have 4 portals (sector or static line portals) in your map, containing 4 sections:

Portal 1 from section 1 to section 2 has an offset of 500, 600
Portal 2 from section 2 to section 3 has an offset of 500, 400
Portal 3 from section 1 to section 4 has an offset of -500, -500
So if you connect section 4 with section 3 you'll need an offset of 1500, 1500, so that across both paths the offset from section 1 to section 3 is 1000, 1000.
This is a vital property of static portals, without it they cannot work properly.
User avatar
Graf Zahl
Lead GZDoom Developer
Lead GZDoom Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: Portal example gallery

Postby Trusty McLegit » Sun May 22, 2016 12:03 pm

I don't know what you mean by section. Like a sector? And are those the offsets of vertices? Could you make a wad with static portals set up like in your post so I can actually see what you mean? Sorry if I'm just being incompetent
User avatar
Trusty McLegit
 
Joined: 07 Feb 2016

Next

Return to Editing (Archive)

Who is online

Users browsing this forum: MauiBot and 3 guests