Making a XML gauge

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

Making a XML gauge

Postby captses » Thu Jul 12, 2007 9:07 am

Hi all.  I am in the process of removing all my hair at too early an age.  I have created the bitmaps for a RADIO HEIGHT gauge and I am having trouble getting the code to work.  First I am a newbie at all this gauge stuff so please be kind as bald and bruises do not look good together.  First let me include the code I have as of yet.


     
     
           
     

     
           
     

     
           
           
                 
           
           
                 (A:RADIO HEIGHT, degrees)
                 
                       
                       
                       
                       
                       
                 

           

     

     
           
     



The gauge is appearing on the panel how and where I want it.  The issue I am having is getting the height needle to represent the correct height.  Sitting on the tarmac (433') the gauge reads 85 feet.  As I apply collective the needle rotates until it indicates 5000'.  The aircraft at this point is only 293' off the ground.  What am I doing wrong?  Any help would be appreciated.
captses
Ground hog
Ground hog
 
Posts: 2
Joined: Thu Jul 12, 2007 9:45 am

Re: Making a XML gauge

Postby Gypsy_Baron » Thu Jul 12, 2007 4:37 pm

(A:RADIO HEIGHT, degrees)

Seems to me this should be "(A:RADIO HEIGHT, feet)"...your units are incorrect.

  Paul
Image
User avatar
Gypsy_Baron
1st Lieutenant
1st Lieutenant
 
Posts: 467
Joined: Tue Oct 05, 2004 6:33 pm
Location: Daly City, California

Re: Making a XML gauge

Postby captses » Fri Jul 13, 2007 1:48 pm

Roger that.  I began using feet and later switched to using degrees as that is what I read in a tutorial.  I will go back to feet and give it a go again.  Thanks for the help.
captses
Ground hog
Ground hog
 
Posts: 2
Joined: Thu Jul 12, 2007 9:45 am


Return to Scenery & Panel Design

Who is online

Users browsing this forum: No registered users and 123 guests