Portal 2

Portal 2

61 ratings
P2 Hammer: Fixing Elevator Videos & Other Elevator Things
By Λvery
This guide will show you how to fix the elevator videos, as well as some other things regarding the elevators (Like getting them to play videos, and removing the "End Of Playtest" message in the departure elevators)
2
5
   
Award
Favorite
Favorited
Unfavorite
How do I fix the Elevator Videos?
Firstly, how to fix the elevator videos. This is quite a simple and permanent fix, to start, simply select the elevator logic instance (Not the base!) and edit it. Then you'll want to find a logic_relay with the name signs_on (it should be on the floor next to the logic_script entity). Open its properties and go to the Outputs tab. Here, you should see an output that goes like OnTrigger > video_script > RunScriptCode > StartDestructedArrivalVideo(23,2), you're going to want to edit this. Replace the parameter with StartVideo(ARRIVAL_VIDEO,23,2).

So it should look like OnTrigger > video_script > RunScriptCode > StartVideo(ARRIVAL_VIDEO,23,2)
Next, you'll want to add a new Output, OnTrigger > @arrival_video_master > Enable > 0.10 (0.10 is the Delay!)
The first logic_relay that you should edit for the Arrival Elevator

You'll want to do the same for the Departure Elevator instances too. It's mostly the same, except you'll want to change the Target Entity from @arrival_video_master to @departure_video_master, and you'll want to change StartVideo(ARRIVAL_VIDEO,23,2) to StartVideo(DEPARTURE_VIDEO,23,2). So the outputs should look like this:

OnTrigger > video_script > RunScriptCode> StartVideo(DEPARTURE_VIDEO,23,2)
OnTrigger > @departure_video_master > Enable (The departure version doesn't have a delay)
The second logic_relay that you should edit for the Departure Elevator

Now save and close the instance, and run the map. If the screens are pure white in-game, then congratulations! You now have working elevator screens. If they still look like they did before, then reread this section, and ensure that everything is spelled correctly.
A working set of elevator screens, currently displaying no video
How do I select an Elevator Video?
Secondly, how to enable elevator videos. Thankfully, this is a super easy step. First, here's a page on the VDC with the video names:
https://developer.valvesoftware.com/wiki/List_of_Portal_2_Movies

For this, I'll be using the video aperture_logo.bik
Next, you'll want to want to find your arrival_departure_transition_ents and open its properties. In the Replace Variable section, there should be two fields that say "$arrival_video" and "$departure_video". First, we'll select "$arrival_video" variable, and in the Value box below, you'll want to type media/[name of video] (Make sure media/ is at the start to ensure it will work!) For my video, I'll write media/aperture_logo (You don't need the .bik at the end)

For the departure video, you can use the same video or a different video, but the process is the same as the arrival video. Once you're done, feel free to compile the map and see your video in-game.
arrival_departure_transition_ents where you can select what video is displayed
The Elevator Screens displaying the video
How do I remove the "End of Playtest" message from the Elevators?
Thirdly, to remove the annoying "End of Playtest" message from your elevators, so you can place the trigger to end the level at any point in the elevator shaft. You'll want to go back and edit the Departure Elevator Logic instance, here you'll see several path_tracks going both up and down the shaft, open the properties of one and go to the Outputs tab, and you'll see an output the looks like OnPass > elevator_1_player_teleport > RunScriptCode > ReadyForTransition(). Simply delete this output (and on the others too). The last one will have a FailSafe output, OnPass > elevator_1_player_teleport > RunScriptCode > FailSafeTransition(), you can delete this output too.

This long orange line are the path_tracks that you'll want to edit and delete the outputs of

Alternatively, you can instead have a path_track trigger the level end. Here's an example: OnPass > @relay_pti_level_end > Trigger
This removes the need to place a trigger_once to call for the level end.

Now save the instance and compile your map and see if you still get that message. If not, then congrats, you can now end the level at any point. If you still do, then you might've missed a path_track
Conclusion
And there you go, not only do you now have perfectly working elevator screens, but you can now also select what video is played. And once making this simple edit, you will not have to do it ever again, unless you somehow replace the .VMF's with the originals, but also you won't have to pack these into the map for other people to see it. It'll just work!

If you experience any issues with any of the three steps, just ask for help in the comments. For convenience, make sure to include what section you are on, what the issue is, and what you are trying to do. I, or someone else, can then do our best to help you!
12 Comments
Wizzator May 28, 2024 @ 1:55am 
Wait, I have a question
How do you make it so that you do not automaticallly start with a portal gun?
Wizzator Feb 14, 2024 @ 4:03am 
Thank you for this very helpful guide! I used it to fix those problems in my "Companion" series of testchambers. :steamhappy:
NebbyOtt Jan 19, 2024 @ 5:01pm 
So this amazingly worked... mostly. The videos are playing but they're strangely stretched out, any way to fix this?
The Awesome Gamer64 {2025} Jul 7, 2023 @ 9:31am 
999/10:p2turret::p2wheatley:
Sheepy Apr 9, 2023 @ 7:01am 
how do i change the amount of screens that are used, like in some destroyed maps where you see a full video in 3 screens like in sp_a1_intro3 the one where you get the blue portal gun, you see the animal king video playing in three screens correctly.
Illudethis Nov 10, 2022 @ 8:58pm 
worked amazing, thanks!
EndOfPortal Nov 2, 2021 @ 3:55pm 
Thank you very much for your guide, this is the only one I found !
Nuclear Shill Oct 18, 2021 @ 9:59am 
Cool guide.
WoodenChair76 May 26, 2021 @ 12:45pm 
this should have way more than 0 likes
GracefullGirl May 16, 2021 @ 6:22pm 
!!?!?!??!?!?!