Jump to content
Sign in to follow this  
IntruderDZ

Smarter ai

Recommended Posts

What are some ways to make the ai smarter, for example i have this Ai that jumps put when u get near his tank to kill u, but all he does is try to set a satchel charge and doesnt shoot unless i get a good distance from him. I tryed

this setcombatmode "red" and "open fire engage at will". Someone said that u can make a distance trigger Enemy Distance less than ?meters away Dofire at player. Does anyone know that syntax or any others to make the ai fire at any range u want him to engage. And also to make him the quickest draw in the West.

Share this post


Link to post
Share on other sites

Try to use skill scrollbar in unit screen in editor. With slider in right soldier's AI is better and he has better sences (hearing,eyesight,reaction).

The way with distance trigger :

axis A,B=0

activation : nobody repeatly

condition :(soldier1 distance enemy1) < 500

on activation : soldier1 dofire enemy1

soldier1 and enemy1 are names of certain units, so it works only for 1 soldier to shoot certain enemy. But I think, if distance is too large for soldier, he will not shoot enemy even he has command dofire.

Share this post


Link to post
Share on other sites

Thanks BART ! Hmm if i can just found out how to make one soldier attack a whole group i think there is a group command . Does anyone know how i can make a soldier attack a group, instead of making seperate triggers dofire R1 dofire r2 and so on. Also is there a way to make a soldier attack the player or unit that set the trigger off.

Share this post


Link to post
Share on other sites

Also, and please someone correct me if I'm wrong but in the options section of the game, you can set or "check" a button called super AI.

I've not done it yet but I'm assuming this makes the AI react even faster to situations in the game.  Anyone know about this, please do inform.

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  

×