X4: Foundations

File information

Last updated

Original upload

Created by

kuertee

Uploaded by

kuertee

Virus scan

Safe to use

About this mod

(1) Navigation Computer: list of interactable objects in an accessible custom menu. Open with either the Interact Menu or its hot key. (2) Easy spacewalking. (3) Easy station walking. (4) Destroy mines command. (5) Repair command. (6) Easy mining.

Requirements
Permissions and credits
Changelogs
Accessibility features
(for the visually impaired)
https://www.nexusmods.com/x4foundations/mods/748
by kuertee

Updates
v6.1.002, 16 Jul 2023:
-Tweak: The Navigation Computer (NC) now takes up the fullscreen to limit OCRs only to the NC's content.
-Bug-fixed: Remove features that are not yet ready for use which I forgot to remove from the previous version.

v6.0.002, 18 Apr 2023:
-Bug-fix: Compatiblity bug-fix for 6.x of the base game.
-Tweak: The Navigation Computer is now available from the Interact Menu outside of ships and on stations. Note that the NC from the Interact Menu was only available for players controlling a ship. But the NC from the hotkey was available anytime.

Mod effects
(1) Navigation Computer: list of interactable objects in an accessible custom menu. Open with either the Interact Menu or its hot key.
(2) Easy spacewalking: From the Navigation Computer, select the Spacewalk command.
(3) Easy station walking: The Navigation Computer's Talk To command will teleport you to the NPC or start a video call with the NPC.
(4) Destroy mines: Select the mine from the Navigation Computer, then select the Destroy Mines command.
(5) Repair: Select the object from the Navigation Computer, then select the Repair command.
(6) Easy mining: minerals that are mineable after the asteroid breaks are moved near the player, removing the need to chase them.

Requirements
-SirNukes Mod Support APIs mod (https://www.nexusmods.com/x4foundations/mods/503) - for Lua Loader and Simple Menu Options
-Kuertee's UI Extensions mod (https://www.nexusmods.com/x4foundations/mods/552) - Modded Lua files with callbacks to allow more than one mod to change the same UI element.

Recommended mods
UI: Accept mission for later (https://www.nexusmods.com/x4foundations/mods/590): prevents the game from removing the Guidance Marker when the autopilot disengages.

Navigation Computer
Open this menu from the Interact Menu or by pressing its hot key.

To enable the hot key:
1. Download Sir Nuke's X4 Pipe Server from here: https://github.com/bvbohnen/x4-projects/releases
2. Install it in the same folder as the game.
3. Run it before running the game.
4. Set the hot key in Settings menu. It is listed (at the very bottom of the Control section) only after a game has started or is loaded.

Navigation Computer: Airlock and Undock Commands
These are always listed first in the Navigation Computer menu.
Only the appropriate commands are listed.
1. Undock.
2. Disembark At X. Only available if the ship is docked at a station or another ship.
3. Exit Airlock Of X. Used to start spacewalking.
4. Enter Airlock of X. X is the last ship you were in - if it's not docked at the station you are located.

Navigation Computer: Points of Interests
Lists mission targets, gates, signal leaks, unknown stations, mineable asteroids, asteroid fields, unknown ships.
Mineable asteroids are nearby asteroids that you can mine. These asteroids are never empty of minerals.
Asteroid fields are asteroids located elsewhere in the sector.

Navigation Computer: People
List people in that ship or station, whichever you're in.
This list is in decending order by the NPC's rating. All other lists are listed in ascending distance from the player.

Navigation Computer: Objects In Sector
Lists known/visited stations and ships within your ship's radar range.

Navigation Computer: Owned Stations / Owned Ships
List ships and stations that you own.
Select the Enter Airlock command to teleport to any of your ships and stations.

Navigation Computer: Missions
List ongoing missions and mission offers available in the sector.

Navigation Computer: Sectors In The Galaxy
List all known sectors in the Galaxy.

Mod Notes: Audio cues
After selecting a command from the Navigation Computer, audio cues play to signal: command in progress (every 2 seconds), command completed, command failed. The audio cue for failure is rare but it can occur. E.g.: when the docking request timesout at 30 secounds. And Some commands complete almost immediately, and the audio cue may be interrupted by another sound from the game.

Mod Notes: Talking to NPCs
Open the Navigation Computer.
Select the NPC.
Select the Talk To command.
If the NPC can be visited with the mod's "teleport" method, you will be teleported to the NPC before the conversation starts.
Otherwise, the NPC will contact you with a video call.
To talk to an NPC at a station, dock then disembark at the station.

Mod Notes: Hiring Or Transfering Employees
Use the Navigation Computer to talk to an NPC.
After selecting the appropriate topic from the base game's Conversation Menu, the Navigation Computer automatically opens.
Select the Location of the hire or transfer.
Then select the Role or Position.

Mod Notes: Hiring Missions
Hiring missions require you to transport the NPC to the station.
Hire an NPC as a Marine or as Service Crew into your ship.
Dock at the station.
Then transfer the NPC to the station.

Mod Notes: Missions
Missions have 3 states: active, ongoing, mission offers.
Only targets of the active mission are listed in the Navigation Computer.
All ongoing missions are listed.
Only mission offers that are available in the sector are listed.

Mod Notes: Spacewalking
Open the Navigation Computer.
Select the Exit To Spacewalk command.
Stop your spacesuit's momentum acquired from the airlock by tapping the Stop Engines key, usually the Backspace.
(I didn't find a method to stop this momentum programatically.
This momentum will cause you to float by your intended destination.)
Open the Navigation Computer.
Select an object.
Select the Spacewalk command.
The mod will "teleport" you to the object.

Mod Notes: Repairing
Spacewalk to the object.
Open the Navigation Computer.
Select the object.
Select the Repair command.

Mod Notes: Destroying Mines
Select the mission target from the Navigation Computer.
Autopilot to it.
The autopilot usually stops the ship dangerously inside the minefield. I suggest that you boost away (with the Tab key) for a second after the ship stops.
Select one of the mines from the Navigation Computer.
Select the Destroy Mine command.

Mod Notes: Signal leaks
Only signal leaks attached to nearby station or a nearby abandoned ship are listed.

Mod Notes: Decrypting signal leaks
Spacewalk to it.
Enable your spacesuit's scanners by tapping Shift-2.
Your spacesuit will start to decrypt the signal leak.
If the signal leak is a mission offer, tap the F key to converse with the mission giver when the decryption is complete.
If the signal leak is a data leak, it may provide you with a blueprint, a commission at the station or a discount at the station.

Mod Notes: Repairing signal leaks
There are missions to repair signal leaks.
Spacewalk to the signal leak.
But do not enable your spacesuit's scanner.
Instead, select the Repair command from the Navigation Computer.

Mod Notes: Mining
After the asteroid breaks, its minerals are "teleported" to the your vicinity.
Scoop them up with your tractor beam by holding down the O key.

Troubleshooting
If you think your stuck, use one of the Airlock Commands to reset your position in your ship or station.

Install
-Unzip to 'X4 Foundations/extensions/kuertee_accessibility_features/'.
-Make sure the sub-folders and files are in 'X4 Foundations/extensions/kuertee_accessibility_features/' and not in 'X4 Foundations/extensions/kuertee_accessibility_features/kuertee_accessibility_features/'.

Uninstall
-Delete the mod folder.

Credits
By kuertee.

History
v4.2.08, 18 Jan 2022:
-Bug-fix: Exiting and entering a ship's airlock was broken if the ship has no AI pilot.

v4.2.07, 17 Jan 2022:
-Bug-fix: Paginator: Page and Previous buttons were not shown properly. In this version, "Page X of Y" is shown. In the previous version, only the first page showed "Page 0" and only the last page had the Previous button.
-Tweak: "Stations In Sector", "Ships In Sector", "Unknown Stations" and "Unknown Ships" are listed in their separate categories.
-Tweak: Enemies are labelled.

v4.1.03, 18 Oct 2021:
-Bug-fix: The last version was broken. Unfortunately, I didn't know until it was reported on Nexus in the last few days. This version should get the last version working again.

v4.1.02, 25 Sep 2021:
-Bug fix: NVAccess OCR skipping the first letter of a line: Increased the left border to move the line further away from the edge of the window.
-Bug fix: NVAccess OCR skipping a line: This was caused by the line having a blue-coloured background - caused by the mouse cursor being on it or by a category being highlighted because it was active. Fix 1: is to move the mouse to the bottom-right edge of the screen when the window is opened or refreshed. Fix 2: Made all lines, regardless of whether they were buttons or just straight text to have a black background. Fix 3: Made the background of Navigation Computer window opaque black - rather than transparent.
-New feature: Pagination. The scrollbar is removed from the Navigation Computer. In its place are pagination controls. In this version of the mod, the Navigation Computer lists only 15 entries at a time - not counting titles and sub-titles.

v4.1.01, 21 Sep 2021:
- New feature: Audio cues. After selecting a command from the Navigation Computer, audio cues play to signal: command in progress (every 2 seconds), command completed, command failed. The audio cue for failure is rare but it can occur. E.g.: when the docking request times out at 30 secounds, or when the dock has been unassigned during the docking process. And Some commands complete almost immediately, and the audio cue may be interrupted by other sounds from the game.
- Tweak: After hiring a new captain, the NPC will be teleported immediately to the ship when you re-enter the ship.
- Tweak: Enter/exit controls of a ship.
- Note: Talking to NPCs and entering/exiting the controls of the ship generally take a few steps as the mod needs to wait for you or the NPC to get to certain states (e.g. a position in the game world) before the command process can progress.
- Note: If a command process is taking too long, you can re-open the Navigation Computer and retry the same command. If the same command never completes, it may be best to leave it for now.

v4.1.0, 18 Sep 2021:
- Recommendation: I recommend that my Loot Mining mod and my Surface Element Targeting mod are disabled for now because I found that they were the causes, along with Accessibility Features, of the active mission getting deactivated when using the Navigation Computer. I'll release a fix for them in a few days.
- Recommendation: Get the new version of Accept Mission For Later mod: https://www.nexusmods.com/x4foundations/mods/590.
- Bug-fix: Autopilot doesn't deactivate active mission.
- Bug-fix: Conversing with ANY NPCs at stations will move you to them - allowing any cutscenes that need to play to continue. I.e. You shouldn't get any video comms when conversing with NPCs at stations.
- Bug-fix: The AI doesn't take the controls when you ask them to.
- Bug-fix: Expired missions offers are not listed.
- New feature: Command panel for ongoing missions: Activate, Show Briefing.
- New feature: Data vaults are listed as stations. Undiscovered data vaults are listed as unknown objects.
- New feature: Signal leaks of data vaults are not listed until all repair panels are fixed.
- New feature: Reward containers, if any, in data vaults are not listed until all repair panels are fixed.
- New feature: Spacewalk to containers to collect them.
- Tweak: Missions in undiscoveered sectors: The next undiscovered sector to your destination is always a mission target. Note that the autopilot disengages on entering an newly discovered sector requiring you to target the next undiscovered sector and autopilot to it. You might be on a superhighway. Stop your engines (default key backspace) to take you ship off it.
- Bug-fix: Sometimes the active mission wasn't getting listed as the active mission.
- Tweak: Do not double-up the NPC's title with their role/job.

v1.0.8, 4 Sep 2021:
- Bug-fix: Autopilot was broken.
- Bug-fix: Asteroid fields weren't getting listed.
- Bug-fix: Player and AI pilot commands were getting mixed up in the internal code.

v1.0.7, 3 Sep 2021:
- New feature: Let your AI pilot take the ship's controls. Take the ship's controls from your AI pilot.
- New feature: Your AI pilot will obey your autopilot, dock and undock commands.
- New feature: You can order your AI pilot to attack any objects in space.
- New feature: Your current ship is protected from destruction. If it's hull is damaged to 1%, it will be teleported (i.e. respawned) at the last station it docked.
- New feature: The NPC's faction allegiance and title and/or occupation are now listed with their name.
- New feature: The faction owner of the sector are now listed.
- New feature: Object hull percentage are listed.
- Returned feature: Target And Turn To Face X on the Interact Menu.
- Bug-fix: The autopilot to sectors now send you to the nearest friendly station in the sector's center. This prevents the ship from getting stuck on superhighways.
- Bug-fix: The correct NPC data is now shown when you talk to an NPC.

v1.0.6, 31 Aug 2021:
- New feature: New lists: Owned Stations, Owned Ships, Missions, Sectors In Galaxy.
- Tweak: People is a separate list. Previously, they were listed in the Points Of Interests list.
- New feature: Undock command. Required for autopilot. Previously, the autopilot command was available even when the ship was docked.
- New feature: Retrieve Ship From Interal Storage command. Previously, you can enter a ship that was in an internal storage.
- New feature: Hire / Work Somewhere custom menus. The process of hiring a new employee and transfering a current employee is guided with 2 new custom menus: Location then Position. This process requires that the conversation was started with the Navigation Computer. Otherwise, the usual inaccessible Map Menu is used to complete the hiring and transfer process.
- New feature: During the hiring / transfering process, all of the NPC skills are listed.
- New feature: Repair command on repair panels, satellites and signal leaks. Spacewalking is required to repair objects.
- New feature: Destroy Mines command. When selected, all mines in the mission area are destroyed. Be warned that the autopilot usually stops the ship inside the minefield. I suggest that you boost away (with the Tab key) for a second after the ship stops. Then use the Navigation Computer to destroy one of the mines.
- New feature: Teleport to any of your ships and stations by selecting the Enter Airlock of X command.
- Tweak: Only the Navigation Computer is available from the Interact Menu. All other commands that the previous versions of the mod added were removed because they were sometimes invalid. Also, they were available, and more accurately, from the Navigation Computer.
- Tweak: Autopilots to object within 20km is instant.
- Tweak/bug-fix: The mission target list is now generated from the active mission. Previously, the list was generated from objects that were tagged as a mission target - which produced inaccurate targets.
- Bug-fix: Superhighways out of the sector were getting listed incorrectly.
- Tweak: Better list of valid commands. Previously, commands that could not be actioned were listed. E.g. Autopilot while you were disembarked at a station.
- Bug-fix: Talking to NPCs. Some NPCs simply cannot be visited without actually walking to them. In this version, NPCs that can be teleported to will be teleported to before the conversation starts. NPCs that cannot will use the video com.
- Tweak: Target command is merged with the Turn To Face command.
- Tweak: I rewrote and added sections to this read-me.
- Note: The new version of the Accept mission for later mod is required.

v1.0.5, 18 Aug 2021:
-Tweak: Enter Airlock of X (to return to your ship) now puts you in control of the ship directly. There's a 3 second delay before this teleports you to the controls. The code needs to wait for the AI pilot to leave the seat. If you still don't have control of the ship after, try exiting the airlock and re-entering it.
-Tweak: The Navigation Computer hot key is now usable at any time. In previous version, it was only usable when no menu was open - e.g. while docked. In this version, the hot key will now open the Navigation Computer even when docked.

v1.0.4, 17 Aug 2021:
-New feature: Talk to X. You need to first disembark from the ship. Read the section Conversations With NPCs At Stations below.
-New feature: Spacewalk to Signal Leak. You need to first exit the ship. Read the section Signal Leaks below.
-New feautre: Airlock commands: Exit Airlock Of X (to spacewalk), Disembark at X (to enter the station), Enter Airlock of X (to return to your ship). These are always listed at the top of the menu.
-New feature: Hot key to open the Navigation Computer. Read the section Navigation Computer below.
-New feature: Commands are now listed in a separate menu after you click on an object.
-Tweak: The Points Of Interests and Objects In Sector buttons are integrated with the list table. You no longer need to tab between the list and these two buttons.

v1.0.3, 4 Aug 2021:
-New feature: Navigation Computer: tabbed version. Tabs: Points Of Interests, Objects In Sector, Owned Properties.
-New feature: Mineable Asteroid and Asteroid Fields in Points Of Interests list.
-New feature: Navigation Computer command for gates: "Autopilot then enter".
-New feature: Navigation Computer command: Target.
-New feature: Interact Menu and Navigation Computer command: "Turn To Face X".
-New feature: Mining: collectable minerals from destroyed asteroids are spawned near the player ship, allowing the player to collect them with the tractor beam without chasing them down.

v1.0.2, 31 Jul 2021:
-New feature: Navigation computer. Lists objects in the sector. Click on an object to open the command list. Commands are: Autopilot, Dock, Target.

v1.0.1, 25 Jul 2021:
-Bug-fix: Manually reset DockNow cue on Interact Menu open to ready it for the next "Dock At X" command. This is a fail-safe in case the DockNow cue gets stuck in a loop attempting to force-dock the ship.

v1.0.0, 23 July 2021:
-Initial release.