My own gauge and Units Question.
Results 1 to 7 of 7

Thread: My own gauge and Units Question.

  1. #1

    My own gauge and Units Question.

    Hello every body

    i should like to know why the unit "percent" do not work with the variable "L"
    i have made a full animation :

    <PartInfo>
    <Name>switch_sparrow</Name>
    <AnimLength>100</AnimLength>
    <Animation>
    <Parameter>
    <Code>
    (L:switch_sparrow,bool) 50 *
    </Code>
    </Parameter>
    </Animation>
    <MouseRect>
    <Cursor>Hand</Cursor>
    <CallbackCode>(L:switch_sparrow,bool) ! (>L:switch_sparrow,bool) ! (>L:sparrow1,percent) </CallbackCode>
    </MouseRect>
    </PartInfo>


    <PartInfo>
    <Name>sparrow1</Name>
    <AnimLength>100</AnimLength>
    <Animation>
    <Parameter>
    <Code>
    (L:sparrow1,percent) 100 *
    </Code>
    </Parameter>
    </Animation>
    </PartInfo>



    the sparrow is linked to ghost and ghost must not been visible at the end of the animation ( 95 percent)



    <PartInfo>
    <Name>ghost</Name>
    <Visibility>
    <Parameter>
    <Code>(L:sparrow1,percent) 95 &gt; if{ 0 } els{ 1 } </Code>
    </Parameter>
    </Visibility>
    </PartInfo>

    It's not ok but if the code is :

    <PartInfo>
    <Name>ghost</Name>
    <Visibility>
    <Parameter>
    <Code>(L:sparrow1,percent) 0 &gt; if{ 0 } els{ 1 } </Code>
    </Parameter>
    </Visibility>
    </PartInfo>

    It's ok
    ghost is not visible but there is no time.

    if this code is for example

    <PartInfo>
    <Name>ghost</Name>
    <Visibility>
    <Parameter>
    <Code>(A:Turb eng1 CORRECTED N1, percent) 95 &gt;; if{ 0 } els{ 1 } </Code>
    </Parameter>
    </Visibility>
    </PartInfo>


    it's ok !
    with "A" and "percent" no problem and with "L" my own code it'do not work , if anyone know and can help me ? is it possible to use percent ?Thank you

  2. #2
    I am sorry that I cannot help you, however, one of the xml gurus may be along anytime. You can also post your question over at FFDS where there are several very knowledgeable XML coders.

    http://www.aerodynamika.com/cgi-bin/yabb/YaBB.cgi
    Milton Shupe
    FS9/FSX Modeler Hack

    My Uploads at SOH - Here
    Video Tutorials - Gmax for Beginners

  3. #3
    Thanks Milton , now if anybody else know .....:help:
    however ,How do you do to register on FFDS web site ? i don't find.

  4. #4
    If you click on the Logon button at the very top, I suspect you will be offered the chance to register there.
    Milton Shupe
    FS9/FSX Modeler Hack

    My Uploads at SOH - Here
    Video Tutorials - Gmax for Beginners

  5. #5
    ok thank you ! i am going to try :typing:

  6. #6
    The answer has been posted to your thread at FS Developer.
    Bill Leaming
    3d Modeler Max/GMax
    C & XML Gauge Programmer

    Military Visualizations
    http://milviz.com

    Intel® Core™ i7-3770k 4.2GHz - Crucial 16GB DDR3 - Dual Radeon HD770 1GB DDR5 (Crossfire) - Eco II Watercooling - Win7 64bit
    Intel® Core™ i7-2600k 3.4GHz - Crucial 8GB DDR3 - NVIDIA EVGA GTX-770 SC 4GB - Win7 64bit

  7. #7
    Thanks Bill :wave:
    Milton Shupe
    FS9/FSX Modeler Hack

    My Uploads at SOH - Here
    Video Tutorials - Gmax for Beginners

Similar Threads

  1. Gauge Question
    By WND in forum Panel Design & Tips
    Replies: 3
    Last Post: March 16th, 2012, 11:55
  2. GAUGE QUESTION
    By Fibber in forum CFS2 General Discussion
    Replies: 1
    Last Post: December 17th, 2010, 06:44
  3. Gauge question
    By Hooky722 in forum FS 2002/2004 General Discussion
    Replies: 2
    Last Post: August 7th, 2010, 05:27
  4. ILS gauge question
    By PRB in forum FSX General Discussion
    Replies: 41
    Last Post: May 12th, 2010, 02:05
  5. OT; Power Supply Units, question
    By Lionheart in forum Ickie's NewsHawks
    Replies: 12
    Last Post: December 15th, 2008, 16:56

Members who have read this thread: 0

Bookmarks

Posting Permissions

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