Please or Register to create posts and topics.

visual-based tracking enitities

Page 1 of 2Next

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?

Just when I think I understand the system, it changes on me.

You're looking for the npc_enemyfinder.

Falsi sumus crusto!

I tried using that agaisnt the player and nothing happened

Just when I think I understand the system, it changes on me.
FelixGriffin wrote:
You're looking for the npc_enemyfinder.

Haha, another great entity I know by you, Felix :D I think this could be great for optimisation purposes instead of a lot of triggers or portal detectors for example ;)

ImageImageImageImageImageuseful tools and stuff here on TWP :thumbup:
[spoiler]ImageImageImageImageImage[/spoiler]

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

Just when I think I understand the system, it changes on me.
josepezdj wrote:
FelixGriffin wrote:
You're looking for the npc_enemyfinder.

Haha, another great entity I know by you, Felix :D 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.

Falsi sumus crusto!

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?

Just when I think I understand the system, it changes on me.

Those keyvalues should be fine left default.

And yes, it does.

Falsi sumus crusto!

well i tested it and it did nothing.

Just when I think I understand the system, it changes on me.

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

Falsi sumus crusto!
Page 1 of 2Next