CTF - change "playing to 3"

l3eeron

L8: Fancy Shmancy Member
Jan 4, 2008
593
88
(I've searched the best I can)

I was going to try to use the regular CTF mode on my "plant the flag/ctf-push" map. Which works great, but I have 4 CPs on the map, and the round ends at 3 by default (like 2fort and turbine). Is there some way to make it "Play to 4"?

I know sacrifist did it somehow on his avanti_b1 (see below), and his map is decompile protected :p

avanti_b10000copy.jpg


I would be stoked if I could get it to score 1 point when all 4 intels are capped (or 1 point to red for time running out)... not 1 point for each time the intel is capped. But, that's not even really that important to me.

I have been using the attack/defend mode on the intel settings for my map. I guess it was never fully developed, and they just left it in for some reason. Anyway, here are the bugs with the attack/defend ctf mode.

- The player that caps the intel get 30 kills added to his score (wtf?)
- No announcement the the flag has been dropped/picked up (I'm sure there's a way to get this working)



BUT! It does allow me to do more than 3 caps in one round!


Any help sorting this out would be greatly appreciated.
 
Last edited:

A Boojum Snark

Toraipoddodezain Mazahabado
aa
Nov 2, 2007
4,775
7,669
You can override the server setting to max caps with a point_servercommand.

The TFC dustbowl gave the capper 30 points, that's where that got left over from. Try using the Invade setting, as that is what Avanti was called.
 

l3eeron

L8: Fancy Shmancy Member
Jan 4, 2008
593
88
Well, that makes total sense...

Thank you for the awesomely fast response. :)
 

l3eeron

L8: Fancy Shmancy Member
Jan 4, 2008
593
88
Success!

Code:
tf_flag_caps_per_round 4

Thanks again!
 
T

The Asylum

I tried something like this before, and it crashed my game and rendered the vmf unreadable. What's the working entity setup like?
 

Vigilante212

L420: High Member
Dec 21, 2008
481
33
I tried something like this before, and it crashed my game and rendered the vmf unreadable. What's the working entity setup like?

Setup a logic_auto with an output set to below

OnMapSpawn
Target entity= name of point_servercommand
Target input=Command
Parameter=tf_flag_caps_per_round 4 (or whatever number ya want)