P2P-Automation : Platform to Platform Logistics

by SirPuck

Automated logistic requests from Platfrom to Platfrom in the same orbit (space location) using vanilla mechanics.

Content
3 months ago
2.0
1.15K
Logistics Logistic network

g p2p rockets and planetary rockets

3 months ago

I read the description and you mention this:

The system respects storage limits (and the red bar) and will try its best to not overfill your requester hub. Keep in mind, however, that P2P Automation doesn't track cargo pods sent by planets, so it's up to you to handle this part so your resources don't spill outside of your hub.

So that means that if you request an item thats on other platforms and on the ground that it can happen that its send from both locations?
If thats the case, can I suggest you looking into something. Requests can be set to request only from a specific planet. Is there a way to limit it there? setting a resource to request only from fake planet P2P, which only allows P2P transports but wont request from the ground, or a toggle button in the request-planet section when adding items to the list that can toggle "allow from planet yes/no"? maybe this might give you an idea to make a solution to that problem

3 months ago

Hello Quaitgor.
Thank you for the suggestion.

Right now you can use a fake item with the P2P icon, at the beginning of a logistic planetery request (the vanilla interface) to tell the game that platforms have priority over the requests of specific items in this section, over the specific planet.
Using fake planets is kind of a solution but it's clunky and maybe not what you'd want, as it would complicate the user interface.
For instance, let's say I add a fake planet "platforms", you would still need a way to tell the system which platform can send the goods or not. And as "space locations" are defined at data stage, there is no real way to add them dynamically at runtime.

An alternative would be to have fake space locations being "platform groups", and add an interface to allow the player to add platforms to these groups, but I would have to put a significant number of groups there to allow flexibility (again, this is defined at data stage, so there is no ability to add new groups at runtime).

So, there are solutions to these issues, but the caveats are usability and UX.

3 months ago

Personally, I don't see the downside to a "fake planet". That avoids complicating your mod UI, in favour of using Vanilla functionality. It's a bit like Project Cybersyn implementing its own station priority setting, but still respecting vanilla station train limit.

I say this, because the primary large-scale use I can think of for this mod is creating "cargo space stations". That is to say, space stations with a lot of cargo slots and little to no industry, which can be loaded with rocket cargo perpetually while other platforms travel. In this scenario, some platforms would only want to transfer from the ground, while others would only want to transfer from other platforms. Having some way to encapsulate each group would be nice.

3 months ago

Unfortunately it's not a "I don't want to" issue, but more of a "the game doesn't allow this" issue.
Fake planets are data stage so their number is limited.
I use a trick to prioritize PFs vs Planets currently. There is no real way to REALLY request from PFs first without disabling planetary requests.
Moreover, using the vanilla UI would mean duplicating the requests anyway if you want to request from planets AND stations.
It could work somewhat well if some platforms wanted to request only from other platforms, yes. But we cannot have it all AND have an UI that's clear to the player.
I'll probably make an experimental branch to try these things out, but I have no way to get feedback from most players.

3 months ago

Understood. I would personally be perfectly happy requesting things either ONLY from planets or ONLY from platforms, but I may also be in the minority. Thanks for the explanation, regardless.

I also think that having the P2P requests exclusively request from other space platforms and needing duplicate requests for requesting from planets makes sense. I can think of several reasons for requesting only from platforms and not from a planet, and it mimics vanilla behavior with requests from multiple planets.

Furthermore, if you want a request to come from both a planet and a platform, you would just have to duplicate the request. On the current system, it is completely impossible to have a request from a platform and not from a planet.

For instance, if I wanted to buffer tungsten plates in a hub platform while my hauler platform flies off to get more, I would have to request tungsten plates. The hauler would sent its plates over, and the planet would also send anything in the logistics network of launch pads into space. I don't want the planet to send its plates back up and I don't want to disable autofilling requests either.

2 months ago

I don't understand why you cannot requests just from platforms... no one forces you to request from planet and platform. P2P doesn't need you to request from a planet to function.

2 months ago

Understood. I would personally be perfectly happy requesting things either ONLY from planets or ONLY from platforms, but I may also be in the minority. Thanks for the explanation, regardless.

By the way that's how it works currently.
When you setup a P2P request, this request will request only to other stations. It's up to you to setup a similar request to a planet. The current priority system just allows you to manually use a fake item in the planetary request that will handle the case where you would request an item to another platform and the same item to the planet.

Although I'm working on a more vanilla friendly implementation, there might bee a loss in fuctionallity.

I will probably let this version of the mod online, and publish another version, way more integrated into vanilla, easier to use, but likely with a bit less finetuning.

New response