Map logic not working.

Discussion in 'Mapping Questions & Discussion' started by Treetalk, Jan 16, 2019.

  1. Treetalk

    Treetalk L1: Registered

    Messages:
    10
    Positive Ratings:
    1
    I'm working on a 3CP attack/defend map, but the logic isn't working as planned, when I can the first point, the game already wins, I want it to cap first, second, forward spawndoors activate and doors to C open, then once I can C I win, can someone support?
    Thanks.
     

    Attached Files:

  2. nesman

    aa nesman oh god how did this get here

    Messages:
    249
    Positive Ratings:
    86
    Do you have ABS installed? There is a template for 3cp and might help lead you to why the logic isnt working
     
  3. Treetalk

    Treetalk L1: Registered

    Messages:
    10
    Positive Ratings:
    1
    I copied it over, still just the one point.
     
  4. Harritron

    Harritron L3: Member

    Messages:
    138
    Positive Ratings:
    82
    In your file, you don’t have the cp_ prefix in front of the rest of your map name. This might be why it’s not working properly. Try renaming it to cp_coalmine_a1 and see if that fixes it.
     
  5. Da Spud Lord

    aa Da Spud Lord L0: Crappy Member

    Messages:
    940
    Positive Ratings:
    649
    That shouldn't matter, afaik.

    Do you have any errors in your console, Treetalk?
     
  6. Treetalk

    Treetalk L1: Registered

    Messages:
    10
    Positive Ratings:
    1
    This is what I got in the console.
    One notable thing is "Multiple control points with the same index" but they're all seperate."
     

    Attached Files:

  7. MaartenS11

    MaartenS11 L2: Junior Member

    Messages:
    57
    Positive Ratings:
    15
    the index is set in your team_control_point, right now the game is just registering these 3 points as one point
     
  8. Harritron

    Harritron L3: Member

    Messages:
    138
    Positive Ratings:
    82
    That sounds like you didn’t change the index of each control point. If you didn’t change it, what you need to do is go is open the properties of each team_control_point and change the “index” value of each to be a different number (I.e. point A =0, point B=1, point C=2, etc.). You can’t have more than one control point contain the same index value, as the game will register all three as one.

    Also be sure to follow the index values in this order, otherwise the game will think your last control point is your first.

    If that’s not the problem and you did do that, maybe start a new hammer file and use ABS to insert the logic again.
     
    Last edited: Jan 16, 2019