Talk:Level Transition (Portal 2)

From Valve Developer Community
Jump to: navigation, search

Ok I started a page sort of, but the way it came out was horrible, bear with me and try to help me out as I edit this --Persianstoner 22:50, 21 May 2011 (UTC) EDIT: I made it a little better but can anyone verify and/or touch it up? I don't want people messing up their games. --Persianstoner 22:58, 21 May 2011 (UTC)

This is awesome information, but it's not going to be distributable... you can't send your maps to someone else this way. (What you're doing is modifying the game's script, adding maps past the end of the game.) Hopefully there is another way... Zompist 00:43, 22 May 2011 (UTC)
Can BSPzip content overwrite the level transition script? KMeistHax 03:32, 22 May 2011 (UTC)
I hope not, that would break people's game. I notice however that arrival_departure_transition_ents.vmf contains a logic_script that names a script file; perhaps a custom mapset could have its own. Zompist 04:54, 22 May 2011 (UTC)
OK, I modified Persianstoner's solution so a separate script is used. This requires making a personal copy of the arrival_departure_transition_ents.vmf instance. There may well be a better way; perhaps this will spur someone to find it. Zompist 09:56, 24 May 2011 (UTC)

Coop

For what it's worth, the equivalent coop file is debug_scripts/mp_coop_transition_list.nut. This script is referenced in a logic_script in coop_spawn_room.vmf. I tried creating a private copy of the transition list and calling it from a similar local version of the spawn room; it called the private copy fine, but I couldn't get the coop to change to the next map. I suspect this is a dead end as these files really belong to the game itself. Zompist 11:03, 23 May 2011 (UTC)

OK, I figured out how to do this, without overwriting the Portal 2 file. It involves creating a copy of the endlevel room, not the spawn room. Zompist 08:16, 24 May 2011 (UTC)

PhasmidTutorials has the right idea

I don't want to put it here, because he's specifically said you wouldn't find it on VDC, but it's much easier. To get the loading screens, just make sure the map starts with sp_a and then the number of the chapter with the loading screen you want. --Anotheruser67 02:12, 10 March 2012 (PST) Using a point_servercommand or a point_changelevel isn't copyrighted. --ArmageddonSnipe 15:43, 10 July 2012 (PDT)

Not teleported

I've set up all the things in the tutorial, but when i'm supposed to be teleported in the elevator, i'm not, so I keep spawning in the little box within the modified transition instance. Any hints?