Demolition

From Valve Developer Community
< Counter-Strike: Global Offensive‎ | Game Modes
Revision as of 22:25, 20 February 2022 by Popcorn (talk | contribs) (Popcorn moved page Creating a Arsenal: Demolition Map to CS:GO Game Modes/Demolition: Applying a consistent name convention.)
Jump to navigation Jump to search
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 Arms Race).  [todo tested in ?]

Game Mode Description

This game mode is comparable with the Casual game mode, with the following exceptions.

  • Players have fixed weapons. They can neither 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.

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 the info_player_counterterrorist and info_player_terrorist entities to decide where to spawn players.

Tip.pngTip: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.

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.

Bomb sites

Bomb sites work the same way as in other Defuse maps. Make a brush textured with tools/toolstrigger, and with it selected, press Ctrl+T and change the entity to func_bomb_target.

The official Demolition maps only have one bomb site.

Note.pngNote: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

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?