Configuring weapons onto my own vehicle

For topics related to the creation of simulation objects (SimObjects). This includes development of aircraft, ground, and maritime vehicles.
Locked
Barney_LM
Posts: 46
Joined: Tue Apr 03, 2018 10:49 am

Configuring weapons onto my own vehicle

Post by Barney_LM »

How do I configure weapons for my own vehicle?

I plan to configure my custom F-16 so that it has 20mm cannon or similar

Is this something i need to do in the aircraft.cfg file?

Regards
Barney
User avatar
Kayla Dillon
Posts: 1316
Joined: Mon Aug 01, 2016 5:59 pm

Re: Configuring weapons onto my own vehicle

Post by Kayla Dillon »

Hello,

There is a tutorial on Weapon Attachment in the Learning Center:
https://www.prepar3d.com/SDKv4/sdk/simu ... orial.html

Regards,
Kayla
Prepar3D® Software Engineer
Barney_LM
Posts: 46
Joined: Tue Apr 03, 2018 10:49 am

Re: Configuring weapons onto my own vehicle

Post by Barney_LM »

I have followed this tutorial.

However the weapons that I have attached to my aircraft do not work. None of the weapon controls in the control settings do not work either.

I have also tried firing weapons on other aircrafts and none of them can fire weapons either

I am using P3D v4 Pro Plus

Regards,
Baarney
User avatar
Kayla Dillon
Posts: 1316
Joined: Mon Aug 01, 2016 5:59 pm

Re: Configuring weapons onto my own vehicle

Post by Kayla Dillon »

Hello,

There is an example of the Attachment.xml for the F16 in Program Files\Lockheed Martin\Prepar3D v4\SimObjects\Airplanes\F-16A

You can experiment with this plane in Prepar3D by selecting it in the Vehicle UI.

Regards,
Kayla
Prepar3D® Software Engineer
Locked