Copying the scavenge part from Campaign One.

Game discussion and other related chat.

Copying the scavenge part from Campaign One.

Postby LordDz on Thu May 13, 2010 1:10 pm

Yeah, so on my map, I wanted to copy the scavenge part where you need to collect the fuel to start the car.
But when I opened the map (c1m4_atrium_d.vmf), I couldn't figure out how they detect when the players have collected enough fuel.

Any ideas on how to do this? :)
User avatar
LordDz
May Contain Skills
May Contain Skills
 
Joined: Mon Sep 01, 2008 12:28 pm
Location: Hammer Crash Logs

Re: Copying the scavenge part from Campaign One.

Postby Chrille on Thu May 13, 2010 5:04 pm

Chrille
Been Here A While
Been Here A While
 
Joined: Sun Feb 25, 2007 4:38 pm

Re: Copying the scavenge part from Campaign One.

Postby LordDz on Fri May 14, 2010 11:27 am

Chrille wrote:I reckon this has some useful info:

http://developer.valvesoftware.com/wiki ... venge_Maps


I've checked that one, and there weren't any "enough gascans collected".
User avatar
LordDz
May Contain Skills
May Contain Skills
 
Joined: Mon Sep 01, 2008 12:28 pm
Location: Hammer Crash Logs

Re: Copying the scavenge part from Campaign One.

Postby LordDz on Sat May 15, 2010 7:41 pm

*bump*
Does anyone know? Because I really need to know :) , the map needs to be done at Thursday (it's a school project).
User avatar
LordDz
May Contain Skills
May Contain Skills
 
Joined: Mon Sep 01, 2008 12:28 pm
Location: Hammer Crash Logs

Re: Copying the scavenge part from Campaign One.

Postby F0xHunter on Sat May 15, 2010 11:06 pm

Probably a number based on how many players (non-bots) and the difficulty. Put 16 cans in there and you should be fine. Or du you want something triggered when you reach a certian number of cans collected?
STARS_Gavyn wrote:drink sperm and die shithead fucker.

Image
User avatar
F0xHunter
1337 p0st3r
1337 p0st3r
 
Joined: Fri Jan 23, 2009 9:29 pm

Re: Copying the scavenge part from Campaign One.

Postby LordDz on Sun May 16, 2010 12:21 pm

F0xHunter wrote:Probably a number based on how many players (non-bots) and the difficulty. Put 16 cans in there and you should be fine. Or du you want something triggered when you reach a certian number of cans collected?


I wanted a helicopter to rescue them when they reached the number of cans needed, just like with the charger car in the first campaign.

I found this:
http://developer.valvesoftware.com/wiki ... .3E.nut.29

So I hope that will work :)
User avatar
LordDz
May Contain Skills
May Contain Skills
 
Joined: Mon Sep 01, 2008 12:28 pm
Location: Hammer Crash Logs

Re: Copying the scavenge part from Campaign One.

Postby Zipfinator on Sun May 16, 2010 6:48 pm

You can trigger the ending video or a helicopter coming by using a math_counter and having 1 added to the counter every time a can is added. Then when the math_counter reaches 16 or whatever tell it to trigger the helicopter or the ending video.
Image
|Pipe Dream|City 17: Episode 1|
User avatar
Zipfinator
Veteran
Veteran
 
Joined: Thu Dec 21, 2006 6:03 pm
Location: California

Re: Copying the scavenge part from Campaign One.

Postby LordDz on Thu May 20, 2010 1:09 pm

Zipfinator wrote:You can trigger the ending video or a helicopter coming by using a math_counter and having 1 added to the counter every time a can is added. Then when the math_counter reaches 16 or whatever tell it to trigger the helicopter or the ending video.


True that, was trying to use a math_compare (or what it is called).. Thanks :)
User avatar
LordDz
May Contain Skills
May Contain Skills
 
Joined: Mon Sep 01, 2008 12:28 pm
Location: Hammer Crash Logs

Return to Gaming Chat

Who is online

Users browsing this forum: Google [Bot]