game_round_win question

  • If you're asking a question make sure to set the thread type to be a question!

LuisReefTank

L1: Registered
Feb 25, 2011
14
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!
 

ardysqrrl

L4: Comfortable Member
Oct 26, 2009
173
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
 

tyler

aa
Sep 11, 2013
5,102
4,621
Pretty sure zf isn't a mod, just some entity magic. I don't know how it works though.
 

LuisReefTank

L1: Registered
Feb 25, 2011
14
0
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

Don't worry about ZF, the mod doesn't matter, i only want to know how to make BLU win if all reds die.
 

ardysqrrl

L4: Comfortable Member
Oct 26, 2009
173
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
 

LuisReefTank

L1: Registered
Feb 25, 2011
14
0
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

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?
 

Wander

L3: Member
Sep 16, 2010
148
55
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
 

ardysqrrl

L4: Comfortable Member
Oct 26, 2009
173
159
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)
he said not to worry about the ZF mod so I'm presuming he's doing something else.
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?
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.