Jump to content
The simFlight Network Forums

Recommended Posts

Posted
Quote

Why does the mixture behave strangely in the turbocharged version, and I cannot bind it to hardware controls?

Microsoft Flight Simulator’s turbocharger simulation has been significantly flawed for several generations. This aircraft has a custom turbocharger that fixes nearly all of these issues, and is much more realistic, as a result. To make these changes, the new “Input Event” system is used to intercept hardware and key-bindings for the mixture control axis. Please make sure that your hardware bindings are using the Key Events, such as “K:MIXTURE1_DECR_SMALL”, or “K:MIXTURE1_SET” to set the mixture, and NOT setting either “A:GENERAL ENG MIXTURE LEVER POSITION:1”, or “B:FUEL_Mixture_1_Set”. Alternatively, setting “L:BKSQ_MixtureLeverPosition_1” from 0-100 will also work to set the mixture axis.

This is from the FAQ section of the Piston Duke manual. I've never used LUA to handle an axis. Anyone got a ready-made solution for me?

(While I was looking for a solution, I came across a forum post saying that the range for the L: variable is actually 0-1, not 0-100.)

Posted

Hello Aurel42,

You can add the Lvars to myevents.txt and set a Parameter to convert them:

If you don't have a myevents.txt in your fsuipc folder, simply create one, then paste in:
 

// Blacksquare Duke Mixture
BS_Mixture_1#$Param 327.680 / 50 + (>L:BKSQ_MixtureLeverPosition_1)
BS_Mixture_2#$Param 327.680 / 50 + (>L:BKSQ_MixtureLeverPosition_2)

This will work for an Axis like the Honeycomb brave which has a range of -16384 to +16384.
Then assign your Axis by selecting Send Preset to FS and select the Mixture.
If your Axis is inverted, you can inverse them by adding ,*-1 to the Axis in your Duke Profile f.e.
 

3=LU,256,F,PBS_Mixture_1,0,0,0,*-1	-{ TO SIM: Preset Control }-

Btw, the Lvar range is 0-100 for the Mixture.

Hope this helps and have fun with the Duke.

Andre

  • Like 1
  • Thanks 1
Posted

Hello. This is my first post on this forum, as I have not encountered issues in the past with assigning axes and buttons to my controllers until I attempted to assign the Blacksquare Duke Mixture controls to axes on my CH throttle quadrant. Frankly, I have not used Lua scripts or presets in my previous experience with FSUIPC and those areas seem appropriate for advanced users, which I am not. I tried to follow the advice of this thread, I created a my events text file in my FSUIPC folder, and I pasted the " // Blackqsuare Duke Mixture" text data above to that text file.

However, when working with the FSUIPC7 axes assignments dialogue box, I do not see any option listed there to "Send Preset to FS."  I only see the options for direct to FSUIPC calibration, to FS as a normal axis, and an option for offsets.

What am I missing or doing wrong?

I am using FSUIPC7 v. 7.3.19

Thanks,

Rich

 

 

Posted
12 hours ago, rlashier said:

What am I missing or doing wrong?

I am using FSUIPC7 v. 7.3.19

You are using a very old and unsupported version - please update to the latest and only supported version, 7.4.11.

John

  • 10 months later...
Posted

I've read and reread this thread but can not figure out what to do to get this set up.....I need someone to talk to me like i'm 5 years old. I've used FSUIPC for years, but really only very basic features. I truly appreciate the assistance.

Posted
6 hours ago, V1ROTA7E said:

I've read and reread this thread but can not figure out what to do to get this set up.....

Why not? Have you tried? It is incredibly easy and explained well:

On 5/14/2024 at 11:27 AM, Andre92 said:

If you don't have a myevents.txt in your fsuipc folder, simply create one, then paste in:
 

// Blacksquare Duke Mixture
BS_Mixture_1#$Param 327.680 / 50 + (>L:BKSQ_MixtureLeverPosition_1)
BS_Mixture_2#$Param 327.680 / 50 + (>L:BKSQ_MixtureLeverPosition_2)

This will work for an Axis like the Honeycomb brave which has a range of -16384 to +16384.
Then assign your Axis by selecting Send Preset to FS and select the Mixture.

So, just create a myevents.txt file (in your FSUIPC7 installation folder), if you do not already have one, and paste those entries into it, reload the presets if FSUIPC7 is running (using File->Reload Presets) and then assign your axis to those presets in the normal way, by selecting Send Preset to FS, click the Find Preset.. button and navigate to those presets (under Personal -> Blacksquare Duke Mixture) and select the the preset (or presets) to use.

Posted

Well this was really weird, and I think I've been able to get it to work! I don't like my desktop cluttered with shortcuts, so when restarting FSUIPC, I hit Start type FSUIPC, then the first option is FSUIPC7.exe. When I start it that way, for some reason, the "Send Preset to FS" option doesn't show up...just the first three. When I go into the folder itself and select FSUIPC7.exe, everything works fine. So I've created a new shortcut from the original .exe and it seems to work well now. Anyway, thanks for the help. It is working now!

Posted
2 hours ago, V1ROTA7E said:

When I start it that way, for some reason, the "Send Preset to FS" option doesn't show up...just the first three.

Then that must be an older version that is linked to the windows start menu. Start it again that way, check the version number, then use File->Open Installation folder to see where it is installed. Then exit and delete/remove it.

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.