Forums Gallery Downloads LOGIN |REGISTER

SOLVED -- AI:AIIgnore for only specific npcs?

Seeking artificial intelligence? Waypoint queries? Post it here!


 

GDShadow
Just getting started
Just getting started
 
Posts: 12
Member since: 05.04.2011, 10:11
Likes: 0

SOLVED -- AI:AIIgnore for only specific npcs?

Postby GDShadow » 21.10.2011, 14:59

Hi guys,

is there a way to use the AI:AIIgnore node in the flow-graph for only specific NPCs and not for all NPCs?

Thx for any feedback
Last edited by GDShadow on 18.11.2011, 13:01, edited 1 time in total.
User avatar
Talvipakkanen
Executive Producer
Executive Producer
 
Posts: 4307
Member since: 16.06.2008, 22:11
Location: Oulu, Finland
Likes: 8

Re: AI:AIIgnore for only specific npcs?

Postby Talvipakkanen » 22.10.2011, 11:39

Yep, just assign each NPC to their own AIIgnore-node.
Zip-line release 2012-04-24 (for CE2 & CE3) · C1 mod project: A mod called Entry
Assets · Blender: Destroyable object tutorial for CryBlend

- currently lost in New Eden -
Helbirden
Just getting started
Just getting started
 
Posts: 35
Member since: 26.07.2011, 04:00
Likes: 0

Re: AI:AIIgnore for only specific npcs?

Postby Helbirden » 23.10.2011, 05:23

Nope he means can the selected AI ignore a specific AI or Player not everything like the AI:AIIgnore node does.
I am wondering this too.
Image
User avatar
Talvipakkanen
Executive Producer
Executive Producer
 
Posts: 4307
Member since: 16.06.2008, 22:11
Location: Oulu, Finland
Likes: 8

Re: AI:AIIgnore for only specific npcs?

Postby Talvipakkanen » 23.10.2011, 11:45

AHA! I did wonder why question was so obvious :meow:

Anyway, couple of possible solutions exists.

1) Node "AI:AISetCharacter" with character value "Hostage" will make AI ignored.

2) Node "AI:ChangeParameter" could be useful, as it allows changing the species of AI, thus causing it being treated as friendly and being ignored if species is same as with former enemies. Side effect is of course, depending of the set species, that some other AI will treat it hostile.
Zip-line release 2012-04-24 (for CE2 & CE3) · C1 mod project: A mod called Entry
Assets · Blender: Destroyable object tutorial for CryBlend

- currently lost in New Eden -
GDShadow
Just getting started
Just getting started
 
Posts: 12
Member since: 05.04.2011, 10:11
Likes: 0

Re: AI:AIIgnore for only specific npcs?

Postby GDShadow » 24.10.2011, 11:27

The "AI:SetCharacter" to "Hostage" solution worked perfectly for me. Thx a lot.


 
Connect and collaborate with CRYENGINE developers in the official Forums.
Visit the Gallery to share what you have created and be inspired by what others are creating with CRYENGINE.
Community