Info changelevel: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(-trig texture)
Line 8: Line 8:
{{KV|Name|intn=targetname|target_source|Name of this landmark.}}
{{KV|Name|intn=targetname|target_source|Name of this landmark.}}
{{KV|New Map Name|intn=map|string|The filename of the next map (without ".bsp").
{{KV|New Map Name|intn=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.}}}}
:{{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 landmark.}}
{{KV|Landmark Name|intn=landmark|target_destination|Changes of positions will take place on transition relative to this landmark.
:{{Warning|Leaving this empty will cause info_changelevel not to spawn.}}}}


== Flags ==
== Flags ==

Revision as of 04:26, 21 June 2024

English (en)Translate (Translate)
Toolstrigger.gif

{{{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. 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.

Warning.pngRisk of Confusion:This is trigger brush entity despite name of the this entity starting with info_ which is typical for point entities

KeyValues

Name (targetname) <string>
Name of this landmark.
New Map Name (map) <string>
The filename of the next map (without ".bsp").
Warning.pngWarning: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.pngWarning:Leaving this empty will cause info_changelevel not to spawn.

Flags

Disable Touch
Icon-Bug.pngBug:Using this flag will cause info_changelevel to not spawn at all. Use Enable/Disable inputs instead.  [todo tested in ?]
 : [2]
To Previous Chapter : [4]
Note.pngNote:No usage in Left 4 Dead seriesLeft 4 Dead series Left 4 Dead series

Inputs

Enable  !FGD
Disable  !FGD
Enable/disable this entity from performing its task

Outputs

OnChangeLevel
Fired when the level changes.
Note.pngNote:This output is in fgd but doesn't exist in-game.

See also