Capt Zeen Posted August 20, 2015 Posted August 20, 2015 Hello all. Need some help. I am working in a MI-8 Helios profile, but there are a lot of switches on the cockpit, that don't have a key assigned or even they don.'t appear in the list in the option/control panel. I can get from the clickabledata.lua the information i need, for example: elements["PTR-CPE-TMB-PUMP-L"] = default_2_position_tumb(_("Left Engine Shutoff Valve"), devices.FUELSYS_INTERFACE, device_commands.Button_1,427) i read here you can add commands to the joystick default.lua. I am not at home, so i can't look for a keyboard/default.lua or something like that so... ...now my question: There is a way to assign a keyboard to a unlisted command, modifying any lua? Thanks a lot !! Capt_Zeen_HELIOS PROFILES_WEBSITE Capt_Zeen_Youtube Channel
predattak Posted August 20, 2015 Posted August 20, 2015 There is a way to assign a keyboard to a unlisted command, modifying any lua? Well i added a new button i needed for a mod that i have by modifying the keyboard.lua from C:\Users\USERNAME\Saved Games\DCS\Config\Input\YOUR AIRCRAFT\
sobe Posted August 20, 2015 Posted August 20, 2015 UPdate status What's the status of the SU-27? Are you going to redo any of your prior Helios profiles to update them per the Su27 level? Are you still intending to do a tutorial video for us computer challenged? Thanks for all of your great work. Trackir4 using the latest Trackir 5 software, Win10 Pro [Creator Update] updated from Win7Pro Pro 64Bit, Intel® Core™ i5-2500 3.30 GHz 6M Intel Smart Cache LGA115 , GigaByte GA-Z68XP-UD4 Intel Z68 Chipset DDR3 16GB Ram, GTX MSI Gaming 1060 [6 GB] Video Card, Main Monitor 1 on left 1920x1080 Touchscreen Monitor 2 on right 1920x1080 .
etcher Posted August 20, 2015 Posted August 20, 2015 Your work is amazing, Capt, thank you so much for your time :beer: A line from default.lua looks like this: {down = device_commands.Button_14, cockpit_device_id = devices.UV_26, value_down = -1.0, name = _('UV-26 Change dispensing board Left-Both'), category = _('Ins Countermeasures dispensers UV-26')}, Once you have the correct device_command and device ID, all you need to do is add the values. "Name" is the name you'll see in the DCS controls options, and "Category" refers to the dropdown menu of the same page. Both can be customized at will. You can also assign multiple values to the same DX button: (this example from Ka50) { down = 3002, up = 3002, cockpit_device_id = 50, value_down = 0.11, value_up = 0, name = "CUSTOM_NWAY: SPU-9 Radio communicator selector_value0.11", category = "CUSTOM_SPU_9"}, [sIGPIC][/sIGPIC]
Capt Zeen Posted August 21, 2015 Author Posted August 21, 2015 Hey ! Thanks Etcher and Predattak! you opened my mind! and it works ! Now i need to find free keys combinations to include all the unlisted switches. Allways more work ! Sobe, the su27 profile is ready for the 16:10 monitor configuration, now i need to convert it to the other resolutions before publish it. The art part is done, so i just need to find a little time to implement. And yes, i have plans to create new versions of the su25T and f15 ones, width all the additions and improvements. Again, thanks to all for your help. every day i learn something new. Capt_Zeen_HELIOS PROFILES_WEBSITE Capt_Zeen_Youtube Channel
xoxen Posted August 21, 2015 Posted August 21, 2015 (edited) I read this and had a quick idea. Don't know if it is stupid or not, maybe someone can answer this better than I can do. For the Warthog I need to use TARGET to use F12 and so on on buttons. Is it possible to insert a fake command line for the TIR into the joystick lua? Hope you understand what my goal is. Have it visible in dcs and assign a button to f12 to center TIR. Thanks and have a great weekend. Xoxen Edited August 21, 2015 by xoxen AMD Ryzen 7 5800X3D, MSI MPG X570 Gaming Plus, 64GB Crucial Ballistix DDR4-3600 CL16, Asus TUF Gaming RTX 4080 OC, Windows 11 64bit Home Premium, TrackIR 5 with TrackClip: Pro!, Virpil MongoosT-50CM3 Base + TM Warthog Stick + 7cm extension + WINWING Orion 2 with F-15EX grips, Cougar MFDs with 8" displays, Saitek Rudder Pedals, Samsung Odyssey G9 49" 5120x1440 @120 Hz
Recommended Posts