Dumb newbie question

FSSC, Airport 2.*, CfgEdit, etc. Get to grips with designing Scenery & Panels here!

Dumb newbie question

Postby WebbPA » Fri Mar 14, 2003 3:04 am

Would a kind panel designer whiz mind educating me?  I want to move the Lear default GPS window from the right (covering up all the buttons, etc.) to here.  The original coordinates (default) are :

[Window02]
size_mm=150,250
position=8
BACKGROUND_COLOR=16,16,16
VISIBLE=0
ident=GPS_PANEL

gauge00=gps!gps,0,0,150,250

which is pretty much gibberish to me.  Any help would be appreciated.


Hmmm... can't figure out how to insert the picture, anyway, what I want to do is move it and resize it so it covers up the engine gauges in the middle. More simply, what do

size_mm=150,250
position=8

do?  I have a vague idea of bitmapping coordinates.
WebbPA
Ground hog
Ground hog
 
Posts: 0
Joined: Sat Sep 25, 2010 6:01 pm

Re: Dumb newbie question

Postby Hagar » Fri Mar 14, 2003 3:19 am

The secret is in the position= line.
This can be numbered from 0 thru 8. The pop-up window will display like this.

0
Last edited by Hagar on Fri Mar 14, 2003 3:26 am, edited 1 time in total.
Image

Founder & Sole Member - Grumpy's Over the Hill Club for Veteran Virtual Aviators
Member of the Fox Four Group
My Google Photos albums
My Flickr albums
User avatar
Hagar
Colonel
Colonel
 
Posts: 30854
Joined: Wed Jun 19, 2002 7:15 am
Location: Costa Geriatrica

Re: Dumb newbie question

Postby WebbPA » Fri Mar 14, 2003 3:41 am

Thanks, I'll poke around with that and see what I can do.  But a picture is worth a thousand words - how can I upload a picture?  Do I have to post it on my own site then link to it?
WebbPA
Ground hog
Ground hog
 
Posts: 0
Joined: Sat Sep 25, 2010 6:01 pm

Re: Dumb newbie question

Postby BFMF » Fri Mar 14, 2003 3:45 am

Just click on 'Upload Images' at the top of the forum webpage under the banners where you can upload your images, then you can link to them ;)
Last edited by BFMF on Fri Mar 14, 2003 3:45 am, edited 1 time in total.
BFMF
Colonel
Colonel
 
Posts: 16266
Joined: Mon Feb 25, 2002 6:06 pm
Location: Pacific Northwest

Re: Dumb newbie question

Postby WebbPA » Fri Mar 14, 2003 3:58 am

There we go. Image

So how do I make it permanent?
WebbPA
Ground hog
Ground hog
 
Posts: 0
Joined: Sat Sep 25, 2010 6:01 pm

Re: Dumb newbie question

Postby Hagar » Fri Mar 14, 2003 5:06 am

Well I thought my description + the little tute would explain it. It's really not difficult. Try this.

[Window02]
size_mm=150,250
windowsize_ratio=2.0
position=7
BACKGROUND_COLOR=16,16,16
VISIBLE=0
ident=GPS_PANEL

gauge00=gps!gps,0,0,150,250

I marked the modified Panel.cfg entries/values in red. You will need to experiment with the ratio.
Image

Founder & Sole Member - Grumpy's Over the Hill Club for Veteran Virtual Aviators
Member of the Fox Four Group
My Google Photos albums
My Flickr albums
User avatar
Hagar
Colonel
Colonel
 
Posts: 30854
Joined: Wed Jun 19, 2002 7:15 am
Location: Costa Geriatrica

Re: Dumb newbie question

Postby WebbPA » Fri Mar 14, 2003 2:05 pm

Thanks.  I'lll let you know how it works out.
WebbPA
Ground hog
Ground hog
 
Posts: 0
Joined: Sat Sep 25, 2010 6:01 pm

Re: Dumb newbie question

Postby Hagar » Fri Mar 14, 2003 2:21 pm

I showed you the "quick & dirty" method. It usually does the trick. An exact fit as in your shot is a tad more complicated. The size of the window is defined in the size_mm= line. This matches the size of the gauge. The values are in pixels, horizontally & vertically.
You can change the depth of the gauge + window like this. Again, you will need to experiment with the value.

[Window02]  
size_mm=150,200
windowsize_ratio=2.0  
position=7
BACKGROUND_COLOR=16,16,16  
VISIBLE=0  
ident=GPS_PANEL  
 
gauge00=gps!gps,0,0,150,200
Image

Founder & Sole Member - Grumpy's Over the Hill Club for Veteran Virtual Aviators
Member of the Fox Four Group
My Google Photos albums
My Flickr albums
User avatar
Hagar
Colonel
Colonel
 
Posts: 30854
Joined: Wed Jun 19, 2002 7:15 am
Location: Costa Geriatrica

Re: Dumb newbie question

Postby WebbPA » Fri Mar 14, 2003 3:52 pm

I futzed around for a few minutes and was able to produce this.  2.0 ratio was way too big.  Position 7 seems to leave it in the middle of the screen no matter what else I do.  Since I accomplished my original goal of moving it so it doesn't cover the buttons I should be happy.

[Window02]  
size_mm=224,247  
windowsize_ratio=.85  
position=7  
BACKGROUND_COLOR=16,16,16  
VISIBLE=0  
ident=GPS_PANEL  
 
gauge00=gps!gps,0,0,224,247

[img]http://www.simviation.com/yabbuploads/untitled.jpg
[/img]
WebbPA
Ground hog
Ground hog
 
Posts: 0
Joined: Sat Sep 25, 2010 6:01 pm

Re: Dumb newbie question

Postby WebbPA » Fri Mar 14, 2003 4:03 pm

Here's the picture.

Image
WebbPA
Ground hog
Ground hog
 
Posts: 0
Joined: Sat Sep 25, 2010 6:01 pm

Re: Dumb newbie question

Postby Hagar » Fri Mar 14, 2003 4:24 pm

OK. As long as you're happy.  ;)
The position= line is actually a left-over from FS98 still used on the M$ default panels. The positions are left right or centre as I tried to show in the little table in my first reply. That's what I meant by "quick & dirty".

It is possible to position a pop-up window more accurately but that's much more complicated. If you wished to do that it would be easier to use a panel design program.
Image

Founder & Sole Member - Grumpy's Over the Hill Club for Veteran Virtual Aviators
Member of the Fox Four Group
My Google Photos albums
My Flickr albums
User avatar
Hagar
Colonel
Colonel
 
Posts: 30854
Joined: Wed Jun 19, 2002 7:15 am
Location: Costa Geriatrica


Return to Scenery & Panel Design

Who is online

Users browsing this forum: No registered users and 198 guests