Info gamemode: Difference between revisions
Jump to navigation
Jump to search
ThaiGrocer (talk | contribs) |
ThaiGrocer (talk | contribs) mNo edit summary |
||
Line 4: | Line 4: | ||
== Entity description == | == Entity description == | ||
[[Image:{{PAGENAME}}.png|left]] | [[Image:{{PAGENAME}}.png|left]] | ||
When a map is loaded, this entity can fire outputs depending on the current game mode. | 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 == | == Keyvalues == | ||
Line 39: | Line 43: | ||
* [[Left 4 Dead Level Creation]] | * [[Left 4 Dead Level Creation]] | ||
* [[Left 4 Dead 2 Level Creation]] | * [[Left 4 Dead 2 Level Creation]] | ||
* [[L4D Level Design/Versus Maps]] | |||
* [[L4D2 Level Design]] | |||
* [[L4D2 Level Design/Multi-Gamemode Support]] | |||
* [[L4D2 Level Design/VMF Instances]] | |||
* [[L4D2 Level Design/Scavenge Maps]] | |||
* [[Survival Gametype (L4D)]] | * [[Survival Gametype (L4D)]] | ||
[[Category:Left 4 Dead Entities]] | [[Category:Left 4 Dead Entities]] | ||
[[Category:Left 4 Dead 2 Entities]] | [[Category:Left 4 Dead 2 Entities]] |
Revision as of 08:54, 16 July 2010
Template:L4d point
Template:L4d2 point
Entity description
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
ortarget
).
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.
- Fired when the map spawns in scavenge mode.
- Fired after all entity IO generated by OnCoop has finished.
- Fired after all entity IO generated by OnVersus has finished
- Fired after all entity IO generated by OnSurvival has finished
- Fired after all entity IO generated by OnScavenge has finished
- Fired on the first map load of a scavenge match. Doesn't fire on round restarts.
- Fired when the map is loaded with -navanalyze on the command line.