Is there a vanilla way to listen for keyboard presses or some other way to use hotkeys with our scripts?
I know there's a mod that relies on a third party program to achieve this but I don't want to mess around with it if I don't have to, and I'd rather not have the dependency.
Bindable Keys?
Moderators: Scripting / Modding Moderators, Moderators for English X Forum
-
- EGOSOFT
- Posts: 818
- Joined: Sun, 14. Dec 03, 13:05
Re: Bindable Keys?
There's no other way but with Sir Nuke's Mod Support APIs mod + his pipe server.
-
- Posts: 36
- Joined: Sun, 15. Jan 06, 06:43
Re: Bindable Keys?
I see, thanks for the quick reply.
-
- Posts: 2296
- Joined: Sat, 26. Feb 05, 01:47
Re: Bindable Keys?
its really not that difficult or hard to install, I had some reservation about it, but no wingman key commands was just too much, so I had mod support api anyway for other mods, got the pipe exe and another mod to add wingman commands
made a .bat script to start pipe.exe then x4.exe, but its the nosteam exe, everything is working perfectly and cant see me going back, if 6.0 version does not have this hotkeys I will be very
with all the other bindings that almost nobody uses how can it be justified to not have wingman commands that would be used by most
if you want some help setting it up pm me or something, maybe on discord is the best
made a .bat script to start pipe.exe then x4.exe, but its the nosteam exe, everything is working perfectly and cant see me going back, if 6.0 version does not have this hotkeys I will be very

with all the other bindings that almost nobody uses how can it be justified to not have wingman commands that would be used by most
if you want some help setting it up pm me or something, maybe on discord is the best
Fixed ships getting spawned away from ship configuration menu at resupply ships from automatically getting deployables.
-
- Posts: 573
- Joined: Wed, 4. Feb 04, 21:39
Re: Bindable Keys?
Hi, what exactly do you want to do with the hotkeys?
I have dealt with it very extensively, because I as a HOTAS player, who would prefer not to use the mouse at all, hotkeys are missing everywhere. Maybe there is already what you are looking for.
In "More Hotkeys - Advanced targeting" I completely reorganized the targeting - those who tried it actually found most of it quite an improvement over Vanilla. It's also finished and running smoothly, and it includes an improved "In Line of Sight" selection, which also really accurately selects what's right in the middle...
Then there is "More Hotkeys - Map and menus", with which you can jump directly to many menu items in the left or also directly right menu and switch filters on and off on the map. This is more or less finished, but it still has a few side effects, which I don't know if they are due to my MOD or to other places, that's why it's not published yet.
Also planned and already running at my house is "MORE HOTKEYS: EQUIPMENT AND MISC". There you have e.g. the teleport directly to the selected target or a scanner, with which you can enter an unknown target in the target into the database (which you can now select in TARGETING, even if it is very far away, even if it remains "unknown" - I always found it pointless that the highly sensitive scanner sees less than the eye). At some point, the "old" bargain finder and sales price finder should also be added, so that it's fun again to trade with your own ponderous trading ship at the beginning. Would work so that a corresponding trade becomes a task, at least I think so at the moment.
Well anyway. Am curious what you might have for new ideas for hotkeys
And @Buzz2005: Yes, I too am really starting to get angry that this simple function is not yet in the MOD commands, it can't be that hard!!!!
I like SirNUke's work and thank him - but because many don't dare to load a foreign EXE file (for understandable reasons), hotkeys mods are hardly used
Yet they make the X4 life so much nicer...
Greetings Trajan von Olb
Translated with www.DeepL.com/Translator (free version)
I have dealt with it very extensively, because I as a HOTAS player, who would prefer not to use the mouse at all, hotkeys are missing everywhere. Maybe there is already what you are looking for.
In "More Hotkeys - Advanced targeting" I completely reorganized the targeting - those who tried it actually found most of it quite an improvement over Vanilla. It's also finished and running smoothly, and it includes an improved "In Line of Sight" selection, which also really accurately selects what's right in the middle...
Then there is "More Hotkeys - Map and menus", with which you can jump directly to many menu items in the left or also directly right menu and switch filters on and off on the map. This is more or less finished, but it still has a few side effects, which I don't know if they are due to my MOD or to other places, that's why it's not published yet.
Also planned and already running at my house is "MORE HOTKEYS: EQUIPMENT AND MISC". There you have e.g. the teleport directly to the selected target or a scanner, with which you can enter an unknown target in the target into the database (which you can now select in TARGETING, even if it is very far away, even if it remains "unknown" - I always found it pointless that the highly sensitive scanner sees less than the eye). At some point, the "old" bargain finder and sales price finder should also be added, so that it's fun again to trade with your own ponderous trading ship at the beginning. Would work so that a corresponding trade becomes a task, at least I think so at the moment.
Well anyway. Am curious what you might have for new ideas for hotkeys

And @Buzz2005: Yes, I too am really starting to get angry that this simple function is not yet in the MOD commands, it can't be that hard!!!!


Greetings Trajan von Olb
Translated with www.DeepL.com/Translator (free version)
Mein Traum vom Glück ist der Traum von einer anderen Menschheit. (S. Lem)