View unanswered posts | View active topics


Post a new topicPost a reply
Previous topic | Next topic 

  Beginner BeginnerMember since: 10.04.2012, 10:58Posts: 2 Likes: 0
 

 Post Topic: AI avoiding local player
PostPosted 11.07.2012, 15:22 
Hi everyone,

I'm quite new to CryEngine3. I'm currently trying to have the AI avoid the local player, as if there was some kind of forbidden area around him, so he can walk through a crowd of NPCs without them running into him every second. Do you have any idea how to do this?

Thanks a lot,

Romain

  Beginner BeginnerMember since: 22.08.2011, 14:56Posts: 29 Likes: 0
 

 Post Topic: Re: AI avoiding local player
PostPosted 11.07.2012, 19:44 
Try with AI--> Forbidden area; You xan found it in the Rollup Bar
  Beginner BeginnerMember since: 10.04.2012, 10:58Posts: 2 Likes: 0
 

 Post Topic: Re: AI avoiding local player
PostPosted 12.07.2012, 11:21 
Thanks,
I already use forbidden areas, but they're stuck to the position you put them in the editor (you have to triangulate paths every time you change them). What I need is a kind of dynamic "forbidden area" which is attached to the player's position. Thus he can move through a crowd, and AI walk around him, avoid him, but it doesn't change their final destination.
User avatar   Experienced Modder Experienced ModderMember since: 22.04.2012, 15:00Posts: 481 Likes: 40
 

 Post Topic: Re: AI avoiding local player
PostPosted 30.08.2012, 00:04 
I would also like to know how this could be accomplished, did you ever find any solutions?


  Trainee TraineeMember since: 23.02.2012, 02:47Posts: 101 Likes: 0
 

 Post Topic: Re: AI avoiding local player
PostPosted 28.09.2012, 04:43 
Maybe you can set up a parameter check on the AI so that if the player is within range they will go to a randomly generated spot.
  Experienced Modder Experienced ModderMember since: 20.07.2011, 10:22Posts: 489Location: Frankfurt am Main Likes: 5
 

 Post Topic: Re: AI avoiding local player
PostPosted 04.10.2012, 10:28 
Try this.
Attachments:

Ignoreplayer.JPG