• There seems to be an uptick in Political comments in recent months. Those of us who are long time members of the site know that Political and Religious content has been banned for years. Nothing has changed. Please leave all political and religious comments out of the forums.

    If you recently joined the forums you were not presented with this restriction in the terms of service. This was due to a conversion error when we went from vBulletin to Xenforo. We have updated our terms of service to reflect these corrections.

    Please note any post refering to a politician will be considered political even if it is intended to be humor. Our experience is these topics have a way of dividing the forums and causing deep resentment among members. It is a poison to the community. We appreciate compliance with the rules.

    The Staff of SOH

  • Server side Maintenance is done. We still have an update to the forum software to run but that one will have to wait for a better time.

Trying to learn how to make my own VC gauges.

Sid2008

Charter Member
Hi, I hope I am on the right forum. I use borrowed gauges in my aircraft's vcs and i was thinking of learning how to make some of my own. Maybe I can take existing gauges and modify their looks sufficiently to make them look different, but provide the same information. My question is: can someone please direct me how to learn to make my own gauges............for dummies? Is there a software out there that I can use? BTW, I am only interested in gauges I can use in a virtual cockpit.
Thanks,
sid
 
I suppose the first question to ask is which sim are you building for? FS9, CFS2, FSX, etc...

For CFS2 you're pretty much limited to C/C++ gauges (which are actually just windows DLLs) and you'll need some C/C++ programming software. Microsoft has free versions of their Visual Studio products called Visual <insert language of choice here> Express (Visual C++ Express in this case).
That, along with the header and source file from the Panel and Gauges SDK will get you started.
For CFS2, you'll need to use the FS2000 format SDK package. FS2002, FS2004, FSX SDKs won't work for CFS2 since it predates those games.

For FS2002, FS9, or FSX you can still do the C/C++ style gauge format, but you've also got another option which most hobbyists are using since it requires less software. That is an XML-style gauge. All you need to brew up the code for these is Notepad or some other text editor program.
The FS2002, FS2004(FS9), or FSX Panels and Gauges SDK has info on this style of gauge too.

Another good tutorial/whitepaper is Dai Griffith's sd2gau29.zip (available for download at flightsim.com or avsim.com ).
This is a long-running collection of tips and tricks on how to put together your own gauges.
Another good whitepaper is Arne Bartels' xmlgau01.zip. I think this is still available at flightsim.com...it's been a long time since I've had to re-download it.
 
Back
Top