Desired Outcome:
I am trying to prevent any CUP Takistan Army and Militia AA Units from being spawned in my current mission.
Methods I've Attempted:
Most recently I have used the above mentioned method - ie. pasting the following into the init field of the ALiVE Required module;
ALiVE_MIL_CQB_CUSTOM_UNITBLACKLIST = ["CUP_O_TK_Soldier_AA","CUP_O_TK_INS_Soldier_AA"]; ALiVE_PLACEMENT_CUSTOM_UNITBLACKLIST = ["CUP_O_TK_Soldier_AA","CUP_O_TK_INS_Soldier_AA"]; ALiVE_PLACEMENT_CUSTOM_GROUPBLACKLIST = ["CUP_O_TK_InfantrySectionAA","CUP_O_TK_MILITIA_AATeam"];
I have also attempted to use the script method - ie. calling from the init.sqf;
//--- ALiVE Unit/Group Blacklist
spawn compile preprocessFile "scripts\staticData.sqf";
Which then calls the following script, "staticData.sqf"
//--- ALiVE Custom Blacklist //--- Source: http://alivemod.com/wiki/index.php/Custom_Blacklists waitUntil {!isnil "ALiVE_STATIC_DATA_LOADED"}: ALiVE_MIL_CQB_CUSTOM_UNITBLACKLIST = [ "CUP_O_TK_Soldier_AA", "CUP_O_TK_INS_Soldier_AA" ]; ALiVE_PLACEMENT_CUSTOM_UNITBLACKLIST = [ "CUP_O_TK_Soldier_AA", "CUP_O_TK_INS_Soldier_AA" ]; ALiVE_PLACEMENT_CUSTOM_GROUPBLACKLIST = [ "CUP_O_TK_InfantrySectionAA", "CUP_O_TK_MILITIA_AATeam" ];
Result:
The number of AA spawned is greatly diminished - ie. ghosting about and teleporting from unit to unit does not show any AA units. However, as soon as a take off and fly about, Igla AA missiles start flying in.
The only factions that are in the mission are the CUP Takistani Army and MIlitia units - neither of those factions use vehicles with AA missiles. AA guns like the Ural and Static ZSU-23 are fine, I'm just trying to remove guided AA missiles.
Any thoughts? Anything I am obviously overlooking?
Thanks in advance.