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

m (Changed to say the entity is in both games as L4D has the entity also.) |
Kestrelguy (talk | contribs) m (updated language bar. also some formatting.) |
||
Line 1: | Line 1: | ||
{{ | {{lang|Info gamemode}} | ||
| | |||
}} | |||
{{l4d series point|info_gamemode|sprite=1}} 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. {{clr}} | {{l4d series point|info_gamemode|sprite=1}} 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. {{clr}} | ||
== Keyvalues == | == Keyvalues == | ||
{{KV | {{KV BaseEntity|l4d2=1}} | ||
== Inputs == | == Inputs == | ||
{{I | {{I BaseEntity|l4d2=1}} | ||
== Outputs == | == Outputs == | ||
Line 16: | Line 12: | ||
{{IO|OnVersus|Fired when the map spawns in versus games.}} | {{IO|OnVersus|Fired when the map spawns in versus games.}} | ||
{{IO|OnSurvival|Fired when the map spawns in survival games.}} | {{IO|OnSurvival|Fired when the map spawns in survival games.}} | ||
{{IO|OnScavenge|Fired when the map spawns in scavenge mode.| | {{IO|OnScavenge|Fired when the map spawns in scavenge mode.|in=L4D2}} | ||
{{IO|OnCoopPostIO|Fired after all entity IO generated by <code>OnCoop</code> has finished.|since=L4D2}} | {{IO|OnCoopPostIO|Fired after all entity IO generated by <code>OnCoop</code> has finished.|since=L4D2}} | ||
{{IO|OnVersusPostIO|Fired after all entity IO generated by <code>OnVersus</code> has finished|since=L4D2}} | {{IO|OnVersusPostIO|Fired after all entity IO generated by <code>OnVersus</code> has finished|since=L4D2}} | ||
Line 23: | Line 19: | ||
{{IO|OnScavengeMatchStart|Fired on the first map load of a scavenge match. Doesn't fire on round restarts.|since=L4D2}} | {{IO|OnScavengeMatchStart|Fired on the first map load of a scavenge match. Doesn't fire on round restarts.|since=L4D2}} | ||
{{IO|OnNavAnalyze|Fired when the map is loaded with -navanalyze on the command line.|since=L4D2}} | {{IO|OnNavAnalyze|Fired when the map is loaded with -navanalyze on the command line.|since=L4D2}} | ||
{{O | {{O BaseEntity|l4d=1}} | ||
== See | == See Also == | ||
* [[Left 4 Dead Level Creation]] | * [[Left 4 Dead Level Creation]] | ||
* [[Left 4 Dead 2 Level Creation]] | * [[Left 4 Dead 2 Level Creation]] |
Revision as of 10:04, 30 April 2022


Template:L4d series point 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
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.
- OnScavenge
- Fired when the map spawns in scavenge mode.
- OnCoopPostIO (in all games since
)
- Fired after all entity IO generated by
OnCoop
has finished.
- OnVersusPostIO (in all games since
)
- Fired after all entity IO generated by
OnVersus
has finished
- OnSurvivalPostIO (in all games since
)
- Fired after all entity IO generated by
OnSurvival
has finished
- OnScavengePostIO (in all games since
)
- Fired after all entity IO generated by
OnScavenge
has finished
- OnScavengeMatchStart (in all games since
)
- Fired on the first map load of a scavenge match. Doesn't fire on round restarts.
- OnNavAnalyze (in all games since
)
- Fired when the map is loaded with -navanalyze on the command line.