Wall portals

Moderator: GZDoom Developers

User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49252
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Wall portals

Post by Graf Zahl »

Tormentor667 wrote:@Graf Zahl - One thing I noticed when playing around with the wall portals:

Code: Select all

Line 14858 (type 156:Line_SetPortal), arg 4 is 1 (should be 0)
Considering that argument 4 is defining the vertical alignment of the portal (floor or ceiling), this message is somehow irritating.

fixed for the next commit.
User avatar
Tormentor667
Posts: 13557
Joined: Wed Jul 16, 2003 3:52 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia (Modern GZDoom)
Location: Germany

Re: Wall portals

Post by Tormentor667 »

That was quick, thanks :)

I also noticed that you can't travel through the portals yet, or am I doing something wrong?
User avatar
Major Cooke
Posts: 8221
Joined: Sun Jan 28, 2007 3:55 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia with Vulkan support
Location: GZBoomer Town

Re: Wall portals

Post by Major Cooke »

What type do you have?
User avatar
Tormentor667
Posts: 13557
Joined: Wed Jul 16, 2003 3:52 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia (Modern GZDoom)
Location: Germany

Re: Wall portals

Post by Tormentor667 »

Visual + simple teleporter
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49252
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Wall portals

Post by Graf Zahl »

Sight checking works, too, now, so monsters can attack through portals.

(Oh, and I should have had a look at Eternity before doing this, it would have saved me from several hours of debugging this stuff because I overlooked one small but crucial thing in here... :?)
User avatar
edward850
Posts: 5910
Joined: Tue Jul 19, 2005 9:06 pm
Location: New Zealand

Re: Wall portals

Post by edward850 »

I'm a little out of sync with its current development, but are statically linked portals (eternity style) suppose to work at the moment? They just cause the engine to hard-lock when you try to move through them (line tracing is fine).
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49252
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Wall portals

Post by Graf Zahl »

What map did you test with?

The last time I ran Vaporware it worked fine. The Polyportal testmap hardlocks indeed, but that's most likely because that case isn't handled yet.
If you got another test map, please give me a link.
User avatar
printz
Posts: 2649
Joined: Thu Oct 26, 2006 12:08 pm
Location: Bucharest, Romania

Re: Wall portals

Post by printz »

Do you also have test maps for ZDoom I can test Eternity on? :P I suppose there's that Gez map, for example.
User avatar
edward850
Posts: 5910
Joined: Tue Jul 19, 2005 9:06 pm
Location: New Zealand

Re: Wall portals

Post by edward850 »

Graf Zahl wrote:What map did you test with?

The last time I ran Vaporware it worked fine. The Polyportal testmap hardlocks indeed, but that's most likely because that case isn't handled yet.
If you got another test map, please give me a link.
Sure, I made one myself just to fool around with it: https://www.dropbox.com/s/6az97d6vg2esi ... s.wad?dl=1
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49252
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Wall portals

Post by Graf Zahl »

printz wrote:Do you also have test maps for ZDoom I can test Eternity on? :P I suppose there's that Gez map, for example.
No. So far I used Vaporware, your polyportal test map and Gez's demo map as my main testing material.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49252
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Wall portals

Post by Graf Zahl »

edward850 wrote: Sure, I made one myself just to fool around with it: https://www.dropbox.com/s/6az97d6vg2esi ... s.wad?dl=1
Thanks, but I think I already found the problem. It got late yesterday evening and I forgot to move the initial portal check for the trace's start position to the proper place. In yesterday's code, if a check originated in a sector with a portal, it could lead to an endless check of the same condition.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49252
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Wall portals

Post by Graf Zahl »

I think that aside from polyportals the feature is complete now. I don't expect it to be completely free of bugs but all the changes to the engine are done now.
User avatar
Major Cooke
Posts: 8221
Joined: Sun Jan 28, 2007 3:55 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia with Vulkan support
Location: GZBoomer Town

Re: Wall portals

Post by Major Cooke »

Polyportals sounds like the biggest pain of all.
User avatar
Nash
 
 
Posts: 17512
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia

Re: Wall portals

Post by Nash »

Good work, ZZYZX and Graf Zahl! Thank you for bringing ZDoom closer to Eternity... :D
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49252
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Wall portals

Post by Graf Zahl »

Major Cooke wrote:Polyportals sounds like the biggest pain of all.

Not really. What they need is some means to modify the link offset table. Printz's test map initializes properly but can't handle the in-game transitions right now because the handling for that table is not in yet.

Right now the biggest issue with line portals in ZDoom is that they do not render the upper and lower texture of the portal line.

Return to “Closed Feature Suggestions [GZDoom]”