View Full Version : Is this possbile..?
Jonah
02-26-2009, 03:24 AM
Is it possible to make a counter that counts kills, or something along those lines? I'm making a deathmatch map, and, well, I'd like to have the team with the most kills to win. Think this could be done with console commands or something?
Zeewier
02-26-2009, 07:35 AM
There are no properly working way to do this...
Only when you make a script yourself...
Fearlezz
02-26-2009, 09:36 AM
Dont GrimGrimz have something like this in his battleofthegods?
GrimGriz
02-26-2009, 02:32 PM
You *MIGHT* be able to figure out how many kills a team has by making the entire thing a capture point and having it report to the counter on number of capturers change (I hope that's clear I'm not sure of the actual flags as I've not used them).
afaik, there's no simple way to track kills tho
Zeewier
02-26-2009, 03:41 PM
Doesnt work properly, and you could just use a trigger for that.
Queops
02-26-2009, 04:07 PM
You *MIGHT* be able to figure out how many kills a team has by making the entire thing a capture point and having it report to the counter on number of capturers change (I hope that's clear I'm not sure of the actual flags as I've not used them).
afaik, there's no simple way to track kills tho
As Z33W13R said, a trigger would do that BUT how would you know from which team a player died? I'm not sure if there are filters for that.
Owlruler
02-26-2009, 04:14 PM
You could have a large trigger_multiple which is filtered to a team. Then have a math counter or something with a limit of 100 and an output of OnRachMax it wins that round for the other team and the trigger multiple has an output of OnEndTouch Add math counter 1. And the trigger multiple is activated after setup so people can change class.
GrimGriz
02-26-2009, 07:08 PM
You could have a large trigger_multiple which is filtered to a team. Then have a math counter or something with a limit of 100 and an output of OnRachMax it wins that round for the other team and the trigger multiple has an output of OnEndTouch Add math counter 1. And the trigger multiple is activated after setup so people can change class.
Noob question interrupt: If 6 players are touching a blu trigger and one dies, an OnEndTouch output will fire despite 5 ppl still touching it from that team?
A Boojum Snark
02-26-2009, 08:18 PM
Noob question interrupt: If 6 players are touching a blu trigger and one dies, an OnEndTouch output will fire despite 5 ppl still touching it from that team?
Yes. That's the difference between On___Touch and On___TouchAll. (and why the latter should always be used on door triggers)
Owlruler
02-27-2009, 01:57 AM
A problem with my idea is that you can't say who has the most kills at the end of the time limit, rather, you can only win when a set number of kills is achieved. This means you can't have a timer. You could, however have a cp in the middle and whoever owns the cp at the end of time or reaches 100 kills first wins
vBulletin® v3.8.2, Copyright ©2000-2013, Jelsoft Enterprises Ltd.