X4: Foundations

X4: Foundations

45 ratings
SirNukes Hotkey Collection
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
28.913 KB
Mar 31, 2020 @ 5:24pm
Mar 23, 2021 @ 11:06pm
11 Change Notes ( view )

Subscribe to download
SirNukes Hotkey Collection

Description
Adds a variety of new hotkeys.

Requires a running named pipe server (part of the mod support APIs). See that api for details on obtaining the host program, and how hotkey capture works.
46 Comments
Omega Jul 19, 2023 @ 12:22pm 
Ill delete this if asked. But I fixed the zoom by making it a toggle per zoom level and making the levels 1/2/5.

{LINK REMOVED}

A core issue was that the zoom level of 4 was resulting in a fov of 0.25, which was then rounded to 0.2 or 0.3. Somehow how that resulted in the return/original zoom not being 1.
Darth Ginger May 30, 2023 @ 11:15am 
any potential to see a hotkey for "claim" on abandoned ships? I have been trying to figure it out myself but brain no worky at the moment with 2 small kids
Godis May 14, 2023 @ 3:30pm 
To avoid confusion: This works totally fine on every version of the game!
If it doesn't for you, for example make sure to add the server eexe to your security software's whitelist, so it's not blocked or affected by some sort of auto-containment. Also sometimes you need to run it as admin. Check the extension options -> Named Pipes API to see if it works.
Waterborne Apr 22, 2023 @ 9:52am 
Any alternatives?
SCARRIOR Mar 28, 2023 @ 8:30pm 
This mod does not work unfortunately. It seems like it's use would be very well deserved in my game
SirNukes  [author] Sep 20, 2022 @ 11:41pm 
Yes, it is safe to remove this mod.
PapaTango Sep 15, 2022 @ 6:14am 
Saved me a lot of time for the Yaki Amplifier mission, which I completed with the Laser Tower tactic, thank you for this.

2 things though:
- Is it safe to remove during playthrough?
- I believe there is a way to have the Py server launched when the game starts, possibly with some arguments in the Steam properties of the game, mind in giving the details in the description? (On the API's page that is, here is a technique, https://www.reddit.com/r/Steam/comments/enrddy/is_there_any_way_to_launch_another_program/)

Cheers!
Insigar Kayen Jul 11, 2021 @ 9:22am 
Ok, had the random idea of creating a new local user and testing it there. And for some reason it works perfectly. Don't know what happened, don't know how I messed up the previous user account but it definitely wasn't the pipe server's fault. Thanks for your time and sorry for causing the problem in the first place :D
SirNukes  [author] Jul 10, 2021 @ 10:21pm 
If the pipe connected but keys dont work, try running the pipe server as admin. If X4 is running as an elevated process for you, and the pipe server is not elevated, then it won't be able to listen to X4 key presses (due to windows security stuff).
Insigar Kayen Jul 10, 2021 @ 4:58pm 
Just gonna put this here in case it helps. So in the Pipe.py if perms_set = False it connects to the client but the hotkeys don't work. If perms_set = True it doesn't connect.