Jump to content
Sign in to follow this  
rangerpl

Configuring ACM for I44 units

Recommended Posts

Hi guys,

I found the guide on how to configure the BIS Ambient Combat module, but I didn't see anything in there about using only custom units such as those in I44.

I'm trying to spawn only British Paras and German Wehrmacht but I can't find anything on the biki on setting your own groups. Is there an undocumented way to do this or do I need to write a substitute for the whole ACM module?

I know I can set it to use only specific factions but that won't prevent ACM from spawning British Commandos, winter Waffen-SS and other units which don't fit in.

Share this post


Link to post
Share on other sites

Not done it myself but can suggest this:

Look at the I44 CfgGroups with one of the config viewers and ascertain the faction names.

Or, use faction to return the faction name on an editor placed object.

hint format ["%1",faction this];

Then you need this command:

[<factions | Array of Strings>, <ACM reference | Object>] call BIS_ACM_setFactionsFunc;

e.g. Name the module BIS_ACM1

Put this in the bottom of your init.sqf.

waitUntil {!(isnil "BIS_fnc_init")};
//ACM settings	
[] spawn {
waitUntil {!isNil {BIS_ACM1 getVariable "initDone"}};
waitUntil {BIS_ACM1 getVariable "initDone"};
	sleep 10;
	[["BIS_US","BIS_TK_INS"], BIS_ACM1] call BIS_ACM_setFactionsFunc;
	["ground_patrol", 1, BIS_ACM1] call BIS_ACM_setTypeChanceFunc;
	["air_patrol", 0, BIS_ACM1] call BIS_ACM_setTypeChanceFunc;
};

replace "BIS_US","BIS_TK_INS" with the I44 factions, may work, you never know lol

Also try this on a standard island first - the I44 islands may not have location logics (probably does, it's a quality mod, but just to be sure).

Edited by PELHAM

Share this post


Link to post
Share on other sites

I know about that feature, the problem is that I want to define the specific groups to be spawned - I don't want ACM spawning stuff like Waffen SS and British Army Regulars, all of which are part of the German and British factions.

I think I'll just write my own script to do this. It'll be a fun project anyway.

Edited by RangerPL

Share this post


Link to post
Share on other sites

If your going to take the scripting route, have you looked into using the DAC? Its very easy to use, and once you really get the hang of it, the things you can do with it are almost limitless.

Share this post


Link to post
Share on other sites

You need the addGroupClasses one then - any luck?

[bIS_ACM1, ["TK_InfantrySquad", "TK_MotorizedPatrol"]] 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  

×