Problem with Gravelpit style map

Discussion in 'Mapping Questions & Discussion' started by Aragon, Dec 3, 2008.

  1. Aragon

    Aragon L1: Registered

    Messages:
    48
    Positive Ratings:
    6
    Hey guys again.
    The map i have been building is a gravelpit style map. The problem that i have is that the teams won't swap if RED wins. If blue wins they do.
    I have a game_round_win entity for team red forcemap reset no and switch teams yes.

    This is triggered from the time entity and is:
    OnFInished game_win_lose RoundWin Delay 0 and only once NO.

    So when time runs out and red wins (Which it says) The teams won't swap.
     
  2. Laz

    Laz L7: Fancy Member

    Messages:
    461
    Positive Ratings:
    34
    but it does trigger the team wiIm guessing he is looking for a next round because of some setup in other entities, try running it with developer mode on, and see if you get any messages in your console, there you'll find out what entities are trying to do what.
     
  3. UKCS-Alias

    aa UKCS-Alias Mann vs Machine... or... Mapper vs Meta?

    Messages:
    1,264
    Positive Ratings:
    748
    The team_control_point_master has a value that makes the teams change on a win. the same however also counts for the round_win entity. Depending on how the win is triggered (either by round_win or cp_master) the specific action is done. So in your case i guess you forgot to set that value in the round win also.
     
  4. Aragon

    Aragon L1: Registered

    Messages:
    48
    Positive Ratings:
    6
    Ok no errors in the console. I checked team_control_point_master and it has Restrict teams from wining red and switch teams on map win? Yes. Any suggestions its starting to annoy me. Does haveing the tf_gamerules entity muck with this?
     
  5. UKCS-Alias

    aa UKCS-Alias Mann vs Machine... or... Mapper vs Meta?

    Messages:
    1,264
    Positive Ratings:
    748
    Have you also checked for that in the round_win? As i think that the problem is there (as you have to set the same value on 2 places)
     
  6. Aragon

    Aragon L1: Registered

    Messages:
    48
    Positive Ratings:
    6
    I already have switch teams on map win.
    Ok here is my entity:
    Name : game_win_lose
    Team: Red
    Force Map Reset: No
    Switch Teams on Map Win: Yes

    Inputs:
    Source: Game_Timer
    Output: OnFinished
    My Input: RoundWin
    Delay: 0.00
    Once: No
     
  7. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,769
    Positive Ratings:
    5,527
    So if I get you right, blu's win comes automatically from the master, and red's is trigger on the round_win from the timer? Just a random thought... but could it be that when red wins both swaps get fired, and the teams are "swapped" twice... effectively nullifying it?
    Try sending SetWinner to the master when the timer runs out instead of the round_win (with a value of 2 for red) and see what it does.
     
    • Thanks Thanks x 1
  8. Aragon

    Aragon L1: Registered

    Messages:
    48
    Positive Ratings:
    6
    Thanks alot. It works now. They must have been doing a double switch.
     
  9. Laz

    Laz L7: Fancy Member

    Messages:
    461
    Positive Ratings:
    34
    ooooo tricksey are we? :D