Search the archive:
Simviation Main Site
|
Site Search
|
Upload Images
Simviation Forum
›
Design Forums
›
Scenery & Panel Design
› adding a gps gauge
(Moderators: Mitch., Fly2e, ozzy72, beaky, Clipper, JBaymore, Bob70, BigTruck)
‹
Previous Topic
|
Next Topic
›
Pages: 1
adding a gps gauge (Read 686 times)
Sep 30
th
, 2007 at 2:41pm
FsNovice
Offline
Colonel
I love YaBB 1G - SP1!
Portishead
Gender:
Posts: 979
I am embarking on a uk wide tour of the coast in the lake renegade (expect shots soon) but i have hit a glitch. It has no access to a gps gauge. I was wondering how easy it is to add one to the plane i already have. I need the gps thingy to see my FP inflight for Nav purposes. Cheers
When once you have tasted flight, you will forever walk the earth with your eyes turned skyward, for there you have been, and there you will always long to return – Leonardo da Vinci.
Back to top
IP Logged
Reply #1 -
Sep 30
th
, 2007 at 3:57pm
Gypsy_Baron
Offline
Colonel
USS Dewey DGL-14 & VX-8
Daly City, California
Gender:
Posts: 467
FsNovice wrote
on Sep 30
th
, 2007 at 2:41pm:
I am embarking on a uk wide tour of the coast in the lake renegade (expect shots soon) but i have hit a glitch. It has no access to a gps gauge. I was wondering how easy it is to add one to the plane i already have. I need the gps thingy to see my FP inflight for Nav purposes. Cheers
It's quite easy to add a GPS gauge to any aircraft that will appear in a 2D window.
Not knowing which aircraft you are interested in installing the GPS gauge in, all I can do
is give you general information.
First, take a look at a default FSX aircraft ( this is for FSX is it not? ), say the Beach Baron 58.
Open the "panel" folder ( not the panel.G1000 ) and then the panel.cfg file.
Note the first set of entries under "Window Titles"...the Window02 entry specifies that a following
"Window02" section will define a window named "GPS".
In your aircraft, you could add this entry after the LAST "Windowxx" statement. Give it
the next number after "XX".
Next, look down to the section titled "Window02" in the baron 58 panel.cfg.
Simply copy & paste this section into your aircrafts panel.cfg file after the LAST "Windowxx"
section and BEFORE any "Vcockpit00" or "Vcockpit01" sections.
Rename the section you pasted in to conform to the last window number +1, which should
be the same as the number you used in the "Window Titles" section.
( Note: for a "Windowxx" where xx=09 or less, see the last line here )
Finally, to add an icon for calling up the GPS window you need to add a line in
the first ( main ) 2D window section after the last "gaugexx=" line. If, say, the
last gauge number called out was "gauge30="....you would add this line:
gauge31=SimIcons1024!GPS Icon, X, Y, x, y
where X, Y, x, y are :
horizontal position in the main 2D panel window
vertical position in the window
horizontal size of the icon ( try a value of 20 or 30 first )
vertical size of the icon ( again, 20-30 to start )
You will have to experiment to find the correct X,Y values to place the icon
where you want it on the panel.
That's all there is to it for the 2D solution. The only difference for a VC solution
would involve the Icon. many VC's will not allow you to add gauges, which the
Icon is, to a VC. I ofthen squeeze a new icon into the space used by existing
VC icons ( if any ) by shrinking one or more of them to make roon for an extra
icon.
If, however, your new window has a number less than "Window10", then it can simply be
called up with a keystroke ( Shift+x ) where "x" is the window number assigned.
In this case you do not need to bother with an Icon.
Paul
Back to top
IP Logged
Reply #2 -
Sep 30
th
, 2007 at 3:59pm
FsNovice
Offline
Colonel
I love YaBB 1G - SP1!
Portishead
Gender:
Posts: 979
i am doing this for Fs2004, not sure how the assumption of fsx crept in.
When once you have tasted flight, you will forever walk the earth with your eyes turned skyward, for there you have been, and there you will always long to return – Leonardo da Vinci.
Back to top
IP Logged
Reply #3 -
Sep 30
th
, 2007 at 4:03pm
Gypsy_Baron
Offline
Colonel
USS Dewey DGL-14 & VX-8
Daly City, California
Gender:
Posts: 467
FsNovice wrote
on Sep 30
th
, 2007 at 3:59pm:
i am doing this for Fs2004, not sure how the assumption of fsx crept in.
No problem....I have put FS9 on the "shelf" since going to FSx but in any case, the
procedure is the same for FS9. The instructions I posted will work just fine using the
FS9 Beach Baron 58 file as a guide
It's always a good idea when asking questions to specify which SIM it relates to
and which aircraft, where applicable...this allows anyone responding to give a
better, more detailed\complete answer
Paul
Back to top
IP Logged
Reply #4 -
Sep 30
th
, 2007 at 4:20pm
FsNovice
Offline
Colonel
I love YaBB 1G - SP1!
Portishead
Gender:
Posts: 979
Right, i think i have followed your coding but i still cant see a GPS gauge in the 2D cockpit
Heres the panel code, what have i missed
Quote:
//Lake Renegade
//John L. Woodward, February 2003
//Modified for FS2004, August 2003
[Window Titles]
Window00=Main Panel
Window01=Radio Stack
Window02=GPS
[Views]
VIEW_FORWARD_WINDOWS=MAIN_PANEL
VIEW_FORWARD_DIR=-.5,0.0,0.0
VIEW_FORWARD_ZOOM=.75
[Window00]
file=reneg.bmp
size_mm=640
window_size_ratio=1.0
position=7
visible=1
ident=MAIN_PANEL
gauge00=Cessna!Starter, 10, 431
gauge01=Cessna!Master_Alt_Bat, 56, 431
gauge02=Cessna!Avionics Switch, 99, 431
gauge03=Cessna182s!Switches, 139, 431
gauge04=Cessna!Airspeed, 44, 208
gauge05=Cessna!Attitude, 160, 208
gauge06=Cessna!Altimeter, 275, 206
gauge07=Cessna!Turn_Indicator, 44, 315
gauge08=Beech_Baron!Horizontal Situation Indicator, 150, 315
gauge09=Cessna!Vertical_Speed, 275, 315
gauge10=Mooney_Bravo!Manifold Pressure, 466, 316
gauge11=Mooney_Bravo!Tachometer, 534, 316
gauge12=Mooney_Bravo!Fuel Flow, 490, 390
gauge13=Cessna!Pitch_Trim, 320, 431
gauge14=Mooney_Bravo!Gear Lever, 380, 430
gauge15=Mooney_Bravo!Flaps Switch, 433, 430
gauge16=Mooney_Bravo!Thrust Controls, 480, 438
gauge17=Mooney_Bravo!Left Fuel, 462, 206
gauge18=Mooney_Bravo!Right Fuel, 509, 206
gauge19=Mooney_Bravo!OAT, 556, 206
gauge20=Mooney_Bravo!Amps, 463, 249
gauge21=Mooney_Bravo!Oil Pressure, 509, 249
gauge22=Mooney_Bravo!Oil Temperature, 556, 249
gauge23=Mooney_Bravo!OMI Lights, 299, 189
gauge24=Magnetic_Compass!Magnetic-Compass, 587, 45, 53
gauge25=gps!gps,0,0,150,250
[Window01]
BACKGROUND_COLOR=2,2,2
size_mm=156,308
window_size_ratio=1.0
position=8
visible=1
ident=RADIO_STACK_PANEL
gauge00=Bendix_King_Radio!Bendix-King Radio Audio, 0, 0
gauge01=Bendix_King_Radio!Bendix-King Radio Nav-Comm 1, 0, 29
gauge02=Bendix_King_Radio!Bendix-King Radio Nav-Comm 2, 0, 86
gauge03=Bendix_King_Radio!Bendix-King Radio ADF, 0, 142
gauge04=Bendix_King_Radio!Bendix-King Radio DME, 0, 180
gauge05=Bendix_King_Radio!Bendix-King Radio Xpndr, 0, 217
gauge06=Bendix_King_Radio!Bendix-King Radio AP, 0, 262
[Window02]
size_mm=150,250
position=8
BACKGROUND_COLOR=16,16,16
VISIBLE=1
ident=GPS_PANEL
gauge00=gps!gps,0,0,150,250
[VCockpit01]
size_mm=512,512
pixel_size=512,512
texture=$Gauge_Panel_1
background_color=0,0,0
visible=0
gauge00=Cessna!Airspeed, 130, 40, 128
gauge01=Cessna!Attitude, 260, 40, 128
gauge02=Cessna!Altimeter, 385, 40, 128
gauge03=Cessna!Turn_Indicator, 85, 175, 118
gauge04=Cessna!Heading_Indicator, 260, 175, 128
gauge05=Cessna!Vertical_Speed, 385, 175, 128
gauge06=Cessna182s!EGT_CHT, 415, 320, 100
gauge07=Extra-300!Timer, 50, 100, 75
gauge08=Cessna!OMI_Lights, 365, 20, 50
gauge09=CESSNA_182.SUCTION, 85, 300, 50
gauge10=Cessna!Master_Alt_Bat, 10, 422, 57
gauge11=Cessna!Avionics Switch, 70, 422, 50
gauge12=Cessna!Starter, 130, 420, 65
gauge13=Cessna182s!Switches, 200, 425, 175
[VCockpit02]
size_mm=512,512
pixel_size=512,512
texture=$Gauge_Panel_2
background_color=0,0,0
visible=0
gauge00=Bendix_King_Radio!Bendix-King Radio Audio, 10, 18, 205, 34
gauge01=Bendix_King_Radio!Bendix-King Radio Nav-Comm 1, 10, 50, 205, 76
gauge02=Bendix_King_Radio!Bendix-King Radio Nav-Comm 2, 10, 125, 205, 77
gauge03=Bendix_King_Radio!Bendix-King Radio ADF, 10, 200, 205, 51
gauge04=Bendix_King_Radio!Bendix-King Radio Xpndr, 10, 250, 205, 61
gauge05=Mooney_Bravo!Manifold Pressure, 15, 320, 100
gauge06=Mooney_Bravo!Tachometer, 125, 320, 100
gauge07=Cessna!VOR1, 225, 20, 100
gauge08=Cessna182s!VOR2, 225, 125, 100
gauge09=Cessna!ADF, 225, 230, 100
gauge10=Mooney_Bravo!Fuel Flow, 230, 345, 150
gauge11=Mooney_Bravo!Amps, 336, 75, 60
gauge12=Mooney_Bravo!Oil Pressure, 395, 75, 60
gauge13=Mooney_Bravo!Oil Temperature, 455, 75, 60
gauge14=Mooney_Bravo!Left Fuel, 335, 128, 60
gauge15=Mooney_Bravo!Right Fuel, 395, 128, 60
gauge16=Mooney_Bravo!OAT, 455, 128, 60
[VCockpit03]
size_mm=512,512
pixel_size=512,512
texture=$Trim_Panel
background_color=0,0,0
visible=0
gauge00=Cessna!Pitch_Trim, 175, 125, 200
[VCockpit04]
size_mm=512,512
pixel_size=512,512
texture=$Gauge_Panel_3
background_color=0,0,0
visible=0
gauge01=Lear_45!Left Gear Light, 50, 325, 64
gauge02=Lear_45!Right Gear Light, 100, 325, 64
gauge03=Lear_45!Nose Gear Light, 70, 270, 64
[VCockpit05]
size_mm=512,512
pixel_size=512,512
texture=$Compass_Panel
background_color=0,0,0
visible=0
gauge00=Magnetic_Compass!Magnetic-Compass, 120, 135, 250
[Default View]
X=0
Y=0
SIZE_X=8192
SIZE_Y=2500
[Color]
Day=255,255,255
Night=223,80,88
Luminous=240,86,92
Sorry its so long, but i felt it would be more productive to post it all. Cheers
When once you have tasted flight, you will forever walk the earth with your eyes turned skyward, for there you have been, and there you will always long to return – Leonardo da Vinci.
Back to top
IP Logged
Reply #5 -
Sep 30
th
, 2007 at 8:46pm
Gypsy_Baron
Offline
Colonel
USS Dewey DGL-14 & VX-8
Daly City, California
Gender:
Posts: 467
FsNovice wrote
on Sep 30
th
, 2007 at 4:20pm:
Right, i think i have followed your coding but i still cant see a GPS gauge in the 2D cockpit
Heres the panel code, what have i missed
[quote]//Lake Renegade
//John L. Woodward, February 2003
//Modified for FS2004, August 2003
[Window Titles]
Window00=Main Panel
Window01=Radio Stack
Window02=GPS
[Views]
VIEW_FORWARD_WINDOWS=MAIN_PANEL
VIEW_FORWARD_DIR=-.5,0.0,0.0
VIEW_FORWARD_ZOOM=.75
[Window00]
file=reneg.bmp
size_mm=640
window_size_ratio=1.0
position=7
visible=1
ident=MAIN_PANEL
gauge00=Cessna!Starter, 10, 431
gauge01=Cessna!Master_Alt_Bat, 56, 431
gauge02=Cessna!Avionics Switch, 99, 431
gauge03=Cessna182s!Switches, 139, 431
gauge04=Cessna!Airspeed, 44, 208
gauge05=Cessna!Attitude, 160, 208
gauge06=Cessna!Altimeter, 275, 206
gauge07=Cessna!Turn_Indicator, 44, 315
gauge08=Beech_Baron!Horizontal Situation Indicator, 150, 315
gauge09=Cessna!Vertical_Speed, 275, 315
gauge10=Mooney_Bravo!Manifold Pressure, 466, 316
gauge11=Mooney_Bravo!Tachometer, 534, 316
gauge12=Mooney_Bravo!Fuel Flow, 490, 390
gauge13=Cessna!Pitch_Trim, 320, 431
gauge14=Mooney_Bravo!Gear Lever, 380, 430
gauge15=Mooney_Bravo!Flaps Switch, 433, 430
gauge16=Mooney_Bravo!Thrust Controls, 480, 438
gauge17=Mooney_Bravo!Left Fuel, 462, 206
gauge18=Mooney_Bravo!Right Fuel, 509, 206
gauge19=Mooney_Bravo!OAT, 556, 206
gauge20=Mooney_Bravo!Amps, 463, 249
gauge21=Mooney_Bravo!Oil Pressure, 509, 249
gauge22=Mooney_Bravo!Oil Temperature, 556, 249
gauge23=Mooney_Bravo!OMI Lights, 299, 189
gauge24=Magnetic_Compass!Magnetic-Compass, 587, 45, 53
gauge25=gps!gps,0,0,150,250
Change the last line to:
gauge25=fs9gps!gps_500, 0,0, 150, 250
That should put the gauge in the upper left corner to start, but it will ALWAYS be
present in the display, which is probably not what you want.
Instead, remove that statement and just use the Window callup using Shift+2.
( that's hlding the shift keep and htiing the "2" key...that should toggle the GPS window
just as hitting "Shift+1" toggles the radio window.
SNIP
Quote:
[Window02]
size_mm=150,250
position=8
BACKGROUND_COLOR=16,16,16
VISIBLE=1
ident=GPS_PANEL
gauge00=gps!gps,0,0,150,250
Again, I think this line wants to be:
gauge0=fs9gps!gps_500, 0, 0, 150, 250
Also, "VISIBLE=0" instead of "1" will let you toggle the window and
it won't automatically be present at the start.
SNIP
Quote:
Sorry its so long, but i felt it would be more productive to post it all. Cheers
No problem. I THINK the main problem is the "gps!gps" callout as oposed
to "fs9gps!gps_500"...this is the GPS gauge used in the default Baron 58.
I seem to recall way in the past having some problem with the callout
for "gps!gps"....
Anyhow, give it a try and let me know how it goes.
Paul
EDIT: Hummm....I just downloaded what LOOKS to be the same panel CFG you are working with
and the download already had a GPS window included as well as a GPS icon on the panel.
It calls out the fs9gps!gps_500" gauge as well.
Had you previously modified this panel? If so, you might want to download the panel
again. Just search on "Renegade" in the library.
Back to top
IP Logged
Reply #6 -
Sep 30
th
, 2007 at 8:52pm
dave3cu
Offline
Colonel
Procrastinate now, don't
put it off.
3CU, Northern Wisconsin, USA
Gender:
Posts: 3077
The gauge name is wrong if your calling the default gps gauge. Should be: gauge25=
fs9gps!gps_500
,0,0,150,250 // or fs9gps!gps_295 depending on your preference.
I'd caution against placing the gps in the main panel as, unless you have a sizable empty space available, it will cover other gauges or obscure your windscreen, depending on placement.
Stick with the pop up gps, your [window02] section. This will toggle open/closed with Shift+3. You could add a gps icon (to toggle the gps) to the main panel. There is no doubt room for that.
Open the default C172 panel.cfg and you can copy and paste the required lines and or sections to your Renegade panel.
Dave
At that time [1909] the chief engineer was almost always the chief test pilot as well. That had the fortunate result of eliminating poor engineering early in aviation. Igor Sikorsky
I intend to live forever....so far, so good. Steven Wright
You know....you can just rip up a to-do list.
Back to top
IP Logged
Reply #7 -
Oct 1
st
, 2007 at 4:31am
Hagar
Offline
Colonel
My Spitfire Girl
Costa Geriatrica
Posts: 33159
There is an FS2004 Lake Renegade update posted here -->
http://www.simviation.com/fs2004props148.htm
A replacement Panel.cfg is included complete with a GPS pop-up window toggled from the GPS icon on the main panel. It's only a small file & should fix the problem.
PS. I suspect this is the file Paul is talking about.
Founder & Sole Member - Grumpy's Over the Hill Club for Veteran Virtual Aviators
Member of the
Fox Four Group
Need help? Try
Grumpy's Lair
My photo gallery
Back to top
IP Logged
Reply #8 -
Oct 1
st
, 2007 at 10:42am
FsNovice
Offline
Colonel
I love YaBB 1G - SP1!
Portishead
Gender:
Posts: 979
Cheers Hagar, much appreciated, easy fix!!!
When once you have tasted flight, you will forever walk the earth with your eyes turned skyward, for there you have been, and there you will always long to return – Leonardo da Vinci.
Back to top
IP Logged
Pages: 1
‹
Previous Topic
|
Next Topic
›
« Home
‹ Board
Top of this page
Forum Jump »
Home
» 10 most recent Posts
» 10 most recent Topics
Current Flight Simulator Series
- Flight Simulator X
- FS 2004 - A Century of Flight
- Adding Aircraft Traffic (AI) & Gates
- Flight School
- Flightgear
- MS Flight
Graphic Gallery
- Simviation Screenshots Showcase
- Screenshot Contest
- Edited Screenshots
- Photos & Cameras
- Payware Screenshot Showcase
- Studio V Screenshot Workshop
- Video
- The Cage
Design Forums
- Aircraft & 3D Design
- Scenery & Panel Design ««
- Aircraft Repainting
- Designer Feedback
General
- General Discussion
- Humour
- Music, Arts & Entertainment
- Sport
Computer Hardware & Software Forum
- Hardware
- Tweaking & Overclocking
- Computer Games & Software
- HomeBuild Cockpits
Addons Most Wanted
- Aircraft Wanted
- Other Add-ons Wanted
Real World
- Real Aviation
- Specific Aircraft Types
- Autos
- History
On-line Interactive Flying
- Virtual Airlines Events & Messages
- Multiplayer
Simviation Site
- Simviation News & Info
- Suggestions for these forums
- Site Questions & Feedback
- Site Problems & Broken Links
Combat Flight Simulators
- Combat Flight Simulator 3
- Combat Flight Simulator 2
- Combat Flight Simulator
- CFS Development
- IL-2 Sturmovik
Other Websites
- Your Site
- Other Sites
Payware
- Payware
Old Flight Simulator Series
- FS 2002
- FS 2000
- Flight Simulator 98
Simviation Forum
» Powered by
YaBB 2.5 AE
!
YaBB Forum Software
© 2000-2010. All Rights Reserved.