info_transitioning_player

From Valve Developer Community
Jump to navigation Jump to search
Info.png
This entity is not in the FGD by default.
It should not be put directly in a map.
Class hierarchy
CTransitioningPlayer
CBaseCombatCharacter
CBaseFlex
CBaseAnimatingOverlay
CBaseAnimating
CBaseEntity

info_transitioning_player is a point entity available in Left 4 Dead series Left 4 Dead series. This entity will be used as a placeholder for players loading during map transition if the ConVar sb_transition is set to 0.

Icon-Bug.pngBug:In Left 4 Dead 2 Left 4 Dead 2 maps with the L4D1 survivor set ("survivor_set" "1"in the mission file), the game will crash with the model not precached error. This is because the entity is trying to use L4D2 survivor models  [todo tested in?]
Tip.pngIdea:If you want to use the sb_transition 0 ConVar this precache issue can be fixed by creating mapspawn_addon.nut and precaching the L4D2 survivors in there if it's needed. See L4D2 VScripts for more info about mapspawn_addon.nut. If using a mode file is an option then setting precache_all_survivors 1 ConVar there will do the trick too.
Icon-Bug.pngBug:This entity will remain for the whole chapter if the player it was replacing disconnects during loading. [confirm]   [todo tested in?]

ConVars

Cvar/CommandParameters or default valueDescriptorEffect
sb_transition1booleanIf true, survivor bots will be used as placeholders for survivors who are still changing levels

Example

The entity in action. The VScript precache fix was used here; otherwise, there would be a crash.

Info transitioning player.gif


See also