Well guys, I thought I understood all that and had a go at modifying the gauges in a Halifax so that they would display. I used gauges that work in my Avro York and changed the coding for each gauge to the same as the York. I also gave the Halifax access to the York instrument file.
However!! I now get no 2D panel at all.
I did not think I altered any of the 2D features and the 2D panel BMP is still in the Panel file.
I left the old ALPHA RPM gauges as they had always displayed ok.
Code: Select all
[/code// Panel Configuration file
// Handley-Page HP.47 Halifax
// By Phil Perrott 6 Nov 04
// Version 2.0
[Window Titles]
window00=Main Panel
window01=Nav Instruments
window02=GPS
window03=Throttle
[VIEWS]
VIEW_FORWARD_WINDOWS=MAIN_PANEL,RADIO_STACK_PANEL,GPS_PANEL,THROTTLE_PANEL
VIEW_FORWARD_ZOOM=0.5
VIEW_FORWARD_DIR=5.0, 0.0, 0.0
VIEW_FORWARD_RIGHT_ZOOM=0.5
VIEW_RIGHT_ZOOM=0.5
VIEW_REAR_RIGHT_ZOOM=0.5
VIEW_REAR_ZOOM=0.5
VIEW_REAR_LEFT_ZOOM=0.5
VIEW_LEFT_ZOOM=0.5
VIEW_FORWARD_LEFT_ZOOM=0.5
VIEW_UP_ZOOM=0.5
[Window00]
file=HalfxV2pnl.bmp
position=7
size_mm=1024,768
window_pos=0.0,0.0
window_size=1.000,1.000
render_3d_window=1
sizeable=1
visible=1
ident=MAIN_PANEL
gauge00=York!asi, 208,551,72,71
gauge01=York!altimeter, 204,653,82,83
gauge02=York!ahi, 303,541,90,90
gauge03=York!vsi, 416,552,69,68
gauge04=York!turn_and_bank, 400,635,98,98
gauge05=ALPHA_Halifax!RPM_1, 555,521,73,73
gauge06=ALPHA_Halifax!RPM_2, 653,522,73,73
gauge07=ALPHA_Halifax!RPM_3, 526,612,73,73
gauge08=ALPHA_Halifax!RPM_4, 680,612,73,73
gauge09=York!Gear_Lights, 99,685,64,63
gauge10=York!gyro_compass, 318,655,58,57
gauge11=York!Flaps_gauge, 107,607,52,51
gauge12=ALPHA_Halifax!fuel_gauge, 779,703,50,50
gauge13=ALPHA_Halifax!BombDoors, 793,638,82,16
gauge14=ALPHA_Halifax!Landing Lights, 514,503,10,35
gauge15=ALPHA_Halifax!Nav Lights, 453,486,10,35
gauge16=ALPHA_Halifax!Cockpit Lights, 624,70,7,26
[Window01]
file=Navpanel.bmp
Background_color=0,0,0
size_mm=500
window_size_ratio=1.000
position=7
visible=0
ident=RADIO_STACK_PANEL
window_size= 0.488, 0.332
window_pos= 0.256, 0.668
gauge00=Lear_45!radio stack, 171,65,162,176
gauge01=Lear_45!Autopilot, 50,15,400
gauge02=alpha_hsi, 346,75,140
gauge03=military_rmi, 16,90,150
[Window02]
Background_color=16,16,16
size_mm=150,250
position=8
visible=0
ident=GPS_PANEL
gauge00=gps!gps, 0,0,150,250
[Window03]
file=Throt4pnl.bmp
size_mm=300
windowsize_ratio=1
position=8
visible=0
ident=THROTTLE_PANEL
gauge00=alpha_throttle4, 0, 15, 300
[Vcockpit01]
Background_color=0,0,0
size_mm=1024,1024
visible=0
pixel_size=1024, 1024
texture=$vpanel
gauge00=York!asi, 122,59,74,67
gauge01=York!altimeter, 118,154,82,76
gauge02=York!ahi, 220,51,90,81
gauge03=York!vsi, 335,60,70,65
gauge04=York!turn_and_bank, 319,139,98,90
gauge05=ALPHA_Halifax!RPM_1, 477,31,73,69
gauge06=ALPHA_Halifax!RPM_2, 575,31,74,68
gauge07=ALPHA_Halifax!RPM_3, 448,116,74,68
gauge08=ALPHA_Halifax!RPM_4, 604,114,73,69
gauge09=York!gyro_compass, 235,156,58,52
gauge10=ALPHA_Halifax!BombDoors, 720,138,82,16
gauge11=ALPHA_Halifax!Landing Lights, 436,15,10,35
gauge12=ALPHA_Halifax!Nav Lights, 374,1,10,35
[Vcockpit02]
Background_color=0,0,0
size_mm=1024,1024
visible=0
pixel_size=1024, 1024
texture=$vpanel2
gauge00=ALPHA_Halifax!Boost_eng1, 549,791,76,84
gauge01=ALPHA_Halifax!Boost_eng2, 651,791,76,84
gauge02=ALPHA_Halifax!Boost_eng3, 754,791,76,84
gauge03=ALPHA_Halifax!Boost_eng4, 857,791,76,84
gauge04=HUNTER_GEAR, 650,895,105,110
gauge05=military_rmi, 300,773,120,127
[Vcockpit03]
Background_color=0,0,0
size_mm=512,512
visible=0
pixel_size=512,512
texture=$vpanel3
gauge00=well.comp, 66,86,350,400
[Vcockpit04]
Background_color=0,0,0
size_mm=1024,1024
visible=0
pixel_size=1024, 1024
texture=$vpanel4
gauge00=ALPHA_Halifax!Cockpit Lights, 503,415,25,100
[8 bit colors]
color00= 8, 8, 8
color01= 33, 33, 33
color02= 49, 57, 41
color03= 57, 66, 49
color04= 66, 74, 57
color05= 41, 49, 41
color06= 74, 82, 66
color07= 33, 33, 24
color08= 57, 57, 49
color09= 49, 57, 49
color10= 41, 33, 41
color11= 57, 66, 57
color12= 41, 49, 33
color13= 41, 41, 33
color14= 24, 33, 24
color15= 49, 49, 49
color16= 66, 66, 57
color17= 74, 90, 66
color18= 8, 16, 8
color19= 82, 90, 66
color20= 57, 49, 57
color21= 57, 57, 41
color22= 82, 99, 74
color23= 16, 16, 8
color24= 82, 90, 74
color25= 90, 99, 74
color26= 99, 107, 90
color27= 66, 66, 66
color28= 16, 8, 8
color29= 24, 24, 16
color30= 24, 33, 33
color31= 0, 0, 8
[Default View]
X= 0
Y= 0
SIZE_X= 8191
SIZE_Y= 5250
Thanks
John :((