Search the archive:
YaBB - Yet another Bulletin Board
 
   
 
Page Index Toggle Pages: 1
Send Topic Print
Gauge creation (Read 285 times)
Sep 13th, 2003 at 1:41pm

skyflirt   Offline
Colonel
I love YaBB 1G - SP1!

Posts: 69
*****
 
Hello Everybody ?

Is there a program for creating gauges a simple a way?
 
IP Logged
 
Reply #1 - Sep 13th, 2003 at 2:02pm

Hagar   Offline
Colonel
My Spitfire Girl
Costa Geriatrica

Posts: 33159
*****
 
Hello Skyflirt. I don't know of any gauge creation programs. If this is for FS2002 the Panels & Gauges SDK might be a good place to start.
http://zone.msn.com/flightsim/FS02DevDeskSDK00.asp
The commercial FS Panel Studio claims to be able to create (edit) gauges. I think it would be wise to get more details before purchasing it.
http://www.fspanelstudio.com/
 

...

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
IP Logged
 
Reply #2 - Sep 13th, 2003 at 3:37pm

JBaymore   Offline
Global Moderator
Under the curse of the
hombuilt cockpit!

Gender: male
Posts: 10261
*****
 
I too am looking for this kind of thing.  The freeware CfgEdit does some mainly visual appearance editing.  It is sort of the precursor to FSPanelEdit, I think.

I am not looking for a program that helps with editing the "appearance" of a gauge or the positioning.... but one that will allow me to "program" the actual functions of a gauge.  I want to be able to tell it something like "look a the altitude and if it is between this and this level..... if I push this button.... do this".

I have the M$ SDK and it is very instructive and a lot og good general information.... but I don't have a C complier program and don't know that language to start with....so that is out for now. 

Wish the gauge files were in Visual Basic 6.0.  Then I'd be in business  Wink.

best,

................john
 

... ...Intel i7 960 quad 3.2G LGA 1366, Asus P6X58D Premium, 750W Corsair, 6 gig 1600 DDR3, Spinpoint 1TB 7200 HD, Caviar 500G 7200 HD, GTX275 1280M,  Logitec Z640, Win7 Pro 64b, CH Products yoke, pedals + throttle quad, simpit
IP Logged
 
Reply #3 - Sep 13th, 2003 at 5:27pm

Hagar   Offline
Colonel
My Spitfire Girl
Costa Geriatrica

Posts: 33159
*****
 
I'm no gauge designer or programmer. I believe FS Panel Studio can edit existing XML gauges. If you understand the Panels & Gauges SDK it's possible you could also edit them or even create new ones manually. The CAB files can be opened/extracted with WinZip & the XML files can be opened for editing in a text editor like Notepad. This is the code for the Standby Airspeed Indicator in B737-400.cab.

<Gauge Name="Standby Airspeed Indicator" Version="1.0">
  <Image Name="Analog_Airspeed_Background.bmp" ImageSizes="80,80,128,128"/>
  <Element>
     <Position X="40" Y="40"/>
     <Image Name="Analog_Airspeed_Needle.bmp" PointsTo="North" ImageSizes="10,35,16,56">
        <Axis X="5" Y="25"/>
     </Image>
     <Rotate>
        <Value Minimum="0" Maximum="450">(A:Airspeed select indicated or true,knots)</Value>
        <Failures>
           <SYSTEM_PITOT_STATIC Action="0"/>
           <GAUGE_AIRSPEED Action="Freeze"/>
        </Failures>
        <Nonlinearity>
           <Item Value="0" X="35" Y="8"/>
           <Item Value="60" X="40" Y="8"/>
           <Item Value="200" X="40" Y="72"/>
           <Item Value="250" X="11" Y="53"/>
           <Item Value="450" X="26" Y="11"/>
        </Nonlinearity>
        <Delay DegreesPerSecond="25"/>
     </Rotate>
  </Element>
  <Mouse>
     <Help ID="HELPID_GAUGE_AIRSPEED"/>
     <Tooltip ID="TOOLTIPTEXT_AIRSPEED_KNOTS" MetircID="TOOLTIPTEXT_AIRSPEED_KILOS"/>
  </Mouse>
</Gauge>
 

...

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
IP Logged
 
Reply #4 - Sep 13th, 2003 at 8:12pm

JBaymore   Offline
Global Moderator
Under the curse of the
hombuilt cockpit!

Gender: male
Posts: 10261
*****
 
Hagar,

Thanks for the idea on the XML gauges and the code example.  I've never seen the XML code before...... but it looks a darn lot like HTML  Wink.  HTML I can do.

I'll have to go back and look....... but I don't think the FS2002 Gauges SDK has much on the newer XML stuff.  Mainly it talked about C++.

But the XML there you posted looks pretty straightforward.  I'll have to go into the gauges folder and start opening a few cabs to see what magic is in there.  Maybe that will be my solution.

Not likely to go out and buy a C++ compiler just to make some gauges for a game.   Wink

Thanks again.

best,

...................john

PS: And I have to go check out FS Panel Studio I guess and see exactly WHAT it does.
 

... ...Intel i7 960 quad 3.2G LGA 1366, Asus P6X58D Premium, 750W Corsair, 6 gig 1600 DDR3, Spinpoint 1TB 7200 HD, Caviar 500G 7200 HD, GTX275 1280M,  Logitec Z640, Win7 Pro 64b, CH Products yoke, pedals + throttle quad, simpit
IP Logged
 
Reply #5 - Sep 15th, 2003 at 5:52pm

DaveT   Offline
Colonel
Props rule the skies
UK

Posts: 2283
*****
 
xml's the easiest way you can use pics of gauges as backgrounds if you dont want to draw your own have fun
             Dave
 
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print