Home   Help Search Login Register  

Author Topic: GAM Bombs  (Read 1168 times)

0 Members and 1 Guest are viewing this topic.

rOk

  • Guest
GAM Bombs
« on: 28 Oct 2004, 11:02:18 »
Hi all

GAM stands for GPS Aided Munition.

Essentially free-fall bombs with GPS and little wings which direct them.
Is this possible in OFP?
And laser is out of the question.

I suppose JDAM is pretty similar but GAM's are bigger/more precise(?); the big bombers carry them (B-1, B-2, B-52)

Thanks
« Last Edit: 28 Oct 2004, 11:03:56 by rOk »

Offline Raptorsaurus

  • Editors Depot Staff
  • *****
Re:GAM Bombs
« Reply #1 on: 28 Oct 2004, 19:50:42 »
If you know the target position, you could then use setvelocity on the bombs to direct them toward the target.  Try this Intercept function I wrote.  This function will require an object at the target location (you can use a game logic for that).  Also the bomb has to be moving before you can call this function (it requires that the projectile has some motion or else the time to intercept calculation becomes infinite which makes the function error out).  But that is no problem, just let the bomb fall a few meters before you start your velocity manipulation script.  To see an example of how to implement this function check out my Super Guided Missile script at the Editor Depot here http://www.ofpec.com/editors/browse.php?browseon=&browsewhat=-1&category=2_4&subcategory=-1_-1&numreturn=25&displayformat=0&ofpv=1&start=50 at OFPEC.
« Last Edit: 29 Oct 2004, 03:33:03 by Raptorsaurus »

Homefry31464

  • Guest
Re:GAM Bombs
« Reply #2 on: 29 Oct 2004, 03:48:29 »
Is there a way to add a pause in a function?  If so... you could just do that and fix the problem all together.

Nulear_Man

  • Guest
Re:GAM Bombs
« Reply #3 on: 29 Oct 2004, 18:13:55 »
no, you can only do that in scripts