This article relates to the game "Left 4 Dead". Click here for more information.
This article relates to the game "Left 4 Dead 2". Click here for more information.

info_changelevel

From Valve Developer Community
Jump to: navigation, search
English (en)Translate (Translate)
Class hierarchy
InfoChangelevel
CBaseTrigger
CBaseToggle
CBaseEntity
Toolstrigger.gif

info_changelevel is a brush entity available in Left 4 Dead series 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 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>
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
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.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.
Tip.pngTip: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]

Icon-Bug.pngBug: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.pngNote:No usage in Left 4 Dead series Left 4 Dead series

Inputs

EnableDisable:

Enable / 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