Panel/gauge editing

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

Panel/gauge editing

Postby brettt777 » Sun Apr 27, 2008 4:52 pm

Is there some kind of program that you can use to edit or add/remove gauges and other items on a panel in Microsoft sims?
brettt777
1st Lieutenant
1st Lieutenant
 
Posts: 324
Joined: Tue Aug 03, 2004 7:21 pm
Location: Gadsden, AL

Re: Panel/gauge editing

Postby Sterk » Sun Apr 27, 2008 5:04 pm

Add/Remove gauges:
Notepad,all done by editing panel.cfg,wich is simple text file.

Edit gauges:

Xml gauges-Notepad or any xml editor(millions of available freeware on web-I personally use "firstobject XML editor"-free,simple and powerfull)

.gau gauges-impossible to edit. 8-)
Image
User avatar
Sterk
1st Lieutenant
1st Lieutenant
 
Posts: 316
Joined: Sun Oct 12, 2003 11:12 am

Re: Panel/gauge editing

Postby brettt777 » Sun Apr 27, 2008 9:09 pm

Would a gunsight be part of the panel or would it be considered a gauge? All I want to do is remove the gunsight. It's in the way and I don't know how to use it anyway.
brettt777
1st Lieutenant
1st Lieutenant
 
Posts: 324
Joined: Tue Aug 03, 2004 7:21 pm
Location: Gadsden, AL

Re: Panel/gauge editing

Postby brettt777 » Sun Apr 27, 2008 11:09 pm

Okay I see where the panel.cfg file refers to the main panel and the radio panel. I assume these are .bmp files somewhere like other aircraft panel.cfg files refer to. But I cannot find "main panel" or "radio panel" anywhere in the entire CFS2 directory. Where would they be?
brettt777
1st Lieutenant
1st Lieutenant
 
Posts: 324
Joined: Tue Aug 03, 2004 7:21 pm
Location: Gadsden, AL

Re: Panel/gauge editing

Postby gypsymoth » Mon Apr 28, 2008 8:59 am

I add gauges all the time to panels.  Post details of the panel you want the gunsight removed from so I can look at it.  It may be part of the panel bmp picture which is not able to be edited or removed.

Terry.
When the c**p hits the fan, get a tent.
gypsymoth
Captain
Captain
 
Posts: 759
Joined: Tue Dec 05, 2006 7:50 pm
Location: EGHH

Re: Panel/gauge editing

Postby dave3cu » Mon Apr 28, 2008 9:09 am

As an example-for the CFS2 default Wildcat:

2D cockpit-The iron ring is drawn in the panel .bmp(s) in the panel folder. Erase the sight from the .bmp(s) by painting it out with black (rgb 0,0,0).

The crosshairs are drawn from ...\CFS2\Texture\gunsight64.bmp.

3D cockpit-modeled, textures from within the ..\F4F4_Wildcat\Texture\ folder... gunsight_wildcat.bmp for the crosshairs...

That's about as much as I know about it..
Last edited by dave3cu on Tue Apr 29, 2008 6:22 am, edited 1 time in total.
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.
dave3cu
Major
Major
 
Posts: 3141
Joined: Sun May 19, 2002 9:55 am
Location: 3CU, Northern Wisconsin, USA

Re: Panel/gauge editing

Postby brettt777 » Mon Apr 28, 2008 9:17 pm

[quote]I add gauges all the time to panels.
brettt777
1st Lieutenant
1st Lieutenant
 
Posts: 324
Joined: Tue Aug 03, 2004 7:21 pm
Location: Gadsden, AL

Re: Panel/gauge editing

Postby Hagar » Tue Apr 29, 2008 1:45 am

Okay I see where the panel.cfg file refers to the main panel and the radio panel. I assume these are .bmp files somewhere like other aircraft panel.cfg files refer to. But I cannot find "main panel" or "radio panel" anywhere in the entire CFS2 directory. Where would they be?

Make sure you're looking for the correct BMP. The background BMP for the main panel is usually defined under [Window00] like this:

[Window00]
file=panel_background_640.bmp
file_1024=panel_background_1024.bmp
size_mm=640
position=7
visible=1
ident=MAIN_PANEL

Note that the above is copied from the FS9 default C182. The BMP files are in the Panel folder alongside their corresponding Panel.cfg. Most 3rd party panels will only have one BMP for the main panel. The Radio_Stack pop-up window will not usually have a background BMP as it doesn't need one. I wouldn't have thought the gunsight you're looking for would have anything to do with this.

I figured out that this particular plane (L-39 in Combat Jet Trainer) has the cockpit bmp's embedded in the gauge (.gau) files.

That's a new one on me. Can you post a screenshot of this panel showing the gunsight you wish to remove?
Last edited by Hagar on Tue Apr 29, 2008 1:51 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: 30864
Joined: Wed Jun 19, 2002 7:15 am
Location: Costa Geriatrica

Re: Panel/gauge editing

Postby brettt777 » Tue Apr 29, 2008 7:19 am

I can still post a screenshot if you like, but last night I found a program that will open dll files and such, which apparently a .gau file is a renamed dll file. Anyway, I was able to extract the appropriate bmp's and edit them. Can't remember what the program was now (I'm at work) I will post it on here tonight. As for the embedded file thing, apparently most of them don't do it that way; I saw the panel bmp's you mentioned in the panel directory of most planes. But some do it this way for whatever reason.
brettt777
1st Lieutenant
1st Lieutenant
 
Posts: 324
Joined: Tue Aug 03, 2004 7:21 pm
Location: Gadsden, AL

Re: Panel/gauge editing

Postby thetractor » Sat Jul 26, 2008 7:32 am

okay i've been looking at the cfg file for the a10 warthog hosted here, the first 6 lines are from standard aircraft and those guages all work. the panel was built using http://www.fspanelstudio.com which is a drop and drag type builder. see below where the code changes...

gauge06=mooney_bravo!Clock,
Last edited by thetractor on Sat Jul 26, 2008 7:32 am, edited 1 time in total.
User avatar
thetractor
Ground hog
Ground hog
 
Posts: 8
Joined: Sat Jul 26, 2008 6:43 am
Location: queensland australia


Return to Scenery & Panel Design

Who is online

Users browsing this forum: No registered users and 556 guests