1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

FSXA VC elevator trimtab wheel

Discussion in 'Modeling' started by euroastar350, 22 Apr 2014.

  1. euroastar350

    euroastar350 Resource contributor

    Joined:
    28 Jul 2010
    Messages:
    626
    Country:
    puertorico
    Hi guys,

    What is the default script for the VC trimtab wheel? I am about to wrap up another project and I have the trim wheel already animated, but I don't know what script to use for it as there are quite a few in the modeldef. Any help is appreciated :)
     
  2. n4gix

    n4gix Resource contributor

    Joined:
    26 Sep 2006
    Messages:
    10,733
    Country:
    unitedstates
    I needed a trim wheel that would rotate a lot for my B737-200, so I animated my trim wheels for 400 frames, with 4 full revolutions per 100 frames, for a total of 16 revolutions.

    I then used this script to animate the wheel:
    Code:
      <PartInfo>
        <Name>B737_Elevator_trim_wheel</Name>
        <AnimLength>400</AnimLength>
        <Animation>
          <Parameter>
            <Sim>
              <Variable>ELEVATOR TRIM PCT</Variable>
              <Units>percent</Units>
              <Scale>2</Scale>
              <Bias>200</Bias>
            </Sim>
          </Parameter>
        </Animation>
        <MouseRect>
          <Cursor>Hand</Cursor>
          <HelpID>HELPID_GAUGE_PITCH_TRIM</HelpID>
          <TooltipID>TOOLTIPTEXT_PITCH_TRIM</TooltipID>
          <MouseFlags>LeftSingle+LeftDrag+Wheel</MouseFlags>
          <CallbackDragging>
            <Variable>ELEVATOR TRIM PCT</Variable>
            <Units>percent</Units>
            <Scale>81.92</Scale>
            <YScale>81.92</YScale>
            <MinValue>-16384</MinValue>
            <MaxValue>16384</MaxValue>
            <EventID>ELEVATOR_TRIM_SET</EventID>
          </CallbackDragging>
        </MouseRect>
      </PartInfo>
     
  3. euroastar350

    euroastar350 Resource contributor

    Joined:
    28 Jul 2010
    Messages:
    626
    Country:
    puertorico
    Thank you sir. Applied to my current project and functional :)
     

Share This Page