Welcome, Guest. Please Login or Register
YaBB - Yet another Bulletin Board
  Visit YaBB today Wink

FFDS Home | TIPS Section | Tutorials Section | Resources Section | Utilities Section

Military | FSDS | Jetliners | Real Planes Section | Gmax | Rotorcraft | Business | Civilian

  HomeHelpSearchLoginRegister  
 
 
Page Index Toggle Pages: 1
Send Topic Print
Why "lever_throttle1" never move in VC? (Read 1341 times)
13th May, 2010 at 4:55am

topmixed   Offline
LDV Engineer
I love YaBB 1G - SP1!<br
/>
Hong Kong

Gender: male
Posts: 340
****
 
Dear All,

I have already set animation for "lever_throttle1" (right engine power lever) but it never move in VC
The left engine power lever "lever_throttle0" is working only!

Is it the parts name problem?
or
Do I need to edit the XML file in FSDSXTweak?

Thanks a lot!

Gordon
 
IP Logged
 
Reply #1 - 13th May, 2010 at 9:32pm

Au-MaV   Offline
Inspecteur des Polygonnes
Whatcha lookin at
Adelaide South Australia

Gender: male
Posts: 1956
*****
 
Use the search luke use the search Smiley
Multimedia File Viewing and Clickable Links are available for Registered Members only!!  You need to Login or Register
 
IP Logged
 
Reply #2 - 13th May, 2010 at 11:10pm

topmixed   Offline
LDV Engineer
I love YaBB 1G - SP1!<br
/>
Hong Kong

Gender: male
Posts: 340
****
 
Dear Sir,

Are you means I have to copy the following code the "modeldef.xml" by FSDSxTweak?
Is it the parts name should use "rthrot" and "lthrot"?

================================================================================
====
<Animation name="rthrot" guid="b3cb4a66-6ea1-4562-8598-4ca71f0de162" length="50" type="Sim" typeParam2="rthrot" typeParam="AutoPlay" />
    <Animation name="lthrot" guid="daf0a473-f593-4b78-8213-a6c69fcb262d" length="50" type="Sim" typeParam2="lthrot" typeParam="AutoPlay" />








<PartInfo>
       <Name>rthrot</Name>
       <AnimLength>50</AnimLength>
       <Animation>
           <Parameter>
               <Code>
           (A:GENERAL ENG THROTTLE LEVER POSITION:1, part) s0 0 &gt;= if{ l0 -50 * 50 + } els{ l0 (A:THROTTLE LOWER LIMIT, part) / 1 + 50 * }
         </Code>
           </Parameter>
       </Animation>
       <MouseRect>
           <Cursor>Hand</Cursor>
           <HelpID>HELPID_GAUGE_THROTTLE_THROTTLE</HelpID>
           <TooltipID>TOOLTIPTEXT_THROTTLE_THROTTLE_PERCENT</TooltipID>
           <MouseFlags>LeftSingle+LeftDrag+Wheel</MouseFlags>
           <CallbackDragging>
               <Variable>GENERAL ENG THROTTLE LEVER POSITION:1</Variable>
               <Units>percent</Units>
               <Scale>163.84</Scale>
               <YScale>-163.84</YScale>
               <MinValue>-16384</MinValue>
               <MaxValue>16384</MaxValue>
               <EventID>THROTTLE1_SET</EventID>
           </CallbackDragging>
       </MouseRect>
    </PartInfo>

    <PartInfo>
       <Name>lthrot</Name>
       <AnimLength>50</AnimLength>
       <Animation>
           <Parameter>
               <Code>
           (A:GENERAL ENG THROTTLE LEVER POSITION:2, part) s0 0 &gt;= if{ l0 -50 * 50 + } els{ l0 (A:THROTTLE LOWER LIMIT, part) / 1 + 50 * }
         </Code>
           </Parameter>
       </Animation>
       <MouseRect>
           <Cursor>Hand</Cursor>
           <HelpID>HELPID_GAUGE_THROTTLE_THROTTLE</HelpID>
           <TooltipID>TOOLTIPTEXT_THROTTLE_THROTTLE_PERCENT</TooltipID>
           <MouseFlags>LeftSingle+LeftDrag+Wheel</MouseFlags>
           <CallbackDragging>
               <Variable>GENERAL ENG THROTTLE LEVER POSITION:2</Variable>
               <Units>percent</Units>
               <Scale>163.84</Scale>
               <YScale>-163.84</YScale>
               <MinValue>-16384</MinValue>
               <MaxValue>16384</MaxValue>
               <EventID>THROTTLE2_SET</EventID>
           </CallbackDragging>
       </MouseRect>
    </PartInfo>
================================================================================
===
 
IP Logged
 
Reply #3 - 14th May, 2010 at 2:18am

topmixed   Offline
LDV Engineer
I love YaBB 1G - SP1!<br
/>
Hong Kong

Gender: male
Posts: 340
****
 
Dear Sir,

I got it!   

Your XML code is work but left and right reverse!
 
IP Logged
 
Reply #4 - 17th May, 2010 at 5:37am

Rick_Piper   Offline
LDV Engineer
No thanks!

Posts: 382
****
 
Hi Topmixed

just change the names from r to l as engines are from left to right in FS

Regards
Rick

like this
Code:
 <PartInfo>
	 <Name>lthrot</Name>
	 <AnimLength>50</AnimLength>
	 <Animation>
	     <Parameter>
		   <Code>
	     (A:GENERAL ENG THROTTLE LEVER POSITION:1, part) s0 0 &gt;= if{ l0 -50 * 50 + } els{ l0 (A:THROTTLE LOWER LIMIT, part) / 1 + 50 * }
	   </Code>
	     </Parameter>
	 </Animation>
	 <MouseRect>
	     <Cursor>Hand</Cursor>
	     <HelpID>HELPID_GAUGE_THROTTLE_THROTTLE</HelpID>
	     <TooltipID>TOOLTIPTEXT_THROTTLE_THROTTLE_PERCENT</TooltipID>
	     <MouseFlags>LeftSingle+LeftDrag+Wheel</MouseFlags>
	     <CallbackDragging>
		   <Variable>GENERAL ENG THROTTLE LEVER POSITION:1</Variable>
		   <Units>percent</Units>
		   <Scale>163.84</Scale>
		   <YScale>-163.84</YScale>
		   <MinValue>-16384</MinValue>
		   <MaxValue>16384</MaxValue>
		   <EventID>THROTTLE1_SET</EventID>
	     </CallbackDragging>
	 </MouseRect>
    </PartInfo>

    <PartInfo>
	 <Name>rthrot</Name>
	 <AnimLength>50</AnimLength>
	 <Animation>
	     <Parameter>
		   <Code>
	     (A:GENERAL ENG THROTTLE LEVER POSITION:2, part) s0 0 &gt;= if{ l0 -50 * 50 + } els{ l0 (A:THROTTLE LOWER LIMIT, part) / 1 + 50 * }
	   </Code>
	     </Parameter>
	 </Animation>
	 <MouseRect>
	     <Cursor>Hand</Cursor>
	     <HelpID>HELPID_GAUGE_THROTTLE_THROTTLE</HelpID>
	     <TooltipID>TOOLTIPTEXT_THROTTLE_THROTTLE_PERCENT</TooltipID>
	     <MouseFlags>LeftSingle+LeftDrag+Wheel</MouseFlags>
	     <CallbackDragging>
		   <Variable>GENERAL ENG THROTTLE LEVER POSITION:2</Variable>
		   <Units>percent</Units>
		   <Scale>163.84</Scale>
		   <YScale>-163.84</YScale>
		   <MinValue>-16384</MinValue>
		   <MaxValue>16384</MaxValue>
		   <EventID>THROTTLE2_SET</EventID>
	     </CallbackDragging>
	 </MouseRect>
    </PartInfo>

 

 
IP Logged
 
Reply #5 - 17th May, 2010 at 1:04pm

topmixed   Offline
LDV Engineer
I love YaBB 1G - SP1!<br
/>
Hong Kong

Gender: male
Posts: 340
****
 
Thank you very much! Wink
 
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print