WoLD Archives Search About Contact

World of Level Design

Tutorials to Becoming the Best Level Designer and Game Environment Artist (since 2008)

CS:GO SDK Inserting Hostages and Creating Hostage Rescue Zones

Category: Source: CSGO SDK
March 26, 2013

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.

SUBSCRIBE & GET FREE UE5 PDF GUIDE

Subscribe to receive NEW/UPDATED and FREE "UE5 Beginner's Quick Start Guide" PDF (90 pages).

Subscribe and Get Free UE5 PDF Guide

Visit this page for more info about the guide...


Follow WoLD




UE5 FUNDAMENTALS VOL.1 COURSE


UE5: RETRO OFFICE PROJECT


MAYA FOUNDATION COURSE


SUBSTANCE PAINTER ESSENTIALS


LEARN THE PREPRODUCTION PROCESS


ABOUT WoLD & ALEXG

About World of Level Design

My name is AlexG. I am self-taught level designer, game environment artist and the creator of World of Level Design.com. I've learned everything I know from personal experimentation and decades of being around various online communities of fellow environment artist and level designers. On World of Level Design you will find tutorials to make you become the best level designer and game environment artist.

Read More »


Home Terms of Use/Trademarks/Disclaimers Privacy Policy Donate About Contact

All content on this website is copyrighted ©2008-2024 World of Level Design LLC. All rights reserved.
Duplication and distribution is illegal and strictly prohibited.

World of Level Design LLC is an independent company. World of Level Design website, its tutorials and products are not endorsed, sponsored or approved by any mentioned companies on this website in any way. All content is based on my own personal experimentation, experience and opinion. World of Level Design™ and 11 Day Level Design™ are trademarks of AlexG.

Template powered by w3.css