CSGO Game Mode Commands: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Added base gamemode column. The named modes are not broken.)
m (Fixing double redirect. This action was performed by a bot.)
Tag: Redirect target changed
 
(11 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]].
 
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.
 
{{note | This information is taken from <code>csgo/gamemodes.txt</code>.}}
 
{| 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>
|-
| [[Creating_a_Wingman_Map|Wingman]]
| 0
| 2
| <code>scrimcomp2v2</code>
|-
| Weapon Expert
| 0
| 3
| <code>scrimcomp5v5</code>
|-
| [[Creating_a_Arsenal:_Arms_Race_Map|Arms Race]]
| 1
| 0
| <code>armsrace, gungameprogressive</code>
|-
| [[Creating_a_Arsenal:_Demolition_Map|Demolition]]
| 1
| 1
| <code>demolition, gungametrbomb</code>
|-
| Deathmatch
| 1
| 2
| <code>deathmatch</code>
|-
| Training
| 2
| 0
| <code>training</code>
|-
| [[CSGO_Custom_Game_Mode|Custom]]
| 3
| 0
| <code>custom</code>
|-
| [[Creating_a_Guardian_Scenario_Map|Guardian]]
| 4
| 0
| <code>guardian, cooperative</code>
|-
| [[Creating_a_Co-op_Strike_Map|Co-op Strike]]
| 4
| 1
| <code>coop, coopstrike, coopmission</code>
|-
| Skirmish
| 5
| 0
| <code>skirmish</code>
|-
| [[Creating_a_Danger_Zone_Map|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 and launch your map with the base gamemode. <br>
For example: To launch ''Stab Stab Zap'' on <code>de_dust2</code>, enter <code>sv_skirmish_id 1</code>, <code>game_type 0</code>, <code>game_mode 0</code> and <code>map de_dust2</code>, or the shorter alternative <code>sv_skirmish_id 1</code> and <code>map de_dust2 casual</code>. <br>
Using skirmish IDs that are not on this table will not load any .cfg files, resulting in the base gamemode. Using a different base gamemode is possible, but probably not intended.
 
{{note | The corresponding .cfg files can be found at <code>csgo/cfg/</code>}}
 
{| class="standard-table"
!Game Mode
!sv_skirmish_id
!base gamemode
!description
|-
| Stab Stab Zap
| 1
| Casual
| Only knives and recharging taser.
|-
| Flying Scoutsman
| 3
| Casual
| Only [[Weapon_ssg08|scouts]] and knives, low gravity, high precision.
|-
| Trigger Discipline
| 4
| Casual
| Missing shots damage yourself down to 1 HP.
|-
| Boom! Headshot!
| 6
| Deathmatch
| Bodyshots deal no damage.
|-
| Hunter-Gatherers
| 7
| Deathmatch
| Team deathmatch with collecting dogtags.
|-
| Heavy Assault Suit
| 8
| Casual
| Heavy armor can be purchased for 6000 $. {{bug | The item is not in the buy menu. Use <code>buy heavyarmor</code> '''''while not holding a rifle'''''.}}
|-
| Arms Race
| 10
| Arms Race
| Equivalent to Arms Race.
|-
| Demolition
| 11
| Demolition
| Equivalent to Demolition.
|-
| [[CSGO_Game_Mode_-_Retakes|Retakes]]
| 12
| Casual
| 3 T's vs. 4 CT's, retake scenario. {{warning | Game crashes if the map has '''''exactly one''''' bomb site and no adjustments for the gamemode.}}
|}
 
[[Category: Counter-Strike: Global Offensive]][[Category: Console Variables]]

Latest revision as of 14:48, 21 January 2024