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

From Valve Developer Community
Jump to navigation Jump to search
(Bomb sites are not required in Demolition, and the game handles it gracefully.)
m (Nesciuse moved page Counter-Strike: Global Offensive/Game Modes/Demolition/en to Counter-Strike: Global Offensive/Game Modes/Demolition without leaving a redirect: Move en subpage to basepage)
 
(11 intermediate revisions by 6 users not shown)
Line 1: Line 1:
The '''Arsenal: Demolition''' game mode is a fast paced mix of bomb planting and gun progression. You begin with a rifle and progress through different weapons every time you get a kill.
{{LanguageBar}}
{{back|Counter-Strike: Global Offensive Level Creation}}{{Delisted|csgo}}
<noinclude></noinclude>
[[File:Csgo icon demolition.png|left|link=]]


'''Demolition''' (internally: <code>'''gungametrbomb'''</code>) is a [[game mode]] in {{csgo|3.1}}.
It is a fast paced mix of bomb planting and gun progression.


The Demolition game mode only requires spawn points for each team.
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>.
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==
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 [[Counter-Strike: Global Offensive/Game Modes#Skirmish Modes|war game]].
As in every other game mode, Demolition uses the [[info_player_counterterrorist]] and [[info_player_terrorist]] entities to decide where to spawn players. You should 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.
{{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}}
__TOC__


Demolition is a team game mode, so you will want to group your spawn points by team, and place them roughly equidistant from the bomb site.
== Game Mode Description ==
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}}:
* 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.


==Bomb sites==
== Map Requirements ==
Bomb sites work the same way as in other 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 Demolition game mode only requires spawn points for each team to work at all and one bomb site to play as intended.
{{warning|The property <code>Heist Mode bomb Target</code> is an unused value and should be ignored.}}


Though the official Demolition maps only have one bomb site, 2 bomb sites will work fine.
=== Spawn points ===
Demolition uses {{Ent|info_player_counterterrorist}} and {{Ent|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 [[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 <code>tools/toolstrigger</code>, and with it selected, press {{Key|Ctrl}}+{{Key|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.


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 [[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.
{{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]].}}
 
== Weapon Progressions ==
{{Todo|What's the system behind default progressions?}}


==Testing your map==
Custom weapon progressions can be defined in <code>csgo/[[gamemodes.txt|gamemodes_server.txt]]</code>.
The Demolition game mode is selected by setting the server-side connvar <code>game_type</code> to 1, and <code>game_mode</code> to 1. To properly test your Demolition map, include <code>+game_type 1 +game_mode 1</code> in the launch options before compiling and running the map.
{{Todo|But how can they be used?}}{{csgo-navbox}}
[[Category:Counter-Strike: Global Offensive]]
[[Category:Level_Design]]

Latest revision as of 05:46, 12 July 2024

English (en)中文 (zh)Translate (Translate)
Counter-Strike: Global Offensive Level Creation
Icon-delisted.png
This page documents information about a game or software, 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.
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/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 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

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?