icehollow 0 Posted November 27, 2008 After alot of assessment and fiddling around with AI on different difficulty levels, I've come to the conclusion that there must be a way to have AI retain the capability of high difficulties, yet without the ridiculous laser beam accuracy. At 0.62 difficulty, and using SIX_pack 3 mods (suppression and increased AI spotting/engagement range) I found that I could have enjoyable but still challenging back and forth firefights with near misses instead of constant laser like accuracy. However, they lack the tactical capability they have on something like veteran mode, where the AI will get wide flanks going etc. So what I'm asking is there anyway to edit the AI so they can achieve a balance of this? Cheers, Ice. Share this post Link to post Share on other sites
andersson 285 Posted November 27, 2008 Go to your playername.ArmaProfile in the profile folder (normally in 'My Documents'. Open the file up with a text-editor and look for this: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> skillFriendly=0.950000; skillEnemy=0.950000; precisionFriendly=0.600000; precisionEnemy=0.600000; It will probably look different, but there you can tweak the precision of enemies and friendlies. If you have a dedicated server you need to tweak there as the server handles the AI that is not local (everyone except the AI under your command). Share this post Link to post Share on other sites
gsleighter 0 Posted November 27, 2008 I prefer maxed out skill of 1.0, and .4 for friendly precision, .33 for enemy. I use Truerange AI, so I get some pretty nice long range firefights going. Share this post Link to post Share on other sites
Second 0 Posted November 28, 2008 After alot of assessment and fiddling around with AI on different difficulty levels, I've come to the conclusion that there must be a way to have AI retain the capability of high difficulties, yet without the ridiculous laser beam accuracy.At 0.62 difficulty, and using SIX_pack 3 mods (suppression and increased AI spotting/engagement range) I found that I could have enjoyable but still challenging back and forth firefights with near misses instead of constant laser like accuracy. However, they lack the tactical capability they have on something like veteran mode, where the AI will get wide flanks going etc. So what I'm asking is there anyway to edit the AI so they can achieve a balance of this? I don't know how 6th Sense's suppression framework works, but it might be that when one team is suppressed to some degree it goes bit of unwilling to do anything else than seek cover and shoot. As engaging usually means that they are sent on suicide mission if enemy is capable to fight back. So to get them flanking they need to have group out of combat as a reserve unit. Then it should understand to get into flanks. Guard-waypoint might work. This however has to be considered when doing mission. Share this post Link to post Share on other sites
Rommel 2 Posted November 30, 2008 Instead of using scripts, my clan and I use skill re-defines and they improve the ai greatly in how they fire at you. Increased spotting distances/times, with accurate, but not pinpoint headshots every second accuracy. <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> class CfgPatches { class AAF_IA { units[] = {}; weapons[] = {}; requiredVersion = 1.14; requiredAddons[] = {}; }; }; class CfgAISkill { aimingAccuracy[] = {0, 0.2, 1, 0.2}; aimingShake[] = {0, 0.27, 1, 0.27}; aimingSpeed[] = {0, 1, 1, 1}; courage[] = {0, 1, 1, 1}; commanding[] = {0, 1, 1, 1}; endurance[] = {0, 1, 1, 1}; general[] = {0, 1, 1, 1}; reloadSpeed[] = {0, 1, 1, 1}; spotDistance[] = {0, 1, 1, 1}; spotTime[] = {0, 1, 1, 1}; }; Share this post Link to post Share on other sites
N'kEnNy 0 Posted November 30, 2008 Just a quick question along the same vein. I've been playing with the Editor, and I'm wondering if setting the NPC RANK (corporal-captain-whatnot) has any effect on the game? I created a team of maxed skill Spec-ops soldiers all set to Colonel rank and they seemed to Lazer through the other troops. (they had not before) This test was brought to you by pure-guess-work@arbitrary-judgement.gov.no Share this post Link to post Share on other sites
Second 0 Posted November 30, 2008 Affects to they will to flee. Skill and rank both have effect in this. I believe it's only relative for leaders. I'm not sure do they handle commanding better with higher level. I haven't studied that. Share this post Link to post Share on other sites
jimbojones 2 Posted December 2, 2008 Instead of using scripts, my clan and I use skill re-defines and they improve the ai greatly in how they fire at you. Increased spotting distances/times, with accurate, but not pinpoint headshots every second accuracy.<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> class CfgPatches { class AAF_IA { units[] = {}; weapons[] = {}; requiredVersion = 1.14; requiredAddons[] = {}; }; }; class CfgAISkill { aimingAccuracy[] = {0, 0.2, 1, 0.2}; aimingShake[] = {0, 0.27, 1, 0.27}; aimingSpeed[] = {0, 1, 1, 1}; courage[] = {0, 1, 1, 1}; commanding[] = {0, 1, 1, 1}; endurance[] = {0, 1, 1, 1}; general[] = {0, 1, 1, 1}; reloadSpeed[] = {0, 1, 1, 1}; spotDistance[] = {0, 1, 1, 1}; spotTime[] = {0, 1, 1, 1}; }; Where can I find more information on those settings? I have never seen it laid out like that, is tha tin the arma.cfg file? Thanks Share this post Link to post Share on other sites
{USI}_Zombie 0 Posted December 2, 2008 if you don't mind using scripts, Kronzky's urban patrol script is really good for making the ai do flanking and other tactical movements. Share this post Link to post Share on other sites
EddiePrice 16 Posted December 2, 2008 Another question is, are these settings in the ArmaProfile file MP friendly? What I mean is if the host sets the difficulty settings to a specific level will all players who join will have the same automatically? Or are these setting client side only? Share this post Link to post Share on other sites
.kju 3244 Posted December 2, 2008 Quote[/b] ]the host sets the difficulty settings to a specific level will all players who join will have the same automatically yes Share this post Link to post Share on other sites
Rommel 2 Posted December 2, 2008 <my post> Where can I find more information on those settings? Â I have never seen it laid out like that, is tha tin the arma.cfg file? Â Thanks Its an addon, all you need to do is compile/binarize that config.cpp, and its only required server side or client side if single player. Share this post Link to post Share on other sites
a6-intruder 0 Posted December 4, 2008 I gave this a go, cut and pasted the code into a notepad txt file and called it config.cpp. Then put this in a folder called niceai or something. Then pbo it with pboview and then uploaded the pbo to my server. I can honestly say its the first time I've heard shots around me which out the next "miracle shot" killing me. The enemy engage at greater distance but with realistic targeting. You can also suppress quite well to. Its great. Thanks Rommel for your lines of great code Share this post Link to post Share on other sites
KeyCat 131 Posted December 4, 2008 Anyone know where to find ArmA stock values for the "class CfgAISkill" settings? /KC Share this post Link to post Share on other sites
Extremeus Decimus 0 Posted December 4, 2008 You can find them in the main  ArmA Folder/Dta/bin/config.bin here's the default vaules <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">class CfgAISkill { aimingAccuracy[] = {0, 0, 1, 1}; aimingShake[] = {0, 0, 1, 1}; aimingSpeed[] = {0, 0.5, 1, 1}; endurance[] = {0, 0, 1, 1}; spotDistance[] = {0, 0.2, 1, 0.4}; spotTime[] = {0, 0, 1, 0.7}; courage[] = {0, 0, 1, 1}; reloadSpeed[] = {0, 0, 1, 1}; commanding[] = {0, 0, 1, 1}; general[] = {0, 0, 1, 1}; }; Share this post Link to post Share on other sites
KeyCat 131 Posted December 4, 2008 Thanks mate! BIN.PBO/config.bin is now UnBin'ed and saved for reference. /KC Share this post Link to post Share on other sites
.kju 3244 Posted December 4, 2008 is this not part of the PROPER AI test framework? Rg has tweaked these for trueRange AI, as has Sickboy in his Sixpack 3. Share this post Link to post Share on other sites
KeyCat 131 Posted December 4, 2008 Probably is Q was a long time I fiddled around with your framework, will take a look there as well! /KC Share this post Link to post Share on other sites