Random Hostages

Tutorial collection, comprehensive listings on main site.

Random Hostages

Postby Tutorial on Tue Mar 08, 2005 12:20 am

category
Counter-Strike: Source

description
Challenge the Counter-Terrorists by moving their hostages each time a round starts.

keywords
cs, source, counter, strike, counter-strike, random, hostage, hostages.

Man, its 5am, Ive been working on getting this as seemless as possible and ive figured it out... this is how to make all your hostages appear randomly each round in new locations... it will force the cops to search the building looking for them... instead of just rushing to the same spot each round, this adds some teamplay elements.

level of difficulty 5/10

What you do first is create a location u want the hostages. this doesnt mattter where it is, since we are going to randomize their spawn later. just put a hostie anywhere for now. with hostage_entity.

select the hostage_entity and turn off smart edit. then, add a new entry, keyname:targetname value:hostage1. then, go to each location on your map where u want hosties and create a point_teleport entry. set entity to teleport to hostage1. name each of the point_teleport entry, "teleport1" teleport2, etc...

Create a logic_case. call it teleport_case. go to outputs, and add a new output:


"My output named" : "OnCase01"
"Target Entities Named" : "teleport1"
"Via this input" : "teleport"

Create an output for the rest of the point_teleport entries, use OnCase2, OnCase3, etc.

Finally create a logic_auto entity. Create a new output with the following options:

"My output named" : "OnMapSpawn"
"Target Entities Named" : "teleport_case"
"Via this input" : "PickRandom"

now, each round your hosties will appear randomly amongst the teleport points you scattered around your map. sit back and listen to noobs rush teh hosties only to find they are being held in another room! wooot

Malt
- Don't send PM's to this user -
Tutorial
Not A Real User
 
Joined: Sun Mar 06, 2005 11:00 pm

Postby Someth|ng W|cked on Thu Mar 24, 2005 8:57 am

Sweet, i might use this in my next map
User avatar
Someth|ng W|cked
Regular
Regular
 
Joined: Thu Mar 24, 2005 7:48 am

Postby HuzZz on Sun Apr 03, 2005 6:05 pm

thats so cool, i gotta use that :D :D :D
HuzZz
Dumpling
Dumpling
 
Joined: Tue Dec 28, 2004 3:30 pm

Postby smeerkat on Sun Apr 03, 2005 6:09 pm

somehow, I don't think the players will be too fond of that idea. But it's cool, nonetheless. 8)
über dumpling.
User avatar
smeerkat
Regular
Regular
 
Joined: Sun Apr 03, 2005 5:36 pm
Location: Babylon 4

Postby I.R. Hogan on Sun May 06, 2007 11:36 pm

I have tried this, but it doesnt work for me. are we supposed to name all the hostages the same name or sequentially 1-4
I.R. Hogan |TG PCS|

Image
I.R. Hogan
Just Joined
Just Joined
 
Joined: Sun May 06, 2007 11:32 pm

Return to Tutorials

Who is online

Users browsing this forum: No registered users