0 of 0

File information

Last updated

Original upload

Created by

Anghelos92

Uploaded by

anghelos92

Virus scan

Safe to use

Tags for this mod

About this mod

This script will make Capital ships, that have main guns, try to use them always when attacking another capital ship or station.

Permissions and credits
Changelogs
As you have noticed, in vanilla, Destroyers rarely use their main guns against other capitals ships, especially if they are moving. This Fix should address that, by signalling to the ships to point the main guns and fire them!

There are two Main versions of this fix, and you MUST DONWLOAD ONLY ONE:
-Version 1.0.8g (ONLY CAPITALS): will only work against other capital ships (Class L or Class XL).
-Capital ships approach enemy capitals at full speed, then when in main weapons range they will hold the position while pointing at the target and firing the main guns whenever they have the opportunity to do so, like the player would.
-Capital ships using this script will try to never retreat once engaged, unless their target is a Xenon K or a Xenon I, in that case they try to avoid the oppressive fire of their gravitron turrets, retreating when too close.
-Enhanced OOS behavior, much better than vanilla

-Version 1.0.8g (ALSO STATIONS): is the same as the above but will also work against stations.
-When engaging a station the capital ship using this fix will try to stay in range of its main guns and always firing.
-If they are engaged by another capital ship while they are attacking the station they will stop the attack to address the attacking capital ship first. 
-If they get too close they will try to gain some distance from the station (note that this distance is a function of their main guns range, so a vanilla rattlesnake will always stay closer than an argon behemoth for example...)
-Enhanced OOS behavior
-While IS, the ship attacking the station will prioritize defence modules (if they are in LOS), before other modules.

OPTIONAL  PATCHES:
The following patches are available for both the Main versions above.

-PATCH FOR VANILLA BORON: You must also download this if you own the Kingdom End DLC, as this patch will change the behavior of the vanilla Boron Ray Projector to be usable by this AI fix. (You must not install this if you have also VRO)

-PATCH FOR VRO: Allow the VRO version of the Boron Ray Projector to be used by this AI fix.

-PATCH FOR OTAS SHIPPACK: Allows the M/AM Main gun to be used by this AI fix. (Note that this fix will remove the charge up sound and mechanic of that weapon, but it will still be fired every 13 seconds at full charge with relative firing sound, so the reload + charge total time is preserved).


NOTES:
-Requires at least the game version 7.00.
-Interfere with a single scenario in timelines (the one against the Xenon M0, so you should disable this fix before attempting that mission
-Rattlesnakes in vanilla have poor range, so even with this script they may receive a lot of damage against Xenon capitals or stations.
-Terran Destroyers have less range than optimal for their main guns, in vanilla. So they could receive fire against Xenon capitals or stations.
-Only used by capital ships with main guns (no vanilla barbarossa or vanilla H), when the target is a capital ship or a station. In all the other cases capital ships will use the vanilla scripts.

-While this script has optional patches for VRO and mods depending on it, it has been built with Vanilla in mind, so it may not be perfect for VRO combat since in VRO most turrets have the same range of L main guns, so, for example, the gaining distance mechanism of this fix against stations and Xenon battleships may not be the best tactical choice with VRO, still it gives AI capitals an opportunity to rotate their turrets arcs while in the gaining distance phase.

-If you like vanilla, an enhanced version of this fix is already included in my modpack Sector Ruler Enhanced Vanilla Modpack, together with many other mods from amazing authors that I personally tweaked for the best vanilla enhanced experience in my play.
In that modpack I address many limitations of the splits and terrans for example, so this fix will work even better with that modpack due to the additional changes for example to engines, thrusters of destroyers, weapons etc!

Installation:
-it's compatible with any mods, except the ones that change the same thing. (06 August 2024: there are no other mods that do or modify the same scripts).
-It is compatible with Kuda AI since they do not change the same scripts. Note that the "also vs stations" version of this fix will prevent KudaAI to use its own script vs stations, since this will take precedence, but I find this at least on par against stations so it's your choice.
-just extract into your extension folder to install.
-can be unistalled anytime!

CREDITS:
-Deadair for a diff selection that helped made this compatible with almost any other AI mod
-Unitrader for the help troubleshooting the errors and the needed assistance to finish this project, thank you!