X4: Foundations
0 of 0

File information

Last updated

Original upload

Created by

kuertee

Uploaded by

kuertee

Virus scan

Safe to use

Tags for this mod

About this mod

The Ship Scanner is a targetting AI that continually targets unscanned ships after the completion of a ship scan until all ships in your vicinity are scanned.

Requirements
Permissions and credits
Changelogs
Donations
Ship scanner
https://www.nexusmods.com/x4foundations/mods/591
by kuertee

Update
v6.0.002, 13 Apr 2023:
-Tweak: Version number update for consistency with my other mods. No internal changes since the last version.

Mod effects
The Ship Scanner is a targeting AI that continually targets unscanned ships after the completion of a ship scan until all ships in your vicinity are scanned.

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. Specifically for this mod, UI Extensions allows for actual missions to be listed in the Guidance Missions tab. Enables the Set Active and Set Inactive buttons in the Guidance Missions tab. Without this mod, you won't be able to switch between the missions listed in the Guidance tab because those buttons are disabled in the base game.

Recommended companion mods
Here are all my quality-of-life mods. All these mods' missions are listed in the Guidance Missions tab. Use my mod, UI extensions (https://www.nexusmods.com/x4foundations/mods/552), to enable the Set Active and Set Inactive buttons in Guidance Missions. Otherwise, you won't be able to switch between them manually.
-Loot mining (https://www.nexusmods.com/x4foundations/mods/511): During a player mining session, manually targeting loot activates the targeting AI to target all others of the same loot. After the destruction of a targeted mineable asteroid, the nearest mineable asteroid with the same loot is auto-targeted.
-Ship scanner (https://www.nexusmods.com/x4foundations/mods/591): The Ship Scanner is a targeting AI that continually targets unscanned ships after the completion of a ship scan until all ships in your vicinity are scanned.
-Signal leak hunter - increasing range (https://www.nexusmods.com/x4foundations/mods/498): Scans for and targets signal leaks and/or repair panels within an ever-increasing range.
-Station scanner (https://www.nexusmods.com/x4foundations/mods/496): When using the spaceship scanner, modules that need the spacesuit scanner are targeted. When using the spacesuit scanner, the closest module with an incomplete scan is targeted. Follow this trail of targets to scan the station.
-Surface element targeting (https://www.nexusmods.com/x4foundations/mods/710): Auto-targets the next surface element after destruction of the last. Find All surface elements of the same type.
-Waypoint field for deployments (https://www.nexusmods.com/x4foundations/mods/585): Creates waypoints that you and your wingmen can follow to deployment equipment and weapons.

How it works
Scan a ship. A new Guidance Mission will activate that guides you to the nearest unscanned ship. The Guidance Mission is listed in the Guidance Missions tab. It will attach itself to a relevant and active scan mission. When the original, attached mission completes, the Guidance Mission also completes.

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

Uninstall
-Delete the mod folder.

Troubleshooting
(1) Do not change the file structure of the mod. If you do, you'll need to troubleshoot problems you encounter yourself.
(2) Allow the game to log events to a text file by adding "-debug all -logfile debug.log" to its launch parameters.
(3) Enable the mod-specific Debug Log in the mod's Extension Options.
(4) Play for long enough for the mod to log its events.
(5) Send me (at [email protected]) the log found in My Documents\Egosoft\X4\(your player-specific number)\debug.log.

Credits
Kuertee.
Chinese localisation by Tiomer.
German localisation by LeLeon.

History
v6.0.0004, 18 Feb 2023:
-Tweak: Your previous active mission will always be re-activated at the end of every scanning session.
-Tweak: The mod will only target the nearest unscanned ship if you have a ship scanning mission active. These two tweaks prevents the mod's scanning mission from sticking after the first scan.

v4.2.0804, 2 Feb 2022:
-Bug-fix: Ship scanner doesn't activate after scanning a station. Thanks to TheLich for the bug-fix.
-Tweak: Tweaks to mission creation and selecting the next unscanned ship.
-Tweak: Find radius for the next ship to be scanned is increased to half the player ship's max range. Previously, it was at 10km.
-Tweak: If your next scanning target is destroyed, leaves the sector, or leaves your vicinity, the scanning mission will find a new target.

For both v4.0 and v4.1beta1 of the game.
This version may or may not work in other v4.1betaX versions.
v2.0.1, 19 Jun 2021:
- Tweak: Compatibility with the uncover pirate portion of the patrol mission. During that stage, after the first ship scan, the mod will point you to the next nearest unscanned ship. When that stage of the mission reverts back to the patrol objective, the Ship Scanner mission is completed and the original Egosoft mission is re-activated.

v2.0.0, 11 Mar 2021:
-New feature: updated for v4.0.0 beta 11 of the base game.
-Tweaks: Cleaned-up unnecessary localisation files. Rewrote content.xml manifest file.

v1.0.2, 18 Dec 2020:
-Tweak: Terminate the mission when the ship's scanner is turned off.

v1.0.1, 17 Dec 2020:
-Bug-fix: Guidance Mission bugs: "Set to active" and "Set to inactive" buttons are now available. The required UI Extensions file, kuertee_menu_map.lua, wasn't getting loaded. It worked in my environment because I have other mods that loaded that file.

v1.0.0, 8 Dec 2020: Initial release.