Arrival departure transition ents.vmf (Portal 2)

From Valve Developer Community
Jump to: navigation, search

Contains some of the basic entities needed to ensure smooth transitions between levels. Also contains the instances transition_entry.vmf and transition_exit.vmf, whose relevant content will be listed here as well. It is typically found in: C:\Program Files\Steam\steamapps\common\portal 2\sdk_content\maps\instances\

These entities are handled by the "sp_transition_list.nut" VScript triggered in transition_entry.vmf.

For more information on transitions, see Level Transition (Portal 2).

func_instance_info_parms

Variable Value Type Default
$arrival_video string media/entry_emergency.bik
$departure_video string media/exit_emergency.bik

Notable Entities

Entity Targetname
env_fade exit_fade
game_text @chapter_subtitle_text
game_text @chapter_title_text
game_text @end_of_playtest_text
logic_relay @debug_change_to_next_map
logic_relay @debug_dump_map_bat_file
logic_relay @display_chapter_title
logic_relay @transition_from_map
logic_script @transition_script
point_changelevel @changelevel
point_clientcommand @command
trigger_transition @transition_script
vgui_movie_display @arrival_video_master
vgui_movie_display @departure_video_master
logic_script
Targetname Entity Scripts Script Think Function
@transition_script sp_transition_list.nut Think

transition_entry.vmf

Entity Targetname
info_landmark_entry
info_player_start
trigger_once

transition_exit.vmf

Entity Targetname
info_landmark_exit
point_teleport @exit_teleport
trigger_once transition_trigger