AH-9 Pawnee drops without countermeasures and with only 1 5000Rnd_762x51_Belt. Fix:
In APOC_srv_startAirdrop.sqf find this line: [_object, false] call vehicleSetup;
and add this under it:
switch (true) do
{
case (_object isKindOf "B_Heli_Light_01_armed_F"):
{
_object addWeaponTurret ["CMFlareLauncher", [-1]];
_object addMagazineTurret ["60Rnd_CMFlare_Chaff_Magazine", [-1]];
_object addMagazineTurret ["5000Rnd_762x51_Belt", [-1]];
};
};
No idea why call vehicleSetup; does not work here.
And for exploding vehicles same file at the end of file:
//if (_type == "vehicle") then {_object allowDamage true;}; //Turn on damage for vehicles once they're in the 'chute. Could move this until they hit the ground. Admins choice.
WaitUntil {((((position _object) select 2) < 1) || (isNil "_para"))};
detach _object;
_smoke2= "SmokeShellGreen" createVehicle getPos _object;
//_smoke2 attachto [_object,[0,0,-0.5]];
_flare2= "F_40mm_Green" createVehicle getPos _object;
//_flare2 attachto [_object,[0,0,-0.5]];
sleep 2;
if (_type == "vehicle") then {_object allowDamage true;}; //Turn on damage for vehicles once they hit the ground.
if (_type == "picnic") then { //So let's go ahead and delete that ugly ammo pallet and create a wonderful picnic basket/barrel
_objectLandPos = position _object;
deleteVehicle _object;
_object2 = switch (_selectionClass) do {
case "Land_Sacks_goods_F": {
_object2 = createVehicle [_selectionClass, _objectLandPos, [], 0, "None"];
_object2 setVariable ["food", 50, true];
_object2
}; //A very big picnic, no?
case "Land_BarrelWater_F": {
_object2 = createVehicle [_selectionClass, _objectLandPos, [], 0, "None"];
_object2 setVariable ["water",50, true];
_object2
};
};
};
Admins choice as the descrition says.