The file Improved Turret Modes v.0.3 is a modification for X4: Foundations, a(n) simulation game. Download for free.
File Type: Game Mod
File Size: 3.9 KB
Last Update: February 2, 2020
Downloads: 1.1K
Last 7 days: 46
Problems with download? [email protected]

Improved Turret Modes is a mod for X4: Foundations, created by iforgotmysocks.
Description (in author’s own words):
Adds and improves target selection logic of turret modes for npc ships and the playership and fixes an issue that leads npc ships with selected turret groups to prioritize other targets, ignoring their turret settings.
Fair warning before use: These turret modes are new in 3.0 and will hopefully be patched alot to function better in vanilla. With every upcoming patch this mod is expected to potentionally break, may become unsupportable, or may simply not be needed anymore. In such a case it can be easily removed without issues. I'll try to update the mod as quickly as possible when patches arrive, but given the weirdness of how turrets work i can't promise immediate updates.
This mod adds and improves target selection logic of turret modes for npc ships and the playership and fixes an issue that leads npc ships with selected turret groups to prioritize other targets, ignoring their turret settings.
Following modes have been improved:
Attack Capitalships:
?Previously: Just Capitalships (or random targets for npc ships other than the player controlled ship)
?New focusorder: Capitalships -> Station Parts
Attack Fighters:
?Previously: Just Fighters (or random targets for npc ships other than the player controlled ship)
?New focusorder: Fighters -> Capital Ships -> Station Parts
Missile Defence:
?Previously: Just Missiles
?New focusorder: Missiles and Fighters alike (what's closest)
If u're interested in helping and improving this mod, leave me a message with suggestions or a bugreport if something seems off. Thanks! :)
Target selection improvements - in detail (skip it if u're not interested):
In order to not having these changes impact performance noticably i've been very careful in how i'm checking if a new targetclass should be added to the current target class (e.g. adding station parts to the capital ship target selection), meaning i'm limiting the checks first to a count check to see if 10 or less objects are left. This happens before any distancechecks take place. If the distance check succeeds i'm performing a line of sight check, to make sure turrets can actually hit it. As long as 1 of those remaining 10 or less targets manages to pass the check, the queue breaks to not waste performance and the next target group will not be added as the turrets are still able to hit the remaining targets of their priority group.
Fix of current target selection bug (skip if not interested):
Currently, turrets are given the "preferred target" of the ship when not controlled by the player himself. Turrets prefer this target over their actual assigned targetlist they're supposed to attack. This means, in vanilla a capital may choose to fire upon a hostile fighter with L - sized turrets and attack a hostile capital with M - sized turrets. This is now fixed so that the prefered target is still chosen, if it fits the current assigned turret mode, but if not we let the turrets choose their target from their actual asigned target list fitting their mode.
A special thanks to Shuul(o), who has been discussing the target selection with me and helping me test the changes! :)
Installation:
Download the file, extract the improvedturretmodes folder and move it to your extensions folder.
In case you don't have one yet, simply create it at the base directory of X4, so for a steam user it would be: Steam\steamapps\common\X4 Foundations\extensions
Deinstallation:
Simply remove the folder, no savegame issues whatsoever.
Game Mod Size: 21 KB DL: 850 Upd.: October 8, 2025
Game Mod Size: 3 KB DL: 431 Upd.: May 18, 2021
Game Mod Size: 447.9 MB DL: 576 Upd.: October 4, 2020
Game Mod Size: 28.1 KB DL: 643 Upd.: October 3, 2020
Game Mod Size: 249.4 KB DL: 539 Upd.: October 3, 2020
Game Mod Size: 128.4 MB DL: 779 Upd.: October 3, 2020
Game Mod Size: 18.7 KB DL: 2K Upd.: October 3, 2020
Game Mod Size: 8.7 KB DL: 876 Upd.: October 3, 2020
Game Mod Size: 77.9 KB DL: 1K Upd.: October 3, 2020
Game Mod Size: 3.5 KB DL: 3.4K Upd.: October 3, 2020
Game Mod Size: 39.6 KB DL: 1.4K Upd.: October 3, 2020
Game Mod Size: 1.1 KB DL: 287 Upd.: February 14, 2020
Game Mod Size: 1.3 KB DL: 579 Upd.: February 2, 2020
Game Mod Size: 4.5 KB DL: 336 Upd.: February 1, 2020
Game Mod Size: 1 KB DL: 240 Upd.: February 1, 2020
Game Mod Size: 1 KB DL: 508 Upd.: January 31, 2020
Game Mod Size: 1.6 KB DL: 261 Upd.: January 30, 2020
Game Mod Size: 2.6 KB DL: 407 Upd.: January 28, 2020
Game Mod Size: 4.1 KB DL: 320 Upd.: January 18, 2020
Game Mod Size: 2.5 KB DL: 306 Upd.: January 1, 2020
Game Mod Size: 1.2 MB DL: 450 Upd.: November 16, 2019
Game Mod Size: 4 KB DL: 1.2K Upd.: March 9, 2019
Game Mod Size: 11.7 KB DL: 2.3K Upd.: March 9, 2019
Game Mod Size: 227.1 KB DL: 636 Upd.: February 20, 2019
Game Mod Size: 17 KB DL: 894 Upd.: February 20, 2019
Game Mod Size: 39.5 KB DL: 3.1K Upd.: January 5, 2019
Game Mod Size: 484.2 KB DL: 331 Upd.: January 4, 2019
Game Mod Size: 188.8 KB DL: 1.5K Upd.: January 4, 2019
Game Mod Size: 5 MB DL: 309 Upd.: December 16, 2018
Game Mod Size: 2.9 KB DL: 1.2K Upd.: December 15, 2018
Game Mod Size: 1.5 KB DL: 747 Upd.: December 15, 2018
Game Mod Size: 30.7 MB DL: 641 Upd.: December 13, 2018
Game Mod Size: 234.3 MB DL: 409 Upd.: December 11, 2018
Game Mod Size: 1.4 KB DL: 469 Upd.: December 11, 2018
Game Mod Size: 1.9 KB DL: 805 Upd.: December 2, 2018
Game Mod Size: 5091.3 MB DL: 253.2K Upd.: October 28, 2022
Game Mod Size: 1254.7 MB DL: 1.51M Upd.: July 12, 2023
Game Mod Size: 1.6 MB DL: 851.7K Upd.: December 6, 2023
Game Mod Size: 115.8 MB DL: 112.8K Upd.: February 7, 2024
Game Mod Size: 1.2 MB DL: 549.6K Upd.: July 3, 2024
Game Mod Size: 4.3 MB DL: 401.6K Upd.: July 3, 2024
Game Mod Size: 889.9 MB DL: 29K Upd.: November 4, 2025
Game Mod Size: 1 KB DL: 23.7K Upd.: April 6, 2025
Game Mod Size: 41 MB DL: 36.2K Upd.: April 29, 2023
Game Mod Size: 70 KB DL: 172.2K Upd.: September 20, 2020