Source SDK

Source SDK

Foofinoo Oct 27, 2013 @ 6:31am
How to make a Death Counter... And what is the "info node" ??
Hi everyone, no problem this time, just two questions...

I have made map with enemies, and I would make in the game a counter with the number of enemies killed, number of secrets found... Like DOOM !!
I have played a downloaded map, and there was that (the map was inspired by DOOM)...
So, how I can do that ??
I have decompile this map and open it with Hammer, but it's really not clear...
And I have not find tutorial for that in Google...

And finally, what is the "info node" entity ?? I see it everywhere around NPC enemies, but I don't know what is it...

Sorry for my english, I use Google Translation...
< >
Showing 1-4 of 4 comments
Snoopy Oct 27, 2013 @ 6:47am 
The death counter probably uses an npcs 'OnDeath' output to increment a counter.
The info_node is a navigation node for npcs, basically showing them places they can move to.
For more info on entities and hammer in general: https://developer.valvesoftware.com/wiki/Category:Hammer
Last edited by Snoopy; Oct 27, 2013 @ 6:47am
Wazanator Oct 27, 2013 @ 9:29am 
Yes as KillerB said you're going to want to use several math_counters and incremenet them as the player plays. So when they find a secret add 1 to the secret_math_counter, etc

Then at the end do some entity stuff that changes it's display depending on the current value in math_counter

Info_node is the old way for setting up NPC navigation. Newer games use a different navigation mesh that is much less repetitive to setup. I think it might be working in 2013 but I could be wrong.
Foofinoo Oct 27, 2013 @ 12:24pm 
Thanks for your answer !!!!
"Info_node" has not need to be configure ??
And what is the new way to use the navigation ?

EDIT : I tested the "info_node" and the counter... And it's work fine !! Thank you !!
RE-EDIT : Ok, the "Navigation_Meshes" looks hard to use, and I create map for HL2, so I don't need it... But thank you for your response.
Last edited by Foofinoo; Oct 31, 2013 @ 9:56am
< >
Showing 1-4 of 4 comments
Per page: 1530 50

Date Posted: Oct 27, 2013 @ 6:31am
Posts: 4