Players are asking me to "fix the stopwatch" for my map

Discussion in 'Mapping Questions & Discussion' started by Icarus, Nov 7, 2008.

  1. Icarus

    aa Icarus

    Messages:
    2,246
    Positive Ratings:
    1,181
    I don't play competitively, so could someone tell me what a stopwatch is and how it works?
     
    Last edited: Nov 7, 2008
  2. Icarus

    aa Icarus

    Messages:
    2,246
    Positive Ratings:
    1,181
    I know what they're talking about.

    It's a function using mp_tournament. There's something called a 'stopwatch', a separate timer from the round timer. But I don't really know much beyond that.
     
  3. Psyphil

    Psyphil L3: Member

    Messages:
    125
    Positive Ratings:
    30
    The stopwatch checks what time it took for the first attacking team to reach the last point they capped, then if the next team (after sideswitch) don't succeed in capping that point faster, or cap more points they loose.

    I think this is only serverside and you don't have to think about it when making maps but I'm not sure.
     
  4. Icarus

    aa Icarus

    Messages:
    2,246
    Positive Ratings:
    1,181
    Then it's probably just how my map is laid out

    Giving a point for ever cap defeats the point of capping C early.. and It'd probably screw up stopwatch mode even more
     
  5. Apom

    Apom L6: Sharp Member

    Messages:
    366
    Positive Ratings:
    62
    Do you mean you have a Steel-like capture model? You should give one point for each cap, but grant full points on capturing the last one. For instance, in Steel, if a team captures A, B and then directly E, they still score five points.
     
  6. Icarus

    aa Icarus

    Messages:
    2,246
    Positive Ratings:
    1,181
    How would I be able to do that?
     
  7. Icarus

    aa Icarus

    Messages:
    2,246
    Positive Ratings:
    1,181
    They replied to my question and this was their response:

    "It says that points capture, but doesn't say the amount of time they capped in."

    I tried it myself, and every time you capped C it says it was done within 1 second, no matter what.

    It's pretty hard to fix, since I can't seem to find any information on it at all.
     
  8. Apom

    Apom L6: Sharp Member

    Messages:
    366
    Positive Ratings:
    62
    There should be a counter for team scores (there is one if you replicated the entities from cp_game_entities), increment it whenever the attackers take a cap point, and make some smart logic to take care of final caps that skipped intermediary points.


    EDIT: this could be due to your game_round_timer (r whatever the exact name is) not having a canonical name. It's just a possibility, but it's worth checking a decompiled Gravel Pit to be sure.
     
    Last edited: Nov 7, 2008
  9. Icarus

    aa Icarus

    Messages:
    2,246
    Positive Ratings:
    1,181
    It all come together automatically once I switched "Add score for every round win" to "Add score for every point captured".

    Unfortunately, I have lots of hidden CPs I use as triggers (necessary for the A OR B mechanic), so in the end of just one round if all points are captured, the score is 5-1.

    I don't believe I can make this work.
     
  10. MangyCarface

    aa MangyCarface Mapper

    Messages:
    1,616
    Positive Ratings:
    1,275
    Why do you have hidden CPs? You should be able to accomplish the same effect through logic_relays etc