Warning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]/archive/global.php(40) : eval()'d code on line 2
Keep away? [Archive] - TF2Maps.net Forums

PDA

View Full Version : Keep away?


Strife
02-06-2008, 02:59 AM
Pretty new to mapping for source, and been away so long. Is there any way where I could use a ctf mode to make a keep away map?

lerlerson
02-06-2008, 05:47 AM
Well, what do you mean? Do you mean, say, there's a neutral flag on the map and when you grab it a timer starts, and the first team to hold onto it for, say, 2:00 wins?

Strife
02-06-2008, 07:19 AM
Something like that would work. Or every 2 minutes held, adds a point to their teams score, first to 3 wins.

spaceweasels
02-06-2008, 09:51 AM
You might be able to do that. The only problem is, this would have to be done in an attack/defend style game. On team would try and possess the flag, the other team tries to stop them for having possession. I would have outputs on the flag entity that point to a team_round_timer:

OnPickup->[/i]timername[/i]->resume
OnDrop->[/i]timername[/i]->pause

And on the team_round_timer has an output thats point to a game_round_win entity.

Another way is to have the flag point to a logic_timer that points to a math_counter(which adds the time). When the math_counter reaches it's full count, it activates a game_round_win entity to the attackers. The team_round_win entity points to another game_round_win of the defenders.

Anyway, that's just off the top of my head. There might be a better way of doing it.