Jump to content
Sign in to follow this  
jeppelykke

help with setting up ACM Module, only want troops

Recommended Posts

Hey Hey,

I currently making a night OP with special force that needs to take out a few targets at a Factory, i have created a ACM module, and linked it to a Officer and it starts up and works.

However i only want it to spawn TROOP's no armor or APC's, i can't seem to figure it out, this is what i created so far.

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

[100, myFirstACM] call BIS_ACM_setIntensityFunc;
[["RU"], myFirstACM] call BIS_ACM_setFactionsFunc;
[myFirstACM, 1, 10] call BIS_ACM_setSpawnDistanceFunc;
["ground_patrol", 1, myFirstACM] call BIS_ACM_setTypeChanceFunc;
["air_patrol", 0, myFirstACM] call BIS_ACM_setTypeChanceFunc;

My problem is that the ACM spawns APC's agenst me, and i rather only have troops, the first few times it only spawned a Truck with men, now it seems to pick APC all the time.

Could anyone tell me how to only set it up to only spawn troops.

Share this post


Link to post
Share on other sites

Found this in another thread. Works great for customizing the module. Paste it into your INIT.SQF and make sure the module is named BIS_ACM. And remove the classes you dont want.

// BIS_ACM is module name.

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

waitUntil {BIS_ACM getVariable "initDone"};

sleep 5;

// Sets frequency and number of patrols (between 0 and 1. 0 is lowest and 1 is highest).

// Default: 0.5

//

[1, BIS_ACM] call BIS_ACM_setIntensityFunc;

// Min/max spawn distance.

// Default: 500, 1000

//

[bIS_ACM, 800, 1500] call BIS_ACM_setSpawnDistanceFunc;

// Factions to be spawned. Pick from: USMC, CDF, RU, INS, GUE.

// Default: "USMC", "CDF", "RU", "INS", "GUE"

//

[["INS", "GUE", "CDF", "RU"], BIS_ACM] call BIS_ACM_setFactionsFunc;

// Min/max skill range for spawned units (from 0 to 1. 0 is lowest and 1 is highest).

// Default skill levels are based on difficulty setting.

// cadet mode: 0, 0.5

// Other difficulty settings: 0.3, 0.9

//

[0, 0.5, BIS_ACM] call BIS_ACM_setSkillFunc;

// Min/max amount of ammo that units will possess (From 0 to 1. 0 is lowest and 1 is highest).

// Default 1, 1

//

[0.1, 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.

// Default: 0.75

//

["ground_patrol", 1, BIS_ACM] call BIS_ACM_setTypeChanceFunc;

// Type of patrol. With 0 meaning no chance of appearing, and 1 meaning 100% chance. -1 removes patrol type completely.

// Default: 0.25

//

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

// Add classes to a custom database and use that instead.

// You can pass both actual CfgGroups Config entries or class name Strings.

// [(Module name), (Array of classes)] call BIS_ACM_addGroupClassesFunc;

// Default: Not configured, which means all classes will be used.

// [bIS_ACM, ["USMC_TankPlatoon", "INS_TankSection", "RU_TankPlatoon", "GUE_TankSection"]] call BIS_ACM_addGroupClassesFunc;

// Remove classes from the custom class database during a mission.

//[bIS_ACM, ["INS_TankSection"]] call BIS_ACM_removeGroupClassesFunc;

//

// Leave array empty to switch back to all classes:

// Example: [bIS_ACM, []] call BIS_ACM_removeGroupClassesFunc;

// All classes are shown below.

/*

// USMC

USMC_InfSquad

USMC_FireTeam

USMC_FireTeam_MG

USMC_FireTeam_AT

USMC_FireTeam_Support

USMC_HeavyATTeam

USMC_SniperTeam

USMC_FRTeam

USMC_FRTeam_Razor

USMC_MotInfSection

USMC_MotInfSection_AT

USMC_MechInfSquad

USMC_MechReconSection

USMC_TankPlatoon

USMC_AH1ZSquadron

USMC_UH1YSquadron

USMC_MV22Squadron

USMC_MQ9Squadron

USMC_F35Squadron

USMC_AV8BFighterSquadron

USMC_AV8BBomberSquadron

// CDF

CDF_InfSquad

CDF_InfSquad_Weapons

CDF_InfSection_AT

CDF_InfSection_AA

CDF_InfSection_MG

CDF_InfSection_Patrol

CDF_SniperTeam

CDF_MotInfSquad

CDF_MotInfSection

CDF_MotInfSection_Weapons

CDF_MechInfSquad

CDF_MechReconSection

CDF_MechATSection

CDF_TankPlatoon

CDF_Mi24DSquadron

CDF_Mi8Squadron

// RU

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

RU_MechInfSquad_1

RU_MechInfSquad_2

RU_TankPlatoon

RU_Mi24VSquadron

RU_Mi24PSquadron

RU_Pchela1TSquadron

RU_Ka52Squadron

RU_Mi8Squadron

RU_Su34FighterSquadron

// INS

INS_InfSquad

INS_InfSquad_Weapons

INS_InfSection_AT

INS_InfSection_AA

INS_SniperTeam

INS_MilitiaSquad

INS_MotInfSquad

INS_MotInfSection

INS_MechInfSquad

INS_MechInfSection

INS_MechInfSection_AT

INS_TankSection

INS_Mi8Squadron

// GUE

GUE_InfSquad

GUE_InfSquad_Assault

GUE_InfSquad_Weapons

GUE_InfTeam_1

GUE_InfTeam_2

GUE_InfTeam_AT

GUE_GrpInf_TeamAA

GUE_GrpInf_TeamSniper

GUE_MilitiaSquad

GUE_MotInfSection

GUE_MotInfSquad

GUE_MechInfSection

GUE_MechInfSquad

GUE_TankSection

// CIV (Not supported with ACM)

CIV_Crowd

CIV_City_1

CIV_City_2

CIV_Village_1

CIV_Village_2

*/

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  

×