game_round_win question

Discussion in 'Mapping Questions & Discussion' started by LuisReefTank, Mar 25, 2011.

  1. LuisReefTank

    LuisReefTank L1: Registered

    Messages:
    14
    Positive Ratings:
    0
    Hello, sorry if i have been a total idiot on my last questions, but i have a doubt and i hope you guys can help me.
    How do i make BLU win if the last RED dies?
    Im kaing a survival map for the mod zombie fortress, but when all reds die the game continues, this is an issue i need to fix, can you help me?

    Thanks in advance!
     
  2. ardysqrrl

    ardysqrrl L4: Comfortable Member

    Messages:
    173
    Positive Ratings:
    159
    there's a way to detect when all members of a team die, but shouldn't that be a part of the gametype itself? Sorry I don't know much about how the ZF mod works
     
  3. tyler

    aa tyler snail prince, master of a ruined tower

    Messages:
    5,034
    Positive Ratings:
    3,989
  4. LuisReefTank

    LuisReefTank L1: Registered

    Messages:
    14
    Positive Ratings:
    0
    Don't worry about ZF, the mod doesn't matter, i only want to know how to make BLU win if all reds die.
     
  5. ardysqrrl

    ardysqrrl L4: Comfortable Member

    Messages:
    173
    Positive Ratings:
    159
    you could put a trigger_multiple over the whole map with a filter_activator_team set to the desired team, and then send an OnEndTouchAll output to trigger a relay which does whatever end-of-game things you want.

    There's probably another way to do it without mapsize triggers but I don't know of it offhand
     
  6. LuisReefTank

    LuisReefTank L1: Registered

    Messages:
    14
    Positive Ratings:
    0
    Could you please explain a little better? i got the trigger and the filter , the filter is set to be the red team, but when i add the output on the tirgger and use the filter there is no option for "round lose" , there is only TestActivator, Setteam, kill, fireuser, and thats about it.
    Also addoutput, if you don't mind, could you please say what to put on the output of the trigger?
     
  7. Wander

    Wander L3: Member

    Messages:
    148
    Positive Ratings:
    42
    the ZF the mod automatically makes REDs that die move to BLU, and the mod automatically makes blue win once all REDs are dead (ive made a few zf maps)

    as long as the server runs zf, for a koth map, just use the usual koth way, and it will work
     
  8. ardysqrrl

    ardysqrrl L4: Comfortable Member

    Messages:
    173
    Positive Ratings:
    159
    he said not to worry about the ZF mod so I'm presuming he's doing something else.
    The trigger should have the following output (click the output tab, hit "add" to make a new output):

    My output named: OnEndTouchAll
    Target entities named: <The name of your game_round_win>
    Via this input: RoundWin
    parameter override and delay can be kept default.

    This is assuming the only thing you want to do when red team dies is trigger the win, if you want multiple things happening I'd suggest having the trigger output to a relay.