Counter-Strike: Global Offensive/Game Modes/Arms Race: Difference between revisions
(Lang template, back button, icons. Section Game Mode Description. New section Weapon Progressions.) |
(Operation Riptide Update. Added new ConVars.) |
||
Line 14: | Line 14: | ||
Officially, this game mode plays as follows: | Officially, this game mode plays as follows: | ||
* The game is a single extended round with instant respawn. | * The game is a single extended round with instant respawn. | ||
* Players start with | * Players start with a weapon and progress to different weapons as they get kills. When a map loads, the game generates a random weapon progression, consisting of 2 sniper rifles, 3 rifles, 1 machine gun, 3 SMGs, 4 pistols, 2 shotguns and the [[weapon_knifegg|Golden Knife]], in this order. | ||
* Killing a player with the knife steals a progression | * Killing a player with the knife steals a progression: The killer progresses, the killed loses a progression (assuming he is not at the first weapon). | ||
* The leading player of a team is highlighted to other players and killing him grants an instant progression. | * The leading player of a team is highlighted to other players and killing him grants an instant progression. | ||
* The first player to get a kill with the golden knife wins the match. | * The first player to get a kill with the golden knife wins the match. | ||
Line 54: | Line 54: | ||
==Weapon Progressions== | ==Weapon Progressions== | ||
{| class=standard-table | {| class=standard-table | ||
! ConVar !! Default | ! ConVar !! Default !! Description | ||
|- | |- | ||
| <code>mp_ggprogressive_use_random_weapons</code> | | <code>mp_ggprogressive_use_random_weapons</code> | ||
| 1 | | 1 | ||
| | | | ||
*1: The game generates a random weapon progression, see [[#Game Mode Description|above]]. | |||
*0: The game uses a progression defined in <code>csgo/[[gamemodes.txt]]</code> or <code>csgo/gamemodes_server.txt</code>. | |||
|- | |- | ||
| <code>mp_ggprogressive_random_weapon_kills_needed</code> | | <code>mp_ggprogressive_random_weapon_kills_needed</code> | ||
| 2 | | 2 | ||
| If <code>mp_ggprogressive_use_random_weapons</code> is set to 1, this determines the number of kills that a [[player]] must make with a weapon to progress to the next (except for the Golden Knife, which requires one kill). | | If <code>mp_ggprogressive_use_random_weapons</code> is set to 1, this determines the number of kills that a [[player]] must make with a weapon to progress to the next (except for the Golden Knife, which requires one kill). | ||
|- | |||
| <code>sv_ggprogressive_autosniper_first</code> | |||
| 1 | |||
| | |||
*0: In random progressions, either the [[weapon_g3sg1|G3SG1]] or the [[weapon_scar20|Scar-20]] is the first weapon. | |||
*1: In random progressions, any sniper rifle is the first weapon. | |||
|- | |||
| <code>sv_ggprogressive_shotgun_last</code> | |||
| 1 | |||
| | |||
*0: In random progressions, shotguns are after the [[weapon_deagle|Desert Eagle]] and before the other pistols. | |||
*1: In random progressions, shotguns are the last weapon group. | |||
|} | |} | ||
To | To play with a custom weapon progression, it is suggested to define it in the file <code>csgo/gamemodes_server.txt</code>, then set <code>mp_ggprogressive_use_random_weapons</code> to 0 and launch a map in this game mode, see above. | ||
The file <code>csgo/gamemodes_server.txt</code> could look like this: | The file <code>csgo/gamemodes_server.txt</code> could look like this: | ||
Line 114: | Line 126: | ||
}} | }} | ||
{{note | This is just the necessary part of the file. The expressions <code>// ...</code> should indicate that there can be much more in it.}} | {{note | This is just the necessary part of the file. The expressions <code>// ...</code> should indicate that there can be much more in it.}} | ||
{{note | See [[:Category: Counter-Strike: Global Offensive Weapons]] for a list of weapons. For this, omit the <code>weapon_</code> prefix.}} | |||
==Related ConVars== | |||
{| class=standard-table | |||
! ConVar !! Default !! Description | |||
|- | |||
| <code>mp_ggprogressive_healthshot_killcount</code> | |||
| 3 | |||
| Grant [[weapon_healthshot|healthshot]]s in Arms Race after this number of kills. | |||
|- | |||
| <code>mp_ggprogressive_round_restart_delay</code> | |||
| 15 | |||
| Number of seconds to delay before restarting a round after a win in Arms Race. {{note|This is overriden by <code>mp_match_restart_delay</code>.}} | |||
|} | |||
[[Category:Counter-Strike: Global Offensive]] | [[Category:Counter-Strike: Global Offensive]] | ||
[[Category:Level Design Tutorials]] | [[Category:Level Design Tutorials]] |
Revision as of 07:22, 1 November 2021
Arms Race (internally: gungameprogressive
) is a game mode in Template:Game name.
A map can be launched in this game mode by invoking the console commands game_type 1; game_mode 0; map <mapname>
, or shorter: map <mapname> gg
. See CS:GO Game Mode Commands for details and tips.
On official servers, Arms Race is played as a skirmish game mode, meaning that additionally, sv_skirmish_id 10 is set, too. This has the side effect that the game mode icon seen in the loading screen has a shield and that the map voting process at the end of the game also "offers" a different war game.
Game Mode Description
Officially, this game mode plays as follows:
- The game is a single extended round with instant respawn.
- Players start with a weapon and progress to different weapons as they get kills. When a map loads, the game generates a random weapon progression, consisting of 2 sniper rifles, 3 rifles, 1 machine gun, 3 SMGs, 4 pistols, 2 shotguns and the Golden Knife, in this order.
- Killing a player with the knife steals a progression: The killer progresses, the killed loses a progression (assuming he is not at the first weapon).
- The leading player of a team is highlighted to other players and killing him grants an instant progression.
- The first player to get a kill with the golden knife wins the match.
Map Requirements
The only required entities for a map to work in Arms Race are spawn points for each team.
Spawn points
Arms Race uses the normal info_player_(counter)terrorist as well as the info_armsrace_(counter)terrorist entities as player spawns. The spawn priorities of all of these are ignored in Arms Race, so a terrorist will always spawn at a randomly chosen spawnpoint from all existing info_player_terrorists and info_armsrace_terrorists.[confirm]


Disabling default spawns using VScript
TYPE <- ScriptGetGameType()
MODE <- ScriptGetGameMode()
if (TYPE == 1 && MODE == 0) // Arms Race uses game_type == 1 and game_mode == 0
{
EntFire("info_player_terrorist", "SetDisabled", "", 0)
EntFire("info_player_counterterrorist", "SetDisabled", "", 0)
}
else
{
EntFire("info_player_terrorist", "SetEnabled", "", 0)
EntFire("info_player_counterterrorist", "SetEnabled", "", 0)
}
|
If you want to use the info_armsrace_terrorist and info_armsrace_counterterrorist spawns exclusively, the other must be disabled. One way to disable all info_player_counterterrorist and info_player_terrorist spawns only for Arms Race is writing a VScript such as the one on the right.
Give this text file a name and save it with the .nut
extension, for example mapname.nut
and put it either directly into csgo/scripts/vscripts/
or in a (new) subdirectory from there. Place a logic_script in your level and add the previous script to its Entity Scripts. Check the console when running the map to see if something goes wrong. When publishing the map, this script must also be packed (see e.g. VIDE).
Weapon Progressions
ConVar | Default | Description |
---|---|---|
mp_ggprogressive_use_random_weapons
|
1 |
|
mp_ggprogressive_random_weapon_kills_needed
|
2 | If mp_ggprogressive_use_random_weapons is set to 1, this determines the number of kills that a player must make with a weapon to progress to the next (except for the Golden Knife, which requires one kill).
|
sv_ggprogressive_autosniper_first
|
1 | |
sv_ggprogressive_shotgun_last
|
1 |
|
To play with a custom weapon progression, it is suggested to define it in the file csgo/gamemodes_server.txt
, then set mp_ggprogressive_use_random_weapons
to 0 and launch a map in this game mode, see above.
The file csgo/gamemodes_server.txt
could look like this:
"GameModes_Server.txt" { "gameTypes" { // ... "gungame" { "gameModes" { "gungameprogressive" { // ... "weaponprogression_ct" { "ak47" { "kills" "3" } "awp" { "kills" "3" } "knifegg" { "kills" "1" } } "weaponprogression_t" { "ak47" { "kills" "3" } "awp" { "kills" "3" } "knifegg" { "kills" "1" } } } // ... } } // ... } // ... }

// ...
should indicate that there can be much more in it.
weapon_
prefix.Related ConVars
ConVar | Default | Description |
---|---|---|
mp_ggprogressive_healthshot_killcount
|
3 | Grant healthshots in Arms Race after this number of kills. |
mp_ggprogressive_round_restart_delay
|
15 | Number of seconds to delay before restarting a round after a win in Arms Race. ![]() mp_match_restart_delay . |