From Valve Developer Community
Jump to: navigation, search
Counter-Strike: Global Offensive Level Creation
This page documents information about a game, Counter-Strike: Global Offensive Counter-Strike: Global Offensive, that is no longer available for purchase or download digitally.
It is covered here for historical and technical reference.
English (en)中文 (zh)
Csgo icon demolition.png

Demolition (internally: gungametrbomb) is a game mode in Counter-Strike: Global Offensive. 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 Arms Race Arms Race).

Game Mode Description

On official servers, this game mode plays the same as CS:GO Casual Casual but with the following exceptions, making it similar to CS:GO 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 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 Counter-Strike: Global Offensive/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

Blank image.pngTodo: What's the system behind default progressions?

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

Blank image.pngTodo: But how can they be used?