Jump to content
Sign in to follow this  
kibaBG

Headless spawned AI skill

Recommended Posts

Hi, I have the problem on headless client AI. Seems to be ignoring Custom difficulty settings and is on godly level of shooting. If it sees you, you get inmediately a headshot. Other AI on the server side seems completely normal.
I spawn AI on headless by the most vanilla way possible: 

HC1Present = if (isNil "HC1") then {false} else {true};

if (HC1Present && isMultiplayer) then {
if (!isServer && !hasInterface) then {
[]execVM "ai.sqf";
 } else {};
} else {hint "Headless not initiated!"};

How to make headless AI have the custom difficulty set by the server profile?

Share this post


Link to post
Share on other sites

I think I solved the problem, add this to server config 

forcedDifficulty = "Custom";
missionWhitelist[] = {"GoodbyeShalom.Farabad"};
randomMissionOrder = false;
autoSelectMission = false;

 

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  

×