Jump to content
The simFlight Network Forums

Surface trim: Elevator, Rudder and Aileron


kaha

Recommended Posts

I want to share my lua script for trimming. It works as follows:

https://www.dropbox.com/s/2ceuy2jj8hfftib/Surface_Trim.lua?dl=0

 

To a button assign the control "Lua Surface Trim" after you have copied the file into your FSUIPC folder. The Parameter entry consists of 

 

100000 for Elevator trim

200000 for Aileron trim

300000 for Rudder trim

 

To this add the amount you want to trim:

1 for very small trim

a maximum of 16383 for full trim

 

add this to the base:

 

100000 + 300 = 100300   that would be a moderate trim up for the Elevator.

300000 + 2000 = 302000  that would be a large trim for the Rudder in one direction.

 

To trim to the other direction just make the number negative (-100300, -302000)

 

In order to center the trims you use:

100000  center Elevator trim

200000 center Aileron trim

300000 center Rudder trim

 

This is very handy as you can have different trim amounts for different aircraft. I even use small trims and large trims simultaneously.

 

Feel free to use this script to your likings.

 

Karl

Elevator up trim.png

Elevator down trim.png

Surface_Trim.lua

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.