Info transitioning player: Difference between revisions
Jump to navigation
Jump to search
Bug:In
Left 4 Dead 2 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 ?]
Idea:If you want to use
(-gif example) |
No edit summary |
||
Line 2: | Line 2: | ||
{{CD|CTransitioningPlayer}} | {{CD|CTransitioningPlayer}} | ||
{{entity|type=e0|info_transitioning_player|series=Left 4 Dead}} This entity will be used as placeholder for players loading during map transition if cvar <code>sb_transition</code> is set to 0. | {{entity|type=e0|info_transitioning_player|series=Left 4 Dead}} This entity will be used as placeholder for players loading during map transition if cvar <code>sb_transition</code> is set to 0. | ||
{{bug|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}} | {{bug|In {{l4d2|4}} 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}} | ||
{{idea| | {{idea|If you want to use <code>sb_transition 0</code> cvar this precache issue can be fixed by creating <code>mapspawn_addon.nut</code> and precaching the l4d2 survivors if it's needed. See [[L4D2_Vscripts]] for more info about <code>mapspawn_addon.nut</code>}} | ||
== Convars == | == Convars == |
Revision as of 19:23, 22 August 2023
![]() |
---|
CTransitioningPlayer |
Template:Entity This entity will be used as placeholder for players loading during map transition if cvar sb_transition
is set to 0.



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 |
Example
The entity in action. VScript precache fix was used here otherwise it would be a crash.