Welcome, Guest. Please Login or Register
Simufly.com
  News:
CIVA Version 1.60 X64 for Prepar 3d 4.x now available
  HomeHelpSearchLoginRegister
 
Seting up 2D Panels (Read 60 times)
Rhinozherous
Forum Member
*
Offline



Posts: 3
LOWW
Gender: male
Seting up 2D Panels
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


Back to top
Multimedia file viewing and clickable links are available for registered members only!!  You need to Multimedia file viewing and clickable links are available for registered members only!!  You need to Login Login or Register Register!!
or Multimedia file viewing and clickable links are available for registered members only!!  You need to Login Login or Register Register!!
!!
 
 
View Profile   IP Logged
Gianfranco Corrias
Member
**
Offline



Posts: 261

Gender: male
Re: Seting up 2D Panels
Reply #1 - Dec 12th, 2015, 12:06pm
 
put in the window00 the string:
gaugexx=../civa/INS!Config, 0, 0, 0, 0, RFP_B742
Back to top
 
 
View Profile   IP Logged
Marco Ravanello
Forum Administrator
*****
Offline



Posts: 302

Gender: male
Re: Seting up 2D Panels
Reply #2 - 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
Back to top
 
« Last Edit: Dec 17th, 2015, 9:12pm by Marco Ravanello »  
View Profile   IP Logged
Rhinozherous
Forum Member
*
Offline



Posts: 3
LOWW
Gender: male
Re: Seting up 2D Panels
Reply #3 - Dec 14th, 2015, 7:02am
 
Marco Ravanello wrote 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 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 Smiley
Back to top
 
 
View Profile   IP Logged
Marco Ravanello
Forum Administrator
*****
Offline



Posts: 302

Gender: male
Re: Seting up 2D Panels
Reply #4 - 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)


Back to top
 
 
View Profile   IP Logged
Rhinozherous
Forum Member
*
Offline



Posts: 3
LOWW
Gender: male
Re: Seting up 2D Panels
Reply #5 - Dec 14th, 2015, 12:05pm
 
Marco Ravanello wrote on Dec 14th, 2015, 10:53am:
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
Back to top
 
 
View Profile   IP Logged
Marco Ravanello
Forum Administrator
*****
Offline



Posts: 302

Gender: male
Re: Seting up 2D Panels
Reply #6 - Dec 16th, 2015, 3:55pm
 
Rhinozherous wrote on Dec 14th, 2015, 12:05pm:
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.
Back to top
 
 
View Profile   IP Logged