Jump to content

Main Window Size in 2D Panels


agnitfom2000

Recommended Posts

I'm developing a complete package for the XF-90, a post-war jet escort fighter. I'm having a problem with the 2d panel window. It defaults to only the top half of the screen, as shown in the following picture:

 

panel_problem1.jpg

 

I want it to look like the picture below. I can make that happen by manually dragging the edge, but I'd really like it to come up that way when the plane is loaded.

 

panel_problem2.jpg

 

Below is the virtual cockpit. It does not have this problem.

 

virtual_cockpit2.jpg

 

I've looked everywhere I can think of and can't find the answer to this problem. I'd really appreciate some help with this one.

 

Thanks.

 

David Allan

agnitfom2000@yahoo.com

Link to comment
Share on other sites

I do know having panel transparency at 0% in your "FSX - options - display" settings has the effect of the lower half of the screen black.

 

Best explained in an image perhaps, see here:

https://www.flightsim.com/vbfs/showthread.php?287059-Cant-seem-to-adjust-the-eyepoint-view

 

 

I have no idea if that has anything to do with your bitmap. I'm not talking about transparency of the bitmap there.

 

(Transparency of the bitmap may have something to do with it, or alpha, but I really am just guessing. I very limited knowlege of those things. For me working with dxtbmp is: make a good backup, try clicking on everything that moves, and hope for the best. So don't take advice from me on that. (yet) )

 

I also must say I'm a newcomer in the panel and gauges forum. My first post is below yours.

 

hope it helps,

il88pp

[sIGPIC][/sIGPIC]
Link to comment
Share on other sites

Ummmm....

(That's me trying to think, usually gives me a splitting headache...)

 

What size is the panel's bitmap, vs what size is the window size= in the [window00] entry?

 

 

[Window00]

file=A-4panel.bmp

file_1024=A-4panel.bmp

size_mm=1024

window_size_ratio=1.00

position=0

visible=1

ident=main_panel

 

 

I've never made a panel from scratch, but I think (Albeit rarely!) that the two lines must be the same, ie 1024 in this case. I also believe that, with no size_mm=1024 entry, 1024 is the default size, so if your BMP file is only 640, it will only take up 1/2 of whatever size the background color (Again, I believe black is the default, or 0,0,0 thus: Background_color=0, 0, 0, so that entry is the same as no line entry ). It's either that, or 0,0,0 is transparent.

From the ESP SDK:

Use for a background created with no background bitmap. Use 0,0,0 for a transparent background.

 

Not a very good explanation. The SDK has better information, but it may help point you in the right direction, anyway...

Pat☺

[sIGPIC][/sIGPIC]

Had a thought...then there was the smell of something burning, and sparks, and then a big fire, and then the lights went out! I guess I better not do that again!

Sgt, USMC, 10 years proud service, Inactive reserve now :D

Link to comment
Share on other sites

Heh! :D

 

Shows ya how much I DON'T know about panel design :rolleyes:

Mind like a steel sieve I tell ya!

Pat☺

[sIGPIC][/sIGPIC]

Had a thought...then there was the smell of something burning, and sparks, and then a big fire, and then the lights went out! I guess I better not do that again!

Sgt, USMC, 10 years proud service, Inactive reserve now :D

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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