Graf Zahl wrote:Just one piece of advice: Don't hack around with portals! They are an anomaly in Doom physics and trying to stretch their boundaries may easily end up in catastrophic failure - like crashing or hanging the engine.
Don't you mean ... "or opening a gateway to Hell?"

This is DOOM we're talking about
But joking aside, I have already found that the line special cannot be turned off via script, so portals are clearly set during level startup. It's as if the destination area of the map is fudged to be mapped in where the real back side would be, possibly by a blockmap hack.
I have, however, found that using Line_SetPortalTarget to the same line itself clears the visual glitch of a tall strip of sky (or whatever); thus if the visible area (seen from outside the portal) of the target is irrelevant when the player is a long distance away or flying, it is possible to hide the fact that a portal is there. Is that hacky enough for you, or has Rachel done even worse?
Can any of the developers give me a better explanation of how they work, please?