Counter-Strike: Global Offensive/Game Modes/Demolition: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Popcorn moved page Creating a Arsenal: Demolition Map to CS:GO Game Modes/Demolition: Applying a consistent name convention.)
(Renaming changes. Revised section Map Requirements.)
Line 1: Line 1:
{{lang|Creating a Arsenal: Demolition Map}}
{{lang|CS:GO Game Modes/Demolition}}
{{back|Counter-Strike: Global Offensive Level Creation}}
{{back|Counter-Strike: Global Offensive Level Creation}}
[[File:Csgo icon demolition.png|left]]
[[File:Csgo icon demolition.png|left|link=]]
'''Demolition''' (internally: <code>'''gungametrbomb'''</code>) is a [[game mode]] in {{game name|csgo|name=Counter-Strike:Global Offensive}}.
'''Demolition''' (internally: <code>'''gungametrbomb'''</code>) is a [[game mode]] in {{game name|csgo|name=Counter-Strike:Global Offensive}}.
It is a fast paced mix of bomb planting and gun progression.
It is a fast paced mix of bomb planting and gun progression.
Line 7: Line 7:
A map can be launched in this game mode by invoking the commands <code>game_type 1; game_mode 1; map <mapname></code> or shorter: <code>map <mapname> demo</code>.
A map can be launched in this game mode by invoking the commands <code>game_type 1; game_mode 1; map <mapname></code> or shorter: <code>map <mapname> demo</code>.


On official servers, Demolition is played as a skirmish game mode, meaning that additionally, {{ent|sv_skirmish_id|11}} is set, too. This has the side effect that the map voting process at the end of the game also "offers" a different [[CS:GO_Game_Mode_Commands#Skirmish_Modes|war game]].
On official servers, Demolition is played as a skirmish game mode, meaning that additionally, {{ent|sv_skirmish_id|11}} is set, too. This has the side effect that the map voting process at the end of the game also "offers" a different [[CS:GO Game Modes#Skirmish Modes|war game]].
{{Bug|When launched as a skirmish mode, there is no game mode icon in the loading screen, although there is one for it in the game files (with a shield, just like in [[Creating a Arsenal: Arms Race Map|Arms Race]]).}}
{{Bug|When launched as a skirmish mode, there is no game mode icon in the loading screen, although there is one for it in the game files (with a shield, just like in {{csgo mode|Armsrace}}).}}
{{clr}}
{{clr}}
__TOC__
__TOC__


==Game Mode Description==
== Game Mode Description ==
This game mode is comparable with the Casual game mode, with the following exceptions.
On official servers, this game mode plays the same as {{csgo mode|Casual}} but with the following exceptions, making it similar to {{csgo mode|Ar}}:
* [[Player]]s have fixed weapons. They can neither drop them nor buy anything.
* The scenario is [[Bomb Defusal]] with one accessible [[func_bomb_target|bomb site]].
* [[Player]]s have fixed weapons. Neither can they drop them nor buy anything.
* There is a weapon progression (a list of guns) for each team. In the first round, players begin with the first gun. If they make a kill in a round, they get the next weapon of the progression in the next round. They get a bonus grenade if they make more than one kill.
* There is a weapon progression (a list of guns) for each team. In the first round, players begin with the first gun. If they make a kill in a round, they get the next weapon of the progression in the next round. They get a bonus grenade if they make more than one kill.


==Map Requirements==
== Map Requirements ==
The Demolition game mode only requires spawn points for each team.
The Demolition game mode only requires spawn points for each team to work at all and one bomb site to play as intended.


Most Demolition maps have at least one bomb site, but if you don't include a bomb site in your map, the game will not give a bomb to any of the terrorist players, making the bomb site strictly optional.
=== Spawn points ===
Demolition uses [[info_player_counterterrorist]] and [[info_player_terrorist]] as player spawn entities.
It is a team game mode, so you will want to group the spawn points by team, and place them roughly equidistant from the bomb site, just like in the classic game modes like {{csgo mode|Competitive}}.
{{Tip|Aim to include at least 5, ideally 16 spawn points for each team, so your map will work with up to 32 players on a server.}}
The use of special spawn points ''just'' for Demolition can be implemented with [[VScript]], see [[CS:GO Game Modes#Game Mode dependent Events]].


===Spawn points===
=== Bomb sites ===
Demolition uses the [[info_player_counterterrorist]] and [[info_player_terrorist]] entities to decide where to spawn players.
Bomb sites work the same way as in every [[Bomb Defusal]] map. Make a brush textured with <code>tools/toolstrigger</code>, and with it selected, press {{Key|Ctrl}}+{{Key|T}} and change the class to [[func_bomb_target]].
{{Tip|Aim to include at least 16 spawn points for each team, so your map will work correctly with up to 32 players on a server.}}
Consider using overlays to indicate the location of the bomb site, and to mark it's extents so players can easily identify where they can plant the bomb.
It is a team game mode, so you will want to group the spawn points by team, and place them roughly equidistant from the bomb site.


The use of special spawn points for Demolition can be implemented with [[VScript]], see [[CS:GO Game Mode Commands#Game Mode dependent Events]].
The official Demolition maps only have one bomb site but the game mode does also work correctly for any number of bomb sites, even though this is probably not intended.
 
If none is included, the game will not give a [[weapon_c4|C4]] entity to any of the terrorist players, making the scenario an [[Creating a Classic Counter-Strike Map#Game Mode Description|Elimination Mission]]. If a [[hostage_entity]] is included, you get a [[Hostage Rescue]] scenario instead.
===Bomb sites===
{{note|The map scenario displayed in the loading screen is determined by the map's [[Map_prefixes#Counter-Strike.2C_Counter-Strike:_Condition_Zero.2C_Counter-Strike:_Source_and_Counter-Strike:_Global_Offensive|prefix]].}}
Bomb sites work the same way as in other [[Creating a Classic Counter-Strike Map#Game Mode Description|Defuse maps]]. Make a brush textured with <code>tools/toolstrigger</code>, and with it selected, press {{Key|Ctrl}}+{{Key|T}} and change the entity to [[func_bomb_target]].
 
The official Demolition maps only have one bomb site.
{{note|The game mode does also work correctly for any number of bomb sites, even though this is probably not intended.}}
 
Consider using overlays to indicate the location of the bomb site, and to mark it's extents so players can easily identify where they can plant the bomb.


==Weapon Progressions==
== Weapon Progressions ==
{{todo|What's the system behind default progressions?}}
{{todo|What's the system behind default progressions?}}



Revision as of 23:22, 20 February 2022

English (en)中文 (zh)Translate (Translate)
Counter-Strike: Global Offensive Level Creation
Csgo icon demolition.png

Demolition (internally: gungametrbomb) is a game mode in Template:Game name. It is a fast paced mix of bomb planting and gun progression.

A map can be launched in this game mode by invoking the commands game_type 1; game_mode 1; map <mapname> or shorter: map <mapname> demo.

On official servers, Demolition is played as a skirmish game mode, meaning that additionally, sv_skirmish_id 11 is set, too. This has the side effect that the map voting process at the end of the game also "offers" a different war game.

Icon-Bug.pngBug:When launched as a skirmish mode, there is no game mode icon in the loading screen, although there is one for it in the game files (with a shield, just like in CS:GO/CS2 Arms Race Arms Race).  [todo tested in ?]

Game Mode Description

On official servers, this game mode plays the same as CS:GO/CS2 Casual Casual but with the following exceptions, making it similar to CS:GO/CS2 Arms Race Arms Race:

  • The scenario is Bomb Defusal with one accessible bomb site.
  • Players have fixed weapons. Neither can they drop them nor buy anything.
  • There is a weapon progression (a list of guns) for each team. In the first round, players begin with the first gun. If they make a kill in a round, they get the next weapon of the progression in the next round. They get a bonus grenade if they make more than one kill.

Map Requirements

The Demolition game mode only requires spawn points for each team to work at all and one bomb site to play as intended.

Spawn points

Demolition uses info_player_counterterrorist and info_player_terrorist as player spawn entities. It is a team game mode, so you will want to group the spawn points by team, and place them roughly equidistant from the bomb site, just like in the classic game modes like CS:GO/CS2 Competitive Competitive.

Tip.pngTip:Aim to include at least 5, ideally 16 spawn points for each team, so your map will work with up to 32 players on a server.

The use of special spawn points just for Demolition can be implemented with VScript, see CS:GO Game Modes#Game Mode dependent Events.

Bomb sites

Bomb sites work the same way as in every Bomb Defusal map. Make a brush textured with tools/toolstrigger, and with it selected, press Ctrl+T and change the class to func_bomb_target. Consider using overlays to indicate the location of the bomb site, and to mark it's extents so players can easily identify where they can plant the bomb.

The official Demolition maps only have one bomb site but the game mode does also work correctly for any number of bomb sites, even though this is probably not intended. If none is included, the game will not give a C4 entity to any of the terrorist players, making the scenario an Elimination Mission. If a hostage_entity is included, you get a Hostage Rescue scenario instead.

Note.pngNote:The map scenario displayed in the loading screen is determined by the map's prefix.

Weapon Progressions

Todo: What's the system behind default progressions?

Custom weapon progressions can be defined in csgo/gamemodes_server.txt.

Todo: But how can they be used?