Onslaught kill counter :) Please read!
Post Reply
Quote
Re: Onslaught kill counter :) Please read!
Posted by Drshark on Mon Jul 3rd at 1:22pm 2006


Yeah, so i'm making a small HL2 fun map, where you have to defend a place. I've already set up everything, but i want a killcounter.

Or well, actually 3.

The first one will say "Combine kills"

The second one will say "Rebel kills"

And the final one will say "Score".

Now, i know i have to use a math_counter.
This is what i tried: a math_counter with an initial state of 0. I then made an input which was for the NPC_TEMPLATE_MAKER for the combine soldiers.

OnSpawnedDead, counter, multiply with an output of 1.

I am assuming this is correct. What i have to do is the same with the rebel counter. The final one will remove 5 points for each rebel death and add 2 points for each Combine kill.

I am assuming i have to use a game_text but i can't figure out what to do.

Dr.SharK

PS: Yes, it is possible, i've seen maps with it: Unfortunately, the email from the author didn't work, so i couldn't contact him.




Quote
Re: Onslaught kill counter :) Please read!
Posted by Orpheus on Mon Jul 3rd at 1:58pm 2006


There is a map where a guy figured out how to keep scores with a basket and a ball.. If I recall correctly.

Look it up an see if it can be adapted to your needs. If not, *shrugs*





The best things in life, aren't things.



Quote
Re: Onslaught kill counter :) Please read!
Posted by Drshark on Mon Jul 3rd at 2:02pm 2006


? quote:
There is a map where a guy figured out how to keep scores with a basket and a ball.. If I recall correctly.

Look it up an see if it can be adapted to your needs. If not, *shrugs*


I would if i knew what to search for




Quote
Re: Onslaught kill counter :) Please read!
Posted by Orpheus on Mon Jul 3rd at 2:04pm 2006


Well, I'm on 56k.. I'm not going to search <img src=" SRC="images/smiles/icon_wink.gif">

If I knew, I'd tell'ya though.

Wasn't over a year ago.. Search by date. The map is unique, and it looks a lot like tron so it should be relatively easy to spot.





The best things in life, aren't things.



Quote
Re: Onslaught kill counter :) Please read!
Posted by Drshark on Mon Jul 3rd at 2:45pm 2006


Found it : http://www.snarkpit.net/forums.php?topic=6586

But the dude has a hard time explaining excactly what he did :/





Post Reply