C&C Labs Forums
»
C&C Maps and Modding
»
Generals: Modding
»
Is there a way to way to make a carpet bomber Buildable?
Captain Joined: 12/17/2012(UTC) Posts: 57 Thanks: 10 times Was thanked: 7 time(s) in 4 post(s)
|
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.
|
|
|
|
General Joined: 4/10/2014(UTC) Posts: 1,591 Location: Laniakea; Virgo Supercluster; Local Sheet; Local Group; Milky Way Galaxy; Orion–Cygnus Arm; Gould Belt; Local Bubble; Local Interstellar Cloud; Sol System; Sol III; Europe; United Kingdom of Great Britain and Northen Ireland; Great Britain; England; Essex Thanks: 16 times Was thanked: 247 time(s) in 217 post(s)
|
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. |
|
|
|
|
General Joined: 4/10/2014(UTC) Posts: 1,591 Location: Laniakea; Virgo Supercluster; Local Sheet; Local Group; Milky Way Galaxy; Orion–Cygnus Arm; Gould Belt; Local Bubble; Local Interstellar Cloud; Sol System; Sol III; Europe; United Kingdom of Great Britain and Northen Ireland; Great Britain; England; Essex Thanks: 16 times Was thanked: 247 time(s) in 217 post(s)
|
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. |
|
|
|
|
General Joined: 8/2/2008(UTC) Posts: 1,779 Thanks: 26 times Was thanked: 475 time(s) in 331 post(s)
|
Originally Posted by: GreyW00lf 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 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. Originally Posted by: GreyW00lf 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? 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. |
|
|
|
Users browsing this topic |
Guest
|
C&C Labs Forums
»
C&C Maps and Modding
»
Generals: Modding
»
Is there a way to way to make a carpet bomber Buildable?
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.