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?
1
Re: Stopping AI from attacking you.
Posted by StealthForte on Sun Jan 16th at 3:53am 2005
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.
Re: Stopping AI from attacking you.
Posted by satchmo on Sun Jan 16th at 4:33am 2005

satchmo
member
2077 posts
396 snarkmarks
Registered: Nov 24th 2004
Location: Los Angeles, U.S.
Occupation: pediatrician
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]
I haven't used the "notarget" command since the original Half-Life, and I am not sure it still works for HL2.
[addsig]
satchmo
member
2077 posts
396 snarkmarks
Registered: Nov 24th 2004
Location: Los Angeles, U.S.

Occupation: pediatrician
Re: Stopping AI from attacking you.
Posted by Chrasher on Sun Jan 16th at 12:50pm 2005
Posted by Chrasher on Sun Jan 16th at 12:50pm 2005
fix the ai_relationship ! make them like "player" or "phys*"
Re: Stopping AI from attacking you.
Posted by Leperous on Sun Jan 16th at 1:00pm 2005

Leperous
member
3382 posts
788 snarkmarks
Registered: Aug 21st 2001
Location: UK
Occupation: Lazy student
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.
Leperous
member
3382 posts
788 snarkmarks
Registered: Aug 21st 2001
Location: UK
Occupation: Lazy student
1
© Snarkpit.net 2001 - 2023, about us, donate, contact
Snarkpit v6.1.0 created this page in 0.0113 seconds.

Snarkpit v6.1.0 created this page in 0.0113 seconds.

