Friendly Combine Soldiers?

Need Help? The Day isnt going so well on the Mapping front?
Post Reply
TheBlackViper
Polygon
Polygon
Posts: 36
Joined: Wed Jan 03, 2007 6:45 am
Location: New Mexico
Contact:

Friendly Combine Soldiers?

Post 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?
skidz
Obsidian Gold
Obsidian Gold
Posts: 3228
Joined: Mon May 29, 2006 6:36 am
Location: Maple Ridge, BC
Contact:

Post by skidz »

Yes, you change the relationship with an ai_relationship and set the combine soldiers Follow the Player on Use to true.
TheBlackViper
Polygon
Polygon
Posts: 36
Joined: Wed Jan 03, 2007 6:45 am
Location: New Mexico
Contact:

Post by TheBlackViper »

But won't that effect all combine? I want to have some hostile and some friendly.
Hell-met
Obsidian Gold
Obsidian Gold
Posts: 2885
Joined: Tue Jun 27, 2006 4:09 am
Location: BIENVENUE DANS MON PAYS LE KEBEK

Post by Hell-met »

give them a name then !

Code: Select all

npc_combine_s 
Name = FAGGOT

Ai_relationship
Target = FAGGOT only
TheBlackViper
Polygon
Polygon
Posts: 36
Joined: Wed Jan 03, 2007 6:45 am
Location: New Mexico
Contact:

Post 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!
TheBlackViper
Polygon
Polygon
Posts: 36
Joined: Wed Jan 03, 2007 6:45 am
Location: New Mexico
Contact:

Post 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?
User avatar
Lark
npc_advisor
npc_advisor
Posts: 1077
Joined: Sat Jun 10, 2006 3:21 am
Location: Termina
Contact:

Post by Lark »

change them to rebels then change the model to combine?
Hell-met
Obsidian Gold
Obsidian Gold
Posts: 2885
Joined: Tue Jun 27, 2006 4:09 am
Location: BIENVENUE DANS MON PAYS LE KEBEK

Post by Hell-met »

gtaiiilc wrote:change them to rebels then change the model to combine?
no
TheBlackViper
Polygon
Polygon
Posts: 36
Joined: Wed Jan 03, 2007 6:45 am
Location: New Mexico
Contact:

Post 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 :/
Post Reply