Jump to content
Sign in to follow this  
boyho1

resizing gauges

Recommended Posts

Hi guysI posted this in the panel forum but it has not attracted any response so I thought that I would try here.I am trying to alter the panel .cfg of the Archer such that I can use the excellent GPS contained in the Reality-XP avionics package.I have managed to get the gauge to show as a pop up panel but I am a little disappointed in its size........I would like it to appear bigger. The relevant bit of the panel.cfg looks like this:-baCKGROUND_COLOR=2,2,2size_mm=331,104window_size_ratio=1position=0 visible=1 ident=GPS_PANEL gauge00=RealityXP_FlightLine!GPS_GL50,0,0,331 I have experimented with the line size_mm=331,104 but this only seems to give a larger dark background and the gauge does not expand to fill it as I had hoped.Is it possible to amend the file to give the desired result.Tx in anticipation

Share this post


Link to post
Share on other sites
Guest

Try changing the window size ratio.Have you tried cfgedit? It might help a bit.It's sad that no one offered help in the panel forum, those dastardly panel makers! :-(

Share this post


Link to post
Share on other sites
Guest

You're gonna have to add a couple lines to that window identifying the size and location like below:window_size= 0.180, 0.259window_pos= 0.770, 0.490You'll just have to experiment with the numbers to get the proper size and location as it seems every panel is different.

Share this post


Link to post
Share on other sites
Guest

Hi, I do not have any experience with this - that is until today. I was missing a gauge so decided to put in a gauge (radio stack) from another plane. Noticed the same thing you did that the black box increased in size but not the gauge. Try this: I needed to put in a NAV gauge on the main panel in an empty spot. In the Main Panel I added another gauge to the end as follows:gauge61 xxxxxxxxxxxxxxxxxxxxxxxxxxxxgauge62=737-400!NAV 2, 431, 699, 150The first number 431 is the horizonal position, left to right and the 699 is vertical position. I added the last number to try it out. I THINK that 100 is the default size so I went up to 150, ie 150% and it worked. Try it.

Share this post


Link to post
Share on other sites
Guest

Here's an example of a change I made to Gary Hayes' 777 panel. The first pic shows a simple change in the far right mfd by replacing it with a set of engine instruments.The second and third pic show a change in the radios (deleting com2&nav2) and gps so they'd display directly over the engine instruments when the icon is selected: You do this by adding the window_size= and window_pos= lines in the appropriate fixed window. pos defines the x y location of the upper left hand corner of the window while size defines the actual size of the popup window itself. Notice the gauges are located on the window. 0,0, (the location of that gauge being the upper left hand corner) 128,38 (the x y size of the gauge on that window)[Window05]Background_color=2,2,2 size_mm=130,180window_size_ratio=1.00 position=0visible=0ident=RADIO_STACK_PANELwindow_size= 0.180, 0.259window_pos= 0.770, 0.490gauge00=boeing777-300!Comm 1, 0,-1,128,38gauge01=boeing777-300!Nav 1, 0,38,128,39gauge02=boeing777-300!Transponder, 0,76,128,38gauge03=boeing777-300!ADF, 0,114,128,39gauge04=boeing777-300!Audio, 0,154,129,23//[Window05] (old location & radios)Background_color=2,2,2 size_mm=127,265window_size_ratio=1.00 position=0visible=0ident=RADIO_STACK_PANELwindow_size= 0.201, 0.552window_pos= 0.000, 0.450gauge00=boeing777-300!Comm 1, 0,-1,127,38gauge01=boeing777-300!Comm 2, 0,38,127,39gauge02=boeing777-300!Nav 1, -1,76,127,40gauge03=boeing777-300!Nav 2, -1,116,127,41gauge04=boeing777-300!Transponder, 0,158,128,43gauge05=boeing777-300!ADF, 0,201,127,43gauge06=boeing777-300!Audio, -1,244,127,20//--------------------------------------------------------[Window06]Background_color=16,16,16 size_mm=130,180 //164,270window_size_ratio=1.00 position=6visible=0ident=GPS_PANELwindow_size= 0.180,0.260 //0.246, 0.522window_pos= 0.770,0.490 //0.000, 0.478gauge00=honeywellgps!gps, 0,0,130,180 //0,0,164,270http://www.x-plane.org/users/mgdbottled/777_1.jpg http://www.x-plane.org/users/mgdbottled/777_2.jpg http://www.x-plane.org/users/mgdbottled/777_3.jpg

Share this post


Link to post
Share on other sites
Guest JeanLuc_

Hi Boyho1,Hi Boyho1,this excellent GPS also has an excellent tutorial about the panel.cfg parameters to set it to your liking!! head direct to www.reality-xp.com and choose the tutorials from the left menu.Besides, the 0,0,331 after the gauge name ARE the parameters to set the size. In your example, 331 pixel wide (and 104 pixel height since ratio = 1). Simply change both 331 to the desired value. As a side note, the 104 as to be changed also in proportions (native size of the gauge is 530x105 I think).By the way, for the full stack:// SHIFT + 9 to open/close // replace with brackets (avsim bracket problem)Background_color=2,2,2size_mm=331,344window_size_ratio=1.00position=8visible=0ident=RADIO_STACK_PANELgauge00=RealityXP_FlightLine!Audio_FL15, 0,0,331 gauge01=RealityXP_FlightLine!GPS_GL50, 0,64,331 gauge02=RealityXP_FlightLine!NavCom_FL30, 0,168,331 gauge03=RealityXP_FlightLine!XPDR_FL70, 0,232,331 gauge04=Bendix_King_Radio!Bendix-King Radio ADF, 0,296,165,48 gauge05=Bendix_King_Radio!Bendix-King Radio AP, 165,296,166,48Hope it helps!!

Share this post


Link to post
Share on other sites
Guest

Great screenshots strawman! :-lolCan I use these pay guages in any aircraft?For instance, just suppose I bought some great planes, say, from FSD. Would they work in there?I saw the aircraft herehttp://www.fsd-international.com/

Share this post


Link to post
Share on other sites
Guest

You're halfway there.The size_mm entry refers to the size of the background windows and must be increased as you've already done. Try to keep the same relative proportions. i.e if you increase double 331 to 662 then also double 104 to 208.Once the window is sized, the size of the instrument is on the gauge= line. the intrument name is RealityXP_Flightline!GPS_GL50. The next two numbers give the location of the instrument within the popup window. 0,0 is the upper left corner. The next number (331) is the width of the instrument which you'll note is equal to the first window size number. Set this number equal to the window size.There is sometimes a fourth number which give the intrument height. If it's missing (as it is here), the height is automatically calculated to keep the instrument's aspect ratio correct.If the windows is bigger than the instrument, you get the black background you've been seeing. If the instrument is larger than the window, part of it will appear to cut off.So the short answer is change the 331 in the gauge= line to whatever you change the 331 to in the size_mm= line

Share this post


Link to post
Share on other sites
Guest

Any gauge will swap out to any panel. I'm moving gauges around all the time from panel to panel. Just be sure not to redistribute payware gauges and if you plan to upload any freeware gauges, make sure you honor the original author's copyright.

Share this post


Link to post
Share on other sites

Thanks guys for all your help.With the info provided here and the Reality-XP tutorial I am sure that I will get there. BTW I did get a reply from one guy eventually on the panel forum who was also kind enough to reply here as well....thanks Jean-Luc.

Share this post


Link to post
Share on other sites
Guest UweR

Hi Frank, if you get stuck with the installation of the gauges, contact me at URademacher@t-online.de and I

Share this post


Link to post
Share on other sites

Thanks Uwe for your helpful offer but I have now got the gauge up and running and I am thoroughly enjoying using it. It makes far more sense than using the MSFS map and gps and access is much quicker.

Share this post


Link to post
Share on other sites

Hi guysD/loaded the panels SDK this pm and the answers are all in there (if you can understand it) :-eek :-lol Thank you and goodnight!!!!

Share this post


Link to post
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
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...