Stopping AI from attacking you.
Post Reply
Quote
Re: Stopping AI from attacking you.
Posted by Cheezwedge on Sun Jan 16th at 2:31am 2005


I am making a giant scene with a bunch of antlions and a bunch of combine and striders. The player spawns in the middle of the battlefield in a glass box about 100 feet high. Is there a way that I can keep the npcs from just focusing on me?





Quote
Re: Stopping AI from attacking you.
Posted by StealthForte on Sun Jan 16th at 3:53am 2005


You can use the command "notarget" and none of the AI will be able to see you, even if you attack them.




Quote
Re: Stopping AI from attacking you.
Posted by satchmo on Sun Jan 16th at 4:33am 2005


Open up the console, and enter the command "ai_disabled 1".

I haven't used the "notarget" command since the original Half-Life, and I am not sure it still works for HL2.
[addsig]




Quote
Re: Stopping AI from attacking you.
Posted by Chrasher on Sun Jan 16th at 12:50pm 2005


fix the ai_relationship ! make them like "player" or "phys*"



Quote
Re: Stopping AI from attacking you.
Posted by Leperous on Sun Jan 16th at 1:00pm 2005


I think he wants to make this part of the single player level he's making, and isn't after a cheat/console command. Like Chrasher said, try the ai_relationship entity and make them neutral to you.




Post Reply