CAPTAIN SIM FORUM
Weapon for FSX >> Weapon for FSX >> My CS B-52  now drops bombs!
https://www.captainsim.org/forum/csf.pl?num=1297996771

Message started by barney on Feb 18th, 2011 at 2:39am

Title: Re: My CS B-52  now drops bombs!
Post by Lost in Isaan on Feb 22nd, 2011 at 6:02am
Been busy doing other things, so just quickly.

Standalone Weapons Pack Mk82 Bombs

Between:-

       <Action name="fovDec" control="Ctrl+Shift+0" />
       <!-- HUD FOV decrease  (2D only, AUTO in VC) -->
   </ControlsInfo>
   <WeaponInfo>

And Here:-

       <Weapon>
           <!-- weapon sub-type section. unlimited number of -->
           <Gun>M60C</Gun>
           <!-- weapon sub-type name. must match GunInfo>Gun>Name -->
           <Shell>M60C Bullet</Shell>

Paste This:-

       <Weapon>
           <Gun>Mk82_500</Gun>
           <Shell>Mk82 Bomb</Shell>
           <Unlimited>0</Unlimited>
           <Station name="Center" params="0,2,-1.5,0,-4.712389,0,80" />
           <Mode name="AUTO" shotrate="10" setshots="0" sequence="1" />
           <Mode name="X3" shotrate="10" setshots="3" sequence="1" />
           <Mode name="SINGL" shotrate="10" setshots="1" sequence="1" />
           <Mode name="SAT" shotrate="10" setshots="10" sequence="1" />
           <DefaultMode>SAT</DefaultMode>
       </Weapon>

SAT (short for Saturation) is a new mode I have created and “10” setshots sets the number of bombs you want to drop in one hit. You will see where I’ve increased Barny’s 51 Bombs to 80 giving me a full 40000 lb payload.

Now Between This:-

       <Weapon>
           <Gun>MK82</Gun>
           <Unlimited>0</Unlimited>
           <Station name="Center" params="0,0,0,0,-0.039,0,0" />
       </Weapon>
   </WeaponInfo>
   <GunInfo>
       <!-- aircraft independent weapon settings -->

And This:-

       <Gun>
           <!-- weapon sub-type . unlimited number of -->
           <Type>MachineGun</Type>
           <!--sub-type class. USE ONLY: MachineGun, RocketLauncher, MissileLauncher, BombLauncher -->
           <Name>M60C</Name>
           <!--weapon sub-type name. must match name in WeaponInfo section -->
           <Desc>7.62mm Machine Gun</Desc>

Paste This:-

       <Gun>
           <Type>MachineGun</Type>
           <Name>Mk82_500</Name>
           <Desc>500 Pound Bomb</Desc>
           <HudString>BOMB</HudString>
           <Pix />
           <ConeAngle>0.0005</ConeAngle>
           <TargetRange>10000</TargetRange>
           <Delay>0.0</Delay>
           <FxFire />
           <Sound name="..\..\..\Captain_Sim\Weapon\Sound\csweapon_rocket3.wav" gain="0.5" />
           <Shell>
               <Name>Mk82 Bomb</Name>
               <Desc>500 Pound Bomb</Desc>
               <HudString>Mk82</HudString>
               <Pix />
               <Container>Mk82_500lb</Container>
               <FxWake />
               <Weight>500</Weight>
               <TargetWeight>5000</TargetWeight>
               <Lifetime>99</Lifetime>
               <CtrLifetime>99</CtrLifetime>
               <Efficiency>1.0</Efficiency>
               <RadiusRatio>2.0</RadiusRatio>
               <DragCoeff>0.5</DragCoeff>
               <OpArea>0.456</OpArea>
               <GravCoeff>1.0</GravCoeff>
               <InitSpeed>0</InitSpeed>
               <EngThrust>0</EngThrust>
               <ThrustDuration>0</ThrustDuration>
           </Shell>
       </Gun>

Falling bombs make a whooshing sound. I had to leave it as a machine gun as Bomb Launcher did not work. Will sort that later.

YOU MUST make the Bomb folder name and SIM.CFG name in your Misc Directory either Mk82_500lb or change <Container>Mk82_500lb</Container> to whatever yours is called.

Good luck, remember to back up prior to doing this.

EDIT: Oh BTW restore your M60C back to original.

CAPTAIN SIM FORUM » Powered by YaBB 2.6.0!
YaBB Forum Software © 2000-2024. All Rights Reserved.