setstats
View Cart
Category Tutorial TopicsLevel DesignGame Environment Art+DesignGame Modeling: MayaUnreal Engine 4UDKCryEngine 3 SDKCounter-Strike: Global OffensiveLeft4Dead 1 and 2Time Management and ProductivityGetting StartedBrowse Full Tutorial List

CS:GO SDK Inserting Hostages and Creating Hostage Rescue Zones

Category: Source: CS:GO SDK
March 26, 2013
Full Text Tutorial and Notes:

In this tutorial we will insert hostage player models and create hostage rescue zones. Also we will define the rescue zones with visual cues using overlays.

This tutorial is for the new, updated hostage rescue rules. Only 2 hostages per map and 1 hostage needs to be rescued. CTs have to pick up the hostage and carry them to the rescue zone.

In this tutorial you will learn:

  • How to insert hostage rescue model entities
  • How to set up exclusion groups for hostages not to spawn together
  • Random hostage spawn points
  • How many hostage model entities should you have in a map
  • How to create hostage rescue zones
  • Using overlays to help the player know where to go for rescue zone

INSERTING HOSTAGE PLAYER MODELS

To insert a hostage model you need to use the following entity:

  • hostage_entity

There has been a new entity added info_hostage_spawn. This entity will do the same thing as hostage_entity. I've tried both and both work as the hostage entity.

  • info_hostage_spawn

Enable the Entity Tool, and use the drop down menu to select hostage entity.

In perspective viewport, Left Click to place the hostage entity.

Duplicate hostage_entity as many times as you want. I would recommend to aim anywhere between 6-12 hostage spawn points.

For example: Militia map contains 11 spawn points, and Italy contains 6.

The game will choose 2 random locations each time you load your map. This will ensure that you have enough hostage entities to differ in location every time you play.

Place them through out the map where you would want your hostage spawns to be. You should spread them out in locations that makes sense.

Important: Make sure to raise each hostage entity above ground 16 units.

RANDOM SPAWNS WITH EXCLUSION GROUPS

Now, you need to define which hostage entities you do not want to spawn together. Usually any spawns that are too close to each other, should not be spawned together.

To do this, you need to set up Hostage Spawn Exclusion Groups.

Double click on the hostage_entity, highlight a group that you want to place them into and use the drop down menu to set Do not spawn together.

Hostage entities that belong to the same exclusion group, will not spawn together.

CREATE HOSTAGE RESCUE ZONE

Hostage rescue zones are very simple to create.

You need a bsp brush with a trigger texture applied. Then you need to tie that brush to an entity called func_hostage_rescue.

Set the trigger texture first, using Texture Browser.

Create a brush that will function as therescue zone. Make this area fairly big.

If you didn't set the trigger texture, just apply it to every face of the brush after you created that brush.

Now we need to tie this brush to an entity. Select the brush: Go up to Tools --> Tie to entity or press Ctr+T = tie to entity

Choose func_hostage_rescue from the drop down menu.

Click Apply and close Object Properties window.

ADD OVERLAYS

We now need some sort of visual identification for the rescue area. The player has no way of knowing where the hostage rescue zone is, other than a large H in radar.

We will use info_overlays to define the area visually so it is easier to recognize.

Enable Apply Overlays (Shift+O)

Click Browse to look for specific overlays.

Filter by typing in 'rescue'.

You will see 3 overlays you can use. Double click the one you want to use to set it.

Left click in perspective viewport on any bsp brush surface to apply the overlay.

TESTING

Now all you need to do is compile and test it in-game. Launch your map, choose CT side and rescue the hostage.

Updated & Revised - Preproduction Blueprint: How to Plan Your Game Environments and Level Designs

© 2008-2017. All articles on World of Level Design™ are copyrighted.
Not to be reproduced without prior written consent.