Map ending Instances
Quote from Interitus on May 20, 2011, 10:32 pmI'm trying to end my map, using instances. I've got a button "floor_button_black_intact", a door "portal_exit_door_black_dirty" and then the exit room "coop_endlevel_room"
The door and button should be pretty simple... named it ExitButton1, put in an output, and it autofilled the output and via this input fields. With: output named "instance:button;OnPressed" target entity ExitDoor1 (door instance) via this input "instance:@exit_door;open". I stand on the button or drop a cube on it, and nothing happens. I'm pretty close to the door, 5-6ft, and activate noclip, the door opens to solid black. I fly inside the exit room and the other side of the door has that hall of mirrors rendering effect.. then I take a look at the console, and its flooded with about 15 or so "prop_portal_linked_door '@exit_door' failed to link to partner named: ''" wtf is going on here? Why would it open AFTER I cheat noclip? I do have a linked portal, but its been working for several versions and is called "worldportal1"
Then with the exit room, I'm not entirely sure what the variables are.
$LevelCompleteRelay - ?
$trigger_this_to_change_level - Change level earlier? its a coop endlevel, so it should trigger to change the level itself when both players are in their tubes right?
$DoorNameOutsideHallway - ?
$DoorNameInsideHallway - I need to have two doors? on the inside and outside?
I'm trying to end my map, using instances. I've got a button "floor_button_black_intact", a door "portal_exit_door_black_dirty" and then the exit room "coop_endlevel_room"
The door and button should be pretty simple... named it ExitButton1, put in an output, and it autofilled the output and via this input fields. With: output named "instance:button;OnPressed" target entity ExitDoor1 (door instance) via this input "instance:@exit_door;open". I stand on the button or drop a cube on it, and nothing happens. I'm pretty close to the door, 5-6ft, and activate noclip, the door opens to solid black. I fly inside the exit room and the other side of the door has that hall of mirrors rendering effect.. then I take a look at the console, and its flooded with about 15 or so "prop_portal_linked_door '@exit_door' failed to link to partner named: ''" wtf is going on here? Why would it open AFTER I cheat noclip? I do have a linked portal, but its been working for several versions and is called "worldportal1"
Then with the exit room, I'm not entirely sure what the variables are.
$LevelCompleteRelay - ?
$trigger_this_to_change_level - Change level earlier? its a coop endlevel, so it should trigger to change the level itself when both players are in their tubes right?
$DoorNameOutsideHallway - ?
$DoorNameInsideHallway - I need to have two doors? on the inside and outside?
Quote from msleeper on May 20, 2011, 11:06 pmThe instance you are using has built in areaportals. These are useful but not totally necessary, and I wish I could answer how to use the areaportal doors but I haven't tested them much myself.
Check out the elevator example in my signature, I have a basic button + door using instances. It doesn't use areaportals though.
The instance you are using has built in areaportals. These are useful but not totally necessary, and I wish I could answer how to use the areaportal doors but I haven't tested them much myself.
Check out the elevator example in my signature, I have a basic button + door using instances. It doesn't use areaportals though.
Please do not Private Message me for assistance. Post a thread if you have questions or concerns.
If you need to contact the staff privately, contact the Global Moderators via Discord.
Quote from Interitus on May 21, 2011, 1:13 amHm ok yeah not totally sure on exactly what is in your map for the doorways there... I ended up using a door_entities/door_ents_noareaportal.vmf and a /portal_door_frame_black_dirty.vmf . But I had to modify the door frame, cause it had some walls with toolsblack on it, and so I couldnt get thru the door. Dunno what use that would be, but I've got it working. Tho I did also have to make a change to the output that got auto-filled. It tried to put "instance:door_open_relay;Trigger" as the via this input, but that didnt work. I changed it to Target entities named ExitDoor1-door_open_relay via input : Trigger And that got it working.
Gonna start a 2nd map, and then I can see if I can get the end room to get me to the new map.
Hm ok yeah not totally sure on exactly what is in your map for the doorways there... I ended up using a door_entities/door_ents_noareaportal.vmf and a /portal_door_frame_black_dirty.vmf . But I had to modify the door frame, cause it had some walls with toolsblack on it, and so I couldnt get thru the door. Dunno what use that would be, but I've got it working. Tho I did also have to make a change to the output that got auto-filled. It tried to put "instance:door_open_relay;Trigger" as the via this input, but that didnt work. I changed it to Target entities named ExitDoor1-door_open_relay via input : Trigger And that got it working.
Gonna start a 2nd map, and then I can see if I can get the end room to get me to the new map.
Quote from ChickenMobile on May 25, 2011, 8:43 amInteritus wrote:Then with the exit room, I'm not entirely sure what the variables are.
$LevelCompleteRelay - ?
$trigger_this_to_change_level - Change level earlier? its a coop endlevel, so it should trigger to change the level itself when both players are in their tubes right?
$DoorNameOutsideHallway - ?
$DoorNameInsideHallway - I need to have two doors? on the inside and outside?$LevelCompleteRelay would be a custom relay you will make to change the level of your map (i.e. a relay that points to a point_servercommand that has inputs: "OnTrigger point_servercommand command "changelevel mp_coop_lobby_2"). It could also be used to execute other commands once the loading movie has appeared. Though I don't see anything else you can execute at the loading screen.
$trigger_this_to_change_level I think does nothing as I could not find this parameter in any entity within the coop end level instances. This could have been Valve's intention to create an easy way to change levels.
$DoorNameOutsideHallway in the example coop map 'doors' is transition_door_1. However there is no entity (in the instances or in the level) named that. I would ignore this value until we know more about it.
$DoorNameInsideHallway This would be your door that is before your exit (otherwise known as @exit_door).
$LevelCompleteRelay - ?
$trigger_this_to_change_level - Change level earlier? its a coop endlevel, so it should trigger to change the level itself when both players are in their tubes right?
$DoorNameOutsideHallway - ?
$DoorNameInsideHallway - I need to have two doors? on the inside and outside?
$LevelCompleteRelay would be a custom relay you will make to change the level of your map (i.e. a relay that points to a point_servercommand that has inputs: "OnTrigger point_servercommand command "changelevel mp_coop_lobby_2"). It could also be used to execute other commands once the loading movie has appeared. Though I don't see anything else you can execute at the loading screen.
$trigger_this_to_change_level I think does nothing as I could not find this parameter in any entity within the coop end level instances. This could have been Valve's intention to create an easy way to change levels.
$DoorNameOutsideHallway in the example coop map 'doors' is transition_door_1. However there is no entity (in the instances or in the level) named that. I would ignore this value until we know more about it.
$DoorNameInsideHallway This would be your door that is before your exit (otherwise known as @exit_door).
