Jump to content
Sign in to follow this  
calo_mir

Removing air units from ACM

Recommended Posts

Hello.

I've read the documentation repeatedly but nothing I do will get the ACM module to stop spawning tons of air patrols.

According to the docs, any of these should effectively stop air patrols spawning:

["air_patrol", 0, BIS_ACM] call BIS_ACM_setTypeChanceFunc;     -- "No chance"
["air_patrol", 0.01, BIS_ACM] call BIS_ACM_setTypeChanceFunc;  -- "Extremely low chance"
["air_patrol", -1, BIS_ACM] call BIS_ACM_setTypeChanceFunc; -- "Removed from pool"

Unfortunately, the module apparently ignores a 0.01 chance of air patrols appearing,

continuing to spawn two or three helicopters every few minutes (making the game too hard to play).

If 0 or -1 is passed as the chance parameter, the game produces the following error

(and stops spawning any units at all):

File ca\modules\functions\arrays\fn_selectRandom.sqf, line 23
Error in expression <ll BIS_fnc_selectRandom;

_array select _index>
 Error position: <_index>
 Error Undefined variable in expression: _index
File ca\modules\functions\arrays\fn_selectRandomWeighted.sqf, line 59

I've also tried passing a giant list of all the air patrol groups to BIS_ACM_removeGroupClassesFunc (as both quoted strings and config entries) to no effect.

This effectively makes the combat module useless as it becomes "unplayable chaos" or "no combat at all".

Is there something obvious I'm doing wrong here?

Share this post


Link to post
Share on other sites

Do a search for the Ambient Combat Module thread. There is a lot of helpful stuff in there.

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  

×