Jump to content

Recommended Posts

Posted (edited)

Hello guys,

 

how can I assign a keycommand/shortcut for a button which is not included in the options?

 

I have the problem that I cant assign keys to:

 

Emergency Jettison External Stores

Aerial Refueling Slipway Control Lever

 

Is that possible to edit a specific lua file and give a keybinding to it? Someone around here who knows how to do this?

 

Next question:

 

Is it possible to assign special keybindings for UHF, VHF AM, VHF FM? I dont know which one in the settings do I need to set to open the correct radio menu?!

 

PS: I use a selfmade DCS Panel with switches that simulate keypresses :)

Edited by BongPow3r

Posted

Delete the relevant aircraft folder in your "Saved Games\DCS\Config\Input" directory and and try re-assigning the controls in-game.

i7 7700K | 32GB RAM | GTX 1080Ti | Rift CV1 | TM Warthog | Win 10

 

"There will always be people with a false sense of entitlement.

You can want it, you can ask for it, but you don't automatically deserve it. "

Posted

You ever see if Helios will recognize your switches? If it does then you can do what you want just using Helios. http://www.gadrocsworkshop.com/

Airdog

| Asus ROG Strix Z370-E Mobo | i7 8700K @ 4.7 | 32 GB DDR4@3200mhz | Gigabyte 2080Ti OC 11GB| Samsung M.2 960 Evo 250Gb and 500Gb | Win10 Pro | Hotas Warthog #02743 | Track IR 5 | Toshiba 47" 120hz LED | Acer 23" Touchscreen | HELIOS |Oculus Rift-S|

 

http://www.blackknightssquadron.com/

Posted

:doh:

 

Guys, I think u dont know what I want :lol::lol::lol:.

 

I've built my own dcs panel with real switches. These switches working with keybindings, this means If I toggle my switch to the upper position It simulates a keybinding in windows, and can be used in DCS.

 

I've all set my switches/keybindings, but I dont find these

 

Emergency Jettison External Stores

Aerial Refueling Slipway Control Lever

 

in the options to assign them with a button/keybinding. How would it be possible to give them a keybinding, cuz It is not included in the optionspage ?

 

Hopefully u know now what I mean :huh::huh::huh:

Posted

I know exactly what you want.

You have not taken the time to even look at Helios or even hawgtouch have you? It is very possible that it will work for you. Its free to download and try..then donationware if you continue to use it.

How about some details about your button panel? What kind of output card are you using for it? Is it homemade, Bodnar, G-wiz???

 

Like you said these items are not available options in the keybindings page but there are other ways to get the functionality that you are looking for.

Helios and Hawgtouch are ways to get what you want.

Other ways are to learn Lua scripting yourself.

All the info you need about buttons and switch functions are in the clickabledata.lua file which can be found in the scripts folder of the aircraft you are wanting to script for.

Below is the device data for your 2 functions. Using that info below you can use .lua scripting to make the switch function as you desire.

If you cant do that your options fall into using Helios or hawgtouch.

 

-- Emergency Jettison Button
elements["PTR-EXT-STORES-JETT"]  = default_button(_("Emergency Jettison External Stores"),devices.IFFCC,device_commands.Button_1,101)

 

 = {class = {class_type.TUMB,class_type.TUMB}, hint  = _("Aerial Refueling Slipway Control Lever") , device = devices.FUEL_SYSTEM, action = {device_commands.Button_16,device_commands.Button_16},arg = {121,121}, arg_value = {1,-1}, arg_lim = {{0,1},{0,1}},updatable = true, gain = {0.1,0.1},animated = {true,true},animation_speed = {5.0,-5.0},cycle = true}
--Fuel Quantity Indicator and Selector

Airdog

| Asus ROG Strix Z370-E Mobo | i7 8700K @ 4.7 | 32 GB DDR4@3200mhz | Gigabyte 2080Ti OC 11GB| Samsung M.2 960 Evo 250Gb and 500Gb | Win10 Pro | Hotas Warthog #02743 | Track IR 5 | Toshiba 47" 120hz LED | Acer 23" Touchscreen | HELIOS |Oculus Rift-S|

 

http://www.blackknightssquadron.com/

Posted

Well I dont know how to do that correctly. I just want it like If I press the Keys

 

Alt + 1 Keybinding for der External Stores and Alt + 2 for the Control Lever to open and Alt + 3 to close it.

 

U know how to do that? I never scripted before :S

Posted

Why are you ignoring the other questions and suggetions I made?

Why can't you try the easy route first (Helios or Hawgtouch) where people smarter than you and I have already done all the scripting/coding and put it into an easy user interface?

You ask if can I do the scripting for you....nope. I've never taken the time to learn it because there are easier ways to do what you want on the back of others hard work. (though I did make a rather hefty donation for Helios)

You have to accept the fact that what you want will not be done in the DCS control options page and that an alternate plan is the only way for it to work. There are many threads in these forums that can help you along but i'll concede that it is a tough search.

My suggetion at this point is for you to put the bong down and do some work yourself and not expect us to hand feed it all to you. I/We have made suggetions try them please.

Airdog

| Asus ROG Strix Z370-E Mobo | i7 8700K @ 4.7 | 32 GB DDR4@3200mhz | Gigabyte 2080Ti OC 11GB| Samsung M.2 960 Evo 250Gb and 500Gb | Win10 Pro | Hotas Warthog #02743 | Track IR 5 | Toshiba 47" 120hz LED | Acer 23" Touchscreen | HELIOS |Oculus Rift-S|

 

http://www.blackknightssquadron.com/

Posted (edited)

Not sure about slipaway (what is that?) But Emergency store jet Is there in the list. Otherwise my red button is just magically got mapped all by itself..

 

EDIT:

"Jettison Weapons" is the entry you will be looking for. default shortcut LCtrl+W.

chances are that the other one is the re on Fuel panel.

 

 

and i as well would highly advise to take advantage of helios capabilities. much much more comfortable way to map toggles.

up to you

Edited by agrasyuk

Anton.

 

My pit build thread .

Simple and cheap UFC project

Posted

I dont know why I should use helios when I've built a panel with real switches?(check my signature - thats my old panel) I'm using 2 arcaze cards to simulate the keycommands.

 

Aerial Refueling Slipway Control Lever is the cover on the nose of the a10 and u need to open it first for air refueling. Thanks now I only need to find a solution for this and can bind it :)

Posted

OK, the second command you looking for is definetly in the fuel system tab then.

 

My setup at the moment is interfaced with total of 5 joystick cards. These don't generate keystrokes (aside of one exception) . Instead of Mapping them all in game and then manually modifying the input file for to act on key up commands I just used Helios - single profile that handles them all. In your case you will not need to assign key values to actions either (that slip away has no default key assigned IIRC).

 

Cool panel. How did you realize the LED indicators?

Anton.

 

My pit build thread .

Simple and cheap UFC project

Posted

With the arcaze cards u can use switches and leds. U can program the arcaze card to enable the led or turn it off If u toggle a programed switch. The panel is my older one, I have built already my new ones. I will upload it later or tomorrow. :)

Posted
I dont know why I should use helios when I've built a panel with real switches?(check my signature - thats my old panel) I'm using 2 arcaze cards to simulate the keycommands.

 

You still dont get it. Take the time to see what Helios can do because at this point your clueless and too pigheaded to even take the help from people that are giving it to you when you ask.

 

You can use helios to control your panel and get all the switches to do exactly what you want. Helios is more than just a touchscreen program that runs virtual panels. It will run all your REAL switch panels also!!! You add your card to the helios profile you create, ...each one of your switches will show up in the interface, you then bind all your switches to do what function you want.

Hell you can use it just for those 2 switches only and let DCS control the others if you want. The only extra step you will add to your gaming is to fire up helios and run your profile before you start A10C. Helios will run in the background ...in your setup you will never see it.

Airdog

| Asus ROG Strix Z370-E Mobo | i7 8700K @ 4.7 | 32 GB DDR4@3200mhz | Gigabyte 2080Ti OC 11GB| Samsung M.2 960 Evo 250Gb and 500Gb | Win10 Pro | Hotas Warthog #02743 | Track IR 5 | Toshiba 47" 120hz LED | Acer 23" Touchscreen | HELIOS |Oculus Rift-S|

 

http://www.blackknightssquadron.com/

Posted

 

-- Emergency Jettison Button
elements["PTR-EXT-STORES-JETT"]  = default_button(_("Emergency Jettison External Stores"),devices.IFFCC,device_commands.Button_1,101)

 

 = {class = {class_type.TUMB,class_type.TUMB}, hint  = _("Aerial Refueling Slipway Control Lever") , device = devices.FUEL_SYSTEM, action = {device_commands.Button_16,device_commands.Button_16},arg = {121,121}, arg_value = {1,-1}, arg_lim = {{0,1},{0,1}},updatable = true, gain = {0.1,0.1},animated = {true,true},animation_speed = {5.0,-5.0},cycle = true}
--Fuel Quantity Indicator and Selector

 

Im pretty sure you can use this code.

If you add the right place like I added Axis commands

 

right, I have found out the if you add:

 

axisCommands = {

{action = iCommandPlaneSelecterHorizontalAbs, name = "Rotate Turret"},

{action = iCommandPlaneSelecterVerticalAbs, name = "Turret Elevation"},

{combos = {{key = "JOY_RZ"}, }, action = iCommandPlaneRudder, name = "Rudder"},

},

}

 

to [user]\Saved Games\DCS\Config\Input\ground_unit\joystick - I added it to my rudder peddels file.

 

then you can use an axis to control left right movement of ground vehicles and even set-up deadzones and curves in the axis options.

 

I'm off to figure out how to work the accelerator!

Mods I use: KA-50 JTAC - Better Fire and Smoke - Unchain Rudder from trim KA50 - Sim FFB for G940 - Beczl Rocket Pods Updated!

Processor: Intel Q6600 @ 3.00GHz

GPU: GeForce MSI RTX 2060 6GB

RAM: Crucial 8GB DDR2

HDD: 1TBGB Crucial SSD

OS: Windows 10, 64-bit

Peripherals: Logitech G940 Hotas, TrackiR 5, Voice Activated commands , Sharkoon 5.1 headset. ,Touch Control for iPad, JoyToKey

  • 1 month later...
Posted
You still dont get it. Take the time to see what Helios can do because at this point your clueless and too pigheaded to even take the help from people that are giving it to you when you ask.

 

You can use helios to control your panel and get all the switches to do exactly what you want. Helios is more than just a touchscreen program that runs virtual panels. It will run all your REAL switch panels also!!! You add your card to the helios profile you create, ...each one of your switches will show up in the interface, you then bind all your switches to do what function you want.

Hell you can use it just for those 2 switches only and let DCS control the others if you want. The only extra step you will add to your gaming is to fire up helios and run your profile before you start A10C. Helios will run in the background ...in your setup you will never see it.

 

The Arcaze board (http://wiki.simple-solutions.de/en/products/Arcaze/Arcaze-USB) is to be used for keyboard input, i use it for my Su27 panel too.

There is a lua programming for this board, but i don't know if it is supported by Helios.

i am a total noob on programming, is Helios only for DCS Blackshark and A10 or wil it support Su27

inputs too?

 

Thanks in advance.

 

Wasserfall

Intel Core i5-9600K, Gigabyte Z390 AORUS PRO, 16GB Corsair Vengeance RGB Pro, Gigabyte GeForce RTX 2080 WINDFORCE 8G

Posted

You can have any command that is in keyboard list to any controller. If specific controller doesn't have some command all you have to do it slick in column of that controller on any command, then click on Clear Category... after doing this all keyboard command will be listed as assignable to this controller, after doing this, assign your switches as you please.

PC specs:

Windows 11 Home | Asus TUF Gaming B850-Plus WiFi | AMD Ryzen 7 9800X3D + LC 360 AIO | MSI RTX 5090 LC 360 AIO | 55" Samsung Odyssey Gen 2 | 64GB PC5-48000 DDR5 | 1TB M2 SSD for OS | 2TB M2 SSD for DCS | NZXT C1000 Gold ATX 3.1 1000W | TM Cougar Throttle, Floor Mounted MongoosT-50 Grip on TM Cougar board, MFG Crosswind, Track IR

Posted

airdog, he doesn't want to use other software to be able to assign switch to command, and he doesn't have to (see my post above)

PC specs:

Windows 11 Home | Asus TUF Gaming B850-Plus WiFi | AMD Ryzen 7 9800X3D + LC 360 AIO | MSI RTX 5090 LC 360 AIO | 55" Samsung Odyssey Gen 2 | 64GB PC5-48000 DDR5 | 1TB M2 SSD for OS | 2TB M2 SSD for DCS | NZXT C1000 Gold ATX 3.1 1000W | TM Cougar Throttle, Floor Mounted MongoosT-50 Grip on TM Cougar board, MFG Crosswind, Track IR

Posted
I dont know why I should use helios when I've built a panel with real switches?(

 

*IF* the two wanted bindings are not available to "click" under options and you are (like me) not able to lua-script than helios is a way to bind them .. therefor you should use helios.

*IF* you are able to add the 2 commands to the .lua and you can do so, you do not need helios.

 

It´s quite easy for my understanding. No one will force you to use helios, but this seems to be the easiest way to bind your 2 missing commands to your controller.

 

Maybe someone would be so nice and write the .lua for you ...

  • Recently Browsing   0 members

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