Page 1 of 1

Adding GPS

PostPosted: Sat Nov 10, 2007 2:23 pm
by antalves
I have P51 downloaded from Simviation. I have tried to add gPS in it, unsuccessfully. I modified panel.cfg as shown:

// This Panel.cfg file created by CfgEdit
// Built Thursday, November 16, 2006 at 00:28 Build:16969

[Window Titles]
Window00=RADIO_STACK_PANEL
Window01=GPS



[Window00]
Background_color=0,0,0
size_mm=156,208  
position=8
visible=0
ident=RADIO_STACK_PANEL

gauge00=Bendix_King_Radio!Bendix-King Radio Audio,  0,0,156,30
gauge01=Bendix_King_Radio!Bendix-King Radio Nav-Comm 1,  0,29,156,58
gauge02=Bendix_King_Radio!Bendix-King Radio DME,  0,86,156,41
gauge03=Bendix_King_Radio!Bendix-King Radio ADF,  0,124,156,41

[Window01]
BACKGROUND_COLOR=0,0,0
size=545,354
window_size=0.5,0.3625
position=2
VISIBLE=0
ident=GPS_PANEL

gauge00=fs9gps!gps_295,          0,0


[Vcockpit01]
Background_color=0,0,0
size_mm=512,512
position=7
visible=1
ident=
pixel_size=1024,1024
texture=$MUST

gauge00=test!ADF,  5,7,153,59
gauge01=test!hdcowl,  2,0,5,4
gauge02=test!com,  170,7,153,59
gauge03=test!dust,  333,93,5,6
gauge04=test!en,  361,78,5,6
gauge05=test!hdfrost,  341,75,11,10
gauge06=test!glock,  327,73,11,15
gauge07=test!nav,  335,7,153,59
gauge08=test!drop2,  421,95,22,21
gauge09=test!drop,  346,97,24,23
gauge10=test!Fuel_Selector.xml,  17,307,76,95
gauge11=bendix_king_radio.xpndr,  8,76,315,89
gauge12=test!supercharger,  0,0,24,23
gauge13=test!hdsuper,  2,38,10
gauge14=test!mcvortex,  0,0,7,7
gauge15=test!hdcowl2,  0,0,5,5
gauge16=dsd_view_skip!no_2d,  0, 0 ,5,5


[Default View]
X=0
Y=0
SIZE_X=8191
SIZE_Y=5240

I changed all values, no results...
Can someone give a help??

Re: Adding GPS

PostPosted: Sat Nov 10, 2007 3:01 pm
by Fr. Bill
You didn't specify a SIZE for the gps gauge:

The template is:
gaugenameNN=somegauge!subgauge,   x, y, w, h

x and y are positions on the screen
w and h are width of the gauge and height of the gauge
if you give a width, the height will automatically scale correctly

Try this:

gauge00=fs9gps!gps_295,      

Re: Adding GPS

PostPosted: Sun Nov 11, 2007 2:32 pm
by antalves
I used 0,0,100,50, men! Very fine!!