Jump to content
Sign in to follow this  
Jurugi

Set certain AI To higher difficulty

Recommended Posts

Hello,

I'm making a script where you can recruit units and so far it works, however I'm not sure how the 'skill' setting works.. In terms of spawning the unit with 'createunit', you can set the skill to 1.0 which I guess is max.. and then also there is settings such as SetSkill["aimingAccuracy, 0.85];, but what is the best way to make a 'elite ai' that is naturally better than 'normal ai'? I want to make it so that squadleaders/SF troops are really fast and accurate.There's some questions about setSkill I have also.

This is the INIT field of the soldier

"[this] join player; this setskill ["aimingAccuracy",0.85]; this setskill ["spotDistance",0.85]; this setskill ["spotTime",0.85]; this setskill ["courage",0.85]; this setskill ["commanding",0.85]; this setskill ["aimingSpeed",0.85];",

Skill: 1.0,

Rank: corporal

I set the 'skill' to 1.0, but I'm unsure if I still have to set the others.. or if it effects all of the things in the 'setskill array'. I'm unsure of how it all ties in. I also saw that

"this setskill ["general",1.0];"

is the same as setting the skill in editor to 1.0?

I wish there was better explanation of this, but basically I'm trying to make the settings so that it's faster/accurate and it might even be able to CQB some players.

Thx

Share this post


Link to post
Share on other sites

I'd love to know how these work as well.....or even if they do work! Doesn't seem to do too much when I use it!

Share this post


Link to post
Share on other sites

and be killed by a single shot from 2000 meters away at night and through trees and bushes. .no thanks :whistle:

Share this post


Link to post
Share on other sites

LOL!....I want to know to stop them from doing exactly that!

Share this post


Link to post
Share on other sites

Download and use the DAC mod, in here you can give certain factions greater overall skill and accuracy. We currently have re-written several configs in the DAC_units.sqf to make them a lot harder to fight and the result is hour long constant battles which make the missions 100x better.

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  

×