3.26 What are the meanings of the first few lines in the panel.cfg file?

From FlightSim

Jump to: navigation, search
Q:

WHAT ARE THE MEANINGS OF THE FIRST FEW LINES IN THE PANEL.CFG FILE?

A:

For example:

[Window 00)
file=****.Bmp
size_mm=xxxxxx
window_size_ratio=xxxxxxx    
position=
visible= 
ident=                          
                       

If you consider seriously to modify/create panels, then you should download the FS98 Software Development Kit (SDK) from the FS98 home page in Microsoft.com. There is valuable information even for non-programmers, concerning file organization an parameter meaning.

Window00 points to the first (there may be more window01 ....) panel window to be displayed. It may be activated/deactivated with Shift-1 during play.

file=****.bmp points to the background image for that window. This is the file you should edit with a suitable graphics editor like paint.exe (but consider a better one for additional tools etc).

window_size_ratio is the aspect ratio for the previous background file with respect to the actual aspect ratio to be displayed, by default it is 1 (i.e. no stretching in either x or y direction).

position. Specifies where the window will be located with respect to the screen. It is specified with an integer value which codes for upper-left, upper-center, lower-center etc.

visible. Specifies whether the window will be visible at panel startup, or it should only be activated on purpose with a shift-#.

ident. Is an identifier through which the specified window may be accessed by programming for example with a special made switch gauge like the "master avionics" in 737-400 etc.

Rodolfo C. Astrada

Personal tools