Giter Club home page Giter Club logo

realair-lancair-legacy-v2-lua's Introduction

RealAir Lancair Legacy V2 LINDA Module

This repository is made to publish and document the lua-Script for LINDA made for the RealAir Lancair Legacy V2. At the moment the focus is still on publishing the actions.lua not on implementing the complete LINDA module.

ScreenShot

Table of contents

Quick start

Prerequesities

You can use this Module only as long as you have running

  • a Flight-Simulator (eg. Prepar3D / FSX)
  • FSUIPC
  • LINDA
  • a device to use with LINDA

Backup your own settings!

I strongly recommend to make a backup of your own files before overwriting yours with the settings from this package.

Installation

Several quick start options are available:

  • Download the latest LINDA Module and copy the folder "Modules" from the zip to your Flight-Simulators root-folder eg.
    • C:\Program Files (x86)\Lockheed Martin\Prepar3D v2\ or
    • C:\Program Files (x86)\C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\
  • Clone the repo: git clone https://github.com/joeherwig/RealAir-Lancair-Legacy-V2-LUA.git and move the complete subfolder "Linda Root" to your Root Folder in which you find the Linda.exe.

Documentation

I tried to name all functions in a way that directly tells you what it does. In some special cases it might be neccesary to explain you something more detailed. Then i make some additional remarks in this section. So this section is not intended to repeat everything i allreade "said" while giving the function names. So ... It will not be complete and hopefully not bother you with its length.

Init

  • Yoke_Hide: On Loading the vehicle i hide the yokes to enable a better view to the buttons hidden behind the yokes. If you prefer not to hide the yokes, feel free to remove the line Yoke_Hide() from the init.

  • ChangeCabinPressureByXFeet = 250: This line is used to define the step-width for incrementing and decrementing the cabin pressure goal altitude when using the Cabin_Pressure_alt_goal_dec and Cabin_Pressure_alt_goal_inc function.

  • ChangeCabinRateByX = 50: This line is used to define the step-width for incrementing and decrementing the desired speed for adapting the cabin pressure between the current state and the cabin pressure goal altitude when using the Cabin_Rate_Knob_dec and Cabin_Rate_Knob_inc function.

  • ChangeCabinPressureTempByX = 10: This line is used to define the step-width for incrementing and decrementing the cabin pressure temp when using the functions:

    • Cabin_Pressure_Temp_Lever_1_inc
    • Cabin_Pressure_Temp_Lever_1_dec
    • Cabin_Pressure_Temp_Lever_2_inc
    • Cabin_Pressure_Temp_Lever_2_dec

Avionics

Just taken from guenselis great 1.3-Version. Thanks a lot!

Electrics

Turbine Ignition added:

Turbine Ignition

The "Ignition_..._toggle_OffAuto"-functions only toggle between "Off" and "Auto" and vice versa. The third state of this button "on" isn't reflected in this function, because i have only a simple pushbutton and it seems, "Auto" is enough for my needs, so that explicit "on" can be skipped.

Fuel

Added the Fuel-Valves for direct interaction and rotary encoders: Fuel Valves Here as well the _toggle-Function only toggles between "Off" and "On". "XFeed" is not included in the "_toggle".

Door

Added following dedicated functions:

  • Door_state - returns the open-state (position) of the door, eg. 'open', '74%' (open) and 'closed'.
  • Door_open - opens the door.
  • Door_close - closes the door.
  • Door_toggle - opens a closed door, and closes an open door.

Contributing

Probably you want push this script a small step or a big leap forward. You're welcome to do so. Just fork this repo, check-in your changes and send me a pull-request. If you're not familiar with using Github you can also send me a Email to inform me about the changes and additions you made, and i'll probably embed them into my repo.

Bugs and feature requests

Have a bug or a feature request? Please check first whether your problem or idea is addressed already. If not, please feel free to open a new issue.

Copyright and license

Code and documentation copyright 2015 JoeHerwig released under the MIT license. Docs released under Creative Commons.

realair-lancair-legacy-v2-lua's People

Contributors

joeherwig avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.