Results 1 to 5 of 5

Thread: Easy way for C gauge to find aircraft using it?

  1. Default Easy way for C gauge to find aircraft using it?

    Anyone know of an easy way to determine which aircraft's panel your C gauge is being used by?

  2. #2

    Default RE: Easy way for C gauge to find aircraft using it?

    I'm not aware of any way, hard or easy... ;)
    Bill Leaming
    Gauge Programming - 3d Modeling Eaglesoft & Military Visualizations
    Flightsim.com Panels & Gauges Forum Moderator
    Flightsim Rig: Intel Core i7-2600K - 8GB DDR3 1333 - GeForce GTX550Ti 1GB - Win7 64bit Home Premium
    Development Rig1: Intel Core i7-3770k - 16GB DDR3 - Dual Radeon HD7770 SLI 1GB - Win7 64bit Professional
    Development Rig2: Intel Core i7-860 - 8GB DDR3 Corsair - GeForce GTS240 1GB - Win7 64bit Home Premium
    NOTE: Unless explicitly stated in the post, everything written by my hand is MY opinion. I do NOT speak for any company, real or imagined...

  3. Default RE: Easy way for C gauge to find aircraft using it?

    Hmmm that's what I was afraid of... but luckily I have an idea.

    I'm thinking of getting the info through an XML variable that gives me something from the aircraft.cfg, and then I can parse those till I find the one.

    If not, plan B is to use the dreaded 5th parameter to tell me.

    Plan C is to just hard code the b******!

  4. #4

    Default RE: Easy way for C gauge to find aircraft using it?

    Have a look at FSUIPC offsets 0x3C00 and 0x3D00. Pete's notes in his beta SDK seem to indicate that these guys will be available in FSX, so it might be worth pursuing.

    Doug

  5. #5

    Default RE: Easy way for C gauge to find aircraft using it?

    I made a C-function that looks up the aircraft.cfg by reading the aircraft info via xml and then searches the first matching aircraft.cfg entry for FS9.

    Add findcfg.c to the workspace include findcfg.h and then call BOOL FindAircraft(...). You need to provide to CHAR arrays and their lenght where the information is written too. If the entry is found, the return value is TRUE.
    Arne Bartels

Similar Threads

  1. Scalemaker and/or Easy Gauge Updates
    By familton in forum Panel & Gauge Design
    Replies: 6
    Last Post: 05-02-2009, 01:05 AM
  2. Easy way to find VOR frequencies?
    By ssteiner in forum FS2004
    Replies: 2
    Last Post: 01-25-2006, 10:59 PM
  3. Easy Gauge program...???
    By N99AL in forum FS2004
    Replies: 4
    Last Post: 12-14-2004, 12:37 PM
  4. Easy Gauge Software Needed
    By oporto in forum FS2002
    Replies: 1
    Last Post: 02-05-2003, 01:14 AM
  5. Easy Gauge Creator
    By semd74 in forum FS2002
    Replies: 1
    Last Post: 06-16-2002, 07:21 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •