GreyW00lf
  • GreyW00lf
  • 50.25% (Neutral)
  • Captain Topic Starter
7 years ago
Hello All,

I am trying to make a carpet bomber that is buildable from the US Airfield that does an attack run Like the the Carpet bomber does?

It starts it bombing run early, (dropping bombs) before it even reaches Its target, and keeps on Dropping bombs a little ways after it gets past it's target but can not turn during it's bombing run. It would have to fly back to the airfield to rearm or repair it self.

I understand that I would have to use a locomotor that has little to no turning for the attack run, and a Taxi locomotor (so it can land and takeoff) plus the normal plane locomotor, a custom Weapon - that has a limited amount of bombs.


The weapon, plane, locomotor, Command button (to make the plane) I can make/setup, however I am not quite sure on how to make it change locomotors when it does it's attack run or how to make it drop it's bombs early and keep on dropping them as it gets closer to the target then keep dropping bombs once it flies past the target.
Would this even be possible?

If so where or what should I be looking at or for? I am merely asking for Pointers if it is possible within the game.
Sponsor
klingondragon
7 years ago
I'm in a bit of a rush now so I can't find examples and code right now.
But see if you can find a unit that switches locomotors when attacking and have a look at the special weapon in code to see how it works. The best way to find out how to do something is to copy eas code and change it.
klingondragon
7 years ago
I'm in a bit of a rush now so I can't find examples and code right now.
But see if you can find a unit that switches locomotors when attacking and have a look at the special weapon in code to see how it works. The best way to find out how to do something is to copy eas code and change it.
Annihilationzh
7 years ago

The weapon, plane, locomotor, Command button (to make the plane) I can make/setup, however I am not quite sure on how to make it change locomotors when it does it's attack run

Originally Posted by: GreyW00lf 


You can use the aurora code if you don't mind the attack invulnerability. I found it best just to use a plane with a slow (but usable) turn rate.

or how to make it drop it's bombs early and keep on dropping them as it gets closer to the target then keep dropping bombs once it flies past the target.
Would this even be possible?

Originally Posted by: GreyW00lf 


Range will make it drop the bombs early, and an AcceptableAimDelta of 180 will ensure it keeps dropping bombs after it has passed its target. To spawn the bombs, you could use a dummy weapon with a FireOCL. Alternatively, you can just code it like a missile - a bomb won't home in if it doesn't have a locomotor or homing ability.
If you need help, post in the forum. You'll get help a lot faster than if you send me a PM.

I reject all buddy requests. I don't think 'buddy' needs to be made official. It's not like you're marrying me.