Jump to content
Sign in to follow this  
Guest capun

Animated Bomb bays and cargo doors in the AI planes

Recommended Posts

Guest capun

Hello

Playing around with the animation ID's to open the canopy (see Easter Egg thread), I run into the animation ID's to toggle the bomb bays and the cargo door of some of the AI planes (I made them flyable). I slaved them to the tailhook key since the command key is not working. If there is interest I can post the procedures to make them toggle.

I did run into some issues that I am trying to solve. For one the bombs are not releasing from the bomb bays (at least in the IL-28) and the cargo doors action is way to fast. Why is the bomb bay toggle key (CTRL O) not working?

BTW, you can still drop the bombs with the bomb bay in the closed position.

CP

Share this post


Link to post
Share on other sites

Guest capun

Slaving Bomb Bays and Cargo Doors to the TailHook Key

 

I found the Animation ID’s for the Bomb Bays and Cargo Doors for the AI planes.

The normal Open Bomb Bay (CTRL O) key command does not work, so I slaved them to the Tailhook Key Command (H).

 

Need to modify the Plane’s Data.ini file. For this example we use the B-57B_Data.ini file.

Add the Tailhook to the the Fuselage description

 

[Fuselage]

ModelNodeName=Fuselage

.

.

.

SystemName[0xx]=TailHook ; 0xx=Next sequence number

 

Add the Following section at the end of the file

 

[Tailhook]

SystemType=ARRESTOR_HOOK

MaxDeflection=0

AnimationID=3 ; See the next section for the Animation ID’s

Retractable=TRUE

DeployTime=1.0

ModelNodeName=BombBay ; Either BombBay or CargoBay

 

Animation ID’s for Bomb Bays

B-52 AnimationID=3

B-57B AnimationID=3

IL-28 AnimationID=3

Tu-122 AnimationID=3

 

Animation ID’s for Cargo Bays

An-12 AnimationID=3

C-130 AnimationID=2

 

Caveats:

The bombs do not seem to be aligned with the Bomb Bays, See the next section,

The Cargo Doors speed is way to fast, need to figure out how to slow them down.

 

IL-28_Data.ini mods

 

[bombBay]

SystemType=WEAPON_STATION

StationID=1

StationGroupID=1

StationType=INTERNAL

AttachmentPosition=0.0,-0.128,-0.740

AttachmentAngles=0.0,0.0,0.0

LoadLimit=3000

AllowedWeaponClass=ARM,ASM,BOMB

AttachmentType=WP,NATO,USAF,USN

NumWeapons=8

AttachmentPosition001= 0.304,5.49,-0.61

AttachmentPosition002=-0.304,5.49,-0.61

AttachmentPosition003= 0.304,7.49,-0.61

AttachmentPosition004=-0.304,7.49,-0.61

AttachmentPosition005= 0.304,5.49,-0.28

AttachmentPosition006=-0.304,5.49,-0.28

AttachmentPosition007= 0.304,7.49,-0.28

AttachmentPosition008=-0.304,7.49,-0.28

DiameterLimit=

LengthLimit=

BombBayAnimationID=3

 

TU-22_Data.ini mods

[bombBay]

SystemType=WEAPON_STATION

StationID=1

StationGroupID=1

StationType=INTERNAL

AttachmentPosition=0.0,-0.128,-0.740

AttachmentAngles=0.0,0.0,0.0

LoadLimit=9000

AllowedWeaponClass=ARM,ASM,BOMB

AttachmentType=WP,NATO,USN,USAF

NumWeapons=12

AttachmentPosition001= 0.304,-3.21,-0.61

AttachmentPosition002=-0.304,-3.21,-0.61

AttachmentPosition003= 0.304,-4.49,-0.61

AttachmentPosition004=-0.304,-4.49,-0.61

AttachmentPosition005= 0.304,-3.21,-0.28

AttachmentPosition006=-0.304,-3.21,-0.28

AttachmentPosition007= 0.304,-4.49,-0.28

AttachmentPosition008=-0.304,-4.49,-0.28

AttachmentPosition009=-0.304,-3.21,0.28

AttachmentPosition010=-0.304,-3.21,0.28

AttachmentPosition011=-0.304,-4.49,0.28

AttachmentPosition012=-0.304,-4.49,0.28

BombBayAnimationID=3

 

B-57B_Data.ini mods

 

[bombBay]

SystemType=WEAPON_STATION

StationID=9

StationGroupID=6

StationType=INTERNAL

AttachmentPosition=0.0,0.0,0.0

AttachmentAngles=0.0,0.0,0.0

LoadLimit=2043

AllowedWeaponClass=BOMB

AttachmentType=NATO,USN,USAF

NumWeapons=12

AttachmentPosition001=-0.451,2.411,-0.888

AttachmentPosition002= 0.451,2.411,-0.888

AttachmentPosition003=-0.451,2.411,-0.888

AttachmentPosition004= 0.451,2.411,-0.888

AttachmentPosition005=-0.451,3.589,-0.888

AttachmentPosition006= 0.451,3.589,-0.888

AttachmentPosition007=-0.179,3.411,-0.975

AttachmentPosition008= 0.179,3.411,-0.975

AttachmentPosition009=-0.179,4.411,-0.975

AttachmentPosition010= 0.179,4.411,-0.975

AttachmentPosition011=-0.179,4.589,-0.975

AttachmentPosition012= 0.179,4.589,-0.975

DiameterLimit=0.4

LengthLimit=2.2

BombBayAnimationID=3

MinExtentPosition=-0.61,-1.16,-1.12

MaxExtentPosition= 0.61, 4.31,-0.45

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

By using this site, you agree to our Terms of Use, Privacy Policy, and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..