WIP: De Havilland DH.125 for FSX/P3D

Classic British Flight Sim forum.
Support for Maltby/Piper FS models & other Classic British freeware.

Moderators: Guru's, The Ministry

SkippyBing
Concorde
Concorde
Posts: 1460
Joined: 30 Aug 2006, 18:21

Re: WIP: De Havilland DH.125 for FSX/P3D

Post by SkippyBing »

DaveG wrote:Ah, according to the readme, it needs the f18.dll gauge.
If you've got P3D 2.2 you can swap it for the radar gauge that comes in the SDK sample which is slightly more realistic anyway. I mean the radar is way better then what it should be but whatever.
Image

User avatar
Kevin Farnell
Vintage Pair
Vintage Pair
Posts: 2083
Joined: 26 Jun 2004, 13:29
Location: Willingham, Cambridge UK.
Contact:

Re: WIP: De Havilland DH.125 for FSX/P3D

Post by Kevin Farnell »

I'm loving this. Although I've only had the chance of a short flight, I can see this fast becoming a favourite.
A big 'Thank You' to Rob for his work.
rohan wrote: somewhat disappointed to note that Rob has marked this as "for FSX acceleration only", inferring that it won't work in P3D ...
From my short flight, it appears to work fine in P3Dv2.2
SkippyBing wrote:
If you've got P3D 2.2 you can swap it for the radar gauge that comes in the SDK sample which is slightly more realistic anyway. I mean the radar is way better then what it should be but whatever.
Thanks, Skippy

I have P3D2.2 and have downloaded the SDK. Could you give a little more info of the gauge and it's location in the SDK.

Cheers

Kevin
Stratospheric traces, of our transitory flight.
Trails of condensation, held in narrow paths of white...

SkippyBing
Concorde
Concorde
Posts: 1460
Joined: 30 Aug 2006, 18:21

Re: WIP: De Havilland DH.125 for FSX/P3D

Post by SkippyBing »

Right, I've tried to reverse engineer what I did!

The radar gauge should be somewhere like:

C:\Program Files (x86)\Lockheed Martin\Prepar3D v2 SDK 2.2.10437.0\Utilities\PDK\RadarPanelCallbackSample

Copy the P3DRadarExample folder to your Prepare3D v2\Gauges folder. I also renamed it P3DRadar in the process.

Then in the DH.125 Panel.cfg in the [Vcockpit01] section change the gauge00 entry to:

gauge00=P3DRadar!Radar, 50, 50, 412,412,1

It should be the only entry in that section.

You should now get the radar showing on the scope in game. When I've had a bit of a poke around with the SDK I may try and rewrite it so it fills the whole display.
Image

robcarrich
Concorde
Concorde
Posts: 1301
Joined: 12 Aug 2008, 15:58
Location: Alconbury Weston, UK

Re: WIP: De Havilland DH.125 for FSX/P3D

Post by robcarrich »

I really must read the P3D SDK!
That works a treat Skippy thank you, the only problem being the scope on the model needs to be square as the P3D Radar is now a virtual touch screen and not all the controls are showing.

Rob

SkippyBing
Concorde
Concorde
Posts: 1460
Joined: 30 Aug 2006, 18:21

Re: WIP: De Havilland DH.125 for FSX/P3D

Post by SkippyBing »

Rob,

With a bit of tinkering you can remove the controls from the P3D radar and program it to use the buttons below the scope to change the variables.
Inside the P3DRadar folder is an xml gauge that controls the radar display if you look through it you can see where the buttons etc. are defined and remove them. You should also be able to add code to interpret whatever the buttons below the scope are currently doing to alter the range etc. of the radar. E.g. if the button is using an L:Var then every time it changes increment the range by 20 miles.

To be honest I've only skimmed the SDK myself, I need to sit down for a while to see how much of the Buccaneer's radar I can replace with it, but the plus side is that it can all be controlled through XML rather than spending six months learning how to write a C gauge to find ships!
Image

User avatar
Kevin Farnell
Vintage Pair
Vintage Pair
Posts: 2083
Joined: 26 Jun 2004, 13:29
Location: Willingham, Cambridge UK.
Contact:

Re: WIP: De Havilland DH.125 for FSX/P3D

Post by Kevin Farnell »

SkippyBing wrote:Right, I've tried to reverse engineer what I did!

The radar gauge should be somewhere like:

C:\Program Files (x86)\Lockheed Martin\Prepar3D v2 SDK 2.2.10437.0\Utilities\PDK\RadarPanelCallbackSample

Copy the P3DRadarExample folder to your Prepare3D v2\Gauges folder. I also renamed it P3DRadar in the process.

Then in the DH.125 Panel.cfg in the [Vcockpit01] section change the gauge00 entry to:

gauge00=P3DRadar!Radar, 50, 50, 412,412,1

It should be the only entry in that section.

You should now get the radar showing on the scope in game. When I've had a bit of a poke around with the SDK I may try and rewrite it so it fills the whole display.

Thanks for your help, Skippy.
I now have the radar working as above.

Cheers

Kevin
Stratospheric traces, of our transitory flight.
Trails of condensation, held in narrow paths of white...

GHD
Vintage Pair
Vintage Pair
Posts: 2869
Joined: 17 Sep 2004, 14:04
Location: Harton Village, UK

Re: WIP: De Havilland DH.125 for FSX/P3D

Post by GHD »

I seem to be missing MYREFLECT.DDS :worried:
George

Image

chrisal
Chipmunk
Chipmunk
Posts: 34
Joined: 30 Jun 2004, 17:45
Location: Yorkshire

Re: WIP: De Havilland DH.125 for FSX/P3D

Post by chrisal »

Hi
I've installed the 125 into P3Dv2.2 and all seems well except the engine instrument panel. All the gauges are present but do not move. Does anyone else see this problem?
I've installed the P3D radar gauge as described above and that works fine.

Any ideas?
Chris

Henk Schuitemaker
Meteor
Meteor
Posts: 81
Joined: 28 Sep 2013, 12:47
Location: Near EHSB

Re: WIP: De Havilland DH.125 for FSX/P3D

Post by Henk Schuitemaker »

chrisal wrote:Hi
I've installed the 125 into P3Dv2.2 and all seems well except the engine instrument panel. All the gauges are present but do not move. Does anyone else see this problem?
I've installed the P3D radar gauge as described above and that works fine.

Any ideas?
Chris
Did you check if you have FA-18.dll installed ?
DaveG wrote:Ah, according to the readme, it needs the f18.dll gauge.

robcarrich
Concorde
Concorde
Posts: 1301
Joined: 12 Aug 2008, 15:58
Location: Alconbury Weston, UK

Re: WIP: De Havilland DH.125 for FSX/P3D

Post by robcarrich »

chrisal wrote:Hi
I've installed the 125 into P3Dv2.2 and all seems well except the engine instrument panel. All the gauges are present but do not move. Does anyone else see this problem?
I've installed the P3D radar gauge as described above and that works fine.

Any ideas?
Chris
A dedicated P3D version of the aircraft will be required before all gauges work as they should.
Realistic as it is the P3D Radar is just not compatible with the DH 125.

RobR

Post Reply