Re: X3AP - CLS2 Won't Supply a Tyr
Posted: Fri, 6. Sep 19, 23:04
I would try this.TheDeliveryMan wrote: ↑Thu, 5. Sep 19, 20:20
Try to set it to 0% or close to 0% and see if that has any effect.
I would try this.TheDeliveryMan wrote: ↑Thu, 5. Sep 19, 20:20
Try to set it to 0% or close to 0% and see if that has any effect.
What's curious is that I've successfully gotten a Springblossom to resupply my Hyperion Vanguard. I've tried setting the Supply Conditions to 0 or close to it, and nothing seems to help. I think the closest thing to correct so far is that the software works with "carriers" as a target, but not for ships that cannot dock ships - I'll have to test with an M7 with no docking ports later (my Griffon is successfully supplied).gnu.beef wrote: ↑Thu, 5. Sep 19, 17:48I have attempted to independently reproduce your issue and I can confirm that it is present in current up-to-date unmodded Linux build of X3TC: TS Mistral SF equipped with transporter device refuses to resupply a Tyr (which is also equipped with transporter device).
I have also tested with a Hyperion Vanguard as a target (it also has a transporter device), and TS also refused to jump to its sector to resupply it.
Code: Select all
667 |if $WayPoint -> is of class Moveable Ship
668 ||if [THIS] -> is in same sector as $WayPoint
669 |||$Equipment = [THIS] -> get amount of ware Transporter Device in cargo bay
670 |||$ShipDistance = get distance between [THIS] and $WayPoint
671 |||$Equipment = $Equipment AND $ShipDistance <= 10000
672 |||$Docked = $WayPoint -> is docked
673 |||$Docked = [DOCKEDAT] == $WayPoint OR [DOCKEDAT] == $Docked
674 |||if $Docked OR $Equipment
Code: Select all
739 if $Station -> is of class Moveable Ship
740 |if $Station -> is task 0 in use
741 @ ||= wait 20000 ms
742 ||$Station ->interrupt with script 'plugin.com.logistics.interrupt' and prio 40: arg1=[THIS] arg2=null arg3=null arg4=null
743 |end
I've done "in passing" resupplies. However this might be the answer. In my usage the targeted ship always has some order into and then out of the supply ship's sector. It's possible that it is only working because there is that point in between where the target ship is stopped.