Difference between revisions of "Creating a Hostage Scenario Map"

From Valve Developer Community
Jump to: navigation, search
(Created the page)
 
Line 1: Line 1:
 +
{{otherlang2|ru=Creating a Hostage Scenario Map:ru}}
 
Creating a Hostage Scenario map works the same in [[Counter-Strike: Global Offensive]] as in [[Counter-Strike: Source]].
 
Creating a Hostage Scenario map works the same in [[Counter-Strike: Global Offensive]] as in [[Counter-Strike: Source]].
 
This quick tutorial demands that you know the basics of [[brush entities]].
 
This quick tutorial demands that you know the basics of [[brush entities]].

Revision as of 03:20, 30 October 2014

Русский

Creating a Hostage Scenario map works the same in Counter-Strike: Global Offensive as in Counter-Strike: Source. This quick tutorial demands that you know the basics of brush entities.

Spawn points

For any map to function properly, you need to place spawnpoint entities in the game world. The info_player_terrorist and info_player_counterterrorist entities are used to mark where players spawn. You want at least 32 total player spawns for the majority of servers to run your map.

Buyzones

Each team needs to be able to buy weapons where they spawn. To enable this, create a brush the covers the spawn location of one of the teams and give it the tools/toolstrigger material, then tie it to a func_buyzone entity. Don't forget to set the team of the buyzone in its properties. Repeat the process for the other team and both teams should be able to buy weapons.

Hostages

Add the hostage_entity entity at the points you want hostages to appear. You can add up to 12 hostages.

Rescue zones

For each rescue zone you want in your map, create another trigger brush to cover the ground at the rescue area, and tie it to a func_hostage_rescue entity.