SIMUFLY.COM Discussion Forums
http://www.simufly.com/cgi-bin/yabb2/YaBB.pl
Delco Carousel IV-A INS For Microsoft Flight Simulator >> Delco Carousel IV-A INS For Microsoft Flight Simulator >> Seting up 2D Panels
http://www.simufly.com/cgi-bin/yabb2/YaBB.pl?num=1449693943

Message started by Rhinozherous on Dec 9th, 2015, 8:45pm

Title: Seting up 2D Panels
Post by Rhinozherous on Dec 9th, 2015, 8:45pm

Hello!
I love this addon, it is awesome!

But I have a problem with setting up my 2D panels. The CDUs, the MSUs and the ADEU panels are good, but I dont get the update flags and nav mode selector to the correct size. They are way too small.
I made new [WindowXX] entrys in the config, because they first dont appeared at all.

See screenshot


Code:
[Window Titles]
Window00=Main
Window01=SimIcons
Window02=Animations Control
window03=Carousel IV-A INS
Window04=Weather Radar Screen
Window05=Navigation Map
Window06=INS Control Display Units
Window07=INS Mode Select Units
Window08=V-One
Window09=INS ADEU
Window10=NavModeTriple
Window11=UpdateFlags

[Window00]
background_color=0,0,0
size_mm=1024,768
window_size_ratio=1.00  
position=7
visible=1
ident=MAIN_PANEL
render_3d_window=0
window_size=1.000, 1.000
window_pos=0.000, 0.000
gauge00=l112.sys!main, 0, 0, 1, 1
gauge01=l112.sound!main,1,0,1,1,Captain_Sim\1011\sound.ini
gauge02=l112.update!main, 0, 0, 1, 1

[Window01]
size_mm=72,128
background_color=0,0,0
window_pos=0.000,0.75
visible=1
render_3d_window=0
zorder=99
ident=11001
gauge00=animation!icons,0,0,72,96
;civa
gauge01=../civa/INS!MsuPanelIcon,   0,  96, 24, 32, 11040
gauge02=../civa/INS!CduPanelIcon,  24,  96, 24, 32, 11041
gauge03=../civa/INS!AdeuPanelIcon, 48,  96, 24, 32, 11042

[Window02]
size_mm=159,345
background_color=0,0,0
window_pos=0.0,0.07
visible=0
render_3d_window=0
ident=11002
gauge00=animation!ac, 0,0,159,345

[Window03]
size_mm=300, 430
background_color=0,0,0
window_pos=0.30,0.07
visible=0
render_3d_window=0
ident=11004
gauge00=civa!msu, 0,   0, 300, 102
gauge01=civa!cdu, 0, 102, 300, 328

[Window04]
size_mm=300, 300
background_color=0,0,0
window_pos=0.71,0.07
visible=0
render_3d_window=0
ident=11003
gauge00=l112.wxr!wr_display, 0, 0, 300, 300

[Window05]
size_mm=300,283
position=8
background_color=0,0,0
visible=0
ident=11005
nomenu=0
gauge00=civa!map,0,0,300,283

;CIVA
[Window06]
file=Civa_3Cdu.bmp
size_mm=600,198
position=7
visible=0
ident=41

gauge00=../civa/ins!Cdu1,   0,  0, 200, 158
gauge01=../civa/ins!Cdu2, 400,  0, 200, 158
gauge02=../civa/ins!Cdu3, 200, 40, 200, 158

[Window07]
file=Civa_3Msu.bmp
size_mm=600,77
position=1
visible=0
ident=40

gauge00=../civa/INS!Msu1,   0,  0, 200, 57
gauge01=../civa/INS!Msu2, 400,  0, 200, 57
gauge02=../civa/INS!Msu3, 200, 20, 200, 57

[Window08]
Background_color=0,0,0
size_mm=188,252
window_pos= 0.0, 0.25
visible=0
type=special
ident=10050
gauge01=..\..\CS_L-1011\panel\V-One!DataCard, 0,0,188,252

[Window09]
size_mm=250,101
background_color=16,16,16
position=3
visible=0
ident=42
no_luminous=1

gauge00=../civa/INS!Adeu1, 0, 0, 250, 101

[Window10]
size_mm=250,101
background_color=16,16,16
position=4
visible=0

gauge04=../civa/INS!NavModeTriple, 85, 75, 50

[Window11]
size_mm=250,101
background_color=16,16,16
position=4
visible=0

gauge03=../civa/INS!UpdateFlags, 35, 74, 50

[VCockpit01]
size_mm=2048,2048
pixel_size=2048,2048
texture=$_01_T
background_color=0,0,0
gauge00=l112.sound!main,1,0,1,1,Captain_Sim\1011\sound.ini
gauge01=main!L07_001_BKG, 442, 1116, 1021, 911
gauge02=main!L07_002_BKG, 856, 920, 526, 121
gauge03=main!L07_004_LT0, 460, 413, 195, 195
gauge04=main!L07_006_BUG, 1502, 3, 537, 2035
gauge05=main!L07_007_BUG, 493, 1086, 640, 16
gauge06=main!L07_010_FLG, 464, 987, 359, 68
gauge07=main!L07_012_NDL, 716, 750, 417, 119
gauge08=main!L07_013_FLG, 453, 623, 384, 68
gauge09=main!L07_017_FLG, 465, 892, 359, 68
gauge10=main!L07_019_FLG, 1012, 827, 359, 68
gauge11=main!L07_009_BUG, 591, 786, 119, 97
gauge12=main!L07_015_BUG, 452, 696, 298, 61
gauge13=main!L14_001_BKG, 121, 31, 223, 521
gauge14=main!L14_001_LT0, 107, 585, 210, 117
gauge15=main!L14_003_FLG, 341, 493, 58, 310
gauge16=main!L14_005_NDL, 3, 813, 332, 113
gauge17=main!L14_002_BUG, 3, 930, 119, 97
gauge18=main!L15_001_LT0, 10, 1119, 432, 308
gauge19=main!L15_002_LT0, 11, 1429, 432, 308
gauge20=main!L15_003_LT0, 9, 1733, 432, 308
gauge21=civa!general,1,1
gauge22=..\..\CS_L-1011\panel\V-One!V-One,  0,0,1,1
gauge23=..\..\CS_L-1011\panel\V-One!altcallouts_CS_L-1011,  0,0,1,1
gauge58=../civa/INS!Config, 0, 0, 0, 0, DefB744
gauge25=../civa/INS!MsuPanelIcon, 150, 32, 14, 14, 40
gauge26=../civa/INS!CduPanelIcon, 165, 32, 14, 14, 41
gauge27=../civa/INS!NavModeTriple, 85, 75, 50
gauge28=../civa/INS!UpdateFlags, 35, 74, 50

Title: Re: Seting up 2D Panels
Post by Gianfranco Corrias on Dec 12th, 2015, 12:06pm

put in the window00 the string:
gaugexx=../civa/INS!Config, 0, 0, 0, 0, RFP_B742

Title: Re: Seting up 2D Panels
Post by Marco Ravanello on Dec 12th, 2015, 6:52pm

[Window10]
size_mm=250,101
background_color=16,16,16
position=4
visible=0

gauge04=../civa/INS!NavModeTriple, 85, 75, 50

You're telling FS that the background image is 250 x 101 but the gauge x (horizontal) dimension is limited to 50 pixel.

NOTE: From PanelIntegrationManual.pdf:

Main Bitmap: Dimensions: 231 X 126 pixels, Ratio: 1.8333
Note the ratio value...

So le'ts assume you want the NavModTriple to be 100 pixel (horizontally) it means that the height will be 100/1.8333=About 54 pixels, let's say 55.

Consequently try this (just an example):

[Window10]
size_mm=100,55
background_color=16,16,16
position=0
visible=0

gauge01=../civa/INS!NavModeTriple, 0, 0, 100, 55

It should cover the whole "subpanel".
Apply the same rule to all other subpanels.

Note: If you don't want the black areas you should fill them with 0,0,0 color. See CIVA/SamplePanels/FS2004/B744/Civa_3cdu.bmp

Title: Re: Seting up 2D Panels
Post by Rhinozherous on Dec 14th, 2015, 7:02am


64485B4A46767B485F48474C454546290 wrote:
[Window10]
size_mm=250,101
background_color=16,16,16
position=4
visible=0

gauge04=../civa/INS!NavModeTriple, 85, 75, 50

You're telling FS that the background image is 250 x 101 but the gauge x (horizontal) dimension is limited to 50 pixel.

NOTE: From PanelIntegrationManual.pdf:

Main Bitmap: Dimensions: 231 X 126 pixels, Ratio: 1.8333
Note the ratio value...

So le'ts assume you want the NaevModTriple to be 100 pixel (horizontally) it means that the height will be 100/1.8333=About 54 pixels, let's say 55.

Consequently try this (just an example):

[Window10]
size_mm=100,55
background_color=16,16,16
position=0
visible=0

gauge01=../civa/INS!NavModeTriple, 0, 0, 100, 55

It should cover the whole "subpanel".
Apply the same rule to all other subpanels.

Note: If you don't want the black areas you should fill them with 0,0,0 color. See CIVA/SamplePanels/FS2004/B744/Civa_3cdu.bmp


Awesome, will trie this later today!
This also helps me understanding the panel.cfg settings in general. This is knowledge we can always need in FSX. First I didnt know how to work with the ratio.

Thank you :)

Title: Re: Seting up 2D Panels
Post by Marco Ravanello on Dec 14th, 2015, 10:53am

Two things:

a) Gauge numbers starts from zero, not one so:
gauge01=../civa/INS!NavModeTriple, 0, 0, 100, 55
should be:
gauge00=../civa/INS!NavModeTriple, 0, 0, 100, 55

b) Please also follow Gianfranco's suggestion, add the:
gaugexx=../civa/INS!Config, 0, 0, 0, 0, CS_L1011 in [Window00]
(this is MANDATORY not optional)



Title: Re: Seting up 2D Panels
Post by Rhinozherous on Dec 14th, 2015, 12:05pm


587467767A4A477463747B7079797A150 wrote:
b) Please also follow Gianfranco's suggestion, add the:
gaugexx=../civa/INS!Config, 0, 0, 0, 0, CS_L1011 in [Window00]
(this is MANDATORY not optional)


About point B, I have the config line already in the [VCockpit01] section. And it works this way.
As I tried it only in the windows section it wasnt working. Do you mean I should put it in both sections?

Thanks

Title: Re: Seting up 2D Panels
Post by Marco Ravanello on Dec 16th, 2015, 3:55pm


5A6061666772606D7A677D7B080 wrote:
About point B, I have the config line already in the [VCockpit01] section. And it works this way.
As I tried it only in the windows section it wasnt working. Do you mean I should put it in both sections?

Thanks


No, it must be included only ONCE, and, if it works in VCockpit01, then it's ok to leave it there.

SIMUFLY.COM Discussion Forums » Powered by YaBB 2.2!
YaBB © 2000-2007. All Rights Reserved.