CSGO Game Mode Commands: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(named source, added links and did small adjustments)
m (Fixing double redirect. This action was performed by a bot.)
Tag: Redirect target changed
 
(14 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.
 
The Skirmish gamemode depends on the value of <code>sv_skirmish_id</code>, which is covered in the second table.
 
{{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>
|-
| [[CSGO_Custom_Game_Mode|Custom]]
| 3
| 0
| <code>custom</code>
|-
| Training
| 3
| 2
| <code>training</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, followed by <code>map <mapname> skirmish</code>. Any other ID will result in a kind of undefined gamemode, which is almost identical to casual. Some of these gamemodes however don't load properly, either because this is not the way to load them or because they are no longer supported.
 
{| class="standard-table"
!Game Mode
!sv_skirmish_id
!description
|-
| 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 (broken?)
| 7
| Team deathmatch with collecting dogtags. <br> However, with the above loading method, this mode behaves like Undefined.
|-
| Heavy Assault Suit (broken?)
| 8
| Heavy armor can be purchased for 6000 $. <br> However, with the above loading method, this mode behaves like Undefined.
|-
| Arms Race (broken?)
| 10
| With the above loading method, this mode behaves like Undefined.
|-
| Demolition (broken?)
| 11
| With the above loading method, this mode behaves like Undefined.
|-
| [[CSGO_Game_Mode_-_Retakes|Retakes]]
| 12
| 3 T's vs. 4 CT's, retake scenario. {{warning | Game crashes if the map has '''''exactly one''''' bomb site.}}
|-
| 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