Hostage Rescue Scenario

- By Raeven0
This tutorial was submited on Aug 14, 2006.

A hostage rescue map is exemplified in the gameplay of cs_assault, cs_office, and cs_italy: the map contains a number of hostages, who must be found by the Counter-Terrorists and led to a certain safe zone. The Terrorists must prevent the Counter-Terrorists from rescuing the hostages.

If you've got a basic CS:S map with spawn points and optional buy zones, I'll now show you how to turn it into a hostage rescue map.

To place a hostage, create a hostage_entity entity. As with spawn points, ensure that the hostage entity is not touching or intersecting solid objects, as this may prevent the hostage from working properly. This hostage will ignore Terrorists and, if used by a Counter-Terrorist, follow that CT around.

Creating a hostage rescue zone is similar to making a buyzone: create a block, preferably with the tools/toolstrigger texture loaded, then select that block by clicking it, and press Ctrl and T. In the Entity Properties Dialogue Box that appears, use the classname drop-down menu to set this block as a func_hostage_rescue. This block will be an invisible volume that the hostages must touch to be rescued.

Your hostages and rescue zone will probably look something like this:



After you compile and run the map, pull down the console with the ` or ~ key (or whatever key pulls down your console), type nav_generate, and press Enter. The game will spend a great deal of time and power investigating your map in order to create a navigation mesh. This mesh is merely data used by bots and hostages to move around the map. You will need to re-enter the nav_generate command every time you re-compile the map (but not every time you run it! The mesh is saved, and only needs to be remade if the BSP file changes).

With these hostage_entitys and a func_hostage_rescue, the CTs can press their +use keys on the hostages, and lead them to the rescue zone.

You may download a hostage rescue example map, to be loaded and viewed in Hammer, using the following link. The Hostage Rescue Zone graphic on the ground is an infodecal entity using the texture decals/militiahostagerescue.

http://www.editlife.net/file.php?download=44



Still need help? Ask your questions in one of our HELP FORUMS
Post A Comment
Name:
Email: Links Not Allowed In Comments
Comment:
What is the capital of France? Need Help?
All original content ©2006 EditLife.net. All Rights reserved. All files property of their rightful owners.
Get Firefox! Get Thunderbird! Get Notepad++!