CTF points

Discussion in 'Mapping Questions & Discussion' started by HMK-3, Oct 7, 2014.

  1. HMK-3

    HMK-3 L2: Junior Member

    Messages:
    56
    Positive Ratings:
    14
    Hi!
    Im working on a CTF map with multiple capture areas, and i want to know if there is a way to make certain point worth more captures, for example
    capture point A: 1 point
    capture poin B: 2 points
    and C:3
    with a limit of 10 ftw
    im REALY unfamiliar with the triggers, the logic stuff, outputs and inputs, soo thats it

    :B
     
  2. takabuschik

    aa takabuschik

    Messages:
    660
    Positive Ratings:
    308
    I'm sure it's possible. Without looking into it, I'm pretty sure you can fire outputs that will give a team points. But I'm no logic expert either.
     
  3. Muddy

    Server Staff Muddy Muddy

    Messages:
    2,372
    Positive Ratings:
    4,167
    It does involve inputs and outputs!

    Select your func_capturezone entity, go to the Outputs tab, and do this:

    My output named OnCapTeam1/2 (1 is Red, 2 is Blue, change accordingly - this basically means "When team 1 or 2 captures this area...")
    Targets entities named <the name of your tf_gamerules entity>
    Via this input AddRed/BlueTeamScore (change accordingly - this should be self-explanatory)
    With a parameter override of <however many points you want the team to earn upon capture>

    So if you want the BLU team to earn 3 points whenever they capture the flag in a certain capture zone (and your tf_gamerules entity is named "gamerules"), enter this into the capture zone in question:

    My output named OnCapTeam2
    Targets entities named gamerules
    Via this input AddBlueTeamScore
    With a parameter override of 3

    Also, it'll help if your tf_gamerules entity is set to "CTF HUD".

    It'll probably look daunting and complicated at first, but inputs and outputs are actually relatively simple and easy to use once you figure them out!
     
    • Thanks Thanks x 3
    Last edited: Oct 8, 2014
  4. HMK-3

    HMK-3 L2: Junior Member

    Messages:
    56
    Positive Ratings:
    14
    Is not working for me, im still getting 1 capture point.
    :/
     
    Last edited: Oct 8, 2014
  5. Muddy

    Server Staff Muddy Muddy

    Messages:
    2,372
    Positive Ratings:
    4,167
    Well, that'll teach me to not try out a solution before recommending it...
     
  6. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,769
    Positive Ratings:
    5,509
    The problem is those inputs adjust the overall team score (seen on the scoreboard), NOT the flag score see on the hud panel. The latter can't be manually adjusted.
     
  7. Pocket

    aa Pocket func_croc

    Messages:
    4,489
    Positive Ratings:
    2,213
    You might want to just look into using the RD HUD, since it supports a "points" system as well as flag capturing.
     
  8. HMK-3

    HMK-3 L2: Junior Member

    Messages:
    56
    Positive Ratings:
    14
    Its my fault, i did not specified the point type

    BTW:
    I dont see the tf_logic_robot_destruction entity in hammer...
     
    Last edited: Oct 8, 2014
  9. HMK-3

    HMK-3 L2: Junior Member

    Messages:
    56
    Positive Ratings:
    14
    bump!

    Theres no way to do that?
     
  10. worMatty

    aa worMatty Repacking Evangelist

    Messages:
    1,071
    Positive Ratings:
    832
    You won't see any RD entities in the FGD, just yet because it's still work-in-progress. You'll need to decompile rd_asteroid and take a look inside. I think all the entities were just outside one of the team's vaults, last time I had a look.
     
  11. Pocket

    aa Pocket func_croc

    Messages:
    4,489
    Positive Ratings:
    2,213
    And decompiling Asteroid doesn't work because the decompiler chokes on the new prop lighting options. Or something.
     
  12. HMK-3

    HMK-3 L2: Junior Member

    Messages:
    56
    Positive Ratings:
    14
    Anyway, Thanks! I droped the proyect already...
    I will start doing a TF version of routegs