Difference between revisions of "Creating a Arsenal: Demolition Map"

From Valve Developer Community
Jump to: navigation, search
m
(Otherlang2 -> Lang. Used colorful game link. Note about launching a map in Demolition. Bug about icon. Game Mode Description. Some rewording. Todo Weapon Progressions.)
 
Line 1: Line 1:
{{otherlang2
+
{{lang|Creating a Arsenal: Demolition Map}}
|zh-cn=Creating a Arsenal: Demolition Map:zh-cn
+
{{back|Counter-Strike: Global Offensive Level Creation}}
}}
+
[[File:Csgo icon demolition.png|left]]
 +
'''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.
  
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.
+
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]].
 +
{{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]]).}}
 +
{{clr}}
 +
__TOC__
  
 +
==Game Mode Description==
 +
This game mode is comparable with the Casual game mode, with the following exceptions.
 +
* [[Player]]s 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.
 
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.
 
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==
+
===Spawn points===
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.
+
Demolition uses the [[info_player_counterterrorist]] and [[info_player_terrorist]] entities to decide where to spawn players.
 +
{{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.}}
 +
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.
  
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.
+
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===
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]].
+
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]].
{{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.
+
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.
  
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?}}
  
==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?}}
  
 
[[Category:Counter-Strike: Global Offensive]]
 
[[Category:Counter-Strike: Global Offensive]]
 
[[Category:Level Design Tutorials]]
 
[[Category:Level Design Tutorials]]

Latest revision as of 12:50, 21 September 2021

English 简体中文
Counter-Strike: Global Offensive Level Creation
Csgo icon demolition.png

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

Bug.png 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 Arms Race).

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.png 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.

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.png 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

To do: What's the system behind default progressions?

Custom weapon progressions can be defined in csgo/gamemodes_server.txt. To do: But how can they be used?