Question
how do i configure the ambient combat module?
Answer
like this: ;)
Set up the ACM,
Call it BIS_ACM in its little menu thing,
copy this into your init file,
//waits for the ACM to get itsel ready before trying to alter its settings.
waitUntil {!isNil {BIS_ACM getVariable "initDone"}};
waitUntil {BIS_ACM getVariable "initDone"};
//Sets frequency and number of patrols (0-1). BIS_ACM is module name [0 = no patrols 1 = uber mega war]
[0.7, BIS_ACM] call BIS_ACM_setIntensityFunc;
//min max spawn distance
[BIS_ACM, 300, 600] call BIS_ACM_setSpawnDistanceFunc;
//factions to be spawned [ you can change this to usmc say ( but not civs )
[["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 posses
[0.4, 0.6, 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. [the setting will make ground units definatly appear and a 25% chance that aircraft will appear]
["ground_patrol", 1, BIS_ACM] call BIS_ACM_setTypeChanceFunc;
["air_patrol", 0.25, BIS_ACM] call BIS_ACM_setTypeChanceFunc;
//sets what is acctually spawning
[BIS_ACM,
[
"RU_InfSquad",
"RU_InfSection",
"RU_InfSection_AT",
"RU_InfSection_AA",
"RU_InfSection_MG",
"RU_SniperTeam",
"RUS_ReconTeam",
"MVD_AssaultTeam",
"ru_motinfsection_recon",
"ru_motinfsection_patrol",
"ru_mi24vsquadron",
"ru_mechinfsquad_2"
]
] call BIS_ACM_addGroupClassesFunc;
};