Hi guys
I think I have found the solution to the throttle issue.
In the Avionics.lua file, (Mods\aircraft\F-22A\Cockpit\Scripts\Systems), I have changed the following lines (see screenshot 1):
parameters.RPM_L :set(sensor_data.getEngineLeftRPM())
parameters.RPM_R :set(sensor_data.getEngineRightRPM())
to
local L_THROTTLE = get_cockpit_draw_argument_value(768)
local R_THROTTLE = get_cockpit_draw_argument_value(766)
L_THROTTLE = (-21.25 * L_THROTTLE) + 88.75;
R_THROTTLE = (-21.25 * R_THROTTLE) + 88.75;
parameters.RPM_L :set(L_THROTTLE)
parameters.RPM_R :set(R_THROTTLE)
As for the formula, I have used the formula in the 2nd attachment.
See 3rd screenshot for results.
I did not implement the formula as a calculation due to the following:
1. My throttle ranges from 1 (Idle) to -1 (Max), each value represented with 14 decimals. I don't know if this is the same for every device, but I would assume so.
2. I did not check for reverse throttles, don't know why you would, but it would make the solution more foolproof.
I will present this to Grinnelli and hopefully he will update the mod if he approves.
I am attaching my Avionics Lua file for anybody that would like to test and verify the potential fix for the throttles not displaying up to 110% as with V2 of the mod.
Avionics.lua