#Coming to you soon : platform to

1 messages ยท Page 1 of 1 (latest)

pale portal
#

Can it be fully automated?

delicate narwhal
#

It's not the goal.
And If you mean like the logistics between platforms and planets, I think it could, and I'll try to do it, but that will be more complex.

#

The initial goal is to be able to transfer items between platforms by yourself every once in a while.

#

Once this experiment is done and working as I want, I'll see if I can make a more complex system to REALLY allow inter platform logistics

pale portal
#

To me this looks a lot cleaner than the other mod we have for this. ๐Ÿ˜…

delicate narwhal
#

However, IDK how I would implement this with the current scheduling thing. (the main caveat is that I would have to block the platforms, use a signal maybe, or alter their scheduling)

delicate narwhal
pale portal
#

Yeah. I'll be looking forward to this.

delicate narwhal
#

The platform really creates pods that really take the stacks from the platform

pale portal
#

It also prevents the platform from moving while it is dispatching the pods, right?

#

If it does, then doing this is the best implementation, as you can just dispatch automatic requests to other platforms and it will just work seamlessly.

delicate narwhal
#

Eh if that's fesable yep

#

Are you pushing me to make a LTN platform system ? ๐Ÿ˜„

pale portal
#

Kinda xD

delicate narwhal
#

I also intend to give it some leeway

#

meaning that platforms could interact with one another as long as they are somewhat close

pale portal
#

Being stopped in the same orbit is the most stable method imo.

#

IF ejecting/receiving the pods stops you in that orbit then that makes it fully seamless.

#

And completely natural.

pale portal
#

From here you could have a "fake planet" as a place to request from, then when a platform enters into orbit and another one is requesting with that fake planet you dispatch the pods.

delicate narwhal
#

nah that wouldn't work

#

TO be clear : distance between platform is a non issue for the script itself. You can command the pods to go wherever you want.

#

The only thing I couldn't get so far is the exact relative positions of the platforms, but I haven't searched a lot tho

pale portal
#

I could script that but it would be very heavy on the updates.

#

like calculate where every single space platform is on their paths every tick then compare the distances.

#

Even if you don't do it each tick, it is still heavy.

delicate narwhal
#

Wait.

#

If you can know how much a platform has progressed

#

then its really simple

#

can you ?

pale portal
#

it is more feasible to use the "arrival" events for performance.

delicate narwhal
#

do you know at least the amount of progress a platform has done towards a destination ?

#

that's the only information I need

pale portal
#

It is simple, just gonna be very laggy.

#

laggy, or unreliable.

delicate narwhal
#

no no no not at all

pale portal
#

Depending on the number of platforms you have.

delicate narwhal
#

I just want to be able to exchange between platforms on a same "line" if they cross one another or are close to one another

#

nah the time complexity for my usage would be very low

#

so : can you know where a platform is between 2 planets ?

pale portal
#

Yes.

delicate narwhal
#

Alright

#

how is this information given ? what is it ? % progress ? distance in KM ?

pale portal
#

I think progress.

delicate narwhal
#

If its % progress, then, extremely simple and not laggy

pale portal
#

The possible lag part is that you need to tick it constantly for every moving platform.

delicate narwhal
#

I wouldn't allow platforms to send ressources to each other if they are not :

  1. ON the same road (not necessarly in the same direction)
  2. Close
pale portal
#

That is my fear.

delicate narwhal
#

oh no that's nothing

pale portal
#

You might be able to use events to check if two platforms are on the same line.

delicate narwhal
#

You take every platform traveling between 2 points, and you measure the progress.
You make sure to order the routes in the same direction
Like if a pf does nauvis -> vulcanus and has 20% progress
that's the same of a vulcanus -> nauvis 80% progress

#

then you just do progress of PF1 - progress of PF2

#

if the difference is less than a fixed value : they can transfer

#

you can do this calculation every tick, doesn't matter.
If you want, you can dispatch this check

pale portal
#

I don't know if it makes any logical sense to do it like that, as that logic means that you have 2 platforms that are either going to the same direction at different speeds, or one of them is already heading to the other platform.

delicate narwhal
#

well.

#

If you want your items quicker, it makes sense

#

Say you are leaving Nauvis on a PF, you want your sweet gun that's incoming

pale portal
#

I don't think it speeds up anything as you'd need heavy circuit conditions to turn a platform around mid flight.

delicate narwhal
#

but yes, now that we talk about it, PF 2 PF while moving would probably be a case nobody uses

pale portal
#

Or soo infrequent that it's not worth doing it. :/ It is neat, just probably not something that is worth it.

delicate narwhal
#

I just wanted to mod P2P around an orbit because... i wanted to get some guns / structures from certain planets where you need a strong platform without going through the hassle to drop it and send it to the other pf

pale portal
#

the platform you deposit into mid flight still needs to turn around.

#

I see what you want, it is not entirely dumb, I just think that it is more work then its worth. >.<

delicate narwhal
#

coding is fun

#

and LUA is extremely fast

#

accessing the API is the bottleneck

#

I see many ways to optimize it and make it simple to code

#

but indeed, you are right, I believe there is no point to allow in travel P2P

pale portal
#

I do think it is funny to see the pod leave mid flight, but there is no real, practical use to it :/

delicate narwhal
#

wait

#

I just thought of a use case

#

making a space station

#

if you want to keep a platform between two locations, static

#

that would effectively allow you to make a space station

#

anyways, I'm off for today, i'll dig these ideas tomorrow

#

here is an updated progress :

pale portal
pale portal
#

This is because during the beta test people got their platforms permanently stuck.

delicate narwhal
#

There are probably means to circumvent this.

pale portal
#

At least in my opinion if you wanted to get the player to build a space station like that, then you need a space location with something in it that you want to build on top of.
The types we have right now are the science platforms above Nauvis, and mining platforms above surfaces like aquillo.

delicate narwhal
#

it's coming along nicely

#

GUI is now more user friendly and provides a great UX, IMO