Jump to content
Sign in to follow this  
kocrachon

Search for enemies after unknown fire?

Recommended Posts

Hey All,

 

I am wondering how I can improve the AI for my missions. Right now, I run into an issue where if an enemy is killed by suppressed weapons, all the enemy does is stick on their waypoints and just run a little faster. Is there a way for me to set it to when its obvious they are under attack to alert everyone and switch to a random seek and destroy pattern looking for enemies, or at least, guys who are in groups to search for enemies?

Share this post


Link to post
Share on other sites

 

 Theres alot of ways to do this via triggers and scripting tho you'll have to explain what you mean by "obviously under attack". Remember, whats obvious to humans aint always the same for bots..

Share this post


Link to post
Share on other sites
1 minute ago, froggyluv said:

 

 Theres alot of ways to do this via triggers and scripting tho you'll have to explain what you mean by "obviously under attack". Remember, whats obvious to humans aint always the same for bots..

 

For example, if I snipe a guy in a group, his group notice hes dead and they freak out. The AI also likely heard the crack of a super sonic round because most of the people in the camp are now "aware" but are still sticking to their waypoints. I know I can set a trigger "knows about" or something like that. But I am wondering what actions to take after that where the AI will go seek enemies.

 

One thought process I had was to create waypoints for everyone in random locations near where they are with seek and destroy, but I am wondering if there is a more basic option than that. 

Share this post


Link to post
Share on other sites

 

 

 Well in that case you could set a knowsAbout threshold and if crossed ie 2.5, you create waypoints randomly around player.

Share this post


Link to post
Share on other sites

Why not use a fired eventhandler on the player and reveal him to hostile units within a certain range?

 

Cheers

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×