Info transitioning player: Difference between revisions
Jump to navigation
Jump to search
Bug:In
Left 4 Dead 2 maps with the L4D1 survivor set (
Idea:If you want to use the
No edit summary |
GamerDude27 (talk | contribs) m (Minor cleanup) |
||
| Line 1: | Line 1: | ||
{{ent not in fgd|nolink=1}} | {{ent not in fgd|nolink=1}} | ||
{{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 | {{entity|type=e0|info_transitioning_player|series=Left 4 Dead}} This entity will be used as a placeholder for players loading during map transition if the [[ConVar]] <code>sb_transition</code> is set to <code>0</code>. | ||
{{bug|In {{l4d2|4}} | {{bug|In {{l4d2|4}} maps with the L4D1 survivor set (<code>"survivor_set" "1"</code>in the [[L4D2 Mission Files|mission file]]), the game will crash with the model not precached error. This is because the entity is trying to use L4D2 survivor models}} | ||
{{idea|If you want to use <code>sb_transition 0</code> | {{idea|If you want to use the <code>sb_transition 0</code> 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'''}} | ||
== | == ConVars == | ||
{{varcom|start}} | {{varcom|start}} | ||
{{varcom|sb_transition|1|boolean|If true, survivor bots will be used as placeholders for survivors who are still changing levels}} | {{varcom|sb_transition|1|boolean|If true, survivor bots will be used as placeholders for survivors who are still changing levels}} | ||
| Line 11: | Line 11: | ||
== Example == | == Example == | ||
The entity in action. VScript precache fix was used here otherwise | The entity in action. The VScript precache fix was used here; otherwise, there would be a crash. | ||
[[File:Info transitioning player.gif|none|center]] | [[File:Info transitioning player.gif|none|center]] | ||
Revision as of 20:09, 22 August 2023
| CTransitioningPlayer |
Template:Entity This entity will be used as a placeholder for players loading during map transition if the ConVar sb_transition is set to 0.
"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 ?]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.nutConVars
| 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. The VScript precache fix was used here; otherwise, there would be a crash.
