Jump to content

Gunsight circle too large


Go to solution Solved by Doughguy,

Recommended Posts

Posted

(August 2022 trial period)

I never saw the circle of the gunsight. Didn't bind any analogue input. Only bound the range setting keys but it didn't help (gyro on/off also no influence)
Maybe this is a known setting issue or some wrong settings in a .lua file but I didn't find this issue in a bug report.

Screen_220816_235200.png

  • Solution
Posted

The size of the ring is determined by the set wingspan which is dialed in by the rotary knob just under the sight unit and the distance to target setting which in turn is set by the twisthandle on the throttlegrip.

Eventually have a look if youve adjusted both or have conflicting inputs. 

I use my hotas controlls but can do mouse inputs w/o problems.

Posted

Joystick:

default.lua:

--GunSight EZ42
{combos = {{key = 'M'}},                                down = device_commands.Button_14, cockpit_device_id  = devices.EZ42_GUNSIGHT, value_down = 1.0,   name = _('EZ42 Gunsight Gyro Power Switch'), category = _('EZ42 Gunsight')},
{combos = {{key = 'M', reformers = {'LCtrl','LWin'}}},  down = device_commands.Button_1, cockpit_device_id = devices.EZ42_GUNSIGHT, value_down = 1.0, name = _('EZ42 Gunsight Gyro Power Switch - On'), category = _('EZ42 Gunsight')},
{combos = {{key = 'M', reformers = {'LShift','LWin'}}}, down = device_commands.Button_1, cockpit_device_id = devices.EZ42_GUNSIGHT, value_down = 0.0, name = _('EZ42 Gunsight Gyro Power Switch - Off'), category = _('EZ42 Gunsight')},

{combos = {{key = 'N'}},                                down = device_commands.Button_15, cockpit_device_id  = devices.EZ42_GUNSIGHT, value_down = 1.0,   name = _('EZ42 Gunsight Night Lens Filter'), category = _('EZ42 Gunsight')},
{combos = {{key = 'N', reformers = {'LCtrl','LWin'}}},  down = device_commands.Button_11, cockpit_device_id = devices.EZ42_GUNSIGHT, value_down = 1.0, name = _('EZ42 Gunsight Night Lens Filter - On'), category = _('EZ42 Gunsight')},
{combos = {{key = 'N', reformers = {'LShift','LWin'}}}, down = device_commands.Button_11, cockpit_device_id = devices.EZ42_GUNSIGHT, value_down = 0.0, name = _('EZ42 Gunsight Night Lens Filter - Off'), category = _('EZ42 Gunsight')},

{combos = {{key = 'O', reformers = {'RCtrl'}}},             pressed = device_commands.Button_6, cockpit_device_id  = devices.EZ42_GUNSIGHT, value_pressed = -1.0,    name = _('EZ42 Gunsight Brightness Control - CCW/Increase'), category = _('EZ42 Gunsight')},
{combos = {{key = 'O', reformers = {'RAlt'}}},              pressed = device_commands.Button_6, cockpit_device_id  = devices.EZ42_GUNSIGHT, value_pressed = 1.0,     name = _('EZ42 Gunsight Brightness Control - CW/Decrease'), category = _('EZ42 Gunsight')},
{combos = {{key = ','}},                                    pressed = device_commands.Button_10, cockpit_device_id  = devices.EZ42_GUNSIGHT, value_pressed = 0.5,   name = _('EZ42 Gunsight Target Wingspan Knob - CW/Increase'), category = _('EZ42 Gunsight')},
{combos = {{key = '/'}},                                    pressed = device_commands.Button_10, cockpit_device_id  = devices.EZ42_GUNSIGHT, value_pressed = -0.5,   name = _('EZ42 Gunsight Target Wingspan Knob - CCW/Decrease'), category = _('EZ42 Gunsight')},
{combos = {{key = ';'}},                                    pressed = device_commands.Button_16, cockpit_device_id  = devices.EZ42_GUNSIGHT, value_pressed = 0.14,   name = _('EZ42 Gunsight Target Distance Control (Throttle Twist Grip) - CW/Increase'), category = _('EZ42 Gunsight')},
{combos = {{key = '.'}},                                    pressed = device_commands.Button_16, cockpit_device_id  = devices.EZ42_GUNSIGHT, value_pressed = -0.14,  name = _('EZ42 Gunsight Target Distance Control (Throttle Twist Grip) - CCW/Decrease'), category = _('EZ42 Gunsight')},
{pressed = device_commands.Button_18, cockpit_device_id  = devices.EZ42_GUNSIGHT, value_pressed = 0.2,   name = _('EZ42 Gunsight Altitude Aiming Correction Adjusting Knob I - CW/Increase'), category = _('EZ42 Gunsight')},
{pressed = device_commands.Button_18, cockpit_device_id  = devices.EZ42_GUNSIGHT, value_pressed = -0.2,  name = _('EZ42 Gunsight Altitude Aiming Correction Adjusting Knob I - CCW/Decrease'), category = _('EZ42 Gunsight')},

 

Joystick - HOTAS Warthog.diff.lua:
Added gunsight controls to joystick buttons.

		["dnilp3010unilcd21vdnilvp-0.5vunil"] = {
			["added"] = {
				[1] = {
					["key"] = "JOY_BTN13",
				},
			},
			["name"] = "EZ42 Gunsight Target Wingspan Knob - CCW/Decrease",
		},
		["dnilp3010unilcd21vdnilvp0.5vunil"] = {
			["added"] = {
				[1] = {
					["key"] = "JOY_BTN11",
				},
			},
			["name"] = "EZ42 Gunsight Target Wingspan Knob - CW/Increase",
		},
		["dnilp3016unilcd21vdnilvp-0.14vunil"] = {
			["added"] = {
				[1] = {
					["key"] = "JOY_BTN14",
				},
			},
			["name"] = "EZ42 Gunsight Target Distance Control (Throttle Twist Grip) - CCW/Decrease",
		},
		["dnilp3016unilcd21vdnilvp0.14vunil"] = {
			["added"] = {
				[1] = {
					["key"] = "JOY_BTN12",
				},
			},
			["name"] = "EZ42 Gunsight Target Distance Control (Throttle Twist Grip) - CW/Increase",
		},

No gunsight-related settings on the throttle.

I tried those joystick buttons but no success.

Will take a closer look to this in the next trial 😉

What I noticed when looking into default.lua are the clock settings are obviously taken from the 109, but this may be ok (scroll right to see the names):

--Clock
{combos = {{key = 'W', reformers = {'RShift'}}}, 		down = device_commands.Button_8, up = device_commands.Button_8, cockpit_device_id = devices.CLOCK, value_down = 1.0, value_up = 0.0, name = _('Input.Bf109K4.clock_stopwatch'), category = _('Clock')},

{combos = {{key = 'W', reformers = {'RAlt'}}}, 			down = device_commands.Button_6, cockpit_device_id = devices.CLOCK, value_down = 1.0, name = _('Input.Bf109K4.clock_stop_1'), category = _('Clock')},
{combos = {{key = 'W', reformers = {'RCtrl'}}}, 		down = device_commands.Button_6, cockpit_device_id = devices.CLOCK, value_down = 0.0, name = _('Input.Bf109K4.clock_stop_0'), category = _('Clock')},
{                                                       down = device_commands.Button_7, cockpit_device_id = devices.CLOCK, value_down = 1.0, name = _('Input.Bf109K4.clock_stop'), category = _('Clock')},

{combos = {{key = 'W', reformers = {'RAlt','RCtrl'}}}, 	pressed = device_commands.Button_2, cockpit_device_id = devices.CLOCK, value_pressed = 1.0, name = _('Input.Bf109K4.clock_scale_plus'), category = _('Clock')},
{combos = {{key = 'W', reformers = {'RAlt','RShift'}}}, pressed = device_commands.Button_2, cockpit_device_id = devices.CLOCK, value_pressed = -1.0, name = _('Input.Bf109K4.clock_scale_minus'), category = _('Clock')},

{                                                       pressed = device_commands.Button_5, cockpit_device_id = devices.CLOCK, value_pressed = -1.0, name = _('Input.Bf109K4.clock_pinion_minus'), category = _('Clock')},
{                                                       pressed = device_commands.Button_5, cockpit_device_id = devices.CLOCK, value_pressed = 1.0, name = _('Input.Bf109K4.clock_pinion_plus'), category = _('Clock')},

},
}

 

  • Recently Browsing   0 members

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