I have been using a script modified by LCD for all my close air support needs, I modified this script a little and then decide it would be cool to have a CBU strike, I changed the aircraft to a (RAD) FA-18 and set the bomb to a CBU87, but the bomb continues to fall like a LGB and no cluster bombs explode, what am I doing wrong, everything else seems to work? If anyone can figure out if it is possible to change the weapon this script could be used for a simulated AC-130 Spectre Gunship run, all that you would have to do would be to change the amount fired. Well if you can help let me know.
Here is my CBU script, I will attach the ones for the naplam and LGB, and a demo mission
onMapSingleClick {}
1 setRadioMsg "Null"
2 setRadioMsg "Null"
3 setRadioMsg "Null"
_pos = _this select 0
[_pos, "Requesting CAS at grid ", ". Over.", ["SideChat", player]] exec "gridcoordinates_pipe.sqs"
~5
"target" setMarkerPos _pos
"target" setMarkerType "destroy"
strikePlane = "Rad_Hornet_CBU87G" camCreate (getMarkerPos "spawn")
strikePlane setPos [(getPos strikePlane select 0),(getPos strikePlane select 1),(getPos strikePlane select 2)+1000]
strikePlane setDir 180
strikePilot assignAsDriver strikePlane
strikePilot moveInDriver strikePlane
strikePilot doMove _pos
strikePilot sideChat "Coming in hot, keep your heads down"
@ unitReady strikePilot
strikePilot sideChat "Starting Run"
_num = 4
_i = 0
#loop
_bomb = "Rad_CBU87" camCreate [(getPos strikePlane select 0)+((random 10)-5),(getPos strikePlane select 1)+((random 10)-5),(getPos strikePlane select 2)-3]
_bomb setDir (getDir strikePlane)
_bomb setVelocity [(velocity strikePlane select 0)*0.2,(velocity strikePlane select 1)*0.2,(velocity strikePlane select 2)*0.2]
_i = _i + 1
~0.3
? _i < _num : goto "loop"
strikePilot doMove (getMarkerPos "spawn")
strikePilot sideChat "Pass Complete"
"target" setMarkerType "empty"
@ unitReady strikePilot
deleteVehicle strikePlane
strikePilot setVelocity [0,0,0]
strikePilot setPos (getMarkerPos "safe")
strikePilot sideChat "In orbit again above target area"
1 setRadioMsg "Air Strike MK83 1000lb"
2 setRadioMsg "Air Strike Napalm"
3 setRadioMsg "CBU Strike"
exit