Creating a Hostage Rescue Map
Hostage Rescue scenarios are played in the Classic Competitive and Casual gamemodes. Players earn money by winning rounds, getting kills, and by finding and rescuing hostages. They can purchase weapons and equipment at the beginning of each round.
Hostage Rescue maps require spawn points and buy zones for each team, hostages for the Counter-Terrorists to rescue, and a hostage rescue zone.
Additionally, Hostage Rescue maps use the
cs_ prefix in their file name.
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.
In Classic Competitive, there are only 5 players on each team. You are able to choose certain spawn points to be used before others.
To change the spawn priority, select the spawn point and open the entity properties. Find the
Spawn Priority 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.
Create a brush around the spawn points for each team, and texture it with the
tools/toolstrigger texture. Now select the brush, and press + to tie it to an entity. Change the entity class to func_buyzone. Open the entity properties, and set the
Team Number property- this decides which teams are allowed to use the buy zone.
The hostage_entity entity creates a spawn point for a hostage. Only 1 is required, but the official Hostage Rescue maps have at least 2, and usually more.
The game will pick 2 of the available spawn points to place hostages. Hostages sharing the same
Hostage Spawn Exclusion Group in the entity properties will not spawn together.
Hostage Spawn Random Factor property is the number of times a spawn point is put into the pool for the two hostages to spawn at. Raising this number makes it more likely for a spawn point to be picked.
The hostages should usually be placed near the Terrorists, so they can be easily defended.
Create a brush for the rescue zone, and texture it with the
tools/toolstrigger texture. Now select the brush, and press + to tie it to an entity. Change the entity class to func_hostage_rescue.
When Counter-Terrorists carrying a hostage enter this zone, they will rescue the hostage immediately and win the round.
Usually the rescue zone is placed near the Counter-Terrorist spawn.
Though your Hostage Rescue map will work correctly with any prefix (or with none at all), using the
cs_ prefix allows the game to correctly identity the type of map as a 'Hostage Scenario Mission' during loading screens, if your mapname.txt is configured correctly.
For example, Office uses the file name