Jump to content
Sign in to follow this  
cpt.ghost

AI Skill levels

Recommended Posts

hello all

 

is there a way to set skill for a specific unit? i want to make snipers,marksmen and special forces more accurate than the regular troops 

robalo has such system in his ASR AI but i use different AI mod that im happy with.

Share this post


Link to post
Share on other sites

I would take a look at the setSkill command. You can use it in a overall format and just set a units overall skill level, or you can go and set their sub-skills in an array, so you can increase particular skills.

Share this post


Link to post
Share on other sites
17 hours ago, va12 mr. potter said:

I would take a look at the setSkill command. You can use it in a overall format and just set a units overall skill level, or you can go and set their sub-skills in an array, so you can increase particular skills.

can you please be more specific as im very new to scripting , how can i use setskill or skill array in the below config?

 

class us_navy_soldier_base: SoldierGB
    {
        author="ghost";
        _generalMacro="us_navy_soldier_base";
        scope=0;
        primaryAmmoCoef=0.40000001;
        secondaryAmmoCoef=0.2;
        handgunAmmoCoef=0.0099999998;
        minFireTime=10;
        identityTypes[]=
        {
            "Language_EN_EP1",
            "Head_NATO",
            "NoGlasses"
        };
        faceType="Man_A3";
        side=1;
        faction="USNAVYSEALS";
        vehicleClass="navyseals_sd";

 

};

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  

×