Home   Help Search Login Register  

Author Topic: Bombing  (Read 1294 times)

0 Members and 1 Guest are viewing this topic.

pazuzu

  • Guest
Bombing
« on: 06 Mar 2004, 07:32:52 »
Hi, I'm helping make a mission where we want an A10 bomber to drop 1 bomb on a wall to destroy it & allow prisoners to escape. I've searched for a script that would do this but I dont see anything that I could use.

I was just wondering if you guys know if this is even possible...to have A10 attack an object like a section of wall or fence & if it is possible where would I find a script for it?

Thanks

PaulRPG

  • Guest
Re:Bombing
« Reply #1 on: 06 Mar 2004, 15:42:16 »
i have figured out that if an A10 flys at the normal height (flying in editer, or a bit higher) the bomb fires the same distance away as the speed is. hope this helps.

DBR_ONIX

  • Guest
Re:Bombing
« Reply #2 on: 14 Mar 2004, 14:52:10 »
So it goes in a triangle arc, sorta :
                   [plane]
                       |
                       | Y
          _ _ _|
                 X
And Y is the same as X?

[plane] is where the bomb is released
Y is the height
X is the lenghs from where the bomb is droped
is where the bomb lands

You could also try using the invisible targets.. But I'm not sure how accutate the bombs are...

Oh.. What are you gonna do if the bomb lands on the people who are escaping ::):P

You could also try
Code: [Select]
bomb1 = "laserguidedbomb" [getpos wall]

Where your wall it called wall

Put that in a trigger to be activated by the plane.. It would be better in a script where you could put a delay to make a bit more realisic

You coul also try replacing wall with the name of the plane.. It should make the bomb under the plane, and if you get it right, it'll drop on the wall

Hope this helps
- Ben

Offline Roni

  • Members
  • *
  • Play the Game !
Re:Bombing
« Reply #3 on: 19 Mar 2004, 10:17:40 »
Hi pazuzu

I'm no expert - I'm more of a "work out what you want to see then try to find the commands to do it" sort of guy.  My suggestion would be to not even bother with the bomb.

Instead, you could just have the A-10 fly over the target at a suitable height using a simpe waypoint, then have it set off a trigger as it passes a point somewhat short of the wall.  This trigger would run a sound ("falling bomb"), then a delay, then you just camcreate the laserguidedbomb right on the wall.  Easy as !

This way you get the bomb exactly where you want it, when you want it and you get the approprate sound effect too.  I've used this method to simulate an artillery barrage (with the appropriate fire delay, drift and scatter routines included) and it's been pretty good.

Hope this helps.



Roni