Jump to content
The simFlight Network Forums

Search the Community

Showing results for tags 'lua script'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • Product Support Forums
    • FSUIPC Support Pete Dowson Modules
    • MyTraffic Support Forum
    • FeelThere Support Forums
    • FS Commander Support Forum
    • Flying W Simulation
    • AConstable Traffic Sounds Support Forum
    • Fabio Merlo Products Support Forum
    • Elite-Air Studio Support Forum
    • Nikola Jovanovic Support Forum
    • Intrasystems Support Forum
    • FScene Support Forum
    • Taburet & DanVFR Support Forum
    • Environ Scenery
  • simFlight DE
  • simRussia
  • FSUIPC Client DLL for .NET


There are no results to display.

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start





Website URL







Found 1 result

  1. Hi Mr Pete Dowson Sir I'm a newbie to FSX and FSUIPC as well. So please bear with me if I have asked you a silly question and not googled hard for a similar question/solution already asked and answered. I have a requirement in which I wanted to read/write Pitch & Elevator Trim executed via lua scripting triggered by a button in a Joystick. I'm new to FSUIPC and hence started browsing example code from your collection of lua scripts ... and slightly modified "Display Vals". The offset document and code example( display vals, liar) is neat and clear when it comes to reading/writing Pitch/Altitude, etc but I could not find any example for reading/writing elevator trim...especially how to convert the value read from offset 0x2EA0. I have a gauge( XML in Panel) displaying ( digital readout ) of Elevator Trim( <String>T:%((A:Elevator Trim Position,degrees))%!2.2f!</String>) and I was trying to verify the data read from offset with the digital read out. My question a) what is the formula to convert value read from offset 0X2EA0 ( so that it would match my reading from gauge) b) if i write ( as per the example code in "Liar" example LUA plug-in for FSUIPC4/ESPIPC only, by Pete Dowson, January 2009) will it reflect really the changes in FS). The reason I'm asking is based on your comment "alter them all to values we want to fool other FSUIPC clients to believe" Need your guidance Thanks very much Regards Janakiraman Swaminathan display vals.txt
  • 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.