Info changelevel: Difference between revisions
Jump to navigation
Jump to search


Risk of Confusion:This is trigger brush entity despite name of the this entity starting with
Important:prop_door_rotating_checkpoint leading to the saferoom with this trigger that is also properly marked with CHECKPOINT nav attributes must be present when this entity spawns for transition to be possible.
m (Add internal names of keyval keys) |
|||
(43 intermediate revisions by 10 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{LanguageBar}}{{L4D topicon}}{{L4D2 topicon}} | ||
__NOTOC__ | |||
{{Subpage|[[Level Transitions]]}} | |||
{{CD|InfoChangelevel}} | |||
{{this is a|brush entity|name=info_changelevel|series=Left 4 Dead|sprite=Toolstrigger.gif}} | |||
It safely changes the level in Left 4 Dead series, and defines the end-of-level safe room | It is the entity that marks a level change. | ||
{{ | It safely changes the level in Left 4 Dead series, and defines the end-of-level safe room. Place an {{ent|info_landmark}} with identical name in both maps that marks the ''same'' location in each map. | ||
{{ | {{Confusion|This is trigger brush entity despite name of the this entity starting with <code>info_</code> which is typical for point entities}} | ||
{{Important|{{ent|prop_door_rotating_checkpoint}} leading to the saferoom with this trigger that is also properly marked with CHECKPOINT nav attributes must be present when this entity spawns for transition to be possible.}} | |||
== | __NOTOC__ | ||
{{KV | == KeyValues == | ||
{{KV|New Map Name|intn=map|string|The filename of the next map (without ".bsp").}} | {{KV Targetname}} | ||
{{KV|Landmark Name|intn=landmark|target_destination|Changes of positions will take place on transition relative to this landmark.}} | {{KV|New Map Name|intn=map|string|The filename of the next map (without ".bsp"). | ||
:{{Warning|Setting this to current map’s name or leaving it empty will cause info_changelevel not to spawn.}}}} | |||
{{KV|Landmark Name|intn=landmark|target_destination|Changes of positions will take place on transition relative to this [[info_landmark|landmark]]. | |||
:{{Warning|Leaving this empty will cause info_changelevel not to spawn.}}}} | |||
:{{tip|If for whatever reason rotating the map by 180 degrees is needed info_landmark can be named "coldstream3_coldstream4" and then entities that transition will be rotated 180 degrees around the landmark.}} | |||
{{KV StartDisabled|nofgd=1}} | |||
== Flags == | == Flags == | ||
{{fl|2|<s>Disable Touch</s>}} | |||
:{{Bug|Using this flag will cause info_changelevel to not spawn at all. Use Enable/Disable inputs instead.|tested=l4d2}} | |||
{{fl|4|<s>To Previous Chapter</s>}} | |||
:{{note|No usage in {{l4ds|4}}}} | |||
== Inputs == | |||
{{I EnableDisable|nofgd=1|Enable/disable this entity from performing its task}} | |||
== Outputs == | == Outputs == | ||
{{ | {{O|<s>OnChangeLevel</s>|<s>Fired when the level changes.</s> | ||
:{{note|This output is in fgd but doesn't exist in-game.}}}} | |||
== See also == | |||
* [[Level Transitions]] | |||
* {{Ent|info_landmark}} | |||
* {{Ent|trigger_changelevel}} | |||
* {{Ent|trigger_transition}} | |||
* {{Ent|point_changelevel}} {{only|{{portal2}}}} | |||
* {{Ent|env_global}} |
Latest revision as of 02:22, 11 June 2025


![]() |
---|
InfoChangelevel |

info_changelevel
is a brush entity available in Left 4 Dead series.
It is the entity that marks a level change. It safely changes the level in Left 4 Dead series, and defines the end-of-level safe room. Place an info_landmark with identical name in both maps that marks the same location in each map.

info_
which is typical for point entities
KeyValues
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
- New Map Name (map) <string>
- The filename of the next map (without ".bsp").
Warning:Setting this to current map’s name or leaving it empty will cause info_changelevel not to spawn.
- Landmark Name (landmark) <targetname>
- Changes of positions will take place on transition relative to this landmark.
Warning:Leaving this empty will cause info_changelevel not to spawn.
Tip:If for whatever reason rotating the map by 180 degrees is needed info_landmark can be named "coldstream3_coldstream4" and then entities that transition will be rotated 180 degrees around the landmark.
Flags
Disable Touch: [2]Bug:Using this flag will cause info_changelevel to not spawn at all. Use Enable/Disable inputs instead. (tested in: l4d2)
To Previous Chapter: [4]Note:No usage in
Left 4 Dead series
Inputs
EnableDisable:
- Enable / Disable !FGD
- Enable/disable this entity from performing its task
Outputs
OnChangeLevelFired when the level changes.Note:This output is in fgd but doesn't exist in-game.