Welcome, Guest. Please Login or Register
YaBB - Yet another Bulletin Board
  Welcome to our forum.

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
Go Around button ? (Read 939 times)
4th Jun, 2013 at 6:25am

Skip67   Offline
Spline Extruder
If yer gonna do it, do
it right!
Western Europe!

Gender: male
Posts: 104
***
 
Hey All, I can't seem to find any FSX xml code on here for a go around button/switch. I was surprised to find there was no default code for this in the modeldef.xml file. The search on here never works for me but a manual look through yielded nothing either. Does anybody have any 'go-around' code to share ?

Thanks

Skip.
 
IP Logged
 
Reply #1 - 5th Jun, 2013 at 2:07pm

Daniel   Offline
Point Pusher
I Love FFDS!

Posts: 6
*
 
Here is at least one for the autothrottle.

Code:
  <PartInfo>
  <Name>interior_stick_go_around_cp</Name>
  <AnimLength>50</AnimLength>
  <Animation>
  <Parameter>
   <Code>
    (L:interior yoke go around cp, enum) 50 *
   </Code>
   <Lag>300</Lag>
  </Parameter>
  </Animation>
  <MouseRect>
  <Cursor>Hand</Cursor>
	 <TooltipID>TOOLTIPTEXT_TOGA</TooltipID>
	 <MouseFlags>LeftSingle+LeftRelease+LeftDrag</MouseFlags>
  <CallbackCode>
			(M:Event) 'LeftSingle' scmp 0 ==
			if{ 1 (&gt;L:interior yoke go around cp, enum) (>K:AUTO_THROTTLE_TO_GA) }

			(M:Event) 'LeftRelease' scmp 0 ==
			if{ 0 (&gt;L:interior yoke go around cp) }

			(M:Event) 'LeftDrag' scmp 0 ==
			if{ 0 (&gt;L:interior yoke go around cp) }
  </CallbackCode>
  </MouseRect>
 </PartInfo>

 

 
IP Logged
 
Reply #2 - 5th Jun, 2013 at 8:04pm

Skip67   Offline
Spline Extruder
If yer gonna do it, do
it right!
Western Europe!

Gender: male
Posts: 104
***
 
Daniel,

Thank you very much indeed. Much appreciated.

Skip
 
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print