Stopping AI from attacking you.

Stopping AI from attacking you.

Re: Stopping AI from attacking you. Posted by Cheezwedge on Sun Jan 16th 2005 at 2:31am
Cheezwedge
27 posts
Posted 2005-01-16 2:31am
27 posts 3 snarkmarks Registered: Jan 15th 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?
Re: Stopping AI from attacking you. Posted by StealthForte on Sun Jan 16th 2005 at 3:53am
StealthForte
4 posts
Posted 2005-01-16 3:53am
4 posts 0 snarkmarks Registered: Dec 14th 2004
You can use the command "notarget" and none of the AI will be able to see you, even if you attack them.
Re: Stopping AI from attacking you. Posted by satchmo on Sun Jan 16th 2005 at 4:33am
satchmo
2077 posts
Posted 2005-01-16 4:33am
satchmo
member
2077 posts 1809 snarkmarks Registered: Nov 24th 2004 Occupation: pediatrician Location: Los Angeles, U.S.
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.
Re: Stopping AI from attacking you. Posted by Chrasher on Sun Jan 16th 2005 at 12:50pm
Chrasher
3 posts
Posted 2005-01-16 12:50pm
Chrasher
member
3 posts 0 snarkmarks Registered: Jan 6th 2005
fix the ai_relationship ! make them like "player" or "phys*"
Re: Stopping AI from attacking you. Posted by Leperous on Sun Jan 16th 2005 at 1:00pm
Leperous
3382 posts
Posted 2005-01-16 1:00pm
Leperous
Creator of SnarkPit!
member
3382 posts 1635 snarkmarks Registered: Aug 21st 2001 Occupation: Lazy student Location: UK
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.