Ebs Posted March 5, 2013 Posted March 5, 2013 Did a bit of poking around in the controls configs and came upon some 'combo' commands. It pi...annoyed me a little bit ;) that one had to map the gun select and gun fire to separate commands, until I figured out that the game would do it for me! This allows you to map your first-stage trigger (X52/Warthog etc.) to Gun-Select (flipped up trigger cover)while held...second stage trigger fires. think of it like PAC1 and PAC2 in the A-10... go into \Saved Games\DCS\Config\Input\ka-50\joystick and open your joystick Lua in Notepad++ or whatever...Add the following line.... {combos = {{key = ""}, }, down = iCommandPlaneModeCannon, up = iCommandPlaneModeCannon, name = "Gun Select Dual", category = "Ins Cyclic Stick"}, save it, then go into the control options and map it to your first stage trigger. obviously map the second stage trigger to gun fire. e.g. here's the first part of my lua. What I added is in red... function layout() return { forceFeedback = { trimmer = 1, shake = 0.5, swapAxes = false, invertX = false, invertY = false, }, keyCommands = { [color="Red"][b]{combos = {{key = ""}, }, down = iCommandPlaneModeCannon, up = iCommandPlaneModeCannon, name = "Gun Select Dual", category = "Ins Cyclic Stick"},[/b][/color] {pressed = iCommandPlane_ABRIS_Axis_Decrease, name = "ABRIS Axis Decrease", category = "Ins ABRIS AMMS"}, {pressed = iCommandPlane_ABRIS_Axis_Increase, name = "ABRIS Axis Increase", category = "Ins ABRIS AMMS"}, Check out my guide to JSGME for DCS World.
rrohde Posted March 5, 2013 Posted March 5, 2013 Great idea, thank you. I will give it a whirl. PC: AMD Ryzen 9 5950X | MSI Suprim GeForce 3090 TI | ASUS Prime X570-P | 128GB DDR4 3600 RAM | 2TB Samsung 870 EVO SSD | Win10 Pro 64bit Gear: HP Reverb G2 | JetPad FSE | VKB Gunfighter Pro Mk.III w/ MCG Ultimate VKBcontrollers.com
zaelu Posted March 28, 2013 Posted March 28, 2013 Not that great idea... imho. And what if you don't fire? You have to keep pressing it while aiming the gun etc... Then if you get tired press it again cause if you hurry a second time you will accidentally deactivate the gun while trying to open fire... I mapped first trigger to gun fire and second to release weapon... you can't fire both in Ka50... simple. 1 [sIGPIC][/sIGPIC] I5 4670k, 32GB, GTX 1070, Thrustmaster TFRP, G940 Throttle extremely modded with Bodnar 0836X and Bu0836A, Warthog Joystick with F-18 grip, Oculus Rift S - Almost all is made from gifts from friends, the most expensive parts at least
Suchacz Posted March 28, 2013 Posted March 28, 2013 I mapped first trigger to gun fire and second to release weapon... you can't fire both in Ka50... simple. Wow, great idea! Per aspera ad astra! Crucial reading about DCS: Black Shark - Black Shark and Coaxial Rotor Aerodynamics, Black Shark and the Trimmer, Black Shark – Autopilot: Part 1, Black Shark – Autopilot: Part 2
cichlidfan Posted March 28, 2013 Posted March 28, 2013 Wow, great idea! Agreed. I like this. :thumbup: ASUS ROG Maximus VIII Hero, i7-6700K, Noctua NH-D14 Cooler, Crucial 32GB DDR4 2133, Samsung 950 Pro NVMe 256GB, Samsung EVO 250GB & 500GB SSD, 2TB Caviar Black, Zotac GTX 1080 AMP! Extreme 8GB, Corsair HX1000i, Phillips BDM4065UC 40" 4k monitor, VX2258 TouchScreen, TIR 5 w/ProClip, TM Warthog, VKB Gladiator Pro, Saitek X56, et. al., MFG Crosswind Pedals #1199, VolairSim Pit, Rift CV1 :thumbup:
Ebs Posted March 28, 2013 Author Posted March 28, 2013 Hey whatever works for you dude :) Check out my guide to JSGME for DCS World.
KLR Rico Posted March 28, 2013 Posted March 28, 2013 I mapped first trigger to gun fire and second to release weapon... That's how I roll too. I also use modifier and trigger to switch to gun mode. i5-4670K@4.5GHz / 16 GB RAM / SSD / GTX1080 Rift CV1 / G-seat / modded FFB HOTAS
Suchacz Posted March 28, 2013 Posted March 28, 2013 For a single stage trigger you can do also one little LUA trick: edit "...\DCS World\Mods\aircrafts\Ka-50\Cockpit\Scripts\Devices_specs\WeaponSystem.lua" change first line from use_single_trigger = false --true to use_single_trigger = true ...but every update will reverse it to default. Per aspera ad astra! Crucial reading about DCS: Black Shark - Black Shark and Coaxial Rotor Aerodynamics, Black Shark and the Trimmer, Black Shark – Autopilot: Part 1, Black Shark – Autopilot: Part 2
Ebs Posted March 28, 2013 Author Posted March 28, 2013 I'm pretty sure that just enables your trigger to fire the gun AND the missiles from one button. (not at the same time though, obviously) Check out my guide to JSGME for DCS World.
Suchacz Posted March 28, 2013 Posted March 28, 2013 (edited) I'm pretty sure that just enables your trigger to fire the gun AND the missiles from one button. (not at the same time though, obviously) Exactly. I had to describe it more precisely. With that you have both triggers (gun trigger and weapons release button) on one designated joy switch or on space bar. Edited March 29, 2013 by Suchacz Per aspera ad astra! Crucial reading about DCS: Black Shark - Black Shark and Coaxial Rotor Aerodynamics, Black Shark and the Trimmer, Black Shark – Autopilot: Part 1, Black Shark – Autopilot: Part 2
Recommended Posts