Creating a Classic Counter-Strike Map: Difference between revisions
(Merging most of Creating a Bomb Defusal Map and Creating a Hostage Rescue Map.) |
(→Game Mode Description: Hopefully found out what's wrong with CS:S's 50%-hostage-rule.) |
||
Line 27: | Line 27: | ||
{{category end}} | {{category end}} | ||
{{category header}} | {{category header}} | ||
{{category newcolumn|width= | {{category newcolumn|width=40%}} <!--leave Hostage Rescue a bit more than 50%--> | ||
<span style=color:#FFFFFF>'''Bomb Defusal'''</span> - basicly an '''Elimination Mission''', but: | <span style=color:#FFFFFF>'''Bomb Defusal'''</span> - basicly an '''Elimination Mission''', but: | ||
* Round-ending objectives are bomb explosion (Ts win), bomb defusal (CTs win), elimination and timeout (CTs win). There are no drawn rounds. | * Round-ending objectives are bomb explosion (Ts win), bomb defusal (CTs win), elimination and timeout (CTs win). There are no drawn rounds. | ||
* Terrorists must plant a bomb ([[weapon_c4]]) at a bomb site ([[func_bomb_target]]) and wait for it to explode, Counter-Terrorists must stop them from doing so. All players are notified if a ''bomb has been planted''. | * Terrorists must plant a bomb ([[weapon_c4]]) at a bomb site ([[func_bomb_target]]) and wait for it to explode, Counter-Terrorists must stop them from doing so. All players are notified if a ''bomb has been planted''. | ||
* Players earn money by planting or defusing the bomb. | * Players also earn money by planting or defusing the bomb. | ||
{{category newcolumn|width=50%}} | {{category newcolumn|width=50%}} | ||
<span style=color:#FFFFFF>'''Hostage Rescue'''</span> - basicly an '''Elimination Mission''', but: | <span style=color:#FFFFFF>'''Hostage Rescue'''</span> - basicly an '''Elimination Mission''', but: | ||
* Round-ending objectives are hostage rescue (CTs win), elimination and timeout (Ts win). There are no drawn rounds. | * Round-ending objectives are hostage rescue (CTs win), elimination and timeout (Ts win). There are no drawn rounds. | ||
* Counter-Terrorists must reach and rescue | * Counter-Terrorists must reach and rescue hostages ([[hostage_entity]]) by bringing them to a Rescue Zone ([[func_hostage_rescue]]), Terrorists must stop them from doing so. | ||
* Players earn money by reaching and rescuing hostages. | ** {{css}} If there are no hostages left, CTs win if they have rescued at least 50 % of all hostages, otherwise the round continues. {{Bug | For the 50 % calculation, the game fails to regard hostages that were '''killed before the last rescue of the round'''. This implies that rescuing the last remaining hostage always wins the round for CTs. Killing it always wins if the previous was rescued (not killed). Killing the remaining ''N'' hostages wins if the previous was rescued and if at least ''N'' hostages have already been rescued.}} | ||
** {{csgo}} CTs win as soon as they have rescued one hostage. | |||
* Players also earn money by reaching and rescuing hostages. | |||
{{category end}} | {{category end}} | ||
Revision as of 23:25, 29 August 2021
This page covers the Classic Game Modes of Counter-Strike: Source and
Counter-Strike: Global Offensive as well as map requirements.

Game Mode Description
The game consists of rounds with a maximum duration. The ways that a round can be won is defined by the map's scenario.
The default scenario is the Elimination Mission. The other two extend the default scenario and eliminate drawn rounds.
Elimination Mission
|
Bomb Defusal - basicly an Elimination Mission, but:
|
Hostage Rescue - basicly an Elimination Mission, but:
|


Map Requirements
A map definitely requires the following to be able to play any classic game mode.
Spawn Points
Create entities and change their classname to either info_player_terrorist or info_player_counterterrorist. This is where players will spawn.
On official maps, the spawn points of each team are not spread among the map but close together in one area. The two spawn areas are usually placed opposite each other on the map and should not be visible to each other.
In Classic Competitive, there are only 5 players on each team.
In Classic Casual game mode, there are up to 10 players on each team.
It is a good idea to include 16 spawn points for each team, to work with 32 player servers, otherwise 5-10 are also sufficient.



Spawn Priority (int)
keyvalue for all other spawn points. The former are used first, latter are only used if needed.Buyzones
Create a brush so that all spawn points of a team are touching it, texture it with the tools/toolstrigger
texture and tie it to an entity by pressing Ctrl+T. Change the entity class to func_buyzone and set the Team Number (int)
keyvalue (TeamNum
) to the appropriate team. This decides which teams are able to open the buy menu while touching the previously created trigger volume.
Do this for the spawn areas of both teams.
Map Objectives
A map already works until here, just that it is only an Elimination Mission, meaning that a round can only be won by eliminating the entire enemy team, otherwise the round is drawn. A disadvantage of this is that this encourages passive gameplay to not risk losing the round. To avoid this, there are map objectives so that there is a winning team if the time runs out; This encourages active gameplay for the other team.
You should decide for one of the following:
Competitive Aspects
- The time that players need to reach bomb sites or hostages influences their winning chances, so the spawn point placement can severely impact map balance and can make choke points (meeting points) very engaging.
- Random spawns may not be desirable to some players, but can work on some maps. For example, players on the Terrorist's team on de_dust2 can have a good spawn for B or for A long.
- Hostages are located closer to the Terrorist's spawn area so that they can get into a defensive position before Counter-Terrorists arrive.

Testing
You can test your map by launching it with the map <mapname>
command.


map <mapname> casual
map <mapname> competitive
map <mapname> scrimcomp2v2
(Wingman)map <mapname> scrimcomp5v5
(Weapons Expert)
Miscellaneous
Map Prefix
The map prefix is just a naming convention.[confirm]
The scenario name that is displayed in the loading screen depends only on the prefix of the map file.
Map Prefix | Example Filename | ![]() |
---|---|---|
cs_ |
cs_office.bsp |
Hostage Scenario Mission |
de_ |
de_dust2.bsp |
Bomb Scenario Mission |
none of the above | test.bsp |
Elimination Scenario |
Further Game Modes
There are more game modes such as Wingman, Deathmatch, Retakes, or Guardian that can also be played on classic competitive maps and that only need some (map) adjustments. For a list of all game modes and more, see CSGO Game Mode Commands.
See also
- How To Develop A Map That Works
- Creating a working mini-map
- Nav Mesh Editing - Make bots work (better) and add Place Names
- mapname.txt - Display custom text when loading your map
Choosing Player Models - Creating
<game>/maps/<mapname>.kv
Publishing Your Map to the Steam Workshop