ryguy 10 Posted July 9, 2010 Hi all, I know this has been asked before but my search was to no avail. My question is how do I force a plane to do a bomb run on a neutral building? I tried placing a "Destroy" waypoint but unfortunately that doesn't work. Thanks! Share this post Link to post Share on other sites
KC Grimes 79 Posted July 9, 2010 To get a plane to drop a bomb like that it must have a target. I recommend you script the spawn of a laser on the building and have the plane target that laser. Share this post Link to post Share on other sites
ryguy 10 Posted July 9, 2010 How would I script a laser to spawn? Share this post Link to post Share on other sites
kylania 568 Posted July 9, 2010 Sneak an operator into the town and have him toss an IR target strobe onto the target building! :butbut: Share this post Link to post Share on other sites
Funkman 10 Posted July 10, 2010 What about the laser designator? Share this post Link to post Share on other sites
ryguy 10 Posted July 10, 2010 Sneak an operator into the town and have him toss an IR target strobe onto the target building! :butbut: Hmm... Well it sure would be easier to just spawn an IR strobe... How? Share this post Link to post Share on other sites
KC Grimes 79 Posted July 10, 2010 (edited) // Usage: // nul=[] execVM "lasertarget.sqf"; _target = _this select 0; _laze = "LaserTargetW" createVehicle getPos _target; _laze attachTo [_target,[0,0,0]]; waitUntil {!alive _target}; deleteVehicle _laze; Usage is at the top of that script. Script is called "lasertarget.sqf" I am not sure if this works in OA, but it does in ArmA 2. What this does is at mission start it spawns a laser on whatever the object is that you executed this with. Once that object is dead, the laser is deleted. Now, since you are trying to do this with a building I recommend that you either get the coordinates of the building and do the nearest object line, or spawn an invisible H-Pad on top of the building and execute like that. Again, not sure if this will work. I always used this on ground targets. If you want to go the IR strobe method, you'd need to figure out how to spawn the IR strobe and activate it. Edited July 10, 2010 by Grimes [3rd ID] Share this post Link to post Share on other sites
Big Dawg KS 6 Posted July 10, 2010 Alternatively, you can perform the bombing run yourself, record it, and play it back: See this thread Share this post Link to post Share on other sites
KC Grimes 79 Posted July 11, 2010 Haha, was waiting for someone to say that :P That's cheatin' though! Share this post Link to post Share on other sites
CarlGustaffa 4 Posted July 11, 2010 How is it cheating? Share this post Link to post Share on other sites
IAmMarshicus 10 Posted July 11, 2010 How is it cheating? Grimes was just making a little joke... Share this post Link to post Share on other sites
f2k sel 164 Posted July 11, 2010 using the lasertarget script it will work but not on a building as you can't attach it to a building, it will attach to a heli pad but if you place this over a building it will fail. The reason is that the pilot can't see the laser when it's inside a building, what you need to do is position the heli pad just outside the building this is done easily if you do it at night as you can see the strobe. The plane will still fly past once before bombing. Has anyone got a way to get an AI to fire the laser designator ? he will raise it for a few seconds but never seems to fire and he refuses to hold the it for long. I'm not keen on the record and play back method for a few reasons it crashes my PC too often and I never got the data to clipboard, if I could get it to work how would you use that to target random buildings or would you have to record it all. Share this post Link to post Share on other sites
Guest Posted July 13, 2010 The recording method is more for scripted events, rather than dynamic air support. If there is once specific objective building to destroy, the record function is great. If you want dynamic support on any building you choose, you will need actual AI flying. (At least that's what I know, may be wrong!) Share this post Link to post Share on other sites
ryguy 10 Posted July 13, 2010 The recording method is more for scripted events, rather than dynamic air support. If there is once specific objective building to destroy, the record function is great. If you want dynamic support on any building you choose, you will need actual AI flying.(At least that's what I know, may be wrong!) Thanks richie, it's actually going to be for a movie... But It's not going to just be one plane, probably more like... erm... 6? Will this still work? Share this post Link to post Share on other sites
KC Grimes 79 Posted July 14, 2010 Thanks richie, it's actually going to be for a movie... But It's not going to just be one plane, probably more like... erm... 6?Will this still work? If that's the case, then you probably will want to use the recording method. Easier to maintain a formation if you know what you are doing, and you can make the break off look much better, maybe add flares or something. Share this post Link to post Share on other sites
ryguy 10 Posted July 14, 2010 How will the script know which to record? Share this post Link to post Share on other sites
KC Grimes 79 Posted July 14, 2010 You name each jet and record it for each, and each has their own text files. Share this post Link to post Share on other sites
ryguy 10 Posted July 15, 2010 OK, I'll look up some example scripts. Share this post Link to post Share on other sites