- 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.
- Added
- New
Aggressive subordinatesoption to make subordinates more aggressive in attacking targets. It was introduced in version1.13as the default behavior; with this update, it becomes optional and is disabled by default.
- New
- Fixed
- Fixed a bug with
Aggressive subordinateswhere subordinates were forced to attack targets outside the sector where the leader is. - In some cases the
Park exactly thereoption was assumed by the game engine as a null value, which prevented theBehavior tabfrom being opened on order failure.
- Fixed a bug with
-
Added
- New option
Received damage sensitivityto 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 Optionsmenu. - New option
Ignore blacklists- to ignore blacklists when going to and protecting theHome sector. Equal to the behavior of the order before version1.15. Otherwise, when not set, the order will usemilitaryblacklist group to reach and protect theHome sector.
- New option
-
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 thereis 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 ifPark on delayis enabled. - The
Park on delayis introduced instead ofPark at sector coreto cover both parking in the center and parking in the desired position. - Version is set to
1.15to be in line with the version of the main script of the mod.
- Due to the above change and specific behavior of UI with null values in order params, the default value for
-
Fixed
- Restocking and repairing now processes only reachable stations.
- Fixed
- Avoidance of targets in some circumstances when the target is
LorXLand the ship isMorS.
- Avoidance of targets in some circumstances when the target is
- Improved
- Implemented extra
pushon subordinates to attack the desired target. - Checking and sending ships to
repairfor ships under this order's control and their subordinates.
- Implemented extra
- 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.
-
Fixed
- Order breaks attack "dangerous" enemy ships when
KUDA AI tweaksinstalled.
- Order breaks attack "dangerous" enemy ships when
-
Improved
- Added
Protect Sectoroptions menu in theExtension Optionsif theMod Support APIsextension is installed. - Added
Enable debug logoption to log detailed information to the debug log.
- Added
- 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.
-
Fixed
- Fixed possible incompatibility with
move_tocommand in theX4: Foundations 8.00and upper.
- Fixed possible incompatibility with
-
Improved
- Targets handling in non-shared mode.
-
Fixed
Mimicmode not started correctly.
-
Changed
- If
experimentalorder ofAttack Stationis selected but fleet has ships smaller thanL- the bothexperimentalandAttack Stationoptions are disabled.
- If
-
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 withLandXLships. For onlyLships - four and more ships are recommended. - Possibility to select station attack order - by default it is
Coordinate attack. Other possibilities areusualone andexperimentalone. - 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 SectorandStation attackorders.
- Internal (
-
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.08the 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.
-
Added
By negative relationto set the relation to possible targets more precisely.Park exactly thereto 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 attackin now visible, as it is run not as a script, but as an order.
- Fixed
- The Lost Ship Replacement not always works correctly.
-
Added
- Support for the
Lost Ship Replacementfeature of version7.50 - Added additional parameter to set a threshold from moving to target to attack it. In percentage of the radar range.
- Support for the
-
Fixed
- For version
7.50and higher, boosters are used always, despite theAvoid boosters usageoption. - The default value for
Disable on destruction threatis0 percent- i.e. disabled this check.
- For version
- Fixed
- Slow floating to sector center when the "Park at sector core" is not enabled.
-
Added
- Added possibility to use the
Protect Sectororder in the fleet mode with theMimicorder.
- Added possibility to use the
-
Improved
- Improved the target separation in case of "sharing" is disabled - variable wait is solve the problem with the same target selection.
-
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
-
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.idlescript. - Changed the type of option to disable on destruction threat: from boolean to the percentage of hull to make this order disabled.
- Between scans it uses
-
Improved
- Approaching to the target is rewritten.
- Attack of the ship is now under control of the
order.fight.attack.objectscript.
- 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.