PDA

View Full Version : Adding an autopilot to FSD P-38



crashaz
February 18th, 2011, 09:12
Anyone have any success with this? I have worked on adding a 2D panel window to the J model without success.... I edited the panel.cfg and added the autopilot gauge. However when I get in sim.... and then select Views -Instrument Panel and then 'AP' (my added panel)... the window flashes and then disappears?

Hurricane91
February 18th, 2011, 09:41
I have worked on adding a 2D panel window to the J model without success....

Please post your panel.cfg so we can take a look.

Warrant
February 18th, 2011, 10:20
First of all you want to enable the autopilot in the aircraft.cfg file.

Open the file with text editor and scroll down to the autopilot section.

Now make sure the following sections are set correct:

autopilot available=1
default_vertical_speed= (make this at least 700.000000)
flight_director_available=1 (this makes the option available you can set and activate alt and nav settings without engaging autopilot once selecting one of these).

With these settings matched, autopilot should be available.

Now for the panel:

What radio panel pop up do you have?
E.g. does it include autopilot options?

If yes; you are basically done.

If not; copy an autopilot included radio from another plane and paste that secion in the panel.cfg of the aircraft you want to equip with an autopilot.
Dont fortget the correct number of sequence and to add a reference to this pop-up window above in your panel.cfg with according reference number.

If you fail to manage or have questions, PM me.

Chuck_Jodry-VJPL
February 18th, 2011, 12:29
In this case the aircraft has an optional modern pit we can lift sections from , here i added the autopilot and gns 480 while i was at it , same thing should work for the other versions .

Just paste this into your panel.cfg


[Window Titles]
Window00=Armaments/Controls Menu
Window01=Minipanel
Window02=Autopilot
Window03=GNS 480/GPS Zoom
[VIEWS]
VIEW_FORWARD_DIR=8.000, 0.000, 0.000
file=bkg.bmp
//--------------------------------------------------------
[Window00]
file=bkg.bmp
size_mm=456,378
position=8
visible=1
ident=18456
window_size= 0.400, 0.126
window_pos= 0.280, 0.030
gauge00=FltsimDevP38!trigger2, 50,0
gauge01=FltsimDevP38!trigger3, 150,0
gauge02=FltsimDevP38!trigger4, 240,0
gauge03=FltsimDevP38!trigger1, 360,0
gauge04=FltsimDevP38!CfgClose, 440,0,14,44
//--------------------------------------------------------
[Window01]
Background_color=0,0,0
size_mm=631,100
windowsize_ratio=0.500
position=7
visible=1
ident=MINIPANEL
child_3d=1
no_luminous=1
gauge00=FltsimDevP38!Airspeed, 0,1,100,100
gauge01=FltsimDevP38!Turn Coordinator, 102,0,100,100
gauge02=FltsimDevP38!ADI, 207,0,100,100
gauge03=FltsimDevP38!Gyro, 312,0,100,100,100
gauge04=FltsimDevP38!Altimeter, 417,0,100,100
gauge05=FltsimDevP38!VSI, 531,0,100,100
[Window02]
size_mm=165,76
position=1
BACKGROUND_COLOR=0,0,0
visible=0
ident=GPS_PANEL
gauge00=FDBKAvionics!KFC225, 0,0,165,76

[Window03]
size_mm=265,85
position=6
BACKGROUND_COLOR=0,0,0
visible=0
ident=GPS_PANEL
gauge00=FSDevGNS480!GNS480, 0,0,150,85

//--------------------------------------------------------
[Vcockpit01]
file=$p38
Background_color=0,0,0
size_mm=500,500
visible=1
pixel_size=400,400
texture=$p38
gauge00=FltsimDevP38!trigger3, 0,1,239,234
gauge01=FltsimDevP38!SNDOFF, 0,10
gauge02=FltsimDevP38!SND, 0,15
gauge03=FltsimDevP38!SND1, 0,20


[Color]
Day=255,255,255
Night=255,255,255
Luminous=201,64,64
[Default View]
X=0
Y=0
SIZE_X=8191
SIZE_Y=3276

crashaz
February 18th, 2011, 17:05
Appreciate the answers .... got it working!
Have to make sure the Lighting gets it's just limelight in the race!

Thanks everyone!
:wavey: