Jump to content

virtualzeus

Members
  • Posts

    6
  • Joined

  • Last visited

Recent Profile Visitors

1174 profile views

virtualzeus's Achievements

Rookie

Rookie (2/14)

  • One Year In
  • Dedicated Rare
  • First Post Rare
  • Conversation Starter Rare
  • Week One Done

Recent Badges

4

Reputation

  1. Version 2.0.0

    219 downloads

    As you all know, the default dataref intervals for the AP Rotary Knob are very small and inefficient. To address this problem, I initially used some of the default LUA Scripts that ship with FlyWithLua to hard-code a bigger interval (500ft for ALT). (See in my Colimata Concorde profile). The problem with a hardcoded value is that you cannot be more specific than the hardcoded value, say 1200ft instead of 1500ft. The solution is to implement some type of exponential scaling. I was doing research on this and did happen to find a pack of LUA Scripts initially created for Rotary knobs that address this problem by adding 3 intervals with customizable timing and providing a separate set of datarefs to utilize with the Honeycomb configurator. The scripts are attached and the Datarefs are below. These will work with any plane that uses the default X-Plane datarefs. I figured this may be useful to other users who are interested in using the Rotary knobs on their bravo instead of being left there useless, so I decided to write this thread. Scripts were created by Adamo_cze and found in this forum link: Creating a new plugin for smoother encoder responses - Page 2 - X-Plane Developers and Plugins - X-Plane.Org Forum (credit where credit is due ) DATAREFS: FlyWithLua/ALT_UP FlyWithLua/ALT_DOWN FlyWithLua/VSPD_UP FlyWithLua/VSPD_DOWN FlyWithLua/HDG_UP FlyWithLua/HDG_DOWN FlyWithLua/testing/decrease_OBS1 FlyWithLua/testing/increase_OBS1 FlyWithLua/SPD_UP FlyWithLua/SPD_DOWN INSTALLATION: To use these datarefs in your profile is quite simple. Be sure to have FlyWithLua plugin installed, and the attached scripts saved to /Resources/Plugins/FlyWithLua/Scripts 1. In honeycomb configurator, open the profile you would like to add rotary knob function to. 2. Select button Incr or Decr from the button dropdown on the top right. 3. Create a new custom condition, and set the condition name to "INT:FCU_SELECTOR, string" and value to "ALT" (For the altitude setting on the AP Rotary selection knob, VS for VS, HDG for HDG... etc. ) 4. Click the "Show variable area" slider to the right to expand the variable section for that condition. 5. In the variable field, enter the Dataref for that given condition from the list above. (For ALT it would be FlyWithLua/ALT_UP or FlyWithLua/ALT_DOWN depending which button you have open (Incr or Decr). Index and Value fields can be left blank. 6. You will be repeating steps 1-5 for each rotary setting (10 total). Create a new condition for each one. 7. Select Apply Changes to save the profile 8. Select Activate Current Profile from the actions menu, and reload the bindings in the X-Plane Honeycomb plugin. You may also need to edit the scripts for different aircrafts which do not use the default X-Plane datarefs. It should be as simple as using DataRefTool to cross-check the AP Values and simply replace the datarefs within the script with your findings. You can also edit the scripts to customize the interval and speed settings noted at the top of each script. As an example you can check my Colimata Concorde profile to help you configure the profile if you aren't sure. UPDATE Version 2.00 ----------------------- I have added a HC Configurator profile that includes all 10 conditions bound for the rotary knobs and nothing else. I created the profile by manually editing the JSON file in notepad. The current version of HC Configurator has a bug when creating custom Conditions/Variables.
  2. Yes you can. It's what I'm doing in this profile. You can create the commandref within the LUA Script and put the commandref in the Configurator's Condition or Variable field. It works just like normal X-Plane commands.
  3. Version 2.0.0

    313 downloads

    A profile I made for the Colimata Concorde. It requires FlyWithLua scripts for control of the Autopilot, as the default X-Plane datarefs do not work with the Concorde. The increments can all be modified with the FlyWithLua scripts. **NEW VERSION Re-wrote LUA Scripts, adds Scaling functionality to AP Knobs INSTALLATION: -Import JSON profile to honeycomb configurator -Copy and paste FlyWithLua scripts into /resources/plugins/FlyWithLua/Scripts folder -Launch X-Plane 11 and load Concorde -Activate profile in honeycomb configurator -Select Reload from the honeycomb plugin in X-Plane 11
×
×
  • Create New...

Important Information

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. Privacy Policy & Terms of Use