Search found 833 matches
- Tue Jul 25, 2023 10:54 am
- Forum: Prepar3D Client Application Questions
- Topic: Start with special situations
- Replies: 1
- Views: 749
Re: Start with special situations
Hi Peter, Yes, you can pass in scenario files as command line arguments to the Prepar3D executable. In the Learning Center, you should find a "Command Line Switches" section in the "Prepar3D SDK > General > SDK Overview" article: https://www.prepar3d.com/SDKv3/LearningCenter/gene...
- Mon Jul 03, 2023 10:58 am
- Forum: Software Development Kit (SDK) Questions
- Topic: [RESOLVED] Weapon Gauge control using SIMCONNECT
- Replies: 2
- Views: 14412
Re: Weapon Guage control using SIMCONNECT
Hi Manoj, The call to SimConnect_MapClientEventToSimEvent expects a key event, however "WEAPON SYSTEM ON" is a simulation variable. The easiest way to tell the two apart is their naming conventions. Simulation variables use spaces in their string name, whereas key events use underscores. Y...
- Mon Mar 20, 2023 11:20 am
- Forum: SimConnect Interface Questions
- Topic: Trim issues
- Replies: 2
- Views: 14872
Re: Trim issues
Hi BillEvans, Are you seeing this behavior with our default F-35? It looks like our default includes XML gauges that also manipulate the aileron and elevator trim values (mainly in FCS_Main.xml and Pitch_Auto_Trim.xml). Its possible these scripts are conflicting with the SimConnect calls. Regards, C...
- Wed Mar 01, 2023 12:14 pm
- Forum: Prepar3D Professional Plus Client Application Questions
- Topic: Standard.xml contains multiple entries for same Controller (Throttle/Stick)
- Replies: 4
- Views: 16686
Re: Standard.xml contains multiple entries for same Controller (Throttle/Stick)
Hi Zamirk,
What happens if you add a single <Entry> to the control map you are trying to import? We may be loading the default XML if no <Entry> elements are found.
Regards,
Clifton
What happens if you add a single <Entry> to the control map you are trying to import? We may be loading the default XML if no <Entry> elements are found.
Regards,
Clifton
- Mon Feb 27, 2023 12:30 pm
- Forum: Prepar3D Professional Plus Client Application Questions
- Topic: Standard.xml contains multiple entries for same Controller (Throttle/Stick)
- Replies: 4
- Views: 16686
Re: Standard.xml contains multiple entries for same Controller (Throttle/Stick)
Hi Zamirk, You could try using the Direct Input control API, rather than the Raw Input API (default in v4.5). Direct Input is the new default API in version v5.x. This can be changed in Settings > Controls. Direct Input should provide a more consistent GUID's when moving controllers between differen...
- Thu Feb 23, 2023 11:55 am
- Forum: Simulation Object Development Questions
- Topic: OnFrame vs OnCustomRender
- Replies: 1
- Views: 14492
Re: OnFrame vs OnCustomRender
Hi Yunus, The OnFrame callback is called once per frame. This callback is issued after SimObjects have simulated, but before rendering. The OnCustomRender callback is issued once per view. This callback can also be used to make custom draws such as primitive objects using the IObjectRenderer PDK ser...
- Sat Jan 07, 2023 12:54 pm
- Forum: Prepar3D Professional Plus Client Application Questions
- Topic: [RESOLVED] List of pre-built weapons
- Replies: 2
- Views: 4123
Re: List of pre-built weapons
Hi navymustang, I don't believe we list these objects in the Learning Center, however you could have a look at your SimObjects directory in your Prepar3D installation. Here are a few examples: SimObjects\Countermesaures SimObjects\Weapons SimObjects\Misc Within these directories you should find indi...
- Tue Jan 03, 2023 12:59 pm
- Forum: Prepar3D Client Application Questions
- Topic: What is "view_aux_xx"
- Replies: 20
- Views: 6103
Re: What is "view_aux_xx"
Hi Alhard, I believe these views are defined per aircraft, since the panel.cfg is used to configure the PBH of the camera. The panel.cfg is usually located within the SimObject's directory. For example, the Mooney Bravo's panel.cfg would be found here: C:\Program Files\Lockheed Martin\Prepar3D v5\Si...
- Sun Dec 18, 2022 3:29 pm
- Forum: Prepar3D Client Application Questions
- Topic: What is "view_aux_xx"
- Replies: 20
- Views: 6103
Re: What is "view_aux_xx"
Hi Alhard, These views can be defined in the aircraft's panel.cfg. Here is an example I used for testing: [VIEWS] VIEW_FORWARD_DIR=2.000, 0.000, 0.000 VIEW_AUX_00_DIR=2.000, 0.000, -90.000 VIEW_AUX_01_DIR=2.000, 0.000, 90.000 I was able to trigger the key events using an XML gauge, and was able to l...
- Thu Oct 27, 2022 5:33 pm
- Forum: Software Development Kit (SDK) Questions
- Topic: P3D v5 SDK - Clear Coat Template
- Replies: 2
- Views: 6292
Re: P3D v5 SDK - Clear Coat Template
Hi Pyscen, The .x file should include templates for three clear coat material properties: template ClearCoatTextureFileName { <5C66613E-CA51-4667-BCB9-42C393205DDC> STRING filename; } template ClearCoatTextureUVChannel { <7FA3BB7D-87D1-4CA7-B8F7-C091AEFE95F1> DWORD uvChannel; } template ClearCoatCon...
- Thu Sep 01, 2022 12:38 pm
- Forum: Simulation Object Development Questions
- Topic: P3D v5.3 Hf2 How to run ISimObject it along the route&
- Replies: 11
- Views: 9592
Re: P3D v5.3 Hf2 How to run ISimObject it along the route&
Hi dshef, Yes, the ISimObjectAIV510 interface can also be used to set waypoints. This is a newer version of the interface and still supports functionality from the ISimObjectAIV02 interface. You'll want make sure you call QueryInterface with the correct IID version if you want to use the newer inter...
- Thu Sep 01, 2022 11:41 am
- Forum: Simulation Object Development Questions
- Topic: P3D v5.3 Hf2 How to run ISimObject it along the route&
- Replies: 11
- Views: 9592
Re: P3D v5.3 Hf2 How to run ISimObject it along the route&
Hi dshef, However, it is completely unclear how this fragment is used? How do I get SimpleCar to move along the route? And how to create a route with Waypoint PDK structures? You can assign the ISimObject a waypoint list using SimDirector. When placing the entity in SimDirector, you must assign the ...
- Fri Aug 26, 2022 11:49 am
- Forum: Software Development Kit (SDK) Questions
- Topic: Reset Camera
- Replies: 3
- Views: 5183
Re: Reset Camera
Hi A.BETTAN,
The PDK is a part of the SDK that provides C++ interfaces for various Prepar3D systems. The SDK Samples solution has several projects that demonstrate how to use these interfaces.
Regards,
Clifton
The PDK is a part of the SDK that provides C++ interfaces for various Prepar3D systems. The SDK Samples solution has several projects that demonstrate how to use these interfaces.
Regards,
Clifton
- Thu Aug 25, 2022 7:10 pm
- Forum: Software Development Kit (SDK) Questions
- Topic: Reset Camera
- Replies: 3
- Views: 5183
Re: Reset Camera
Hi A.BETTAN,
I don't think we have an event that provides the same functionality as the "Reset Camera" menu item, however the PDK's ICameraSystem interface has a Reset function that should work in the same way as the menu item.
Regards,
Clifton
I don't think we have an event that provides the same functionality as the "Reset Camera" menu item, however the PDK's ICameraSystem interface has a Reset function that should work in the same way as the menu item.
Regards,
Clifton
- Thu Aug 25, 2022 11:31 am
- Forum: Simulation Object Development Questions
- Topic: P3D v5.3 Hf2 There is no ISimObject in the Select Vehicles menu
- Replies: 3
- Views: 5348
Re: P3D v5.3 Hf2 There is no ISimObject in the Select Vehicles menu
Hi dshef, When the samples are built, you should see the ISimObject add-on in your Output directory. Here is an example: %SDK%\Output\Debug\PDK ISimObject Samples\SimpleAirplane You'll then need to copy this directory into your %DOCUMENTS%\Prepar3D v5 Add-ons . Prepar3D should prompt you to enable t...