Jump to content

Sign in to follow this  
happystar

How to make AI's shooting accuracy

Recommended Posts

i can only use "aiDispersionCoefY,and aiDispersionCoefY"to make AI have low accuracy,but it is not obvious.maby you have some good ways to acheived it

Share this post


Link to post
Share on other sites

Have you tried to put these into the AI's init field:

this setSkill [""aimingaccuracy"", 0.1];

this setSkill [""aimingshake"", 0.1];

this setSkill [""aimingspeed"", 0.3];

this setSkill [""spotdistance"", 0.1];

this setSkill [""spottime"", 0.3];

Share this post


Link to post
Share on other sites

or

{_x setskill ["aimingaccuracy",0.15];} foreach allunits;

In the init.sqf of your mission, if you want all units on the map to have the same skills. If you want a particular group to have a particular accuracy:

{_x setskill ["aimingaccuracy",0.15];} foreach units group GROUPLEADERNAME;

also in the mission init.sqf, were GROUPLEADERNAME is replaced by, you guessed it, the name of the group leader.

I find that change in accuracy isn't all that noticeable until you get down to at least 0.3 or lower.

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  

×