Difference between revisions of "Creating a Hostage Scenario Map"

From Valve Developer Community
Jump to: navigation, search
Line 4: Line 4:
  
 
==Spawn points==
 
==Spawn points==
 +
For any CS:GO map to function, at least 1 of both ''info_player_terrorist'' or ''info_player_counterterrorist''. You could only use a singular spawn point, but this obviously not work for play testing.
 +
The optimal amount of spawn points would be 10 spawn entities each team, but for community owned servers 16 a side would work better. For the objects properties press {{key|Alt}}+{{key|Enter}} there is a property for ''Spawn Priority'', the value for this determines which spawns will be used first.
  
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.
+
If the purpose for your maps is competitive change it to 1 for all but 5 spawns. The 5 spawns set to 0 will be the only spawns used for competitive.
 +
Later in your mapping process, spawn positions will become important for timing among other things and you might need to tweak the area near the final stages of creation.
 +
[[image:csgobuyzones.jpg|thumb|400px|CSGO Buyzones and Spawns]]
  
==Buyzones==
+
In addition to the spawn entities, maps need ''Buy Zones'', first make a box around the spawn points and texture it with the ''tools/toolstrigger'' now press {{key|Ctrl}}+{{key|T}} and change its entity to [[func_buyzone]]. In its properties change its ''Team Number'' to the corrosponding team
  
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 entity [[hostage_entity]], at least 12 hostages can be used at once. Have the hostages spawn near the Terrorists so they can be defended. Changing their random spawn factors, will act similar to ''Spawn Priority''.
  
==Hostages==
+
[[image:csgohostages.jpg|thumb|left|350px|CSGO Hostages]]
Add the [[hostage_entity]] entity at the points you want hostages to appear. You can add up to 12 hostages.
 
  
 
==Rescue zones==
 
==Rescue zones==
 
+
Near the Counter-Terrorist spawn zone, add another trigger brush, press {{key|Ctrl}}+{{key|T}} and turn it into a [[func_hostage_rescue]] entity. This will be the area that the Counter-Terrorists will deliver the hostages to.
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.
 
  
 
[[Category:Counter-Strike: Global Offensive]]
 
[[Category:Counter-Strike: Global Offensive]]
 
[[Category:Level Design Tutorials]]
 
[[Category:Level Design Tutorials]]

Revision as of 21:18, 7 August 2015

Русский

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 CS:GO map to function, at least 1 of both info_player_terrorist or info_player_counterterrorist. You could only use a singular spawn point, but this obviously not work for play testing. The optimal amount of spawn points would be 10 spawn entities each team, but for community owned servers 16 a side would work better. For the objects properties press Alt+ Enter there is a property for Spawn Priority, the value for this determines which spawns will be used first.

If the purpose for your maps is competitive change it to 1 for all but 5 spawns. The 5 spawns set to 0 will be the only spawns used for competitive. Later in your mapping process, spawn positions will become important for timing among other things and you might need to tweak the area near the final stages of creation.

CSGO Buyzones and Spawns

In addition to the spawn entities, maps need Buy Zones, first make a box around the spawn points and texture it with the tools/toolstrigger now press Ctrl+T and change its entity to func_buyzone. In its properties change its Team Number to the corrosponding team

Hostages

Add the entity hostage_entity, at least 12 hostages can be used at once. Have the hostages spawn near the Terrorists so they can be defended. Changing their random spawn factors, will act similar to Spawn Priority.

CSGO Hostages

Rescue zones

Near the Counter-Terrorist spawn zone, add another trigger brush, press Ctrl+T and turn it into a func_hostage_rescue entity. This will be the area that the Counter-Terrorists will deliver the hostages to.