Jump to content

Recommended Posts

Posted

I am designing a mechanical switch for the weapon selector on the F-14 stick. Before I spend money on the materials to build it I was wondering if it would be possible to program that when I go to a certain switch position that it'll go to that position in the game. I know how to do it with ON-OFF switches but not sure about a 5 position switch. Thanks

DCS A10C / DCS Black Shark /DCS F-14/Persian Gulf map/ Nevada/huey/gazelle/f18/f16/ajs37/harrier/A-4

16gb 2400 RAM / Ryzen 5 3600 / ROG Strix RX 570 /750W thermaltake PSU

 

[sIGPIC][/sIGPIC]

Posted

You don't actually need a 5 way switch but a 4way+1.

Then you just have to bind each position of the switch to a DX button, so you'll end with something like

position 1 : Joystick 1 = SAFE

position 2 : Joystick 2 = Guns

position 3 : Joystick 3 = Sidewinder

position 4 : Joystick 4 = Sparrow/Phoenix.

 

{ down=device_commands.STICK_Weapon_Selector,         cockpit_device_id=devices.WEAPONS, value_down=-1.0,    name=_('Weapon Selector Off'),     category=_('Stick')},
{ down=device_commands.STICK_Weapon_Selector,         cockpit_device_id=devices.WEAPONS, value_down=1.0,     name=_('Weapon Selector Gun'),     category=_('Stick')},
{ down=device_commands.STICK_Weapon_Selector,         cockpit_device_id=devices.WEAPONS, value_down=-0.5,     name=_('Weapon Selector Sidewinder Missiles'),     category=_('Stick')},
{ down=device_commands.STICK_Weapon_Selector,         cockpit_device_id=devices.WEAPONS, value_down=0.5,     name=_('Weapon Selector Sparrow or Phoenix Missiles'),     category=_('Stick')},

 

 

Unfortunately, the same value is used for both sparrows and phoenix, so you'll have to use another switch (momentary, normally closed) in series with the 4th position to break the contact and alternate between aim-7/-54.

Intel 9900KF @ 5.1GHz / RTX 2080S OC @ 1.93GHz / ASUS Prime Z390-A / 2x16Gb DDR4 @ 3333 CL16 / Corsair TX850M / Samsung NVME 970 EVO+ / TM warthog Thr. / VKB Gunfighter mkIII + MCG / MFG Crosswind mk3 / Valve Index

  • Recently Browsing   0 members

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