[MOD] Reaction Force
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
Re: [MOD] Reaction Force
I have to reiterate a request, the option to react to capital ships or not.
Setting up small reaction force patrols of fighters to protect trade/mining ships turns into a nightmare when they converge on capital ships, which are largely NOT a problem for traders/miners to run away from.
Setting up small reaction force patrols of fighters to protect trade/mining ships turns into a nightmare when they converge on capital ships, which are largely NOT a problem for traders/miners to run away from.
Re: [MOD] Reaction Force
When my ship/fleet responds to a distress call it then continues with order to "Protect that ship" for so long that I have to manually cancel that order. What is the timeline for that order before they go back to doing what they were?
Also, do reaction forces respond to distress from other factions by default or is it possible to somehow turn it off?
Also, do reaction forces respond to distress from other factions by default or is it possible to somehow turn it off?
Re: [MOD] Reaction Force
Hello,
I have also a request for an option. Sometimes they react to a ship in xenon space and commit suicide. An option to toggle "fly to enemy space" would be great.
Greetings
I have also a request for an option. Sometimes they react to a ship in xenon space and commit suicide. An option to toggle "fly to enemy space" would be great.
Greetings
Re: [MOD] Reaction Force
Btw., any way of preventing my rep from sinking?
I just had a case in Morning Star sector where my Reaction Force attacked a Rattlesnake Marauder with ARG markings (but it seems it as a FAF in disguise since my rep with FAF went down), which kept deploying laser towers before it was destroyed, and killing it and the towers tanked my rep with Fallen Families. Is it possible to avoid this? After all, the Marauder either attacked my ship or an AI ship first, I shouldn't be getting punished for it.
I just had a case in Morning Star sector where my Reaction Force attacked a Rattlesnake Marauder with ARG markings (but it seems it as a FAF in disguise since my rep with FAF went down), which kept deploying laser towers before it was destroyed, and killing it and the towers tanked my rep with Fallen Families. Is it possible to avoid this? After all, the Marauder either attacked my ship or an AI ship first, I shouldn't be getting punished for it.
Re: [MOD] Reaction Force
I'm having this same issue. Unfortunate.Sturmer wrote: ↑Sun, 21. Mar 21, 17:55When my ship/fleet responds to a distress call it then continues with order to "Protect that ship" for so long that I have to manually cancel that order. What is the timeline for that order before they go back to doing what they were?
Also, do reaction forces respond to distress from other factions by default or is it possible to somehow turn it off?
Re: [MOD] Reaction Force
I don't know for sure, but it seems like if you only select respond to player but do not select respond to ships then maybe it will only respond to your own ships and not others.chh2tx wrote: ↑Tue, 23. Mar 21, 17:50I'm having this same issue. Unfortunate.Sturmer wrote: ↑Sun, 21. Mar 21, 17:55When my ship/fleet responds to a distress call it then continues with order to "Protect that ship" for so long that I have to manually cancel that order. What is the timeline for that order before they go back to doing what they were?
Also, do reaction forces respond to distress from other factions by default or is it possible to somehow turn it off?
Re: [MOD] Reaction Force
Yeah, would be great if the author actually explained the options and their effects, in the original post so we would know what they do. xD
Re: [MOD] Reaction Force
Well the issue I was commenting as also experiencing is the protect that ship order being sustained for too long. I've seen it actually 'protect that ship' and fly right past the aggressors. Then since the protected ship is out of firing range, it just follows them. It's not really a reaction force unless the target is still being actively attacked when it arrives in protection range. Then even then, the protect order seems to stick for too long that they will then sit and not react to other threats in sector.BlackRain wrote: ↑Tue, 23. Mar 21, 18:24I don't know for sure, but it seems like if you only select respond to player but do not select respond to ships then maybe it will only respond to your own ships and not others.chh2tx wrote: ↑Tue, 23. Mar 21, 17:50I'm having this same issue. Unfortunate.Sturmer wrote: ↑Sun, 21. Mar 21, 17:55When my ship/fleet responds to a distress call it then continues with order to "Protect that ship" for so long that I have to manually cancel that order. What is the timeline for that order before they go back to doing what they were?
Also, do reaction forces respond to distress from other factions by default or is it possible to somehow turn it off?
Re: [MOD] Reaction Force
I think the mod author mentioned fixing that on the nexus but maybe hasn't gotten around to it yet.chh2tx wrote: ↑Wed, 24. Mar 21, 22:13Well the issue I was commenting as also experiencing is the protect that ship order being sustained for too long. I've seen it actually 'protect that ship' and fly right past the aggressors. Then since the protected ship is out of firing range, it just follows them. It's not really a reaction force unless the target is still being actively attacked when it arrives in protection range. Then even then, the protect order seems to stick for too long that they will then sit and not react to other threats in sector.
Re: [MOD] Reaction Force
A work around for those of you using this mod.
If you go into the order.fight.reactionforce script in the aiscripts folder and do a search for "protect" you can then look for timeout and change the timeout from 300s to 10s. However, the ship will still fly to the target and protect it for ten seconds, if the ships is leaving the sector and is ahead of the ship going to defend, the ships using this script will continue to follow until they reach them. Only then will it time out after 10 seconds or 300 seconds or whatever number you set it to.
Another possibility is just to delete the protect orders, it should still go to attack any enemies but it won't linger maybe. I haven't tested it.
If you go into the order.fight.reactionforce script in the aiscripts folder and do a search for "protect" you can then look for timeout and change the timeout from 300s to 10s. However, the ship will still fly to the target and protect it for ten seconds, if the ships is leaving the sector and is ahead of the ship going to defend, the ships using this script will continue to follow until they reach them. Only then will it time out after 10 seconds or 300 seconds or whatever number you set it to.
Another possibility is just to delete the protect orders, it should still go to attack any enemies but it won't linger maybe. I haven't tested it.
Re: [MOD] Reaction Force
I tried it, but after i change the timeout the Command for the Reaction-Force just disappear ;(
Re: [MOD] Reaction Force
you must have done something wrong lol. It is working fine for me. I have since removed the protect command entirely, now they just attack the enemies and go back to doing what they do.
Basically just do this (you can leave everything else as it was)
Code: Select all
<!-- If it's a station protect the station -->
<!--<do_if value="$responseTarget.isclass.station">
<debug_text text="'SHIB Reaction Force - %s - Responding to Station %s'.[this.ship.knownname, $responseTarget.knownname]"/>
<create_order object="this.ship" id="'ProtectStation'">
<param name="station" value="$responseTarget"/>
<param name="timeout" value="10s"/>
</create_order>
</do_if>-->
<!-- If it's a ship protect the ship -->
<!--<do_elseif value="$responseTarget.isclass.ship">
<debug_text text="'SHIB Reaction Force - %s - Responding to Ship %s'.[this.ship.knownname, $responseTarget.knownname]"/>
<create_order object="this.ship" id="'ProtectShip'">
<param name="target" value="$responseTarget"/>
<param name="timeout" value="10s"/>
</create_order>
</do_elseif>-->
-
- Posts: 21
- Joined: Wed, 10. Aug 05, 15:57
Re: [MOD] Reaction Force
Theres some activity on his github so lets hope it comes to something.
Re: [MOD] Reaction Force
Thanks mate, will tryBlackRain wrote: ↑Sun, 28. Mar 21, 21:12you must have done something wrong lol. It is working fine for me. I have since removed the protect command entirely, now they just attack the enemies and go back to doing what they do.
Basically just do this (you can leave everything else as it was)
Code: Select all
<!-- If it's a station protect the station --> <!--<do_if value="$responseTarget.isclass.station"> <debug_text text="'SHIB Reaction Force - %s - Responding to Station %s'.[this.ship.knownname, $responseTarget.knownname]"/> <create_order object="this.ship" id="'ProtectStation'"> <param name="station" value="$responseTarget"/> <param name="timeout" value="10s"/> </create_order> </do_if>--> <!-- If it's a ship protect the ship --> <!--<do_elseif value="$responseTarget.isclass.ship"> <debug_text text="'SHIB Reaction Force - %s - Responding to Ship %s'.[this.ship.knownname, $responseTarget.knownname]"/> <create_order object="this.ship" id="'ProtectShip'"> <param name="target" value="$responseTarget"/> <param name="timeout" value="10s"/> </create_order> </do_elseif>-->
Code: Select all
<!-- If it's a station protect the station -->
<do_if value="$responseTarget.isclass.station">
<debug_text text="'SHIB Reaction Force - %s - Responding to Station %s'.[this.ship.knownname, $responseTarget.knownname]"/>
<create_order object="this.ship" id="'ProtectStation'">
<param name="station" value="$responseTarget"/>
<param name="timeout" value="10s"/>
</create_order>
</do_if>
<!-- If it's a ship protect the ship -->
<do_elseif value="$responseTarget.isclass.ship">
<debug_text text="'SHIB Reaction Force - %s - Responding to Ship %s'.[this.ship.knownname, $responseTarget.knownname]"/>
<create_order object="this.ship" id="'ProtectShip'">
<param name="target" value="$responseTarget"/>
<param name="timeout" value="10s"/>
</create_order>
</do_elseif>
The Folder which i have to edit is C:\Program Files (x86)\Steam\steamapps\common\X4 Foundations\extensions\shib_reactionforce , right?
Re: [MOD] Reaction Force
I just got the DLC finally so this and my other mods are finally getting some TLC
-----
My Mods
Go Home Drone, Reaction Force, Disable Story, Pay The Builder, Landlord, Training Exercise
Github with the latest (Unstable) Versions
Nexus Page
Steam Workshop Page
My Mods
Go Home Drone, Reaction Force, Disable Story, Pay The Builder, Landlord, Training Exercise
Github with the latest (Unstable) Versions
Nexus Page
Steam Workshop Page
-
- Posts: 1
- Joined: Mon, 3. Dec 18, 21:37
Re: [MOD] Reaction Force
Hooray! Looking forward to it. I'm not sure if it's been reported, but I tried your fix on Github, and it appears now they don’t get stuck on protect ship, but now I've noticed they sometimes get stuck on a patrol command, and while stuck on this command will ignore ships being attacked and not respond. I still have some more testing to do though, but I thought I'd let you know just in case!
Re: [MOD] Reaction Force
That's good to hear! Could you also please change the notifications to actually say which sector the reaction force is reacting (preferably even which ship/fleet)? Maybe I'm missing something, but for me it only reports two long sets of numbers that I just stare helplessly at.
-
- Posts: 52
- Joined: Sun, 21. Apr 13, 21:44
Re: [MOD] Reaction Force
This mod is really useful. Response fleets manage to save my miners most of the time, especially after making the changes suggested above.
They do comm me constantly though, saying "Awaiting orders" whenever they kill something, which is a little annoying. Any way to prevent that?
They do comm me constantly though, saying "Awaiting orders" whenever they kill something, which is a little annoying. Any way to prevent that?
Re: [MOD] Reaction Force
Yeah, turn off the notifications in the game. There is a global option for it. I turned it off.drowningfly wrote: ↑Fri, 2. Apr 21, 12:35This mod is really useful. Response fleets manage to save my miners most of the time, especially after making the changes suggested above.
They do comm me constantly though, saying "Awaiting orders" whenever they kill something, which is a little annoying. Any way to prevent that?
-
- Posts: 52
- Joined: Sun, 21. Apr 13, 21:44
Re: [MOD] Reaction Force
Thank you sir!BlackRain wrote: ↑Fri, 2. Apr 21, 16:22Yeah, turn off the notifications in the game. There is a global option for it. I turned it off.drowningfly wrote: ↑Fri, 2. Apr 21, 12:35This mod is really useful. Response fleets manage to save my miners most of the time, especially after making the changes suggested above.
They do comm me constantly though, saying "Awaiting orders" whenever they kill something, which is a little annoying. Any way to prevent that?