Skip to content

Latest commit

 

History

History
164 lines (115 loc) · 7.98 KB

File metadata and controls

164 lines (115 loc) · 7.98 KB

Changelog

[1.17] - 2026-07-15

  • Fixed
    • Fixed a bug where the ship (or fleet leader) could get stuck endlessly re-engaging a target that fled out of sensor range while still remaining in the sector, causing it to ignore other hostile threats (e.g. a nearby Kha'ak attack) until manually reset. The ship now correctly breaks off and searches for a new target once it can no longer detect the current one and it has moved beyond effective engagement distance.

[1.16] - 2026-03-27

  • Added
    • New Aggressive subordinates option to make subordinates more aggressive in attacking targets. It was introduced in version 1.13 as the default behavior; with this update, it becomes optional and is disabled by default.
  • Fixed
    • Fixed a bug with Aggressive subordinates where subordinates were forced to attack targets outside the sector where the leader is.
    • In some cases the Park exactly there option was assumed by the game engine as a null value, which prevented the Behavior tab from being opened on order failure.

[1.15] - 2026-03-26

  • Added

    • New option Received damage sensitivity to set the sensitivity of the reaction on receiving damage. There are three levels: 1 - low, 2 - medium, 3 - high. With different thresholds in idle or attack state.
    • Possibility to set appropriate threshold for the sensitivity levels based on the percentage of the hull integrity per ship size and state in Extension Options menu.
    • New option Ignore blacklists - to ignore blacklists when going to and protecting the Home sector. Equal to the behavior of the order before version 1.15. Otherwise, when not set, the order will use military blacklist group to reach and protect the Home sector.
  • Improved

    • Behavior when hazardous or unreachable sectors are set as home ones. Order does not stop, but generates a failure instead.
  • Changed

    • Due to the above change and specific behavior of UI with null values in order params, the default value for Park exactly there is set to center of the sector instead of empty one. And now it does not make parking as default behavior but just sets the parking position to the center of the sector. Parking will happen only if Park on delay is enabled.
    • The Park on delay is introduced instead of Park at sector core to cover both parking in the center and parking in the desired position.
    • Version is set to 1.15 to be in line with the version of the main script of the mod.
  • Fixed

    • Restocking and repairing now processes only reachable stations.

[1.13] - 2026-03-14

  • Fixed
    • Avoidance of targets in some circumstances when the target is L or XL and the ship is M or S.
  • Improved
    • Implemented extra push on subordinates to attack the desired target.
    • Checking and sending ships to repair for ships under this order's control and their subordinates.
  • Implemented
    • Reassigning the order and its parameters in case the primary ship was destroyed and replaced by game mechanics. Previously, the order was just stopped in this case.

[1.12] - 2026-01-30

  • Fixed

    • Order breaks attack "dangerous" enemy ships when KUDA AI tweaks installed.
  • Improved

    • Added Protect Sector options menu in the Extension Options if the Mod Support APIs extension is installed.
    • Added Enable debug log option to log detailed information to the debug log.

[1.11] - 2025-12-06

  • Fixed
    • Order ignoring new enemy stations in some rare cases.
    • Error message generated by DisengageHandler.
  • Improved
    • Improved the logic of resupply checks.
    • Other small improvements and code cleanups.

[1.10] - 2025-08-07

  • Fixed

    • Fixed possible incompatibility with move_to command in the X4: Foundations 8.00 and upper.
  • Improved

    • Targets handling in non-shared mode.

[1.09] - 2025-05-18

  • Fixed

    • Mimic mode not started correctly.
  • Changed

    • If experimental order of Attack Station is selected but fleet has ships smaller than L- the both experimental and Attack Station options are disabled.

[1.08] - 2025-05-11

  • Added

    • Internal (experimental) station attack order. Written from scratch positioning ships against stations, including reaction on stations drones attacks in non-OOS mode. Works only for fleets with L and XL ships. For only L ships - four and more ships are recommended.
    • Possibility to select station attack order - by default it is Coordinate attack. Other possibilities are usual one and experimental one.
    • Additional confirmation for the working in hazardous regions, like The Void. Please be aware - the order will stop working in the sectors with the hazardous regions without the confirmation.
    • Own icons for the Protect Sector and Station attack orders.
  • Improved

    • Fully rewritten the logic of idling and scanning for enemy ships. Now it is more precise.
    • Implemented workaround for the repairing/restocking ships. By default Player owned ships can be repaired only in current sector. Please be aware - after installing version 1.08 the ships controlled by this order can go to be repaired/restocked after some time. It is not a bug, but a feature :-).
  • Fixed

    • Fixed a reaction on attack on player's ships/stations by enemy drones.
    • Accidentally attacks from the non-enemies are not considered as an attack on the player ships/stations.

[1.07] - 2025-03-16

  • Added

    • By negative relation to set the relation to possible targets more precisely.
    • Park exactly there to set the exact position where the ship should park when it is not targets to fight against. Useful for big sectors.
  • Improved

    • Idle flying when any parking is not set.
    • Attack of the stations via Coordinate attack in now visible, as it is run not as a script, but as an order.

[1.06] - 2025-03-01

  • Fixed
    • The Lost Ship Replacement not always works correctly.

[1.05] - 2025-03-01

  • Added

    • Support for the Lost Ship Replacement feature of version 7.50
    • Added additional parameter to set a threshold from moving to target to attack it. In percentage of the radar range.
  • Fixed

    • For version 7.50 and higher, boosters are used always, despite the Avoid boosters usage option.
    • The default value for Disable on destruction threat is 0 percent - i.e. disabled this check.

[1.04] - 2024-12-31

  • Fixed
    • Slow floating to sector center when the "Park at sector core" is not enabled.

[1.03] - 2024-12-26

  • Added

    • Added possibility to use the Protect Sector order in the fleet mode with the Mimic order.
  • Improved

    • Improved the target separation in case of "sharing" is disabled - variable wait is solve the problem with the same target selection.

[1.02] - 2024-12-20

  • Added

    • Added parameter to set exact delay between scans.
  • Fixed

    • Fixed a bug with approaching to the target - if it has equal speeds the catching is never happened.
    • Added additional small delay in the approaching routine to prevent freezing
  • Improved

    • Improved the experience gaining

[1.01] - 2024-12-13

  • Added

    • Added option to protect ships and stations in the desired sector via reaction on attacks on them by hostile ships.
    • Added option to record events to the logbook, including starts, travel to desired sector, flying to the target, attacking the target, destroying the target, etc.
  • Changed

    • Between scans it uses move.idle script.
    • Changed the type of option to disable on destruction threat: from boolean to the percentage of hull to make this order disabled.
  • Improved

    • Approaching to the target is rewritten.
    • Attack of the ship is now under control of the order.fight.attack.object script.

[1.00] - 2024-12-06

  • Added
    • Initial release of the Protect Sector extension.
    • Allows protection of a sector from hostile ships.
    • Configuration options for home sector, attack stations, attack ships, attack farther from stations, attack only visible targets, attack only hostile targets, pursue fleeing targets, share target with other, preserve shield energy, and disable on destruction threat.
    • Compatibility with X4: Foundations 7.1.