Stellaris

Stellaris

Not enough ratings
[FIX] Simple Fix for Ship Combat Behaviors
2
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
381.302 KB
13 May @ 8:29pm
1 Change Note ( view )

Subscribe to download
[FIX] Simple Fix for Ship Combat Behaviors

Description
A Simple Fix for Ship Combat Issue

This mod is a partial extract from Better Ship Behavior and is not planned to receive further compatibility support or updates. For more refined ship combat behavior, better compatibility with other mods, and ongoing support, I recommend using BSB.

A simple fix designed to resolve issues with ship combat behaviors
There has been a persistent issue where ships fail to properly pursue enemy targets, especially in battles that start at long range, and either when enemy ships retreat (such as those with Artillery or Carrier combat computers) or when the enemy does not actively approach (such as starbases or transport ships).
While this issue existed in previous versions, it has become more frequent in Stellaris 4.0 due to the addition of Deep Space Citadels.

The root causes of this issue are:
1. The return_to_formation_distance (RTFD) value is set too low relative to the updated fleet combat scenarios in Stellaris.
2. The 'fleet center of mass' determined by this value is placed awkwardly - somewhere between the fleet's current position and the center of the star system.
3. Ships are not allowed to move beyond the RTFD range from this fleet center of mass.

These issues result in the following problems:
1. Melee ships are unable to effectively close in on retreating artillery ships and are unfairly wiped out. This is most noticeable in battles between fleet of many corvettes and long-range cruiser fleet.
2. When battles start near the edge of a solar system, ships behave oddly by moving toward the system's center at the beginning of combat.
3. In fleets that combine long-range ships (like Titans) with close-range ships, the fleet often fails to approach edge-of-system targets (such as Deep Space Citadels) properly. (See GIF below)



Relevant forum links are listed below.
ships not closing on enemy ships and pathing incorrectly[forum.paradoxplaza.com]
Ship/Station Combat behaviour issue[forum.paradoxplaza.com]
Bioship behavior bugged[forum.paradoxplaza.com]



In this mod, the RTFD value is simply set to a very large number — 2000 — to prevent ships from behaving abnormally due to an incorrectly calculated fleet center of mass.

Modifies 4 vanilla files.
- common/ship_behaviors/00_default.txt
- common/ship_behaviors/00_strike_craft.txt
- common/ship_behaviors/01_standard_ship_behaviors.txt
- common/ship_behaviors/02_special_ship_behaviours.txt

If you have any suggestions or idea, please contact me in the Stellaris forum thread I posted[forum.paradoxplaza.com].