Onslaught kill counter :) Please read!

Onslaught kill counter :) Please read!

Re: Onslaught kill counter :) Please read! Posted by Drshark on Mon Jul 3rd 2006 at 1:22pm
Drshark
42 posts
Posted 2006-07-03 1:22pm
Drshark
member
42 posts 24 snarkmarks Registered: Jan 22nd 2005
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.
Re: Onslaught kill counter :) Please read! Posted by Orpheus on Mon Jul 3rd 2006 at 1:58pm
Orpheus
13860 posts
Posted 2006-07-03 1:58pm
Orpheus
member
13860 posts 2024 snarkmarks Registered: Aug 26th 2001 Occupation: Long Haul Trucking Location: Long Oklahoma - USA
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.
Re: Onslaught kill counter :) Please read! Posted by Drshark on Mon Jul 3rd 2006 at 2:02pm
Drshark
42 posts
Posted 2006-07-03 2:02pm
Drshark
member
42 posts 24 snarkmarks Registered: Jan 22nd 2005
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
Re: Onslaught kill counter :) Please read! Posted by Orpheus on Mon Jul 3rd 2006 at 2:04pm
Orpheus
13860 posts
Posted 2006-07-03 2:04pm
Orpheus
member
13860 posts 2024 snarkmarks Registered: Aug 26th 2001 Occupation: Long Haul Trucking Location: Long Oklahoma - USA
Well, I'm on 56k.. I'm not going to search :wink:

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.
Re: Onslaught kill counter :) Please read! Posted by Drshark on Mon Jul 3rd 2006 at 2:45pm
Drshark
42 posts
Posted 2006-07-03 2:45pm
Drshark
member
42 posts 24 snarkmarks Registered: Jan 22nd 2005
Found it : http://www.snarkpit.net/forums.php?topic=6586

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