Commented 18 years ago2006-04-09 18:15:55 UTCComment #11467
make sure you look at the vmf, the LOS doesnt make them not see you, its a trick, us trigger_proximity to turn a ai_relationship on and off, it works well, only make one and then copy it
Commented 18 years ago2006-04-26 17:59:09 UTCComment #11593
Good example. I like the idea!
Note: only 1 ai_relationship is really needed. The default disposition of metropolice to the player is "hate."
The map can be simplified by deleting one of the ai_relationship entities. For the remaining ai_relationship, set disposition to "Like," "Start Active" to NO, and trigger that ai_relationship with the trigger_prox's (entering the prox triggers Apply, leaving triggers Revert).
Commented 18 years ago2006-04-26 18:20:39 UTCComment #11594
For what it's worth:
Playing around with the LOS texture, I found that it does have an effect on the metropolice. I added an LOS area away from the trigger_prox's which does, indeed, create a shadowed area.
When in that shadowed area, the NPCs will draw and aim at the player but do not fire. Weird. Other than for shadowed areas, it would seem to have limited use blocking line-of-sight of NPCs.
I had no idea what LOS was untill now, that's great!
Finnaly I can do my stealth map idea!
You pwn man
What does the LOS do then?
I orginially thought it would blcok the npc seeing you but learned it wouldnt
Brilliant example!
Note: only 1 ai_relationship is really needed. The default disposition of metropolice to the player is "hate."
The map can be simplified by deleting one of the ai_relationship entities. For the remaining ai_relationship, set disposition to "Like," "Start Active" to NO, and trigger that ai_relationship with the trigger_prox's (entering the prox triggers Apply, leaving triggers Revert).
Playing around with the LOS texture, I found that it does have an effect on the metropolice. I added an LOS area away from the trigger_prox's which does, indeed, create a shadowed area.
When in that shadowed area, the NPCs will draw and aim at the player but do not fire. Weird. Other than for shadowed areas, it would seem to have limited use blocking line-of-sight of NPCs.
I originally had a trigger_once parented to an npc but when he moved it wouldnt turn, only move with him sort of thing
yeah old map is old.
may not even work. idk