Jump to content
Sign in to follow this  
Silvio Camolesi

How to change the enemy precision?

Recommended Posts

I know that there was a parameter in config file that changed the enemy precision and inteligence, but I can't find out it anymore.

Could anyone tell me if it is still possible or not, and how to do, if so?

TIA

Share this post


Link to post
Share on other sites

its in your armaprofile-file usually located in my documents/arma profiles (or /arma other profiles/)

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">class Difficulties

{

class regular

{

class Flags

{

Armor=0;

FriendlyTag=0;

EnemyTag=0;

HUD=0;

HUDPerm=1;

HUDWp=1;

HUDWpPerm=1;

AutoSpot=1;

Map=0;

WeaponCursor=0;

AutoGuideAT=0;

ClockIndicator=1;

3rdPersonView=1;

Tracers=1;

UltraAI=0;

AutoAim=0;

UnlimitedSaves=1;

DeathMessages=1;

NetStats=1;

VonID=1;

};

skillFriendly=0.500000;

skillEnemy=1.000000;

precisionFriendly=0.500000;

precisionEnemy=0.450000;

};

class veteran

{

class Flags

{

HUD=1;

HUDWp=1;

HUDWpPerm=1;

WeaponCursor=0;

ClockIndicator=1;

3rdPersonView=1;

Tracers=1;

UltraAI=0;

DeathMessages=1;

NetStats=1;

VonID=0;

};

skillFriendly=0.500000;

skillEnemy=1.000000;

precisionFriendly=0.500000;

precisionEnemy=0.450000;

};

};

its precisionFriendly/Enemy and it goes from 0 to 1 where 1 is total accuracy and 0 is likely they will never hit.

Share this post


Link to post
Share on other sites
Or you can use setSkill

The setSkill array command is unfortunately non functional at this time.

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

This is a reserved keyword for future implementations. In Armed Assault it is not implemented yet.

Wonder how many scripters misses that line???

/KC

Share this post


Link to post
Share on other sites

Yes i would like to chang the Ai precision also and what would i have to dl to open up the pbo file so that i can?

Share this post


Link to post
Share on other sites

Wow ok iv just used word pad to open up an PBO file did i mess this PBO file up huh.gif Its not in a PBO file format any more. Also were would i go to chang the distance of engagement

Share this post


Link to post
Share on other sites

@KeyCat: Indeed, I haven't seen it before. However I already tried it in the editor some time ago, I think it was in 1.09, and it seemed to have some effect.

Share this post


Link to post
Share on other sites
scroll up icon_rolleyes.gif

I dont see the engagement distance on there crazy_o.gif Where on that post is it huh.gif

Share this post


Link to post
Share on other sites
However I already tried it in the editor some time ago, I think it was in 1.09, and it seemed to have some effect.

@SPhoenix:

I tried it numerous times with 1.00 - 1.08 without noticing any difference at all! I haven't read anything in the change logs for 1.09 Beta - 1.12 Beta that indicates it being implemented yet but I can be wrong?

Lets hope it makes it in the upcoming patch since it would be great to have that control over individual AI entities and opens up new scripting possibilities.

/KC

Share this post


Link to post
Share on other sites
@1in1class:

One option is Kegetys CPBO and you can find it here....

http://www.kegetys.net/arma/

/KC

thank you iv dl it and ran it but still i cant open them up? im lost at this iv open an PBO useing the cpbo and noting happens. I get this "No paramerters" then it ask "Do you wish to associate cpbo with PBO files and directories(Explorer right click menu)? then i click yes and nothing happens?

Share this post


Link to post
Share on other sites

After you associated it with PBO-files try double click on the PBO-file you want to open and then check for a folder with the same name as the PBO-file.

/KC

Share this post


Link to post
Share on other sites
Wow ok iv just used word pad to open up an PBO file did i mess this PBO file up huh.gif Its not in a PBO file format any more. Also were would i go to chang the distance of engagement

Which is why you cannot use kegety's pbo prog. Sounds like you saved the file as a .txt whereas it needs to be .pbo

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  

×