Page 1 of 1

Position & Size numbers in panel.cfg

PostPosted: Wed Oct 12, 2011 11:54 am
by FoxThree
gauge03=FA18_HUD\FA18_HUD_VC_R!FA18_HUD_VC_R, 0,0,1024,1024 <---- what does each individual number control?

Re: Position & Size numbers in panel.cfg

PostPosted: Wed Oct 12, 2011 12:30 pm
by Fozzer
Instrument Positions on Panel...(2D panel).

In simple terms...

X Pixels across the screen from the L/H side.
Y Pixels up the screen from the bottom.
x Instrument width in pixels.
y Instrument height in pixels.

Your Instrument seems to be a full size instrument; whole screen!

Paul.. 8-)...!

Re: Position & Size numbers in panel.cfg

PostPosted: Wed Oct 12, 2011 12:44 pm
by Gypsy_Baron
Instrument Positions on Panel...(2D panel).

In simple terms...

X Pixels across the screen from the L/H side.
Y Pixels up the screen from the bottom.
x Instrument width in pixels.
y Instrument height in pixels.

Your Instrument seems to be a full size instrument; whole screen!

Paul.. 8-)...!


Those parameters are not only applicable to the 2D panel but, depending upon how
the VC is designed they also specify the VC gauge layout.

The Y parameter is the displacement from the TOP of the screen, not the bottom.

X = position from the left hand edge
Y= position from the top of the screen
x= width of then gauge
y= height of the gauge

Many "hidden gauges" use 0,0,1,1 specifications.
The entry for the HUD gauge the OP references is meant to fill the whole screen
as you have stated.

Re: Position & Size numbers in panel.cfg

PostPosted: Wed Oct 12, 2011 12:55 pm
by Fozzer
Thanks for the reminder/correction of the up/down "Y" position, Paul... :)...!

I'm getting lazy now!...I use FS Panel Studio now, instead of all my previous X/Y calculations!....(Cheat!)... ;D...!

Paul... 8-)...!

Re: Position & Size numbers in panel.cfg

PostPosted: Wed Oct 12, 2011 1:54 pm
by Capt.Propwash
the first 2 numbers correspond to the upper left-most corner of the gauge being called.

20,20,22,22  (the upper left corner of the gauge will be 20 pixels from the left edge of the screen, 20 pixels down from the top, 22pixels wide, 22 pixels tall)

Re: Position & Size numbers in panel.cfg

PostPosted: Wed Oct 12, 2011 3:36 pm
by FoxThree
Thanks guys. :)

Your Instrument seems to be a full size instrument; whole screen!

In fact, that is a HUD for the VC.

Re: Position & Size numbers in panel.cfg

PostPosted: Thu Oct 13, 2011 4:43 am
by coalpedlar
Yeah- I got tired of the time required to place a gauge precisely, too.  If you get FS Stodio, be sure to buy the disk version.  Trying to re-download once you need a reinstall is about as frustrating as dealing with the folks at microcrap, uh, microsoft.

Re: Position & Size numbers in panel.cfg

PostPosted: Thu Oct 13, 2011 4:55 am
by Fozzer
[quote]Yeah- I got tired of the time required to place a gauge precisely, too.