Vectorial1024 / v1024_civilian_fleets

Create civilian fleets to help manage your traders and miners.
https://www.nexusmods.com/x4foundations/mods/335
MIT License
18 stars 10 forks source link

Draft work for X4 v5.0 #59

Closed Vectorial1024 closed 2 years ago

Vectorial1024 commented 2 years ago

What are the stuff that we should pay attention to now that X4 5.0 came out?

https://store.steampowered.com/news/app/392160?emclan=103582791460032630&emgid=3138450510784249840

Vectorial1024 commented 2 years ago

Now, because scrap-recycling involves direct assignment to stations, I am thinking of out right not doing it.

In the future maybe I will have time to discover what exactly is Local AutoTrade

MortisLegati commented 2 years ago

From what I've seen, Local AutoTrade is an AutoTrade that just works in-system, like previous X games' not-universe-trader.

Vectorial1024 commented 2 years ago

Indeed, but eventually, I still need to open up the source code and see for myself what exactly is this Local AutoTrade. The end users want the usable behavior, but I want the definition.

Vectorial1024 commented 2 years ago

I went through the code definitions, and it would seem that the entire mod has yet again been jammed by EgoSoft:

Will need to follow up with a game launch later to see what is and is not.

Vectorial1024 commented 2 years ago

We don't actually have Export AutoTrade (awkward), but we do have Local AutoTrade and Advanced AutoTrade.

Fortunately the AutoTrade portion seems to be relatively untouched, so we will have better compatibility on that side.


Mining fleets failed this time because the range parameter have become internal, which means I cannot pass into it trivially.

This will mean that, unfortunately, mods such as Sanity Sector Mining (relies on this mod) will need to rewrite their compat code.

Looking back, X4 v3.0 (non-miners cannot get Miner assignment), v4.0 (Mimic/Assist) and v5.0 (internal code restriction) all broke mining fleets...

Vectorial1024 commented 2 years ago

A quick hack was used to fix the miner's compat problem.

It was later decided that we will also do salvager fleets.