Info transitioning player

From Valve Developer Community
Revision as of 19:14, 22 August 2023 by Nescius (talk | contribs) (-info_transitioning_player)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Icon-NotInFGD.png
This entity is not in the FGD by default.
It should not be put directly in a map.
C++ Class hierarchy
CTransitioningPlayer
CBaseCombatCharacter
CBaseFlex
CBaseAnimatingOverlay
CBaseAnimating
CBaseEntity

Template:Entity This entity will be used as placeholder for players loading during map transition if cvar sb_transition is set to 0.

Icon-Bug.pngBug:In maps with L4D1 survivor set game will crash with model not precached error. This is because the entity is trying to use L4D2 survivor models  [todo tested in ?]
Tip.pngIdea:In Left 4 Dead 2 Left 4 Dead 2 if you want to use sb_transition 0 cvar this precache issue can be fixed by creating mapspawn_addon.nut and precaching the l4d2 survivors if it's needed. See L4D2_Vscripts for more info about mapspawn_addon.nut

Convars

Cvar/Command Parameters or default value Descriptor Effect
sb_transition 1 boolean If true, survivor bots will be used as placeholders for survivors who are still changing levels

See Also