[solved] Linking one world portal to multiple
I'm a new hammer user and just getting into mapping. I'm making my first map in hammer right now and messing with world portals. What I want to do is this:
There's a start room with a world portal that has the potential to link to four other world portals (rooms with puzzles that interconnect with each other). I would like one button to be next to the main world portal and on press, it links to Room A. On next press, it links to Room B and so forth until it loops back to Room A.
If that's not possible, then I would like four different buttons that on press, will link the main world portal to the corresponding world portal of the button I press. Hopefully this makes sense.
I tried to do the second one because the first one seemed very complicated for how new I am, but I came across a problem where I have no idea how to unlink two world portals and then link two other ones.
Thanks for any help.
to change a linked partner you have to use some logic
the linked_portal_door entity has the SetPartner input which you can use to change its partner
to do the changing effect you could do a number of things.. math counters, logic branches, scripts, or just regular logic relays would do the trick
this is when you you should try to learn about how these logic entities work, and how you can accomplish you goal with what you have...logic
BenVlodgi wrote:
yes this is possible.... quite easily to me... but I understand you are new
to change a linked partner you have to use some logic
the linked_portal_door entity has the SetPartner input which you can use to change its partner
to do the changing effect you could do a number of things.. math counters, logic branches, scripts, or just regular logic relays would do the trick
this is when you you should try to learn about how these logic entities work, and how you can accomplish you goal with what you have...logic
Thanks for your help! Just one question, since my map wasn't updating on compiles last night so I couldn't get to test it. Before I start working on logic relays, last night I had the idea of using "FireUser1-4" to change the setpartner (honestly not sure what it even does, was just an idea). Like I said, the map wasn't updating so I couldn't get around to testing it. Is this a valid way of setting this up or do I need to use logic relays to accomplish what I want?
I went the route of using four buttons, one for each world portal. It's stuck on a link from the main room portal (start_door) to my second room (door_b). Yesterday it did the same thing with door_d and those were the last world portal entities I created on each map version. No matter what, I can't seem to unlink these two world portals, even on map spawn when I didn't tell them to be linked to begin with.
Here are the input/outputs for both doors. I know I am doing something completely wrong, so just let me know what it is.
reasons you map wasn't updating:
you renamed the file
you loaded an old file
you were reloading from an autosave
your compiles were failing
Lpfreaky90 wrote:
I think you need to disable the portals first, then change the partner and then enable 'em again?
Yeah, do what this guy said, those portals aren't updated if they are open, you have to close them first
FelipeRRM wrote:
Lpfreaky90 wrote:I think you need to disable the portals first, then change the partner and then enable 'em again?
Yeah, do what this guy said, those portals aren't updated if they are open, you have to close them first
LPFreaky is a girl 
BenVlodgi wrote:
FelipeRRM wrote:Lpfreaky90 wrote:
I think you need to disable the portals first, then change the partner and then enable 'em again?
Yeah, do what this guy said, those portals aren't updated if they are open, you have to close them first
LPFreaky is a girl
A girl who likes portal 2, and know how to map for it?
Marry me?