Jump to content
Sign in to follow this  
fortun

Change AI skills for Enemies and Allies?

Recommended Posts

I want to set the AI to be better than what the maximum of "Slider" can provide for my mission. But how?

I have for example set my AI friend (Exbert) to maximum on his slider. But still he ain't that good enough of how i want him to be, i want to set it more myself.

However. I don't want to change my own Profile AI Skill, since that doesen't appear for anyone else downloading the mission.

So, "Slider" = "AI Sub Skills", right? So then i can't change that either since it is at maximum (1).

But when i do "Exbert skillfinal "Spotdistance" i just get it to 0.4, but the maximum value for it should be 1, right?

How could i change this for the mission so he gets the value higher? Is it the cfgAiSkill that blocks it from being higher? Is it any way to go past that?

Also, if it is possible. Could i somehow set it to only be for "West" or "East" depending on how good i want them and can do it separately?

Share this post


Link to post
Share on other sites

You can do this a few ways, I like to just use AI behavior scripts and be done with it. VCOMAI is a more new AI script I use, I also use UPSMON, both are really good, I have heard bcombat is good, their is a mod called zeu, now zeus, not the arma version, but this allows you to set AI on server side to be at better skill levels, I believe their are 9 total or so.

Share this post


Link to post
Share on other sites
Init Commands For Arma 3 May Contain Something Useful

Thanks, but already looked at it there. Didn't find any command really for it.

You can do this a few ways, I like to just use AI behavior scripts and be done with it. VCOMAI is a more new AI script I use, I also use UPSMON, both are really good, I have heard bcombat is good, their is a mod called zeu, now zeus, not the arma version, but this allows you to set AI on server side to be at better skill levels, I believe their are 9 total or so.

Yeah, tested VCOM AI the other day. Problem is that it really screws my mission at maximum. Such as the "aiwarningdistance" didn't work, and the ai started to shoot civilians that was hostage, so the mission failed.

If something it would be a script in the mission since i try to have it without any Requirement on Addons, so there goes Bcombat and Zeu i guess :/

Share this post


Link to post
Share on other sites

Plenty of threads on this topic, please be sure to do some searching next time.

The below has been posted by myself and others multiple times, I can't even remember the original author.

{
if ((side _x) == EAST) then 
{
	_x setUnitAbility 0.1;
	_x setskill ["aimingAccuracy",0.25];
	_x setskill ["aimingShake",0.8];
	_x setskill ["aimingSpeed",0.1];
	_x setskill ["Endurance",0.1];
	_x setskill ["spotDistance",0.5];
	_x setskill ["spotTime",0.5];
	_x setskill ["courage",0.5];
	_x setskill ["reloadSpeed",0.1];
};
} forEach allUnits;

Give setSkill a search on the biki and check out those different options and what they do, and play around with it. Those settings aren't maxed, they're just what I happened to find. The if/then adds a new scope, in this case restricting it only to EAST AI.

Share this post


Link to post
Share on other sites
;2713995']Plenty of threads on this topic' date=' please be sure to do some searching next time.

The below has been posted by myself and others multiple times, I can't even remember the original author.

{
if ((side _x) == EAST) then 
{
	_x setUnitAbility 0.1;
	_x setskill ["aimingAccuracy",0.25];
	_x setskill ["aimingShake",0.8];
	_x setskill ["aimingSpeed",0.1];
	_x setskill ["Endurance",0.1];
	_x setskill ["spotDistance",0.5];
	_x setskill ["spotTime",0.5];
	_x setskill ["courage",0.5];
	_x setskill ["reloadSpeed",0.1];
};
} forEach allUnits;

Give setSkill a search on the biki and check out those different options and what they do, and play around with it. Those settings aren't maxed, they're just what I happened to find. The if/then adds a new scope, in this case restricting it only to EAST AI.[/quote']

And if you see my topic i have already done that. That thread i saw long ago when i SEARCHED, so nothing new, don't say i should do some searching when i have..

So, "Slider" = "AI Sub Skills", right? So then i can't change that either since it is at maximum (1).

But when i do "Exbert skillfinal "Spotdistance" i just get it to 0.4, but the maximum value for it should be 1, right?

How could i change this for the mission so he gets the value higher? Is it the cfgAiSkill that blocks it from being higher? Is it any way to go past that?

Slider = Ai Sub Skill = SetSkill.

Maximum slider = Maximum setskill

Edited by FortuN

Share this post


Link to post
Share on other sites

Drop the 'tude, dude.

Have you tried setting the setSkill variables to values greater than 1 to see what happens?

Share this post


Link to post
Share on other sites

Yes i tested the most things with it. It most somehow be caped by the cfgAiSkill. Unless someone doesn't have any other idea how to do?

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  

×