guns configuration

For topics related to the creation of simulation objects (SimObjects). This includes development of aircraft, ground, and maritime vehicles.
Post Reply
Luiscarlossb28
Posts: 6
Joined: Mon Jul 19, 2021 12:31 pm

guns configuration

Post by Luiscarlossb28 »

Good afternoon

I request your help dueto i try to incorporate a gun into an airplane but it does not work , I request your collaboration to resolve this problem.
i send you the information that i have:

this problem is directly with gun

Aircraft.cfg - Archive

[fltsim.0]
title=aiplane C10 v1
sim=airplane C10
model=c10limpio
panel=
sound=
texture=oil
checklists=
ui_manufacturer=Beechcraft
ui_type= C10, Limpio
ui_variation=Beechcraft, Baja Visibilidad
visual_damage=1
atc_heavy=0
atc_id=FAC3046
atc_airline=Beechcraft
atc_flight_number=beech3046
atc_id_color=0000000000
weapon_loadout=Basic Weapons
gun_loadout=





Attachments - archive
<?xml version="1.0" encoding="UTF-8"?>

<SimBase.Document Type="AceXML" version="1,0">

<Attachments.Stations>
<Station PositionOffset="-1.20000, -16.7000, 1.00000" OrientationOffset="0.0, 0.0, 0.0" StationDescription="Weapon Left" /> <!--00-->
<Station PositionOffset="-1.20000, 16.7000, 1.00000" OrientationOffset="0.0, 0.0, 0.0" StationDescription="Weapon Right" /> <!--01-->
<Station PositionOffset="-1.20000, -14.7000, 1.00000" OrientationOffset="0.0, 0.0, 0.0" StationDescription="Weapon Left" /> <!--00-->
<Station PositionOffset="-1.20000, 14.7000, 1.00000" OrientationOffset="0.0, 0.0, 0.0" StationDescription="Weapon Right" /> <!--01-->
<Station PositionOffset="-1.20000, -11.7000, 1.00000" OrientationOffset="0.0, 0.0, 0.0" StationDescription="Weapon Left" /> <!--00-->
<Station PositionOffset="-1.20000, 11.7000, 1.00000" OrientationOffset="0.0, 0.0, 0.0" StationDescription="Weapon Right" /> <!--01-->
</Attachments.Stations>

<Attachments.Loadouts>
<Attachments.Loadout LoadoutTitle="Basic Weapons" LoadoutType="WEAPON">
<Attachment StationIndex="0" ObjectTitle="AIM-120_AMRAAM" Quantity="1" />
<Attachment StationIndex="1" ObjectTitle="AIM-120_AMRAAM" Quantity="1" />
<Attachment StationIndex="2" ObjectTitle="AIM-9M_Sidewinder" Quantity="1" />
<Attachment StationIndex="3" ObjectTitle="AIM-9M_Sidewinder" Quantity="1" />
<Attachment StationIndex="4" ObjectTitle="AIM-9M_Sidewinder" Quantity="1" />
<Attachment StationIndex=" 5" ObjectTitle="GBU-32_JDAM" Quantity="1" PylonTitle="pylon_sidebyside"/>
</Attachments.Loadout>
</Attachments.Loadouts>

</SimBase.Document>





Gunsystem - archive

<?xml version="1.0" encoding="UTF-8"?>

<SimBase.Document Type="AceXML" version="1,0">

<GunSystem.GunDefinitions>
<GunDefinition ObjectTitle="M-61_Vulcan" GunType="Gatling" Ammunition="20 x 102 mm HEI" Stationary="FALSE">
<GunFeatures Caliber="0.787402" RateOfFire="6000" MuzzleVelocity="3450" />
<GunMovement PitchMax="15.0" PitchAccelerationTime="2.0" PitchTurnRate="6.0" HeadingMax="15.0" HeadingAccelerationTime="2.0" HeadingTurnRate="6.0" />
<GunEffect EffectName="fx_F16_M61_Vulcan" GunEffectType="FIRE" />
</GunDefinition>
</GunSystem.GunDefinitions>

<GunSystem.RoundDefinitions>
<RoundDefinition ObjectTitle="20 x 102 mm HEI (ballistic table)" Weight="0.220462" Caliber="0.787402" DragCf="0.1" TracerRatio="4" DamagePoints="1" Lifetime="3">
<RoundEffect EffectName="fx_tracer_m" RoundEffectType="TRACER" />
<RoundEffect EffectName="fx_dirtspray_s" RoundEffectType="IMPACT_LAND" />
<RoundEffect EffectName="fx_wtrspray_s" RoundEffectType="IMPACT_WATER" />
<RoundEffect EffectName="fx_dirtspray_s" RoundEffectType="IMPACT_BUILDING" />
<RoundEffect EffectName="fx_dirtspray_s" RoundEffectType="IMPACT_VEHICLE" />
<RoundEffect EffectName="fx_dirtspray_s" RoundEffectType="IMPACT_VEGETATION" />
<BallisticTable>
<Row Range="0" Velocity="3450" Trajectory=" 0.0" />
<Row Range="500" Velocity="3000" Trajectory=" -10.0" />
<Row Range="1000" Velocity="2500" Trajectory=" -25.0" />
<Row Range="1500" Velocity="2000" Trajectory=" -50.0" />
<Row Range="2500" Velocity="1000" Trajectory="-120.0" />
</BallisticTable>
<EntityTypeString>2.2.225.2.2.8.0</EntityTypeString>
</RoundDefinition>
</GunSystem.RoundDefinitions>

</SimBase.Document>
navymustang
Posts: 31
Joined: Tue Mar 08, 2011 8:10 pm

Re: guns configuration

Post by navymustang »

I might be wrong - but I thought guns were only available if you had the professional version of P3D, not the academic version. ???
Chris Metel
Lockheed Martin
Posts: 105
Joined: Thu Aug 11, 2011 6:59 pm

Re: guns configuration

Post by Chris Metel »

You are correct. Weapons are only supported in Prepar3D Professional Plus licenses.
Chris Metel
Prepar3D® Product Owner
Post Reply