Jump to content
Sign in to follow this  
seedo81

Disable Side Mission (Secops)

Recommended Posts

hello

can anyone help me how to Disable Side Mission (Secops), its annoying sometimes, i use the SOM module to use the radio so i can not delete it

please help! :)

Share this post


Link to post
Share on other sites

Even better than reading through 50+ pages of posts:

Use this script:


//////////////////////////////////////////////////////////////////
// Set the variables for the SOM "side missions" here
// (Mainly from BIS code)
//////////////////////////////////////////////////////////////////

//Must run during the first 2 seconds of a mission.

private ["_pool", "_hq", "_callsigns", "_initialDelay", "_autoReinforce", "_secOpSpacing", "_randomActivation", "_secOpDistances", "_settings"];

//List of secops.
//Default: ["ambush", "attack_location", "defend_location", "destroy", "escort", "patrol", "rescue", "search", "trap"]
_pool = ["ambush", "attack_location", "destroy", "escort", "patrol", "rescue", "search", "trap"];

//Enable or disable HQ.
//Default: true
_hq = true;

//Team text, team speech, H.Q. text, H.Q. speech.
//Default: ["ALPHA", ["Alpha"], "H.Q.", ["HQ"]]
_callsigns = ["Razor", ["Razor"], "H.Q.", ["HQ"]];

//Delay in seconds before starting random very first SecOps selection.
//Default: 30
_initialDelay = ((random 10) + 30);

//Should an automatic Reinforce be triggered when there are casualties?
//Default is true.
_autoReinforce = FALSE;

//??? Delay between sec ops?
//Default: 30
_secOpSpacing = ((random 10) + 20);

//??? From 0 to 1. 0 means no secops starting. With 1 they do start. Some kind of chance variable?
//Default: 0.7
_randomActivation = 1.0;

//Min Max distance of sec ops.
//Default: [300, 700]
_secOpDistances = [500, 1500];

_settings = [_pool, _hq, _callsigns, _initialDelay, _autoReinforce, _secOpSpacing, _randomActivation, _secOpDistances];

//BIS_SOM is the name you give to the SecOps module.
BIS_SOM setVariable ["settings", _settings];

To use it, you need to have a init.sqf file and add a line with this to it:

execVM "SOM_settings.sqf";

Share this post


Link to post
Share on other sites

I belive you just have to add this to the INIT code.... It has allowed me to keep my tactical airstrike abilities....while at the same time stopping any seconadry missions being requested / asked for..

this setVariable ["settings", [[], true, nil, nil, false]];

Share this post


Link to post
Share on other sites

Could someone tell me what on action I would need to place in a radio trigger to make the cas portion of the secop module available to my players? Or any of the other support options for that matter? Thanks for any help y'all can give me.

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  

×