PDA

View Full Version : B52 Carpet Bombing


chaoscontrol512
05-06-2007, 12:58 PM
I'm trying to get a B52 to fly over a GLA Base and drop some bombs, but all the stupid plane does is fly around in a circle :freek:. I also want some cargo planes to drop supply crates at an SDZ, but again, the stupid planes just fly around in a circle. I have the planes placed on the map already, and i have made scripts that tell unit "B52" to use command button carpet bomb on a waypoint in the middle of the GLA base. I have a similar script that tells unit "Cplane1" to use cmndbutton crate drop on unit "SDZ1". Obviosly these are not working. Can anyone help me?

Zancloufer27
05-06-2007, 04:32 PM
You need to give the player the science Carpet Bomb and them have use the CB on a said waypoint. IDK about the SDZ :\

Me Myself & Pi
05-06-2007, 10:22 PM
Well, you can't put in your own jet plane & have it drop off UN crates. I do have a suggestion though. Two minutes before you want the plane to come in, spawn a drop zone about 50 ft below the ground. Then set a timer for 121 seconds. After the timer expires, delete the drop zone. Then the plane will come to the base & drop off the crates!

chaoscontrol512
05-08-2007, 06:15 PM
I think I've found a way around these errors. The B52 flies along a waypoint path that passes over the GLA base. As soon as it enters, it sets off a series of scripts that spawn CINEExplBoxes that I've modded to have the same FXDie module as a carpet bomb (something i borrowed from one of the Chinese missions in Generals). As for the crate drop, I modded the USA paradrop superweapon to drop crates instead of infantry, and an offmap command center fires it at the SDZs. I have a big homework project that i need to work on, so i probably wont get around to testing this until this weekend.

chaoscontrol512
05-12-2007, 12:04 AM
Just tested it; the planes all work :). One more thing: when the timer for the SDZ's crate drop reaches zero, is there a way to make the planes fly in from a specific side of the map?

Me Myself & Pi
05-13-2007, 12:03 PM
The plane will come from the nerest border that the drop zone is at.

chaoscontrol512
05-13-2007, 08:04 PM
So I can't mod it so that the planes all come in from one side of the map? oh well...:(