Wall portals
Moderator: GZDoom Developers
- Shadow Hog
- Posts: 173
- Joined: Fri Aug 14, 2015 8:56 pm
Re: Wall portals
Well then, if Eternity-style fixed-offset portals are working correctly, then it's time to go remake "Lunatic Fringe"...
- NeuralStunner
-
- Posts: 12326
- Joined: Tue Jul 21, 2009 12:04 pm
- Preferred Pronouns: He/Him
- Graphics Processor: nVidia with Vulkan support
- Location: capital N, capital S, no space
- Contact:
Re: Wall portals
A bit off-topic, but what kind of hassle would it be to move the FastProjectile's combined X/Y/Z movement into all missiles? I tend to make rockets move quite fast, and it's irritating to choose between proper Z movement and nicer features. It seems like FastProjectile hardly saves any processing these days, maybe it could even be "deprecated". (Or at the least, pack anything "extraneous" into an if block. The function duplication still seems pretty weird to me.)
I wonder if you'd even have to compat-flag such a thing. I can't think of any reason why you'd want the bizarre missile movement.
(I can make this a proper suggestion topic if you'd rather.)
I wonder if you'd even have to compat-flag such a thing. I can't think of any reason why you'd want the bizarre missile movement.
(I can make this a proper suggestion topic if you'd rather.)
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49073
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Wall portals
NeuralStunner wrote:A bit off-topic, but what kind of hassle would it be to move the FastProjectile's combined X/Y/Z movement into all missiles?
Break a lot of stuff.
Re: Wall portals
I haven't seen any documentation for [wiki]Line_SetPortalTarget[/wiki], which seems to be the function to use to redefine a portal at run-time. So I created it and I hope it's actually how it works.
I'm not sure what happens if you redefine a portal in a way which is incompatible with its original definition.
I'm not sure what happens if you redefine a portal in a way which is incompatible with its original definition.
- Shadow Hog
- Posts: 173
- Joined: Fri Aug 14, 2015 8:56 pm
Re: Wall portals
Speaking of the wiki, you think it's about time to change [wiki]Portal[/wiki] from a redirect to [wiki]Stacked sectors[/wiki] into a disambig page?
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49073
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Wall portals
You cannot redefine linked portals at all. For the other types, they get temporarily downgraded if the features don't mix.Gez wrote:I'm not sure what happens if you redefine a portal in a way which is incompatible with its original definition.
Re: Wall portals
How complete are the Eternity compatibility portals supposed to be? I've loaded Ogro Power Facility, with the following MAPINFO:
And the horizon effect, for example, isn't here:
Eternity:
GZDoom:
Code: Select all
map MAP01 "Ogro Power Facility"
{
translator = "xlat/eternity.txt"
next = "MAP02"
secretnext = "MAP02"
sky1 = "SKY1"
cluster = 5
par = 3000
music = "$MUSIC_RUNNIN"
}
Eternity:
GZDoom:
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49073
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Wall portals
The Eternity-style horizon portal is not implemented in ZDoom, and neither is the 'transfer portal to wall' effect and the plane portal.
These are strictly renderer side features, and outside my work area.
In GZDoom all this should work as intended. At least I got them implemented. No idea what's the problem now. Maybe they got disabled by some recent restructuring.
These are strictly renderer side features, and outside my work area.
In GZDoom all this should work as intended. At least I got them implemented. No idea what's the problem now. Maybe they got disabled by some recent restructuring.
Re: Wall portals
Shouldn't it be possible for xlat to translate that specific portal type to Line_Horizon?
Re: Wall portals
Not really, it's set up in a different way.
Static portals seem to freeze GZDoom. It eventually runs out of allocatable memory and crashes. Problem encountered with gzdoom-g2.2pre-797-g7134f53.7z from March 9 on devbuilds.
Static portals seem to freeze GZDoom. It eventually runs out of allocatable memory and crashes. Problem encountered with gzdoom-g2.2pre-797-g7134f53.7z from March 9 on devbuilds.
- Attachments
-
- staticportaltest.wad
- (5.73 KiB) Downloaded 59 times
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49073
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Wall portals
hfc2x wrote:Shouldn't it be possible for xlat to translate that specific portal type to Line_Horizon?
No. For the simple reason that it's not the same. The Eternity horizon line takes its data from a model sector, not just from the line's front side. And for that Ogro map it makes a major difference.
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49073
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Wall portals
Gez wrote:Not really, it's set up in a different way.
Static portals seem to freeze GZDoom. It eventually runs out of allocatable memory and crashes. Problem encountered with gzdoom-g2.2pre-797-g7134f53.7z from March 9 on devbuilds.
Serves you right for insisting on using one-sided lines for portals!
Outside of polyobjects that is absolutely discouraged.
- Major Cooke
- Posts: 8176
- Joined: Sun Jan 28, 2007 3:55 pm
- Preferred Pronouns: He/Him
- Location: QZDoom Maintenance Team
Re: Wall portals
That reminds me, they need a space behind the line, don't they? That is, portals built into walls that are meant to have nothing behind them? Just wanted to double check and update the wiki accordingly.
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49073
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Wall portals
Yes. There must be enough space behind to move into. Otherwise you can collide with stuff that occupies the space behind the portal.
- Major Cooke
- Posts: 8176
- Joined: Sun Jan 28, 2007 3:55 pm
- Preferred Pronouns: He/Him
- Location: QZDoom Maintenance Team
Re: Wall portals
Added that and a note that the line should be double sided sans polyobjects.