visual-based tracking enitities
Quote from Fracture on July 11, 2013, 1:53 pmI noticed the func_tank has outputs for finding and losing targets. I was wondering how it may be possible to implement these elements so as to create an NPC enemy that attacks on sight, much like how the turret functions.
And if the func_tank cannot be used, is there anything else i can use?
I noticed the func_tank has outputs for finding and losing targets. I was wondering how it may be possible to implement these elements so as to create an NPC enemy that attacks on sight, much like how the turret functions.
And if the func_tank cannot be used, is there anything else i can use?
Quote from FelixGriffin on July 11, 2013, 10:52 pmYou're looking for the npc_enemyfinder.
You're looking for the npc_enemyfinder.

Quote from josepezdj on July 12, 2013, 1:29 amFelixGriffin wrote:You're looking for the npc_enemyfinder.Haha, another great entity I know by you, Felix
I think this could be great for optimisation purposes instead of a lot of triggers or portal detectors for example
Haha, another great entity I know by you, Felix I think this could be great for optimisation purposes instead of a lot of triggers or portal detectors for example
Quote from Fracture on July 12, 2013, 1:57 amim doing something wrong cause I have both a filter and AI_relationship telling the enemyfinder that the player is a target so it can activate a disabled turret. But it is doing nothing
EDIT nevermind, I accidentally put the number for max search distance into min search distance
im doing something wrong cause I have both a filter and AI_relationship telling the enemyfinder that the player is a target so it can activate a disabled turret. But it is doing nothing
EDIT nevermind, I accidentally put the number for max search distance into min search distance
Quote from FelixGriffin on July 12, 2013, 9:06 amjosepezdj wrote:FelixGriffin wrote:You're looking for the npc_enemyfinder.Haha, another great entity I know by you, Felix
I think this could be great for optimisation purposes instead of a lot of triggers or portal detectors for example
I found this one in an old rocket turret instance, someone had used it with a tracking point_spotlight to rebuild the entity from scratch in Portal 2.
Haha, another great entity I know by you, Felix I think this could be great for optimisation purposes instead of a lot of triggers or portal detectors for example
I found this one in an old rocket turret instance, someone had used it with a tracking point_spotlight to rebuild the entity from scratch in Portal 2.
Quote from Fracture on July 19, 2013, 1:51 amOkay this thing is actually being a real pain. The last 4 keyvalues minus the last one have me confounded. Do they seriously have to word it like this because i have no idea what they mean here.
also does blocklos effect this entity?
Okay this thing is actually being a real pain. The last 4 keyvalues minus the last one have me confounded. Do they seriously have to word it like this because i have no idea what they mean here.
also does blocklos effect this entity?
Quote from FelixGriffin on July 19, 2013, 8:34 amThose keyvalues should be fine left default.
And yes, it does.
Those keyvalues should be fine left default.
And yes, it does.
Quote from FelixGriffin on July 20, 2013, 3:44 pmThere's a sample rocket turret map somewhere, the one I found the entity in. Look at that one.
Here's the video I downloaded it from: http://www.youtube.com/watch?v=bu-FQq2xk40
There's a sample rocket turret map somewhere, the one I found the entity in. Look at that one.
Here's the video I downloaded it from: http://www.youtube.com/watch?v=bu-FQq2xk40