Jump to content

Resizing Gauge Window HELP Please


Prostock

Recommended Posts

Ok, so I have resized a few of my gauge windows in the panel config, easy to do. I've done this so I don't have to keep resizing the gauge windows every time I open the gauge. I am having trouble with one & need some help. It's the PFD window. I can get the gauge sized correctly but it's the Transparent Outer Border that I can't get to be the same size as the PFD Gauge itself. The screen shots I've attached show in "Docked" only because I'm unable to capture a screen shot of the actual Issue I'm asking about. Ignore the White Border on the screens, those are just the Dock Borders. Also Ignore the Title Header "PDF FULL SIZE", That's just a title. The GPS & PFD Gauges are the Same Exact Size. It's the Transparent Window Border on the PFD Gauge I can't get right. Yes it is Transparent but It is annoying why I can't figure out how to resize it. I see it whenever I move the gauge window & it over laps other windows. Any help on this would be good. Thanks

Screenshot_2.png

Screenshot_1.png

Edited by Prostock
Link to comment
Share on other sites

Have you adjusted the window "size_mm=", it should be the same size as the gauge, see below:

[Window04]

size_mm=450,335

position=2

visible=0

ident=FUEL_PANEL

no_luminous=1

gauge00=LR35!LR35_Fuel_Panel, 0,0,450,335

 

Paul - Yes, I've tried this many times, many different combinations. Making the size_mm= #'s the same and it does not work in the instance. Yes, that is the way it's setup on the default B738 but when I try to adapt it to the any of my Down Loaded A320's, A380's or others, it does not work. Here is the Panel Config String for the A320 I've been trying to get it to work on.

 

NOTE: When I've changed the size_mm=1024,768 Numbers to any other numbers, the gauge panel will not show. The screen flashes and nothing appears.

 

NOTE: The CUSTOM Window Size I added and that's how I got the GPS & PFD gauges to be the same exact sizes. The aircraft is an Easy Jet A320 I dl'd from Rikoooo web page.

 

 

//------------PRIMARY FLIGHT DISPLAY------------------------------------

[Window02]

Background_color=0,0,0

size_mm= 1024,768

position=0

visible=0

ident=500

window_size= 0.600, 0.740 // CUSTOM BDP

window_pos= 0.260, 0.390 //CUSTOM BDP

 

gauge01=A32X!popup_pfd_mfd_screen_bezel, 0,415,341,353

gauge02=A32X!A_PFD, 26,441,289,289

Edited by Prostock
Link to comment
Share on other sites

OK, try this...

 

size_mm=341, 353

 

...and...

 

gauge01=A32X!popup_pfd_mfd_screen_bezel, 0,0,341,353

gauge02=A32X!A_PFD, 26,26,289,289

 

peace,

the Bean

WWOD---What Would Opa Do? Farewell, my freind (sp)

 

Never argue with idiots.

They drag you down to their level and beat you with experience

Link to comment
Share on other sites

OK, try this...

 

size_mm=341, 353

 

...and...

 

gauge01=A32X!popup_pfd_mfd_screen_bezel, 0,0,341,353

gauge02=A32X!A_PFD, 26,26,289,289

 

peace,

the Bean

 

NICE!!!!!!!!!!!!!!!! String Bean. You fixed it. I knew someone would get it eventually. Thank you Very Much. I spent HOURS on this, I was close but you nailed it. I just had to tinker with the size so it matched the size of my GPS & Radio Gauges, Height & Width. Now I just have to edit all my jets so their gauges are all uniform size. Thanks again. Another Case Closed.

Screenshot_10.png

Link to comment
Share on other sites

Bean - Do your remember which Gauge Line numbers changed the Transparent Outer Border? I have an A380 Air France which I have the gauge to the correct size but no matter which number I change I can't get that Transparent Outer Border to resize. Changing the size_mm= 1024, 768 Line does not do anything but make things larger no matter what number I change those too and they don't affect the Transparent Outer Border. Thanks

 

THIS IS WHAT I'VE TRIED AND IT JUST MAKES THE WHOLE GAUGE HUGE INCLUDING THE BORDER

 

//-------------PRIMARY FLIGHT DISPLAY-------------------------------

[Window02]

Background_color=0,0,0

size_mm= 281, 353 //1024,768

position=0

visible=0

ident=500

window_size= 0.600, 0.740 // CUSTOM BDP

window_pos= 0.260, 0.390 //CUSTOM BDP

 

gauge00=A380_PA_Gauges_2D!background, 0,0,281,353 //0,415,281,353

gauge01=A380_PA_Gauges_VC!pfd, 26,26,229,289 //26,441,229,289

gauge02=A380_PA_Gauges_VC!digital_trim, 26,26,130,75 //128,655,130,7

 

 

 

 

THIS ONE WORKS FINE BUT THE OUTER BORDER IS HUGE

 

//-------------PRIMARY FLIGHT DISPLAY-------------------------------

[Window02]

Background_color=0,0,0

size_mm=1024,768

position=0

visible=0

ident=500

window_size= 0.600, 0.740 // CUSTOM BDP

window_pos= 0.260, 0.390 //CUSTOM BDP

 

gauge00=A380_PA_Gauges_2D!background, 0,415,281,353

gauge01=A380_PA_Gauges_VC!pfd, 26,441,229,289

gauge02=A380_PA_Gauges_VC!digital_trim, 128,655,130,75

Edited by Prostock
Link to comment
Share on other sites

Try using window size,

window_size=0.25 is 25%

window_size=0.5 is 50%

 

This is my GPS, smaller and set at top right

 

[Window02]

size_mm=456,378

window_size=0.25

position=2

BACKGROUND_COLOR=0,0,0

VISIBLE=0

ident=GPS_PANEL

gauge00=fs9gps!gps_500, 0,0

 

Window.jpg

Edited by Enko
Link to comment
Share on other sites

I think the problem lies in the window_size= & window_pos=, here's what the SDK says:

 

window_size- The percentage of the screen to be taken up by window, from 0 to 1. If this is set, the size of the main panel is ignored for this panel and size_mm becomes irrelevant for determining the size of the panel window. (size_mm is still used for calculating the relative sizes of the gauges within the window).

 

window_pos- Overrides the position and windowsize_ratio variables. Provide at least an x value, the y value is optional.

 

Try this:

 

//-------------PRIMARY FLIGHT DISPLAY-------------------------------

[Window02]

Background_color=0,0,0

size_mm= 281,353

position=0

visible=0

ident=500

 

 

gauge00=A380_PA_Gauges_2D!background, 0,0,281,353

gauge01=A380_PA_Gauges_VC!pfd, 26,26,229,289

gauge02=A380_PA_Gauges_VC!digital_trim, 102,214,130,75

Link to comment
Share on other sites

Try using window size,

window_size=0.25 is 25%

window_size=0.5 is 50%

 

This is my GPS, smaller and set at top right

 

[Window02]

size_mm=456,378

window_size=0.25

position=2

BACKGROUND_COLOR=0,0,0

VISIBLE=0

ident=GPS_PANEL

gauge00=fs9gps!gps_500, 0,0

 

[ATTACH=CONFIG]210177[/ATTACH]

 

GPS Size is not the problem. It's the Transparent Border for the PFD Gauge that I'm trying to resize. Thanks

Link to comment
Share on other sites

I think the problem lies in the window_size= & window_pos=, here's what the SDK says:

 

window_size- The percentage of the screen to be taken up by window, from 0 to 1. If this is set, the size of the main panel is ignored for this panel and size_mm becomes irrelevant for determining the size of the panel window. (size_mm is still used for calculating the relative sizes of the gauges within the window).

 

window_pos- Overrides the position and windowsize_ratio variables. Provide at least an x value, the y value is optional.

 

Try this:

 

//-------------PRIMARY FLIGHT DISPLAY-------------------------------

[Window02]

Background_color=0,0,0

size_mm= 281,353

position=0

visible=0

ident=500

 

 

gauge00=A380_PA_Gauges_2D!background, 0,0,281,353

gauge01=A380_PA_Gauges_VC!pfd, 26,26,229,289

gauge02=A380_PA_Gauges_VC!digital_trim, 102,214,130,75

 

Yes, I've tried the 281, 353 and it is HUGE as I mentioned To BEAN post above. Thanks

Link to comment
Share on other sites

Bean - Do you remember which Gauge Line numbers changed the Transparent Outer Border?

 

Of course I remember because I understand what all those numbers mean and do.

 

The "border", or Window size is determined by...

 

size_mm= 281, 353

 

...which creates a Window 281 pixels wide by 353 pixels tall.

 

This line...

 

gauge00=A380_PA_Gauges_2D!background, 0,0,281,353

 

...places that gauge in that Window and places it's top left corner 0 pixels in from the left and 0 pixels down from the top of that Window. It also scales that gauge to be 281 pixels wide by 353 pixels tall thereby filling the Window from edge to edge and top to bottom (which is what you want).

 

These lines...

 

window_size= 0.600, 0.740

window_pos= 0.260, 0.390

 

...scale that Window (and all gauges in it) to cover 60% of the width of your monitor and 74% of the height. The top left corner of that Window will be placed 26% of the way across your monitor, from the left, and 39% down.

 

So, comment out these two lines...

 

//window_size= 0.600, 0.740

//window_pos= 0.260, 0.390

 

...and test.

 

The gauge should fill the Window with no extra "border".

 

Then remove the comments...

 

window_size= 0.600, 0.740

window_pos= 0.260, 0.390

 

...and tweak those values to get desired results.

 

peace,

the Bean

WWOD---What Would Opa Do? Farewell, my freind (sp)

 

Never argue with idiots.

They drag you down to their level and beat you with experience

Link to comment
Share on other sites

String Bean - I did exactly as you said and the PFD window just blips on the screen quickly disappearing and does not display at all. On this particular aircraft, none of the changes made to size_mm= effect the border. If you want to dl the plane I can find the link for you. Let me know.

 

 

 

//-------------PRIMARY FLIGHT DISPLAY-------------------------------

[Window02]

Background_color=0,0,0

size_mm=281, 353 //1024,768

position=0

visible=0

ident=500

//window_size= 0.600, 0.740 // CUSTOM BDP

//window_pos= 0.260, 0.390 //CUSTOM BDP

 

gauge00=A380_PA_Gauges_2D!background, 0,415,281,353

gauge01=A380_PA_Gauges_VC!pfd, 26,441,229,289

gauge02=A380_PA_Gauges_VC!digital_trim, 128,655,130,75

Edited by Prostock
Link to comment
Share on other sites

//-------------PRIMARY FLIGHT DISPLAY-------------------------------

[Window02]

Background_color=0,0,0

size_mm=281, 353 //1024,768

position=0

visible=0

ident=500

//window_size= 0.600, 0.740 // CUSTOM BDP

//window_pos= 0.260, 0.390 //CUSTOM BDP

 

gauge00=A380_PA_Gauges_2D!background, 0,415,281,353

gauge01=A380_PA_Gauges_VC!pfd, 26,441,229,289

gauge02=A380_PA_Gauges_VC!digital_trim, 128,655,130,75

 

You are creating a Window that is 281 pixels wide and 353 pixels tall.

 

You are then adding gauges that have the top, left corner of the gauge 415, 441, and 655 pixels down from the top. Your gauges are being placed outside of the Window. FSX will not tolerate this, IIRC FS9 did.

 

Try this...

 

//-------------PRIMARY FLIGHT DISPLAY-------------------------------

[Window02]

Background_color=0,0,0

size_mm= 281, 353

position=0

visible=0

ident=500

//window_size= 0.600, 0.740 // CUSTOM BDP

//window_pos= 0.260, 0.390 //CUSTOM BDP

 

gauge00=A380_PA_Gauges_2D!background, 0,0,281,353

gauge01=A380_PA_Gauges_VC!pfd, 26,26,229,289

gauge02=A380_PA_Gauges_VC!digital_trim, 26,26,130,75

WWOD---What Would Opa Do? Farewell, my freind (sp)

 

Never argue with idiots.

They drag you down to their level and beat you with experience

Link to comment
Share on other sites

String Bean - Ok, we're making progress. That worked to resize the outer border, but I had to edit the CUSTOM window lines I added to get the whole gauge to be the same size as the GPS shown below. All good Except, what ever size the gauge window is made weather window_size= 0.600, 0.740 // CUSTOM BDP or some other value, the small T.O THS FOR ends up in the middle of the gauge & I can't get that to stay where it is default unless I resize the gauge back to the large size. I'll try whatever you suggest. I'm sure you'll figure it out.

 

FIRST SCREEN is the GPS & PFD Gauge displays at the correct size (2 separate gauges side by side)

 

SECOND TO LAST SCREEN is the Normal look of gauge in the Dash Panel

 

BOTTOM SCREEN is the small T.O THS FOR gauge in question

 

 

Config String Used

 

//-------------PRIMARY FLIGHT DISPLAY-------------------------------

[Window02]

Background_color=0,0,0

size_mm= 281, 353

position=0

visible=0

ident=500

window_size= 0.250, 0.340 // CUSTOM BDP

window_pos= 0.260, 0.390 //CUSTOM BDP

 

gauge00=A380_PA_Gauges_2D!background, 0,0,281,353

gauge01=A380_PA_Gauges_VC!pfd, 26,26,229,289

gauge02=A380_PA_Gauges_VC!digital_trim, 26,26,130,75

Screenshot_8.png

Screenshot_9.png

Screenshot_10.png

Edited by Prostock
Link to comment
Share on other sites

You have 2 instruments in the same position ! ! !

gauge01=A380_PA_Gauges_VC!pfd, 26,26,229,289

gauge02=A380_PA_Gauges_VC!digital_trim, 26,26,130,75

 

both are at ,

26,26

the pfd is 229 wide , about half of that = 115 + 26 = 141

then,

the pfd is 289 high , about 3/4 way down = 216 + 26 = 242

 

Position your trim at ,

gauge02=A380_PA_Gauges_VC!digital_trim, 141,242,130,75

 

try that and see where your trim ends up ,

you may have to change the " 141,242 " to get it exactly where you want it .

 

Please advise if that works for you .

 

Cheers

Karol

Link to comment
Share on other sites

You have 2 instruments in the same position ! ! !

gauge01=A380_PA_Gauges_VC!pfd, 26,26,229,289

gauge02=A380_PA_Gauges_VC!digital_trim, 26,26,130,75

 

both are at ,

26,26

the pfd is 229 wide , about half of that = 115 + 26 = 141

then,

the pfd is 289 high , about 3/4 way down = 216 + 26 = 242

 

Position your trim at ,

gauge02=A380_PA_Gauges_VC!digital_trim, 141,242,130,75

 

try that and see where your trim ends up ,

you may have to change the " 141,242 " to get it exactly where you want it .

 

Please advise if that works for you .

 

Cheers

Karol

 

NICE Karol - That fixed it. Much appreciated to you & String Bean for the help. Honestly I didn't realize those were two different instruments on top of each other.

I thought it was only one gauge. Confusing. Anyway, FINALLY, Another Case Closed. Thank you

Screenshot_23.png

Link to comment
Share on other sites

If Karol's numbers do not work, try these....

 

gauge02=A380_PA_Gauges_VC!digital_trim, 125,261,130,75

 

Let us know.

 

peace,

the Bean

WWOD---What Would Opa Do? Farewell, my freind (sp)

 

Never argue with idiots.

They drag you down to their level and beat you with experience

Link to comment
Share on other sites

If Karol's numbers do not work, try these....

 

gauge02=A380_PA_Gauges_VC!digital_trim, 125,261,130,75

 

Let us know.

 

peace,

the Bean

 

Hi String Bean - Yes Karol's numbers worked. All is good thanks to you both. It's comforting knowing that you guys have my back when I have a problem or simple question. Also Mr. Zippy is an nice guy who has helped me out plenty of times. Thanks again

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...