X4: Foundations

X4: Foundations

175 个评价
Protect Sector
5
3
3
2
2
2
2
2
3
3
2
2
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
354.401 KB
2024 年 12 月 6 日 下午 1:01
8 月 6 日 下午 2:16
11 项改动说明 ( 查看 )

订阅以下载
Protect Sector

描述
This extension allows you to protect a sector from being harassed by hostile ships.

Compatibility

Compatible with X4: Foundations 7.10 and upper. At least it written and tested with versions 7.10 and 7.50.

Features
  • Always the closest possible target will be selected to attack.
  • Several ships/fleets with one order can work in one sector or crossed sectors.
  • Not recommended to use single ship - the fleet is always better.
  • Mimic order in a fleet is fully supported. But, again, not set single ship to mimic mode - use the fleet instead.
  • The Lost Ship Replacement feature of version 7.50 is fully supported.
  • The own (experimental) order for station attacks is available.
  • The workaround for player ships repairing/restocking not only in current sector is implemented.
  • From version 1.08 have own icons for the Protect Sector and Station attack orders.
Download

In addition you can do it via the Nexus Mods[www.nexusmods.com]

Executing the order

You can select the order as any other, like "Protect Station" or "Protect Ship", from the "Combat" section of orders.
Please be aware - this order requires the ship captain to have at least two stars in the "Pilot" skill.

Configuration

There are a several configuration options available. You can see all of them on a screenshot.

Home Sector

This is a sector which will be protected. You can select it from the list of discovered sectors.
If you select not current sector, the ship will fly to the selected sector to some "safe" point before to start protecting it.

It can be any known sector, even if it is not yours.

Attack Stations

Disabled by default.

If enabled, hostile stations in the protected sector will be attacked by ship and his squad.

Use "Coordinate attack"

Enabled by default.

If enabled, the ship will use the "Coordinate Attack" order to attack the stations. It will be used for the stations only, not for the ships.
If disabled, the ship will use the usual "Attack" order to attack the stations.

Use experimental "Attack Station"

Disabled by default.
If enabled, the ship will use the experimental "Attack Station" order to attack the stations. It will be used for the stations only, not for the ships.

Will work only if the ships in a fleet contains only L or XL classes only. Otherwise it will be de-selected together with "Attack stations" checkbox.

For L only - four and more ships are recommended.

Important notice

If Use experimental "Attack Station" selected, the ship will use the experimental order independently of the order type selected in the previous parameter.

Attack Ships

You can select exact ship types:
  • XL
  • L
  • M
  • S
By default are set depending on the player ship type.

If it will find a hostile squad - it will not be attacked, if it contains at least one ship of the type higher than highest selected one.

Attack farther from stations

There is a slider to define a minimal distance from the possible target to the hostile station. If the distance is less than the defined value, the ship will be selected as a target.
If value is 0 - the distance will not be checked.

Default value is 0.

Attack only visible targets

Enabled by default.

Used to prevent the ship from attacking the target, which is not revealed yet or not visible for the player.

It has slightly different behavior for stations and ships:
  • For stations - the station should be visible on a map. So - it has to be revealed, but it is not required to be in a live view, i.e. in radar range of your ships, stations, satellites, etc.
  • For ships - the ship should be visible online. So - it has to be in a radar range of your ships, stations, satellites, etc.
Attack only hostile targets

Enabled by default.

If enabled, the ship will attack only hostile targets. It will use the appropriate command to filter the targets.

By negative relation

This is a slider to define the relation to the Player. Take in account - relation is shown as positive value, due to limitation of the game engine.
So, if you want to attack the ships with relation -10 and lower - you have to set the value to 10.
Default value is 25, i.e. attack the ships with relation -25 and lower.

Please take in account - when previous parameter is enabled, you can set this one in between 25 and 30 (-25 and -30 relation).
If the Attack only hostile targets is disabled - the value can be set in between 0 and 30 (0 and -30 relation).
Use it carefully.

Protect our ships and stations in sector

Enabled by default.

If enabled, the ship will react on the event when the player's ships or stations are attacked in the sector. It will try to protect them by attacking the hostile ships.

- except military ships

Enabled by default.

If enabled, the ship will not protect the military ships. It will not attack the hostile ships, which are attacking the military ships.

Pursue fleeing targets

Disabled by default.

If enabled, the ship will pursue the target, which is trying to flee after is being attacked.

Share target with other

Enabled by default.

Attack distance: percentage of radar range

This setting allows you to define the ship behavior when the target is identified and selected.
The attack de facto contains two stages:
  • The ship is trying to reach the target till some acceptable distance. This distance is defined as a percentage of the radar range.
  • The ship is trying to attack the target when it is in the acceptable distance.
Avoid boosters usage

Disabled by default.

Disable on destruction threat

It is a percentage of hull of the target to make this order disabled. Useful when you want to achieve more abandoned ships.

By default, it is 0 percent - i.e. disabled this check.

If set to non-zero value, the ship will stop attacking when hull is less than desired percent.

Park at sector core

Disabled by default.

If enabled, the ship will try to park at the sector core, when it is not targets to fight against.

Park exactly there

It's optional parameter, it means - it can be skipped to set.
Moreover, if you want to park exactly at same position - disable the Park at sector core option.
To set the value of this parameter - you have to select the exact position on the galaxy map inside the appropriate sector.

Delay between scans, seconds

Default value is 4 seconds.

Ignore the threats of Hazardous zones

Disabled by default.

From version 1.08 Protect Sector order will automatically finished in such sectors. Appropriate message will be shown in the logbook.

If you still want to use this order in the hazardous zone - you can enable this option. But please be aware - the ships can be destroyed in the hazardous zone.

Record to logbook

Enabled by default.

If enabled, the ship will record the events to the logbook.

Special Thanks

Special thanks to the pilot Assailer for his awesome script "Sector Patrol"
热门讨论 查看全部(1)
14
3 月 17 日 上午 6:39
置顶: Protect Sector Issues
Chem O`Dun
145 条留言
Chem O`Dun  [作者] 10 月 11 日 上午 5:36 
Thanks. It's really wrong and looks like bug ...
If you can make a debug log in such situation - it will be helpful!
BattleGrown 10 月 11 日 上午 5:04 
Ah sorry, I see now about the hazardous areas, thank you! About the attacking thing, the fleet commander with protect sector attacks the hostile, but in the behaviour tab he doesn't get "attack" order automatically. Meaning that crosshair doesn't appear on the map view, it is still the shield icon, but the ship actually goes and attacks. But since he doesn't get the attack order, the subordinates who are set to attack with commander doesn't understand that he is attacking, so they just follow him. I will try to replicate.
Chem O`Dun  [作者] 10 月 11 日 上午 3:24 
Regarding other question - excuse me, not fully understand what is happens.

Reaction of subordinates is managed by appropriate scripts, outside a mod.

Please explain step by step:
1.Does fleet commander reacts on hostile attacks onyour other ship?
2. Does fleet flying to hostile?
3. Does only commander attacking hostile?
...
If you can make a video and share - it will be helpful.
Chem O`Dun  [作者] 10 月 11 日 上午 3:19 
Regarding returns on assignment in some sectors -
It's stated in documentation - if sector has any hazardous areas, it will require to set additional checkmark.

See my comments from September's 6.
BattleGrown 10 月 11 日 上午 1:35 
Also doesn't seem to work in Tharka's Cascade XV, the assignment returns to hold position after confirming the protect sector assignment.
BattleGrown 10 月 11 日 上午 1:28 
It appears that the fleet leader who is set to protect sector doesn't receive an attack order when attacking hostiles in sector, which makes the subordinates who are set to "attack with commander" to just chill around. Which assignment for subordinates work best?
MrXoT 10 月 10 日 上午 6:12 
yeah, i play the Afterfall mod and there are a lot of enemies on map. I have many fleets that defend gates, some times ships fly away for repairs and the gates remained unprotected.
Chem O`Dun  [作者] 10 月 10 日 上午 12:38 
Interesting...
Not predicted by me feature, I mean disable of repairing...
Let's wait next version...
MrXoT 10 月 9 日 下午 9:46 
how i can disable auto repair ships? some times ships fly to station and try repair, i dont want ships do that.
Chem O`Dun  [作者] 9 月 24 日 下午 11:56 
Yes.