Sign in to follow this  
Guest The Captain

Problem with a GPS icon.

Recommended Posts

The panel in question is in Mike Stone's Scottish Aviation Pioneer. I want to add a clickable icon & was advised to add the following at the last of the gauge entries under [Windows00] - SimIcons!GPS Icon, 180,540,90 The icon I want does not appear & I would appreciate knowing if I have done the right thing or not? Thanks,TerryW.Apologies if this is in the wrong place/forum.

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

are you following the guage numbering system correctly (not mentioned in your post so unsure)?post main panel section of the panel.cfg you are adding the icon (please not the entire panel.cfg file). as an example of what to post, below is the default b737 main panel section:[blockquote][Window00]file=Main_640.bmpfile_1024=Main_1024.bmpsize_mm=640position=7visible=1ident=MAIN_PANELgauge00=737-400!Airspeed, 0, 64gauge01=737-400!Flaps, 586, 64gauge02=737-400!Altimeter, 237, 45gauge03=737-400!Vertical Speed, 238, 128gauge04=737-400!Fuel Quantity, 236, 204gauge05=737-400!Main Set, 335, 85gauge06=737-400!OMI Lights, 1, 153gauge07=737-400!Oil, 468, 85gauge08=737-400!Clock, 17, 147gauge09=737-400!RMI, 1, 211gauge10=737-400!HSI, 86, 162gauge11=737-400!ADI, 85, 39gauge12=737-400!Gear Lever, 586, 217gauge13=737-400!Nose Gear Light, 594, 180gauge14=737-400!Left Gear Light, 579, 198gauge15=737-400!Right Gear Light, 609, 198gauge16=737-400!Reverser Unlocked Left, 354, 68gauge17=737-400!Reverser Unlocked Right, 416, 68gauge18=737-400!AT Lim, 385, 68gauge19=737-400!Low Oil Left, 458, 68gauge20=737-400!Low Oil Right, 519, 68gauge21=737-400!Start Valve Left, 489, 68gauge22=737-400!Start Valve Right, 549, 68gauge23=737-400!Flaps Ext, 609, 115gauge24=737-400!Flaps Transit, 579, 115gauge25=737-400!Autopilot, 336, 11gauge26=737-400!Pitch Trim, 305, 144gauge27=737-400!Aileron Trim Indicator, 242, 261gauge28=737-400!Aileron Trim Switch, 248, 276gauge29=737-400!Rudder Trim Indicator, 285, 261gauge30=737-400!Rudder Trim Knob, 290, 276gauge31=737-400!Nav GPS Switch, 306, 17gauge32=737-400!Avionics Master Switch, 239, 300gauge33=737-400!Autobrake, 581, 134gauge34=SimIcons!Kneeboard Icon, 181, 10gauge35=SimIcons!ATC Icon, 194, 10gauge36=SimIcons!Compass Icon, 264, 10gauge37=SimIcons!ECU Icon, 250, 10gauge38=SimIcons!Map Icon, 208, 10gauge39=SimIcons!Avionics Icon, 222, 10gauge40=SimIcons!GPS Icon, 236, 10gauge41=rcb-gauges!FlightLevelChange, 332,65,23,40[/blockquote]--

Share this post


Link to post
Share on other sites

Right you are! This is what & where I've put it as you'll see. This worked on a panel for a Vickers Valiant that had GPS in the panel file so I know it has worked once!![Window00]file=main.bmp size_mm=1024window_size_ratio=1.000 position=7visible=1ident=10window_size= 1.000, 1.000window_pos= 0.000, 0.000gauge00=Cessna!Airspeed, 373,367,140gauge01=Cessna!ADF, 110,526,120gauge02=Cessna!Altimeter, 666,369,140gauge03=Cessna!Annunciator, 873,369,90gauge04=Cessna!Attitude, 521,368,140gauge05=Cessna!Avionics Switch, 194,692,55gauge06=Cessna!DME, 113,472,110gauge07=Cessna!Flaps, 896,692,48gauge08=Cessna!Fuel_Selector, 726,688,60gauge09=Cessna!Heading_Indicator, 522,515,140gauge10=Cessna!IOAT, 873,415,90gauge11=Cessna!Master_Alt_Bat, 24,693,60gauge12=Cessna!Nav GPS Switch, 275,714,20,28gauge13=Cessna!OMI_Lights, 140,437,60gauge14=Cessna!Pitch_Trim, 975, 698 ,36gauge15=Cessna!Starter, 109,696,61gauge16=Cessna!Thrust_Controls, 560,693,150gauge17=Cessna!Turn_Indicator, 374,514,140gauge18=Cessna!Vacuum_Ampermeter, 830,466,80gauge19=Cessna!Vertical_Speed, 669,514,140gauge20=Cessna!VOR1, 237,391,120gauge21=Cessna182s!VOR2, 237,524,120gauge22=Cessna182s!Switches, 323,694,197gauge23=Beech_Baron!Left Fuel Quantity, 799,695,65,65gauge24=Cessna182rg!Clock, 10,503,90gauge25=Cessna182s!EGT_CHT, 924,466,80gauge26=Cessna182s!Fuel_Flow_Man_Pressure, 831,557,80gauge27=Cessna182s!Oil_Press_Temp, 925,558,80gauge28=SimIcons!GPS Icon, 125,485,90

Share this post


Link to post
Share on other sites

Are you sure the location and size (125,485,90) actually work for this panel? The first number is typically the 'longitude' location on the panel (within the panel .bmp), the second is where it sits in regards to 'latitude', and the last one is the size of the gauge. Many times there are two size numbers.Many panels have 'holes' which allow the gauge to 'show through' the .bmp panel file, and if you do not have a 'hole', the gauge will be hidden 'behind' the panel's .bmp file.Other panels allow you to install gauges 'on top' of the panel .bmp file, but you must still have the correct location for it to show (have a space). The closest gauge I see with that location is the DME gauge #6, and the DME could actually be 'hiding' the icon you are trying to install.In addition, the last number, 90 indicates the size of the icon, and many times you have two numbers....one for width, and one for height. That 90 seems a bit large for an icon compared to the other gauges.All that said, I don't have the panel, so cannot help you directly, but hopefully some of the items I mentioned may help you identify the problem.

Share this post


Link to post
Share on other sites

Thank you. It is obvious now that I have to play around more to find the correct location. I should have realised I'd done something wrong!:(

Share this post


Link to post
Share on other sites

One thing you could try would be to 'rem out' the DME gauge by installing a couple slashes in front it, i.e. ///gauge06=xxxThis will remove the DME gauge (temporarily)from the panel. Now, use the same location numbers for the icon, and see if it replaces the DME gauge. If it does, then you know the icon will work, it is simply finding a space for it.When you find a location, remove the slashes in front of gauge #6, and you will have your DME back.

Share this post


Link to post
Share on other sites

Yeah, that icon would fall directly under the DME, but at 90 pixels square you should theoretically be able to see it protruding beneath the DME. The problem is that XML gauges don't seem to scale properly using just the width to specify size the way compiled (.gau) gauges do, and when you try to do it that way, the gauge appears on the panel at it's native size (whatever size the bitmap is) and the native size of the GPS icon is 19 x 19. Therefore the GPS icon is completely hidden by the DME.Try this, the GPS icon should appear just to the left of the OMI lights and above the DME.gauge28=SimIcons!GPS Icon, 113,439That should put the icon on the panel, now whether the icon actually opens the GPS or not remains to be seen. Is the GPS window itself defined in the panel.cfg? You may need to copy and paste the GPS section from one of your default panel.cfg's before you can actually pull up the GPS with the icon.Jim

Share this post


Link to post
Share on other sites

Do a search for Glenn Copeland at the AVSIM library. He has developed several useful gauges, and includes a quick tutorial on how they are located. I've installed several of his gauges, and it's relatively easy to do. You can use the existing gauges for a reference point, which is the upper left-hand corner of the gauge. Part of the secret of success in life is to eat what you like -M.Twain

Share this post


Link to post
Share on other sites

Thanks guys. Since I posted this topic I've been trawling panel cfgs to see how it's done & it looks more complicated than I thought! I have got FS Panel Studio Demo to play with but I will look for Glen Copelnand's stuff. I need the tutorial! I'm grateful for your help!!TW.

Share this post


Link to post
Share on other sites

Thanks for the Glenn Copeland link. Great stuff. I've looked at FS Panel Studio & find it is a bit daunting, but if I take my time when ploughing through I might just get there. Thanks once again.Onward & Upwards!TerryW.

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