Search the archive:
YaBB - Yet another Bulletin Board
 
   
 
Page Index Toggle Pages: 1
Send Topic Print
question on panel.cfg files in notepad (Read 518 times)
Mar 8th, 2007 at 1:52am

piersyf   Offline
Colonel
Tasmania, Australia

Gender: male
Posts: 76
*****
 
Hi guys! Ok, I'm trying to add a new panel to the cockipt of an a/c. I have CFGEedit. The A/C I'm playing with at present only has a forward panel in the 3d cockpit, with all other views defaulting to a 'snapshot' of the virtual cockpit. What I'd like to do is remove the default link to the virtual cockpit and add my own panels.
I have created a new panel for the rear view, have added a new window in CFGEdit, have tried modding direct in notepad, but the new panel doesn't show.
What should I be looking for?
BTW, I'm running CFS2

Thanks

Piers
 
IP Logged
 
Reply #1 - Mar 11th, 2007 at 6:10am
jimcooper1   Ex Member

 
Easier if you copy and paste your panel.cfg file from notepad here so people can de-bug it for you.

Regards

Jim
 
IP Logged
 
Reply #2 - Mar 13th, 2007 at 2:44am

piersyf   Offline
Colonel
Tasmania, Australia

Gender: male
Posts: 76
*****
 
OK Jim, here's the original panel.cfg from notepad. My question is basically how to disconnect from defaulting to the virtual cockpit for side and rear views, and perhaps any hints on structuring added panels. Other .cfg files have used number sequences from 30 and onwards for 'fixed view windows' (this one has it for the ident numbers) which are the things I'm trying to create.

P

// Panel configuration file for Handley Page Hampden
// By Dave Haskell 28/04/99. e-mail dave@haskell.demon.co.uk
/ Panel file generated with PANMAKE V.2.5.3 by Michel Polski, 1998


[Window Titles]

window00=Main
window01=RADIO
window02=Autpanel
window03=Navpanel

[Window00]

file=Main.bmp
size_mm=1024
windowsize_ratio=1
position=0
visible=1
ident=0

gauge00=dh89-turn, 540, 390, 90
gauge01=rapvert, 540, 300, 90
gauge02=rapatt-2, 450, 300, 90
gauge03=rapasi, 360, 300, 90
gauge04=propliner.altimeter, 360, 390, 90
gauge05=rapwhiskey-2, 455, 395, 80
gauge06=rapide.rpm.1, 680, 470, 90
gauge07=rapide.rpm.2, 780, 470, 90
gauge08=beauoill, 760, 585, 40
gauge09=beauoilr, 825, 585, 40
gauge10=beauoilt, 680, 390, 70
gauge11=twincont, 80, 670, 180
gauge12=b57.radswitch.30, 280, 320, 70
gauge13=beaugear, 150, 580, 70
gauge14=rapide.clock, 792, 675, 70
gauge15=mg.magnetos, 130, 730, 90
gauge16=newrapfuel, 370, 530, 200
gauge17=rp_flaps5, 230, 580, 70
gauge18=dhc2.switches, 300, 640, 150
gauge19=beech.suction, 570, 530, 80
gauge20=BEAUFUEL, 650, 585, 40
gauge21=BEAUFUER, 695, 585, 40
gauge22=TogglePanel.32, 480, 630, 50
gauge23=TogglePanel.33, 530, 630, 50
gauge24=DHC2.Amps, 210, 385, 60
gauge25=DH89-trim, 285, 385, 30

[Window01]

file=RADIO.bmp
size_mm=232
windowsize_ratio=1
position=8
visible=0
ident=30

gauge00=111rad, 115, 5, 90

[Window02]

file=Autpanel.bmp
size_mm=150
windowsize_ratio=1.5
position=6
visible=0
ident=32

gauge00=prop2ERKap, 0, 5, 150

[Window03]

file=Navpanel.bmp
size_mm=150
windowsize_ratio=2
position=8
visible=0
ident=33

gauge00=01.avro.adf, 100, 5, 40
gauge01=B57.VOR1, 10, 5, 40
gauge02=B57.VOR2, 55, 5, 40

[8 bit colors]

color00= 57, 8, 8
color01= 165, 33, 33

[Default View]

X= 0
Y= 0
SIZE_X= 0
SIZE_Y= 0
 
IP Logged
 
Reply #3 - Mar 13th, 2007 at 11:24am

Hagar   Offline
Colonel
My Spitfire Girl
Costa Geriatrica

Posts: 33159
*****
 
You could do worse than download an FS2000 panel with extra interior view windows to see how it's done. Many FS2000 panels were configured in this way including the defaults. The problem is that if the aircraft has any sort of VC this will still display. It's possible to remove the DVC by hex-editing the MDL file.

I copied this from the FS2002 default Lear45 which uses the old FS2000-style panel:

[Window Titles]
window00=Main Panel
Window02=GPS
window03=Throttle Quadrant
window04=Annunciator
window05=Compass

Fixed Window30=Forward Right
Fixed Window31=Right
Fixed Window32=Rear Right
Fixed Window33=Rear
Fixed Window34=Rear Left
Fixed Window35=Left
Fixed Window36=Forward Left
Fixed Window37=Up


[Views]
VIEW_FORWARD_WINDOWS=MAIN_PANEL,THROTTLE_PANEL,COMPASS_PANEL
VIEW_FORWARD_DIR=-1.0, 0.0, 0.0

VIEW_FORWARD_RIGHT_WINDOWS=30

VIEW_RIGHT_WINDOWS=31

VIEW_REAR_RIGHT_ZOOM=1.5
VIEW_REAR_RIGHT_WINDOWS=32

VIEW_REAR_ZOOM=1.5
VIEW_REAR_WINDOWS=33
VIEW_REAR_DIR=0.0, 0.0, 165.0

VIEW_REAR_LEFT_ZOOM=1.5
VIEW_REAR_LEFT_WINDOWS=34

VIEW_LEFT_WINDOWS=35

VIEW_FORWARD_LEFT_WINDOWS=36

VIEW_UP_WINDOWS=37
VIEW_UP_DIR=-15.0, 0.0, 0.0

Normal forward view windows here followed by these entries


[Fixed Window30]
file=FORWARD_RIGHT.bmp
visible=0
nomenu=1
render_3d_window=1
window_pos=0.0,0.0
window_size=1.000,1.000
ident=30

[Fixed Window31]
file=RIGHT.bmp
visible=0
nomenu=1
render_3d_window=1
window_pos=0.0,0.0
window_size=1.000,1.000
ident=31

[Fixed Window32]
file=REAR_RIGHT.bmp
visible=0
nomenu=1
render_3d_window=1
window_pos=0.0,0.0
window_size=1.000,1.000
ident=32

[Fixed Window33]
file=REAR.bmp
visible=0
nomenu=1
render_3d_window=1
window_pos=0.0,0.0
window_size=1.000,1.000
ident=33

[Fixed Window34]
file=REAR_LEFT.bmp
visible=0
nomenu=1
render_3d_window=1
window_pos=0.0,0.0
window_size=1.000,1.000
ident=34

[Fixed Window35]
file=LEFT.bmp
visible=0
nomenu=1
render_3d_window=1
window_pos=0.0,0.0
window_size=1.000,1.000
ident=35

[Fixed Window36]
file=FORWARD_LEFT.bmp
visible=0
nomenu=1
render_3d_window=1
window_pos=0.0,0.0
window_size=1.000,1.000
ident=36

[Fixed Window37]
file=UP.bmp
visible=0
nomenu=1
render_3d_window=1
window_pos=0.0,0.0
window_size=1.000,1.000
ident=37
 

...

Founder & Sole Member - Grumpy's Over the Hill Club for Veteran Virtual Aviators
Member of the Fox Four Group

Need help? Try Grumpy's Lair

My photo gallery
IP Logged
 
Reply #4 - Mar 13th, 2007 at 4:30pm

NDSP   Offline
Colonel
Jimi is stoned... but
he'll be back
Queens, New York City

Gender: male
Posts: 2250
*****
 
Hagar wrote on Mar 13th, 2007 at 11:24am:
You could do worse than download an FS2000 panel with extra interior view windows to see how it's done. Many FS2000 panels were configured in this way including the defaults. The problem is that if the aircraft has any sort of VC this will still display. It's possible to remove the DVC by hex-editing the MDL file.

I copied this from the FS2002 default Lear45 which uses the old FS2000-style panel:

[Window Titles]
window00=Main Panel
Window02=GPS
window03=Throttle Quadrant
window04=Annunciator
window05=Compass

Fixed Window30=Forward Right
Fixed Window31=Right
Fixed Window32=Rear Right
Fixed Window33=Rear
Fixed Window34=Rear Left
Fixed Window35=Left
Fixed Window36=Forward Left
Fixed Window37=Up


[Views]
VIEW_FORWARD_WINDOWS=MAIN_PANEL,THROTTLE_PANEL,COMPASS_PANEL
VIEW_FORWARD_DIR=-1.0, 0.0, 0.0

VIEW_FORWARD_RIGHT_WINDOWS=30

VIEW_RIGHT_WINDOWS=31

VIEW_REAR_RIGHT_ZOOM=1.5
VIEW_REAR_RIGHT_WINDOWS=32

VIEW_REAR_ZOOM=1.5
VIEW_REAR_WINDOWS=33
VIEW_REAR_DIR=0.0, 0.0, 165.0

VIEW_REAR_LEFT_ZOOM=1.5
VIEW_REAR_LEFT_WINDOWS=34

VIEW_LEFT_WINDOWS=35

VIEW_FORWARD_LEFT_WINDOWS=36

VIEW_UP_WINDOWS=37
VIEW_UP_DIR=-15.0, 0.0, 0.0

Normal forward view windows here followed by these entries


[Fixed Window30]
file=FORWARD_RIGHT.bmp
visible=0
nomenu=1
render_3d_window=1
window_pos=0.0,0.0
window_size=1.000,1.000
ident=30

[Fixed Window31]
file=RIGHT.bmp
visible=0
nomenu=1
render_3d_window=1
window_pos=0.0,0.0
window_size=1.000,1.000
ident=31

[Fixed Window32]
file=REAR_RIGHT.bmp
visible=0
nomenu=1
render_3d_window=1
window_pos=0.0,0.0
window_size=1.000,1.000
ident=32

[Fixed Window33]
file=REAR.bmp
visible=0
nomenu=1
render_3d_window=1
window_pos=0.0,0.0
window_size=1.000,1.000
ident=33

[Fixed Window34]
file=REAR_LEFT.bmp
visible=0
nomenu=1
render_3d_window=1
window_pos=0.0,0.0
window_size=1.000,1.000
ident=34

[Fixed Window35]
file=LEFT.bmp
visible=0
nomenu=1
render_3d_window=1
window_pos=0.0,0.0
window_size=1.000,1.000
ident=35

[Fixed Window36]
file=FORWARD_LEFT.bmp
visible=0
nomenu=1
render_3d_window=1
window_pos=0.0,0.0
window_size=1.000,1.000
ident=36

[Fixed Window37]
file=UP.bmp
visible=0
nomenu=1
render_3d_window=1
window_pos=0.0,0.0
window_size=1.000,1.000
ident=37



Nice post count hagar  Grin
 
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print