This can be considered a somewhat experimental mod at this point, but I decided to throw a link to it to get some feedback after giving it a quick test myself. Just keep in mind that I am in no way responsible if your 5-start organically-trained pilot glitches into geometry and gets jetisoned through an inactive gate and into the depths of sector that will come out in a DLC fives years from now.
https://github.com/azaghal/x4-immediate-control
So... I got fed up with all the walking, particularly early game when I really just want to fly with my HOTAS, and this is the result. Big kudos go to Kuertee and his accessibility and NPC reactions mods - it really gave me a good idea on what I can do with the exposed scripting engine. The mod lets you instantly take over control by invoking the dock input control from within the ship, puts you automatically into the pilot seat of last controlled ship, puts you automatically into the pilot seat of an uncontrolled ship (without an assigned pilot), and also lets you easily jump in and out of the spacesuit.
I do some unsavoury things in the mod, like the logic on whether to show space suit button basically depends on whether the transfer wares button is available or not, but it's a start at least.
Oh, one big catch - it is not possible to take over control of capital ships, so the thing I did there was to have the pilots bugger off and I move the player in front of the ship console with camera pointing slightly downwards.
Take immediate control of ship (new "experimental" mod)
Moderators: Scripting / Modding Moderators, Moderators for English X Forum
-
azaghal
- Posts: 438
- Joined: Wed, 21. Mar 07, 13:19

-
azaghal
- Posts: 438
- Joined: Wed, 21. Mar 07, 13:19

Re: Take immediate control of ship (new "experimental" mod)
After putting it through some paces, the mechanism has worked out pretty well so far, but I did discover at least one (frightening?) issue: it has happened to me at least twice so far that my player entity ends up in some kind of levitation mode where no interaction is possible when on foot. You can teleport to different stations etc, but it won't fix the issue. Luckily... A save/load cycle fixes it. Just giving some heads up. 
As a side-note to the rest of experience... Pretty good so far. I am more in the management part of the game now, so it is more of mouse and keyboard operations, but I still enjoy not having to wrestle with the NPCs over my Moreya's controls. I did notice that I would probably prefer having a way to declare some ships as favourites instead of just keeping track of last-used ship, though, so maybe something I will get around to implementing at a later stage.
As a side-note to the rest of experience... Pretty good so far. I am more in the management part of the game now, so it is more of mouse and keyboard operations, but I still enjoy not having to wrestle with the NPCs over my Moreya's controls. I did notice that I would probably prefer having a way to declare some ships as favourites instead of just keeping track of last-used ship, though, so maybe something I will get around to implementing at a later stage.
