Setup Gates - CTF?

DJive

Cake or Death?
aa
Dec 20, 2007
1,465
741
Last edited:

Void

Local Man Unable To Map, Sources Say
aa
Sep 14, 2008
1,868
2,977
It's been done in the infamous CTF_HallofDeath, I'm just not sure how. I've done it before with all the default setup things and default CTF settings, and it worked.
 

MildlyMad

L2: Junior Member
Mar 27, 2009
55
5
I've got mine to work in a small ctf map I made,
I used a team_round_timer to make the setup time, with an output of OnSetupfinsihed Door Open.

You need to have the team_round_timer start on map spawn, so use a logic_auto also to start that.
 

l3eeron

L8: Fancy Shmancy Member
Jan 4, 2008
593
88
I have set up timer with gates on avantiville, which is attack-defend-ctf/sequential-ctf/plant-the-flag...

I used a team_round_timer, with this class info:

teamroundtimer_classinfo.jpg


Use output:

OnSetupFinished > yourfunc_door > open > delay 0


It's basically what you read (the second link)...so I'm not sure why it's not working for you... but it DOES work!
 
Last edited:

DJive

Cake or Death?
aa
Dec 20, 2007
1,465
741
Great, ty guys it works.

Is there a way to get ride of the timer for CTF?..

IE

DJive join game.
timer for 30 seconds.. then respawns in spawn room
timer for the 20 seconds for doors
20 seconds later doors drop game start.

^The CTF one is the one i think that puts you back into spawn.
 

YM

LVL100 YM
aa
Dec 5, 2007
7,135
6,056
Thats the waiting for players timer isnt it? Theres a command "mp_cancelwaitingforplayers" or something, I have it bound to F8 :D
 

l3eeron

L8: Fancy Shmancy Member
Jan 4, 2008
593
88
Ahhh...

cuz it sux when you're testing gameplay stuff and you have to wait for the 30 second "wait for players timer".
 

DJive

Cake or Death?
aa
Dec 20, 2007
1,465
741
Thats the waiting for players timer isnt it? Theres a command "mp_cancelwaitingforplayers" or something, I have it bound to F8 :D

Is there anyway to set this in the map? IE for when an admin isn't present
 

l3eeron

L8: Fancy Shmancy Member
Jan 4, 2008
593
88
"mp_waitingforplayers_cancel" = "0"
game - Set to 1 to end the WaitingForPlayers period.

Code:
bind f8 "mp_waitingforplayers_cancel 1"


so I guess you could fire to a point_servercommand with a logic_auto OnMapSPawn.....


edit: yep it works on a ctf map, I compiled and tested it. Set up a point_servercommand, then fire to it using this output on your logic_auto:


servercommand.jpg
 
Last edited:

DJive

Cake or Death?
aa
Dec 20, 2007
1,465
741
Uhh... why would you WANT to remove it? It's a good thing, it keeps the match from starting before a decent amount of people can load in.

Just figuring for peoples sake waiting 20 seconds, and then another 25+ seconds can suck.

However if this is a common thing i guess i shouldn't worry
 

YM

LVL100 YM
aa
Dec 5, 2007
7,135
6,056
it only happens when the map is initially loaded, any subsequent rounds don't have it and most players don't join right at the start of it they might only catch 5 seconds of it.