Jump to content

Recommended Posts

Posted

Due to difficulty in finding real world data on the subject I have to resort to "reverse-engineering."

There's a file

C:\Program Files\Eagle Dynamics\DCS World OpenBeta\Mods\aircraft\F-5E\Cockpit\Scripts\ControlsIndicator\ControlsIndicator_page.lua
attached below as a pure text file for clarity.

Right of the bat, what are those units? Inches?

local pitch_stick_real_range    = 9.03125
local roll_stick_real_range        = 11.875

The pitch proportion of front / aft portion of the pitch movement is nicely laid out as 5/17

One last thing is the aileron spring stop limiter. To be honest I haven't been able to figure out any useful measurements from the .lua at all. Any hints?

 

Below is the juicy bit, full file as attachment:

 

local pitch_stick_real_range	= 9.03125
local pitch_stick_part_positive	= (5)/(5+17)
local pitch_stick_part_negative	= (17)/(5+17)
local roll_stick_real_range		= 11.875
local roll_stick_part_left		= 0.5
local roll_stick_part_right		= 0.5

local throttleMil				= 0.8

local aspect			= LockOn_Options.screen.aspect
local size_x			= 0.15	-- +-size_x
local size_y_positive	= size_x * 2.0 * pitch_stick_real_range / roll_stick_real_range * pitch_stick_part_positive
local size_y_negative	= size_x * 2.0 * pitch_stick_real_range / roll_stick_real_range * pitch_stick_part_negative
local tex_scale			= 0.25/size_x
local line_width		= (4.5/512)/tex_scale * 0.3


local roll_stick_movement           = 140
local k                             = size_x / roll_stick_movement
local pitch_stick_movement_positive = 0.76 * roll_stick_movement * 0.625 * k
local pitch_stick_movement_negative = 0.76 * roll_stick_movement * 0.375 * k

 

 

ControlsIndicator_page.txt

Posted

I've just noticed something unsettling...

Here's a guy posting contents of the controls indicator lua for his Mirage 2000C... with the exact same values, to the bit! What's up with that?
https://forum.dcs.world/topic/131359-reported-controls-indicator-rctrl-enter-not-working/?do=findComment&comment=2769200

 

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...