Page 1 of 1

Friendly Combine Soldiers?

Posted: Thu Jan 04, 2007 7:56 pm
by TheBlackViper
I am looking to create a combine soldier that will follow the player around on use and attack other npcs but not attack the player. Is this possible under the current build?

Posted: Thu Jan 04, 2007 8:20 pm
by skidz
Yes, you change the relationship with an ai_relationship and set the combine soldiers Follow the Player on Use to true.

Posted: Thu Jan 04, 2007 8:32 pm
by TheBlackViper
But won't that effect all combine? I want to have some hostile and some friendly.

Posted: Thu Jan 04, 2007 8:39 pm
by Hell-met
give them a name then !

Code: Select all

npc_combine_s 
Name = FAGGOT

Ai_relationship
Target = FAGGOT only

Posted: Thu Jan 04, 2007 8:41 pm
by TheBlackViper
Fire_cube wrote:give them a name then !

Code: Select all

npc_combine_s 
Name = FAGGOT

Ai_relationship
Target = FAGGOT only
Ah! It was right in front of me the whole time :oops:
Thanks!

Posted: Sun Jan 07, 2007 8:33 pm
by TheBlackViper
Bah, I still have a bit of a problem with this. When I went into multiplayer with some friends, they attacked everyone but the host but did no damage. So their names are green and they don't do damage, but they still attack...Any way around this? I have them set to Like player, perhaps I should use a different targetname or classname for the player?

Posted: Sun Jan 07, 2007 8:48 pm
by Lark
change them to rebels then change the model to combine?

Posted: Sun Jan 07, 2007 9:07 pm
by Hell-met
gtaiiilc wrote:change them to rebels then change the model to combine?
no

Posted: Sun Jan 07, 2007 9:09 pm
by TheBlackViper
gtaiiilc wrote:change them to rebels then change the model to combine?
Then they won't have the right sound set and animations :/