CSGO Game Mode Commands: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(complemented table, added 'map command optional parameter' column with explanation and added skirmish_id table)
m (Fixing double redirect. This action was performed by a bot.)
Tag: Redirect target changed
 
(15 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{back | Counter-Strike: Global Offensive Level Creation}}
#REDIRECT [[Counter-Strike: Global Offensive/Game Modes]]
 
Here is the table of official game modes and its console commands in [[Counter-Strike: Global Offensive]]. <br>
To launch a map with a desired game mode, you generally have to type the commands <code>game_type X</code> and <code>game_mode Y</code> into the console ''before loading'' a map by using the <code>[[Map (ConCommand)|map]] <mapname></code> console command, or ''before changing'' a map by using the <code>[[changelevel]] <mapname></code> console command.
 
{{tip|Set Launch Options can be used. (e.g: +game_type <number> +game_mode <number> +map <mapname>)}}
 
The easier way is to invoke <code>map</code> or <code>changelevel</code> followed by the map name and one of the optional gamemode parameters, for example <code>map de_dust2 deathmatch</code> or <code>changelevel myCustomMap coop</code>. Then, the game will adjust <code>game_type</code> and <code>game_mode</code> for you and launch the map. If you don't use the optional gamemode parameter, like <code>map de_dust2</code>, the game will use the last gamemode played or <code>casual</code>, in case the game has just been launched.
 
The Skirmish gamemode depends on the value of <code>sv_skirmish_id</code>, which is covered in the next table.
 
{| class="standard-table"
! Game Mode
! game_type
! game_mode
! map command optional parameter
|-
| Casual (default)
| 0
| 0
| <code>casual</code>
|-
| Competitive / Scrimmage
| 0
| 1
| <code>competitive</code>
|-
| Wingman
| 0
| 2
| <code>scrimcomp2v2</code>
|-
| Weapon Expert
| 0
| 3
| <code>scrimcomp5v5</code>
|-
| Arms Race
| 1
| 0
| <code>armsrace, gungameprogressive</code>
|-
| Demolition
| 1
| 1
| <code>demolition, gungametrbomb</code>
|-
| Deathmatch
| 1
| 2
| <code>deathmatch</code>
|-
| Custom
| 3
| 0
| <code>custom</code>
|-
| Training
| 3
| 2
| <code>training</code>
|-
| Guardian
| 4
| 0
| <code>guardian, cooperative</code>
|-
| Co-op Strike
| 4
| 1
| <code>coop, coopstrike, coopmission</code>
|-
| Skirmish
| 5
| 0
| <code>skirmish</code>
|-
| Danger Zone
| 6
| 0
| <code>survival</code>
|}
 
To play one of the following game modes, hit <code>sv_skirmish_id X</code> in the console, followed by <code>map <mapname> skirmish</code>. Any other ID will run a kind of undefined gamemode, which is almost identical to casual.
 
{| class="standard-table"
!Game Mode
!sv_skirmish_id
!explanation
|-
| Stab Stab Zap
| 1
| Only knives and recharging taser.
|-
| Flying Scoutsman
| 3
| Only [[Weapon_ssg08|scouts]] and knives, low gravity, high precision.
|-
| Trigger Discipline
| 4
| Missing shots damage yourself down to 1 HP.
|-
| Boom! Headshot!
| 6
| Bodyshots deal no damage.
|-
| Hunter-Gatherers (non-functional?)
| 7
| Team deathmatch with collecting dogtags.
|-
| Heavy Assault Suit (non-functional?)
| 8
| Heavy armor can be purchased for 6000 $.
|-
| Armsrace (non-functional?)
| 10
| Armsrace?
|-
| Demolition (non-functional?)
| 11
| Demolition?
|-
| Retakes {{warning | Game crashes if there is '''''exactly one''''' bomb site.}}
| 12
| 3 T's vs. 4 CT's, retake scenario.
|-
| Undefined
| other
| Like Casual, 5 min rounds, solid teammates.
|}
 
[[Category: Counter-Strike: Global Offensive]][[Category: Console Variables]]

Latest revision as of 14:48, 21 January 2024