Info gamemode: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 44: Line 44:
* [[L4D2 Level Design/Scavenge Maps]]
* [[L4D2 Level Design/Scavenge Maps]]
* [[Survival Gametype (L4D)]]
* [[Survival Gametype (L4D)]]
 
== External links ==
[[Category:Left 4 Dead Entities]]
[[Category:Left 4 Dead 2 Entities]]

Revision as of 18:50, 6 March 2011

Template:L4d series point

Entity description

Info gamemode.jpg

When a map is loaded, this entity can fire outputs depending on the current game mode. This allows the all game modes to be available in a single map instead of having separate maps for each game mode.

Keyvalues

Name (targetname) <string>[ Edit ]
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

Pitch Yaw Roll (Y Z X) (angles) <QAngle>
This entity's orientation in the world. Pitch is rotation around the Y axis, yaw is the rotation around the Z axis, roll is the rotation around the X axis.

Inputs

Outputs

  • OnCoop
Fired when the map spawns in coop games.
  • OnVersus
Fired when the map spawns in versus games.
  • OnSurvival
Fired when the map spawns in survival games.
  • Left 4 Dead 2 OnScavenge
Fired when the map spawns in scavenge mode.
  • Left 4 Dead 2 OnCoopPostIO
Fired after all entity IO generated by OnCoop has finished.
  • Left 4 Dead 2 OnVersusPostIO
Fired after all entity IO generated by OnVersus has finished
  • Left 4 Dead 2 OnSurvivalPostIO
Fired after all entity IO generated by OnSurvival has finished
  • Left 4 Dead 2 OnScavengePostIO
Fired after all entity IO generated by OnScavenge has finished
  • Left 4 Dead 2 OnScavengeMatchStart
Fired on the first map load of a scavenge match. Doesn't fire on round restarts.
  • Left 4 Dead 2 OnNavAnalyze
Fired when the map is loaded with -navanalyze on the command line.

See also

External links