Intresting...
and you got through the CBU and GBU changing the index right?
This is the init file i'm using. it is very basic and come from your mando bombs pack missions.
mando_airsupport_armedrec = true;
mando_airsupport_armedrec_man = false; // Set it to true for manual guidance for missiles fired from armed reco planes
mando_airsupport_armedrec_max = 8;
mando_airsupport_bomb_altmax = 1000;
mando_ingress_dir = 170;
mando_airsupport_bomb_alt = 600;
mando_airsupport_cmissile = rhib1;
mando_airsupport_cmissile_pos = [0,-4, 1];
mando_airsupport_cmissile_alt = 300;
mando_airsupport_jump = false; // reinforcements and airborne assault will land and disembark instead of jump from chopper.
mando_support_no_cas = false;
mando_support_no_br = false;
mando_support_no_ff = false;
mando_support_no_sa = false;
mando_support_no_gs = false;
mando_support_no_ab = false;
mando_support_no_cm = false;
mando_support_no_sat = false;
mando_support_no_rc = false;
mando_support_no_ev = false;
mando_support_no_la = false;
mando_support_no_am = false;
mando_support_no_ve = false;
mando_support_no_re = false;
mando_support_no_cp = false;
mando_support_no_cb = false;
mando_airsupport_type = "f15e_cbu_mesh";
mando_airsupport_bomb_type = "RKTF15E_cbuBomb";
mando_airsupport_type_cb = "f15e_cbu_mesh";
// Carpet bombing custom code global variable for f15
mando_airsupport_carpetcode =
{
private["_plane", "_targetpos"];
_plane = _this select 0;
_targetpos = _this select 1;
while {(([getPos _plane select 0, getPos _plane select 1, 0] distance _targetpos) > 1000) && (alive _plane)} do
{
Sleep 1;
};
if (alive _plane) then
{
for [{_i=0}, {_i<6}, {_i=_i+1}] do
{
_plane action ["useWeapon",_plane,gunner _plane, 1];
Sleep 0.4;
};
};
};
// Info text displayed in the setup / info dialog (this is an structured text)
mando_airsupport_info = "Mission info: <br />Try altitudes between 190 and 250m for carpet bombing using AV8B.<br /><br /><t color='#ff0000'>Objetive:</t><br />Destroy vehicles near Cayo and enemy ships aproaching your missile launcher at the NW.<br />Try also the support options available for this mission (all the setup is into init.sqf script).<br /><t color='#ffAA00'>If you destroy the radar tower near your initial position, comms will be lost.</t><br /><br />Note that the options you see below are fully customizable using globals (same as this text block), check online help for more info.";
// Setup dialog options 1, 2 and 3, dont set any of these variables if you dont want special options
mando_airsupport_opt1_text = "Gunships support type";
mando_airsupport_opt1_array = ["AH1W", "A10"];
mando_airsupport_opt1_action =
{
private["_item"];
_item = _this select 0;
mando_airsupport_type_ca = _item;
};
mando_airsupport_opt2_text = "Reinforcements type";
mando_airsupport_opt2_array = ["Normal", "Heavy AA","Heavy MG","Engineers"];
mando_airsupport_opt2_action =
{
private["_item"];
_item = _this select 0;
switch (_item) do
{
case "Normal":
{
mando_support_infantrytype_re = ["TeamLeaderW", "SoldierWMedic", "SoldierWAT","SoldierWB","SoldierWB","SoldierWB","SoldierWB","SoldierWB","SoldierWB","SoldierWB"];
};
case "Heavy AA":
{
mando_support_infantrytype_re = ["TeamLeaderW", "SoldierWMedic", "SoldierWAA","SoldierWAA","SoldierWB","SoldierWB","SoldierWB","SoldierWB","SoldierWB","SoldierWB"];
};
case "Heavy MG":
{
mando_support_infantrytype_re = ["TeamLeaderW", "SoldierWMedic", "SoldierWMG","SoldierWMG","SoldierWB","SoldierWB","SoldierWB","SoldierWB","SoldierWB","SoldierWB"];
};
case "Engineers":
{
mando_support_infantrytype_re = ["TeamLeaderW", "SoldierWMedic", "SoldierWMiner","SoldierWMiner","SoldierWMiner","SoldierWB","SoldierWB","SoldierWB","SoldierWB","SoldierWB"];
};
};
};
mando_airsupport_opt3_text = "Vehicle supply type";
mando_airsupport_opt3_array = ["HMMWV50", "Truck5tMG","Truck5tRepair","M119"];
mando_airsupport_opt3_action =
{
private["_item"];
_item = _this select 0;
mando_airsupport_type_vehicle = _item;
};
mando_airsupport_opt4_text = "Ammo supply options";
mando_airsupport_opt4_array = ["Normal west", "Silenced","Heavy AT"];
mando_airsupport_opt4_action =
{
private["_item"];
_item = _this select 0;
switch (_item) do
{
case "Normal west":
{
mando_airsupport_magz = [];
mando_airsupport_weap = [];
};
case "Silenced":
{
mando_airsupport_magz = [["30Rnd_556x45_StanagSD", 20],["15Rnd_9x19_M9SD", 20]];
mando_airsupport_weap = [["M4A1SD", 10],["M9SD", 10]];
};
case "Heavy AT":
{
mando_airsupport_magz = [["Javelin", 3],["M136",9]];
mando_airsupport_weap = [["Javelin", 3],["M136",3]];
};
};
};
// End of options setup dialog configuration
["Air Support Console", {rank player == "CORPORAL"}]execVM"mando_bombs\mando_giveme_console.sqf";
//["Air Support Console", {typeOf player == "SoldierWMiner"}]execVM"mando_bombs\mando_giveme_console.sqf";
titleText["Use armed reconnaissance and cruise missile missions to destroy enemy vehicles and ships.\nClick RC ON button to turn on reco and missile control cameras.\n\nBeware, enemy air activity over your position, use CAP missions to eliminate it.", "PLAIN"];
hint "Use armed reconnaissance and cruise missile missions to destroy enemy vehicles and ships.\n\nClick RC ON button to turn on reco and missile control cameras.\n\nBeware, enemy air activity over your position, use CAP missions to eliminate it.";
// If tower1 is destroyed, comms will be lost
[]spawn
{
while {true} do
{
if (!alive tower1) then
{
mando_airsupport_nocomms = 1;
};
Sleep 2;
};
};