bojangles_25 Posted June 29, 2013 Posted June 29, 2013 I've never figured out how this works.. see the attached image.. Using the TM Warthog Boat Switch as an example, forward position is button 9, aft is button 10. The centre position isn't a button, and therefore can't be assigned to anything The DCS A10 behaves exactly as it should, straight out of the box. However, the Huey landing light has 3 assignable controls: Retract Extend Stop 'Stop' is an assignable.. I need to assign something to it in order to be able to make the landing light stop moving. How do I get: Retract = Boat Switch aft Extend = Boat Switch forward Stop = Boat Switch centre I really don't like the idea of installing TARGET.. I've lived without it up to now "We could come back with hydraulics shot out, half the tail shot off, piece of the wing shot off, we had two engines and could come home with one... She really was a piece of machinery that you could fly into hell and back... And she was designed around that gun from day 1"
npole Posted June 29, 2013 Posted June 29, 2013 Yes, it's possible but by editing the controller lua file (you can't do it by using the GUI from within the game). You can assign the "pressed" position and the "up" position to any control, i'm using a random one as an example with invented names (you may find the ones you need in your lua file): {combos = {{key = "JOY_BTN9"}, }, down = iCommand_ExtendtLights, up = iCommand_StopLights, name = "Lights", category = "Lights"}, {combos = {{key = "JOY_BTN10"}, }, down = iCommand_RetractLights, up = iCommand_StopLights, name = "Lights", category = "Lights"}, The above activate the command "iCommand_ExtendtLights" when the boat switch is fwd, and "iCommand_RetractLights" when it's back, while it will stop the light when it's in the center. Again: iCommand_RetractLights etc. are invented, find the correct ones. ;)
Red Yeti Posted June 29, 2013 Posted June 29, 2013 (edited) C:\Users\YOURNAME\Saved Games\DCS\Config\Input\UH-1H\joystick\Throttle - HOTAS Warthog {xxxx-xxxx-xxxx-xxxx-xxxx}.lua Edit the Line 272 & 274 like this: {combos = {{key = "JOY_BTN22"}, }, down = 3007, up = 3007, cockpit_device_id = 7, value_down = 1, value_up = 0, name = "Landing light Extend", category = "Ins Collective Stick"}, {down = 3012, cockpit_device_id = 7, value_down = 1, name = "Landing light On/Off", category = "Ins Collective Stick"}, {combos = {{key = "JOY_BTN23"}, }, down = 3007, up = 3007, cockpit_device_id = 7, value_down = -1, value_up = 0, name = "Landing light Retract", category = "Ins Collective Stick"}, Edited June 29, 2013 by Red Yeti
Recommended Posts