Map switch
Quote from screedle on May 30, 2010, 1:04 pmplain and simple, I have looked all over the internet and cannot figure this out.
How do i get a map to change, like in the elevators in the main game?
plain and simple, I have looked all over the internet and cannot figure this out.
How do i get a map to change, like in the elevators in the main game?
Quote from HMW on May 30, 2010, 4:36 pmTo change to a different map, use trigger_changelevel. When you use this with an elevator, set the "Disable Touch" flag and send it a "ChangeLevel" signal when the elevator reaches the top.
Things to note:
- You must put a trigger_changelevel in the next map referring back to the previous one, even if the transition is one-way.
- Enclose the area where the elevator stops (in the map you're coming from) in a trigger_transition to prevent things from the previous map appearing in the next.
- Read the reference pages on both entities carefully so you know how to set everything up.
Valve's developer site contains a tutorial on creating the elevator itself.
Hope this helps; good luck with your map(s)!
To change to a different map, use trigger_changelevel. When you use this with an elevator, set the "Disable Touch" flag and send it a "ChangeLevel" signal when the elevator reaches the top.
Things to note:
- You must put a trigger_changelevel in the next map referring back to the previous one, even if the transition is one-way.
- Enclose the area where the elevator stops (in the map you're coming from) in a trigger_transition to prevent things from the previous map appearing in the next.
- Read the reference pages on both entities carefully so you know how to set everything up.
Valve's developer site contains a tutorial on creating the elevator itself.
Hope this helps; good luck with your map(s)!
Other Portal 2 maps: Medusa Glare
Portal 1 maps: Try Anything Twice | Manic Mechanic