Search found 36 matches
- Thu Jun 06, 2019 12:51 pm
- Forum: Prepar3D Feature Requests
- Topic: My 3 big wishes for P3D v5
- Replies: 24
- Views: 116384
Re: My 3 big wishes for P3D v5
... Perhaps there may be one exception to this: All default airport and navaid data belong into an updatable database rather than hard-coded into .bgls. But even this modification should (and can) be accommodated without giving up present file formats like .bgl, .dds, .bmp and such themselves. Kind...
- Thu Jun 06, 2019 11:34 am
- Forum: SimConnect Interface Questions
- Topic: IFLY B737 Guages Blank & Switches Don't Work
- Replies: 1
- Views: 19670
Re: IFLY B737 Guages Blank & Switches Don't Work
Your chances of getting a useful response will be much better in the iFly support forums.
- Wed May 22, 2019 11:49 am
- Forum: Software Development Kit (SDK) Questions
- Topic: Best Practice for Config files
- Replies: 1
- Views: 9147
Re: Best Practice for Config files
Use SHGetKnownFolderPath or SHGetFolderPath to retrieve either the Program Data or the AppData folders.
That's what those folders are for.
Doug
That's what those folders are for.
Doug
- Wed Feb 20, 2019 2:56 am
- Forum: Simulation Object Development Questions
- Topic: Multiple Gauge Declarations in a Single DLL
- Replies: 2
- Views: 12461
Re: Multiple Gauge Declarations in a Single DLL
Have a look at the C gauge sample that is included with the SDK. There are six different gauge elements included in one dll - including the FlightMap gauge, which utilizes GDI.
Doug
Doug
- Thu Oct 11, 2018 1:33 pm
- Forum: Software Development Kit (SDK) Questions
- Topic: Can't get MapClientEventToSimEvent to work for failures
- Replies: 2
- Views: 10625
Re: Can't get MapClientEventToSimEvent to work for failures
Clearly, the event doesn't get called when you select a failure in the menuing system.
You can certainly follow the failure variables to see if the engines are failed or not:
GENERAL ENG FAILED:index
Doug
You can certainly follow the failure variables to see if the engines are failed or not:
GENERAL ENG FAILED:index
Doug
- Sun Sep 30, 2018 3:34 pm
- Forum: Simulation Object Development Questions
- Topic: Aircraft DLL loading problem
- Replies: 11
- Views: 27736
Re: Aircraft DLL loading problem
The debug versions of the runtime libary files are not included with the redistributable package.
If your dll is still compiled as a debug build, it will only load on a system that has the appropriate version of Visual Studio installed.
If your dll is still compiled as a debug build, it will only load on a system that has the appropriate version of Visual Studio installed.
- Wed Dec 06, 2017 4:18 pm
- Forum: SimConnect Interface Questions
- Topic: [RESOLVED] SimConnect network configuration problem
- Replies: 11
- Views: 28100
Re: SimConnect network configuration problem
Regarding xml file encoding, see two detailed posts by Virtuali of FSDT on page 7 of this thread:
https://www.avsim.com/forums/topic/5113 ... v4/?page=7
Doug
https://www.avsim.com/forums/topic/5113 ... v4/?page=7
Doug
- Tue Dec 05, 2017 1:08 pm
- Forum: SimConnect Interface Questions
- Topic: [RESOLVED] SimConnect network configuration problem
- Replies: 11
- Views: 28100
Re: SimConnect network configuration problem
I have to confess I don't know anything about C#, so I don't think I'll be much help with this.
Does the SimConnect log on the server indicate that your app is connecting?
Does the SimConnect log on the server indicate that your app is connecting?
- Mon Dec 04, 2017 1:18 pm
- Forum: SimConnect Interface Questions
- Topic: [RESOLVED] SimConnect network configuration problem
- Replies: 11
- Views: 28100
Re: SimConnect network configuration problem
I am fairly certain (perhaps Elaine can confirm) that SimConnect.xml needs to be saved in Unicode format, not plain ASCII. That may be your issue.
- Tue Nov 28, 2017 1:07 pm
- Forum: SimConnect Interface Questions
- Topic: [RESOLVED] SimConnect network configuration problem
- Replies: 11
- Views: 28100
Re: SimConnect network configuration problem
The computer on which P3D is running (PC1 in your case) is the server.
- Wed Oct 11, 2017 5:41 pm
- Forum: Scenario Development (SimDirector) Questions
- Topic: Can I read how far have I moved horizontally?
- Replies: 2
- Views: 12653
Re: Can I read how far have I moved horizontally?
Track the status of the SIM_ON_GROUND variable. When it becomes false, read Lat and Lon.
If you're running in-process, you can use the GPS interface to calculate the distance between here and there.
If not, you'll have to implement a great circle calculation to get your distance.
If you're running in-process, you can use the GPS interface to calculate the distance between here and there.
If not, you'll have to implement a great circle calculation to get your distance.
- Fri Sep 22, 2017 3:00 pm
- Forum: Simulation Object Development Questions
- Topic: Hard skin for ships
- Replies: 2
- Views: 10512
Re: Hard skin for ships
You might try arming your torpedoes with proximity fuses. If they get to within X meters of a ship, they will explode.
You would need to make the calculations somewhere (gauge, module, external app) but it should be completely do-able.
Doug
You would need to make the calculations somewhere (gauge, module, external app) but it should be completely do-able.
Doug
- Fri Jul 28, 2017 12:31 pm
- Forum: Simulation Object Development Questions
- Topic: Losing control of Lvars on Aircraft reload
- Replies: 10
- Views: 22151
Re: Losing control of Lvars on Aircraft reload
I'm wondering if you might be better off using events to do this.
I really don't know very much about modelling, but I think you can trap events with MDL xml code. If so, you could use SimConnect to send custom events to move stuff around on the carrier.
I really don't know very much about modelling, but I think you can trap events with MDL xml code. If so, you could use SimConnect to send custom events to move stuff around on the carrier.
- Thu Jul 27, 2017 3:58 pm
- Forum: Simulation Object Development Questions
- Topic: Losing control of Lvars on Aircraft reload
- Replies: 10
- Views: 22151
Re: Losing control of Lvars on Aircraft reload
I suspect that continually calling register_named_variable() is causing at least some of the heartache. I would go with something like: void On6hzUpdate() { for (int i = 0; i < 110; i++) { int k = check_named_variable(strings[i].c_str()); if (k == 0 ) k = register_named_variable(strings[i].c_str());...
- Tue Jul 18, 2017 12:11 pm
- Forum: Software Development Kit (SDK) Questions
- Topic: IF statements not working properly in v4
- Replies: 4
- Views: 10426
Re: IF statements not working properly in v4
I think you're missing an operator in here:
(E:ZULU TIME, seconds) (>L:APTIMER, seconds) (L:ELEV_TRIM, number) -100 max 100 min (>L:YOKE_Y, number)
Doug
(E:ZULU TIME, seconds) (>L:APTIMER, seconds) (L:ELEV_TRIM, number) -100 max 100 min (>L:YOKE_Y, number)
Doug