Please or Register to create posts and topics.

logic relay and i/o proxy for my elevator set up

Page 1 of 2Next

I am new to Hammer and have been working on maps for the passed week or so and am now in the process of making my own elevator setup instance. as in arrival and departure elevators. I have placed prop linked portal doors at the end of the hallways and linked them together to make sure that instance runs as an individual map and it does. My next step is to unlink those doors and save the instance.

Now I need to be able to communicate with these doors once I load the instance into another map. Can anyone help me out on how this should be done. As in best practices. I have looked at tutorials and other things but I do not quite understand the exact process here.

I have seen some of the built in enstances use logic relays and i/0 proxy to communicate with the instance.

If my doors are named door_entrance and door_exit, how would you set this up?

What are you trying to do?
Change the name of the world portal door?
Trigger to open door?

Sorry I guess I forgot to mention that. I am trying to open the doors. Basically on my maps I will place another door prop link portal door and I want to link to the doors in the instance.

This is for the linking of the world portal doors:

Open your elevator vmf and put a
Func_instance_prams.
Name it $LinkedPartner
Then in your prop_linked_portal_door.
Set the parameter "Linked Partner" to $LinkedPartner

This is for opening the doors:
Make a func_instance_io_proxy
Make the output
OnProxyRelay1 - prop_linked_portal_door - Open
OnProxyRelay2 - prop_linked_portal_door - Close

Thanks for the help but this is really confusing me right now. I don't know if I didn't explain what I want clearly or if I just don't understand what you are telling me. But I will try and explain better just in case that is the problem.

I have created an instance which holds the arrival and departure elevators. a4 model and logic. at the end of the walkways I have added a linked portal door. So there is one which the players leaves through after arriving and one where the players enters right be before leaving the map.

I need to be able to add my instance to any map and link the first door to a door at the beginning of the puzzle section of the map. and the second door needs to be linked to a door at the ending of the puzzle section of the map.

I hope that is more clear. And if that is what your previous post is telling me to do. Then please give a little more detail. As I am very knew to all this.

Thank you

It's pretty much self explanatory in my last post.
You have a parameter that needs to be edited to fit your needs in each map.
And the parameter must be filled by a func_instance_prams, so it can be later changed when used as an instance.
If you want the door to open and close, you need the func_instance_io_proxy, which handles the outputs and inputs of the instance.
For more information about these entity visit the Valve Developer Community.
Hope this Helps.

Okay Thankyou for the help. My problem was figuring out how to link back the other way. As in, from map puzzle door to the instance door but I figured it out. instance_name-door_name

Thanks again for the help

The exit and entry in the same instance... why didn't valve think of that?!.. Oh wait, linked portals...

?????????????????????????????TWP Releases | My Workshop

hmmmmmm. sarcastic much

Did you know that if you name your doors "@entry_door" and "@Exit_door" the elevator instances form valve will open the entry door and close the exit door by themselves?

The Aperture Alpha
A map pack coming soon. - click for more information
Image
Page 1 of 2Next