Home   Help Search Login Register  

Author Topic: Next step in Laser designating target  (Read 536 times)

0 Members and 1 Guest are viewing this topic.

c_jay_ie

  • Guest
Next step in Laser designating target
« on: 22 Oct 2004, 12:38:08 »
OK, I know now how to get the laser designator to trigger an action, and make anything I point it at melt/explode/come to life/ shoot/whatever, now there's a few more steps between designating and the big explosion. What I want to happen is for the A-10 LGB plane to fly towards the lasertarget, drop the bomb, and for the bomb to home in on the laser target object itself.

Now, as I'm in college with no access to OFP, I can't check, but I think I can find a code to make the airplane fly over and drop the weapon. Now what I want to know is what coding will make the "laserguidedbomb" move towards the "lasertarget" object?

So here's an idea of the code I'd use. there's a few holes in it, and synthax is shot, but would it work?


On activation:

plane domove getpos lasertarget;

(distance activation code) plane fire "laserguidedbomblauncher";

(?) laserguidedbomb domove getpos lasertarget (?)

Will try parts a and b when I get home tomorrow.

Offline remcen

  • Contributing Member
  • **
  • a.k.a. hottentotten_mike
    • IM:UC
Re:Next step in Laser designating target
« Reply #1 on: 22 Oct 2004, 13:33:18 »
'domove' means that a groupleader orders a soldier to go to a certain point on the map without letting the rest of the group hear it (opposed to 'commmandmove'), so that might not work for a bomb.
instead you could give the a10 gunner the laser dot as target. AFAIK it's a separate object the presence and name, etc of which you could scan for via the 'nearestobject' command.... that would be my idea atm.

we're looking for members: IM:UC MOD

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Next step in Laser designating target
« Reply #2 on: 22 Oct 2004, 13:56:33 »
No no no its all automatic.    If a target is painted and an LGB A10 flies over, it will bomb the target.   I think, I'm not an expert on the laser.    Use the forum search function and go back a bit, lots of good stuff on all this has been posted in the past.
Plenty of reviewed ArmA missions for you to play

c_jay_ie

  • Guest
Re:Next step in Laser designating target
« Reply #3 on: 22 Oct 2004, 16:23:31 »
Well, iuf I remeber right, I don't think it's automatic at all. I remember settign up a mission many moons ago trying to get the A10 to drop the bombs, but no dice. it just flew over it dropping nothing.

I'll try it again when I get home.

Dubieman

  • Guest
Re:Next step in Laser designating target
« Reply #4 on: 23 Oct 2004, 01:54:51 »
Gaa, so easy, make sure the dude is using the laser thing, and the A10 recognizes the laser as an enemy, targets it and lets the bomb go. Now the "laser" guided bomb will guide itself to the laser to the best of its ability, if not, the plane dropped it to late or it never locked on cause there was no laser.

Trust me, I was the laser man in an MP mission ages ago and my team mate with the A10 was only able to hit the shilka inbetween buildings cause that bomb guided itself into that 5x5 area. Course, I had my laser on it. :)

Okay, I'm done speaking now. ;)