Can helicopter reinforcements be disabled?

  1. 5 years ago
    Edited 5 years ago by Anaximandross

    Is there a way to disable helicopter reinforcements? They're causing some huge performance issues for me.

    I also keep having an issue with the helicopters for Player Combat Support taking off randomly for no apparent reason. I do use VCOM AI, but I added this code to disable VCOM:

    [{{Driver _x setvariable ["NOAI",true];} foreach (vehicles select {_x isKindOf 'air'});}, 1, []] call CBA_fnc_addPerFrameHandler;
  2. Are you using vanilla or modded choppers? Try placing them manually according to:
    http://alivemod.com/wiki/index.php/Combat_Support#Advanced_Vehicle_Placement

    Then add this code to each crew member:

    setVariable ["NOAI",1,false];
  3. Edited 5 years ago by JD_Wang

    I'm not sure that code works since the VCOM 3.0 rewrite. Now you have the following

    (group this) setVariable ["VCM_NOFLANK",true]; //This command will stop the AI squad from executing advanced movement maneuvers.
    (group this) setVariable ["VCM_NORESCUE",true]; //This command will stop the AI squad from responding to calls for backup.
    (group this) setVariable ["VCM_TOUGHSQUAD",true]; //This command will stop the AI squad from calling for backup.
    (group this) setVariable ["Vcm_Disable",true]; //This command will disable Vcom AI on a group entirely.
    (group this) setVariable ["VCM_DisableForm",true]; //This command will disable AI group from changing formations.	
    (group this) setVariable ["VCM_Skilldisable",true]; //This command will disable an AI group from being impacted by Vcom AI skill changes.

    I just place (group this) setVariable ["Vcm_Disable",true]; in the code line of the combat support modules and it seems to work just fine

  4. Thanks JD added to wiki
    http://alivemod.com/wiki/index.php/Script_Snippets#Disable_VCOM_AI

 

or Sign Up to reply!