1. Hey there Guest,

    The game servers have moved to semi-dedicated hardware and IPs have changed. Please see front page server widget for up-to-date game server information.

CTF - change "playing to 3"

Discussion in 'Mapping Questions & Discussion' started by l3eeron, Apr 29, 2009.

  1. l3eeron

    l3eeron L8: Fancy Shmancy Member

    Messages:
    594
    Positive Ratings:
    86
    (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

    [​IMG]

    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: Apr 29, 2009
  2. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,769
    Positive Ratings:
    5,538
    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.
     
    • Thanks Thanks x 2
  3. l3eeron

    l3eeron L8: Fancy Shmancy Member

    Messages:
    594
    Positive Ratings:
    86
    Well, that makes total sense...

    Thank you for the awesomely fast response. :)
     
  4. l3eeron

    l3eeron L8: Fancy Shmancy Member

    Messages:
    594
    Positive Ratings:
    86
    Success!

    Code:
    tf_flag_caps_per_round 4
    Thanks again!
     
  5. The Asylum

    aa The Asylum

    Messages:
    1,658
    Positive Ratings:
    586
    I tried something like this before, and it crashed my game and rendered the vmf unreadable. What's the working entity setup like?
     
  6. Vigilante212

    Vigilante212 L7: Fancy Member

    Messages:
    481
    Positive Ratings:
    33
    Help with custom game mode

    whoops whong thread
     
  7. Schmoe

    Schmoe L2: Junior Member

    Messages:
    60
    Positive Ratings:
    1
    This post helped me... Thank you very much.
     
  8. Vigilante212

    Vigilante212 L7: Fancy Member

    Messages:
    481
    Positive Ratings:
    33
    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)