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

No edit summary |
(→Flags: pointless) |
||
Line 11: | Line 11: | ||
== Flags == | == Flags == | ||
{{fl|2|Disable Touch | {{fl|2|{{Strikethrough|Disable Touch}} | ||
: {{Bug|Using this flag will cause info_changelevel to not spawn at all. Use Enable/Disable inputs instead.}}}} | : {{Bug|Using this flag will cause info_changelevel to not spawn at all. Use Enable/Disable inputs instead.}}}} | ||
{{fl|4|To Previous Chapter}} | {{fl|4|{{Strikethrough|To Previous Chapter}}}} | ||
: {{note|No usage in {{l4ds|4}}}} | |||
== Inputs == | == Inputs == |
Revision as of 08:52, 27 December 2023


{{{entity}}} 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. It is unusual as it is a brush entity, where info_* entities are typically point entities. Place an info_landmark in both maps that marks the same location in each map. In Hammer, info_changelevel
will be listed in entity class selection menu when tied to a brush as an entity.
KeyValues
- Name (targetname) <string>
- Name of this landmark.
- New Map Name (map) <string>
- The filename of the next map (without ".bsp").
Warning:Setting this to current map’s name or not setting it will cause info_changelevel not to spawn.
- Landmark Name (landmark) <targetname>
- Changes of positions will take place on transition relative to this landmark.
Flags
Disable Touch- : [2]
Bug:Using this flag will cause info_changelevel to not spawn at all. Use Enable/Disable inputs instead. [todo tested in ?]
To Previous Chapter: [4]Note:No usage in
Left 4 Dead series
Inputs
- Enable !FGD
- 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.