I have a GZDoom UDMF map idea that involves changing line portals at runtime via scripting, to have a 3D floor elevator move up and down in a shaft and appear to move between floors--a script will swap out the portal targets depending on the elevator's height to simulate room-over-room. I'm demoing out some stuff and running into problems.
I've attached a demo WAD (IWAD is Doom2 and I'm using GZDoom 4.10.0). When you spawn in, press the switch to activate the portal and the 3d floor elevator and shaft will appear in front of you. The problem I'm encountering is the north portal (red markers in screenshot) is often blocking, but it shouldn't be. You can test this by shooting at it with a plasma gun, and comparing to the other 3 portals which seem to work fine. You can also drop down into the hole and hug the portals, and the north one catches you for some reason. For my idea to work, you have to freely pass.
There are probably some caveats regarding line portals that I'm not aware of. Any ideas what's wrong here?
Question
aRottenKomquat
I have a GZDoom UDMF map idea that involves changing line portals at runtime via scripting, to have a 3D floor elevator move up and down in a shaft and appear to move between floors--a script will swap out the portal targets depending on the elevator's height to simulate room-over-room. I'm demoing out some stuff and running into problems.
I've attached a demo WAD (IWAD is Doom2 and I'm using GZDoom 4.10.0). When you spawn in, press the switch to activate the portal and the 3d floor elevator and shaft will appear in front of you. The problem I'm encountering is the north portal (red markers in screenshot) is often blocking, but it shouldn't be. You can test this by shooting at it with a plasma gun, and comparing to the other 3 portals which seem to work fine. You can also drop down into the hole and hug the portals, and the north one catches you for some reason. For my idea to work, you have to freely pass.
There are probably some caveats regarding line portals that I'm not aware of. Any ideas what's wrong here?
conduit_test.zip
Share this post
Link to post
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.