Creating a Bomb Defusal Map: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(example)
 
(13 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{otherlang2
{{lang|Creating a Bomb Defusal Map}}
|ru=Creating a Bomb Defusal Map:ru
{{subpage|[[Creating a Classic Counter-Strike Map#Map Requirements]]}}
|pl=Creating a Bomb Defusal Map:pl
This page covers only the special requirements for '''Bomb Defusal Scenarios''' in a Classic Competitive map in {{css|4}} and {{csgo|4}}.
|zh-cn=Creating a Bomb Defusal Map:zh-cn
In {{cs2|4}}, the concepts are still the same.
}}


'''Bomb Defusal''' scenarios are played in the Classic Competitive and Casual gamemodes. Players earn money by winning rounds, getting kills, and by planting or defusing the bomb. They can purchase weapons and equipment at the beginning of each round.
For the other map requirements, see [[Creating a Classic Counter-Strike Map#Map Requirements]].
Bomb Defusal maps require spawn points and buy zones for each team, and at least one bomb site, but usually 2- '''A''' and '''B'''.


Additionally, Bomb Defusal maps use the <code>de_</code> prefix in their file name- for example, Dust 2 is named <code>de_dust2</code>.
== Map Requirements ==
[[File:csgobombsites.jpg|thumb|right|500px|A [[func_bomb_target]] brush, textured with <code>tools/toolstrigger</code>]]
==== Bomb Sites ====
[[Basic Construction|Create a brush]] textured with <code>tools/toolstrigger</code>, and with it selected, press {{Key|Ctrl}}+{{Key|T}} and change the entity class to '''func_bomb_target'''.
{{main|func_bomb_target}}
If such an entity exists, the game will care about the rest, such as appropriate round endings and giving one Terrorist a [[weapon_c4|C4]] at round start.


[[image:csgobuyzones.jpg|thumb|400px|Spawn points and buy zones]]
Though the official Bomb Defusal maps have two bomb sites, this scenario will also work correctly with just one. If a map has no <code>func_bomb_target</code>, no bomb planting will be possible.
==Spawn points==
[[info_player_counterterrorist]] and [[info_player_terrorist]] entities are used to spawn players in at the start of each round.


The Casual game mode is 10 vs. 10 on official servers, but it is a good idea to include 16 spawn points for each team, to work smoothly with 32 player servers.
==== Competitive Aspects ====
* Bomb sites are located closer to the Counter-terrorist's spawn area so that they can get into a defensive position before Terrorists arrive.
* Each bomb site should require two entrances. Mostly, a cover is set up at a bomb site so that a player can watch one entrance while being covered from the other.
* Think about safe planting spots and whether they should (or shouldn't) be there (for a specific direction).
* Remember to eliminate bomb-stuck spots all across the map using wise [[Tool_textures#Clips|clipping]] and [[trigger_bomb_reset]] entities.
* Prevent bomb defusal through walls using [[func_no_defuse]] entities.
{{tip | Place letter [[overlays]] or [[decal]]s around the bomb site so players can find and identify each site.}}
{{tip | The <code>func_bomb_target</code> entity is not visible in-game. Visualize its bounds, such as by using decals on the floor, so that players know where they can plant and where they cannot.<br>
[[File:CssDE BombTarget visualBounds.png|thumb|left|300px|Example of showing bounds]]}}


[[Category:Counter-Strike: Global Offensive]]
[[Category:Counter-Strike: Source]]


In Classic Competitive, there are only 5 players on each team. Timings to bomb sites are very important in defuse maps, so you are able to choose certain spawn points to be used before others.
[[Category:Level Design]]
 
[[Category:Tutorials]]
To change the spawn priority, select the spawn point and open the entity properties. Find the <code>Spawn Priority</code> property, and change the number to be higher or lower. ''Lower numbered spawn points will be picked first.''
 
For example, you might have 5 spawn points set to priority 0, and set the remaining spawn points to priority 1. The 5 spawns set to 0 will be the only spawn points used in Classic Competitive matches.
 
==Buy zones==
Create a brush around the spawn points for each team, and texture it with the <code>tools/toolstrigger</code> texture. Now select the brush, and press {{key|Ctrl}}+{{key|T}} to tie it to an entity. Change the entity class to [[func_buyzone]]. Open the entity properties, and set the <code>Team Number</code> property- this decides which teams are allowed to use the buy zone.
 
[[image:csgobombsites.jpg|thumb|right|350px|A [[func_bomb_target]] brush, textured with <code>tools/toolstrigger</code>]]
==Bomb sites==
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]].
 
{{note|The property <code>Heist Mode bomb Target</code> is an unused value and should be ignored.}}
The bombsites are assigned as A and B in the order the [[func_bomb_target]] entities were created. Though the official Bomb Defusal maps have two bomb sites, the game will work correctly with just one, though this is only recommended for a map in testing stages.
 
{{note|Place letter overlays around the bomb site so players can identify each site.}}
 
Bomb sites are placed close Counter-Terrorists so that CTs can get into a defensive position without Terrorists planting the bomb. Each site should require two entrances; most cover is set up so that you can watch one entrance while being covered from the other.
 
==de_ prefix==
Though your Bomb Defusal map will work correctly with any prefix (or with none at all), using the <code>de_</code> prefix allows the game to correctly identity the type of map as a 'Bomb Scenario Mission' during loading screens, if your [[mapname.txt(CSGO)|mapname.txt]] is configured correctly.
 
For example, Dust 2 uses the file name <code>de_dust2</code>.
 
==See also==
* [[Choosing Player Models]]
* [[Creating a working mini-map]]
* [[Navigation Meshes]]
* [[CSGO Map Publish Tool|Publishing Your Map to the Steam Workshop]]
 
[[Category:Counter-Strike: Global Offensive]]
[[Category:Level Design Tutorials]]

Latest revision as of 06:46, 27 August 2025

English (en)Deutsch (de)Polski (pl)Русский (ru)中文 (zh)Translate (Translate)

This page covers only the special requirements for Bomb Defusal Scenarios in a Classic Competitive map in Counter-Strike: Source Counter-Strike: Source and Counter-Strike: Global Offensive Counter-Strike: Global Offensive. In Counter-Strike 2 Counter-Strike 2, the concepts are still the same.

For the other map requirements, see Creating a Classic Counter-Strike Map#Map Requirements.

Map Requirements

A func_bomb_target brush, textured with tools/toolstrigger

Bomb Sites

Create a brush textured with tools/toolstrigger, and with it selected, press Ctrl+T and change the entity class to func_bomb_target.

Main article:  func_bomb_target

If such an entity exists, the game will care about the rest, such as appropriate round endings and giving one Terrorist a C4 at round start.

Though the official Bomb Defusal maps have two bomb sites, this scenario will also work correctly with just one. If a map has no func_bomb_target, no bomb planting will be possible.

Competitive Aspects

  • Bomb sites are located closer to the Counter-terrorist's spawn area so that they can get into a defensive position before Terrorists arrive.
  • Each bomb site should require two entrances. Mostly, a cover is set up at a bomb site so that a player can watch one entrance while being covered from the other.
  • Think about safe planting spots and whether they should (or shouldn't) be there (for a specific direction).
  • Remember to eliminate bomb-stuck spots all across the map using wise clipping and trigger_bomb_reset entities.
  • Prevent bomb defusal through walls using func_no_defuse entities.
Tip.pngTip: Place letter overlays or decals around the bomb site so players can find and identify each site.
Tip.pngTip: The func_bomb_target entity is not visible in-game. Visualize its bounds, such as by using decals on the floor, so that players know where they can plant and where they cannot.
Example of showing bounds