Search found 140 matches

by JB3DG
Tue Dec 24, 2019 2:18 pm
Forum: Software Development Kit (SDK) Questions
Topic: [PDK] How to get Custom Variable ? (C:<Module Name>:<Variable>)
Replies: 12
Views: 8042

Re: [PDK] How to get Custom Variable ? (C:<Module Name>:<Variable>)

You should have a DllStart or module_init function in your dll that the simulator calls on load. That's where you should do the panel pointer assignment.
by JB3DG
Wed Dec 18, 2019 8:12 am
Forum: Software Development Kit (SDK) Questions
Topic: [PDK] How to get Custom Variable ? (C:<Module Name>:<Variable>)
Replies: 12
Views: 8042

Re: [PDK] How to get Custom Variable ? (C:<Module Name>:<Variable>)

Look up the C: var module example in the SDK for how to set up the import table.
by JB3DG
Tue Dec 17, 2019 4:32 pm
Forum: Software Development Kit (SDK) Questions
Topic: [PDK] How to get Custom Variable ? (C:<Module Name>:<Variable>)
Replies: 12
Views: 8042

Re: [PDK] How to get Custom Variable ? (C:<Module Name>:<Variable>)

Are you running a C++ gauge or a C++ module loaded via the dll.xml?
by JB3DG
Tue Dec 17, 2019 8:55 am
Forum: Software Development Kit (SDK) Questions
Topic: Changing of Default Axis Range in TargetingPod Camera View
Replies: 5
Views: 6645

Re: Changing of Default Axis Range in TargetingPod Camera View

I don't use swf files. All my camera work has been in C++ PDK texture rendering displays.
by JB3DG
Tue Dec 17, 2019 8:51 am
Forum: Software Development Kit (SDK) Questions
Topic: [PDK] How to get Custom Variable ? (C:<Module Name>:<Variable>)
Replies: 12
Views: 8042

Re: [PDK] How to get Custom Variable ? (C:<Module Name>:<Variable>)

There isn't a gauges.lib. You got something like this in your code somewhere? GAUGESIMPORT ImportTable = { { 0x0000000F, (PPANELS)NULL }, { 0x00000000, NULL } }; GAUGESLINKAGE Linkage = { 0x00000013, module_init, module_deinit, 0, 0, FS9LINK_VERSION, { &gaugehdr_ACM, &gaugehdr_Sys, 0 } };
by JB3DG
Mon Oct 21, 2019 11:42 am
Forum: Software Development Kit (SDK) Questions
Topic: Setting airspeed true and airspeed indicated values through SimConnect Aircraft Position and Speed Variables
Replies: 7
Views: 3095

Re: Setting airspeed true and airspeed indicated values through SimConnect Aircraft Position and Speed Variables

Setting the instrument sim vars has always been rather hit or miss with weird behaviour for me. I would recommend taking the raw velocity values and atmospheric parameters and calculating your own instrument indications using your own vars. I should point out that setting body velocity to true is no...
by JB3DG
Mon Oct 21, 2019 6:17 am
Forum: Software Development Kit (SDK) Questions
Topic: Setting airspeed true and airspeed indicated values through SimConnect Aircraft Position and Speed Variables
Replies: 7
Views: 3095

Re: Setting airspeed true and airspeed indicated values through SimConnect Aircraft Position and Speed Variables

I have no problems integrating body velocity Z, but I work in a dll, not a exe. I set my SimConnect data request to return every sim frame (and the flag that sets it to return on change is not added), and I call my integration functions from that particular request case. That way it doesn't get call...
by JB3DG
Sat Oct 19, 2019 5:42 pm
Forum: Simulation Object Development Questions
Topic: HF Radio Fequencies
Replies: 11
Views: 11731

Re: HF Radio Fequencies

If the gauge is a dll then there is no way it would even be modifiable.
by JB3DG
Mon Sep 30, 2019 4:59 pm
Forum: Software Development Kit (SDK) Questions
Topic: Flightplan data with the PDK
Replies: 9
Views: 4477

Re: Flightplan data with the PDK

It actually is quite clean if you make a wrapper class for it and use enums and arrays for the string names and IDs and create some read and write functions.
by JB3DG
Sun Sep 29, 2019 8:22 am
Forum: Software Development Kit (SDK) Questions
Topic: Flightplan data with the PDK
Replies: 9
Views: 4477

Re: Flightplan data with the PDK

You can use the IGaugeCCallback system.

Best description on how to use C: vars is found here:

https://forums.vrsimulations.com/support/index.php/TacPack_SDK#CVars_via_C.2B.2B
by JB3DG
Thu Sep 19, 2019 4:57 pm
Forum: Software Development Kit (SDK) Questions
Topic: Heat value in IR sensors
Replies: 2
Views: 3107

Re: Heat value in IR sensors

My examination of the IR shaders and P3D materials and material scripting SDK shows that they do simulate actual IR, but you will find it hard to get anything useful from the render target pixel data since the output is always normalized.
by JB3DG
Wed Sep 18, 2019 6:33 am
Forum: Simulation Object Development Questions
Topic: about shaders
Replies: 2
Views: 7154

Re: about shaders

You need to learn DX11 and the Texture PDK API.
by JB3DG
Fri Aug 09, 2019 11:12 am
Forum: Simulation Object Development Questions
Topic: Support for more than 2 COM radios
Replies: 0
Views: 5339

Support for more than 2 COM radios

Is there a possibility of getting support for a 3rd and even a 4th COM radio? Some of the military aircraft I work on have a VHF and a UHF radio with simultaneous transmit on both with guard receive. To simulate that I would need to be able to tune COM 1 and 2 as the UHF and VHF radios, and COM 3 as...

Go to advanced search