Jump to content
Sign in to follow this  
1para{god-father}

ACM Module issue

Recommended Posts

I am having an issue with ACM Module It spawns in US stuff as well , but it should just spawn in Russian .

Any ide why ?

It is sync to Playable leader which is bluefor

Any idea why ?


   waitUntil {!isNil {BIS_ACM getVariable "initDone"}};
   waitUntil {BIS_ACM getVariable "initDone"};

   //Sets frequency and number of patrols (0-1). BIS_ACM is module name
   [1, BIS_ACM] call BIS_ACM_setIntensityFunc;

   //min max spawn distance
   [bIS_ACM, 250, 600] call BIS_ACM_setSpawnDistanceFunc;

   //factions to be spawned Just need Russian
   [["RU"], BIS_ACM] call BIS_ACM_setFactionsFunc;

   //Skill range for spawned units
   [0, 0.6, BIS_ACM] call BIS_ACM_setSkillFunc;

   //Amount of ammo spawned units possess
   [0.2, 0.5, BIS_ACM] call BIS_ACM_setAmmoFunc;

   //Type of patrol. With 0 meaning no chance of appearing, and 1 meaning 100% chance. -1 removes patrol type completely.
   ["ground_patrol", 1, BIS_ACM] call BIS_ACM_setTypeChanceFunc;

   ["air_patrol",0.1, BIS_ACM] call BIS_ACM_setTypeChanceFunc;

Share this post


Link to post
Share on other sites

Did you actually name the ACM module "BIS_ACM"

---------- Post added at 12:46 AM ---------- Previous post was at 12:27 AM ----------

I've just setup what you posted and I only get so far anyway, Russian units spawning, and that's with actually naming the ACM Module BIS_ACM

If there is no name in the module, then it will probably spawn random sides, as it's designed to do.

Using your example with the module named correctly but chaning the faction to US then I only get US forces spawning etc.

Make sure the actual ACM module is named correctly on your map.

Share this post


Link to post
Share on other sites

Yes it is named "BIS_ACM"

It was running on a Hosted server if that makes any difference?

I do get Russians, but I am also getting the odd US troops as well , and the funny thing is i was testing on woodland map and it spawned in Desert US armour !

Share this post


Link to post
Share on other sites

I don't know if hosting as a server will make any difference, sorry.

Try it out in normal SP in the editor and see if it works correctly for you then, and if it works like it does for me, then yes there must be an issue regarding the hosting as server !

---------- Post added at 10:26 AM ---------- Previous post was at 10:24 AM ----------

Edit: You may need something like this adding to the script if it's on a server

if (!isServer) then {waitUntil {!isNull player}};

Share this post


Link to post
Share on other sites

Very strange , SP No "US" - Sever "US" as well :(

Just added the below , which seems so have worked will have to have a longer test on hosted as they take a while to start to spawn !

   [bIS_ACM,
[
"RU_InfSquad",
"RU_InfSection",
"RU_InfSection_AT",
"RU_InfSection_AA",
"RU_InfSection_MG",
"RU_SniperTeam",
"RUS_ReconTeam",
"MVD_AssaultTeam",
"RU_MotInfSquad",
"RU_MotInfSection_Recon",
"RU_MotInfSection_Patrol"
]] call BIS_ACM_addGroupClassesFunc;

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  

×