What would it take to Mod support ships to repair Fulltime & all Allies

The place to discuss scripting and game modifications for X4: Foundations.

Moderators: Scripting / Modding Moderators, Moderators for English X Forum

Buck
Posts: 39
Joined: Thu, 29. Jun 23, 16:10
x4

What would it take to Mod support ships to repair Fulltime & all Allies

Post by Buck »

Title pretty much says it all.
I want Support ships to repair full time & any allied factions as well.
Also increase assigned trade ships to at least 15 plus sectors.
What needs to be done ?
magitsu
Posts: 414
Joined: Wed, 12. Dec 18, 21:59
x4

Re: What would it take to Mod support ships to repair Fulltime & all Allies

Post by magitsu »

Buck
Posts: 39
Joined: Thu, 29. Jun 23, 16:10
x4

Re: What would it take to Mod support ships to repair Fulltime & all Allies

Post by Buck »

Thanks, that what I'm using now.
I just wanted to repair allied ships with the support /supply ship
More realistic
j.harshaw
EGOSOFT
EGOSOFT
Posts: 2206
Joined: Mon, 23. Nov 15, 18:02

Re: What would it take to Mod support ships to repair Fulltime & all Allies

Post by j.harshaw »

Check find_ship_by_true_owner in interrupt.restock.xml in aiscripts. That's the logic that determines how ships look for fleet auxiliary ships to repair and resupply at. You'll probably have to either replace the action or add a new one.
Buck
Posts: 39
Joined: Thu, 29. Jun 23, 16:10
x4

Re: What would it take to Mod support ships to repair Fulltime & all Allies

Post by Buck »

Ok, J how would I write that ?

Return to “X4: Foundations - Scripts and Modding”