X4: Foundations

X4: Foundations

25 ratings
Improved Patrol
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
20.678 KB
26 May @ 8:16pm
28 May @ 7:20pm
4 Change Notes ( view )

Subscribe to download
Improved Patrol

In 1 collection by Shibdib
Shib Mods
3 items
Description
Ever wish patrols actually reacted to that enemy on the other side of the system? Well now they will.

Features

- Adds a "Defend Sector" toggle to the patrol order. If this is turned on every 10 seconds the ship will look for hostiles in the system and react to them.
- Ships will NOT react to hostiles using their travel drive.
- Works great with Reaction Force https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2069655173 (With both mods installed, reaction force ships on patrol will default to this setting being enabled)

Plans

- You tell me

Bugs

- None? I'm 98% sure I fixed the issue I was having where they'd chase out of system.

Compatibility

- Integrated with Reaction Force
- Other mod makers there's a global global.$shibimprovedpatrolinstalled

Change Log - https://www.nexusmods.com/x4foundations/mods/1712?tab=files

Source - https://github.com/shibdib/X4Mods
11 Comments
Tau 24 Sep @ 11:51pm 
Seems to work in 8.0
xpto 10 Aug @ 2:11pm 
I was getting this error in the debug log: " [] 9750.91 aiscripts\move.seekenemies.xml(15): Found non-event condition 'check_value', event condition required!".
I asked claude to fix it and its working, this is what she came up with:
https://codefile.io/f/D5EtIZf3Sw
Critical Cadance 9 Jul @ 1:26pm 
Does this work on stations? ie. will my fleets count stations in their decision making for this mod?
Shibdib  [author] 7 Jun @ 5:51pm 
They will aggro any hostile ship that is not docked and not currently using a travel drive. They should smartly choose the "best" target using the game dev's own target selection logic (which accounts for hp, range, etc.. and seems to work alright)
F1tgal911 7 Jun @ 4:41am 
Now do they run for every S or not?
FlashPoint55 2 Jun @ 6:33pm 
thank you!
KLS 2 Jun @ 4:52am 
but yeah if they run for every S it will get messy
KLS 2 Jun @ 4:51am 
they would't ignore stuff that is bombarding the station they are currently parked under?
Shibdib  [author] 1 Jun @ 3:20pm 
This is only used by player fleets. I'm not sure how chaotic it would get if I enabled it for NPC's.
Ming 1 Jun @ 4:46am 
is NPC und is good