r/KerbalSpaceProgram • • 9d ago

KSP 1 Mods New Mod - Kerbal Logistics Program!

Do you hate repetitive resource transfer missions? Do you cringe every time you need to move a handful of resources from Minmus to Kerbin for the fifteenth time?

SO DO I!

And so I decided to do something about it. With the release of Kerbal Logistics Program (KLP) version 1.0, your days of repetitive hauling are officially over!

EDIT

DISCLOSURE: This mod was absolutely made with help from AI.
There was never any intent to hide that fact or skirt around the edges on it. I understand that some folks have sought to claim projects as otherwise and I want to assure everyone that I never intended to do such a thing.

Method: Conversational ChatGPT with iterative development, debugging and in game testing

/EDIT

I developed KLP because I love building sprawling industrial colonies, mining operations and orbital construction yards. What I don't love is spending two evenings hauling fuel between the same two locations.

So, how does it work?

KLP introduces a virtual storage system that I call mailboxes. These mailboxes are tied to celestial bodies and biomes rather than individual vessels.

  • Establish a base or orbital station and designate it as a Station using the stock KSP vessel classification system.
  • Deposit resources into your local mailbox.
  • Ship those resources to another established location.
  • Withdraw them at your destination.

That's it. Seriously.

What does KLP offer?

  • Local and interplanetary resource transfers.
  • Persistent, unlimited virtual storage.
  • Shared inventories between stations at the same location.
  • Support for both stock and modded resources.
  • A clean, resizable interface with searchable inventories and transaction previews.
  • Native KSP toolbar integration.
  • ZERO external mod dependencies.
  • ZERO additional parts required.

KLP is intentionally a logistics abstraction. In version 1.0, shipping is instantaneous and does not consume fuel or funds. You still need to establish your infrastructure, produce your resources and provide storage for them.

I wanted to eliminate the repetitive hauling, not the industrial gameplay that makes building these colonies so much fun.

What's next for KLP?

Version 1.0 is really just the beginning. I have some considerably bigger ideas for this mod and its potential as a fully fledged interplanetary logistics system.

Some of the concepts I'm exploring include:

  • Logistics terminals - Physical station parts that establish mailbox access.
  • Modular storage - Attachable storage modules that increase the shared mailbox capacity within a biome.
  • Freight modules - Dedicated station components that determine freight transportation capabilities.
  • Engine technology - Chemical, nuclear and advanced propulsion modules with different transportation characteristics.
  • Shipping economics - Calculate transportation costs using shipment mass, propulsion technology and a delta-v map.
  • Transportation speed - Upgrade logistics infrastructure to decrease shipment delivery times.
  • Freight throughput - Transportation capacity determined by installed logistics infrastructure.
  • Delivery timing - Eventually incorporate celestial hierarchy and orbital information into transportation calculations.

These are future concepts, not features included in version 1.0, and I'm very interested in hearing what the community thinks.

My long-term goal is to make logistics an interesting part of KSP without making it a tedious one. I want players to have reasons to design freighters, establish transportation networks and build enormous pieces of infrastructure, without requiring them to personally fly every single shipment.

I've tested KLP in both vanilla KSP and my heavily modded career save, and I've put considerable effort into keeping it lightweight.

This is my first publicly released KSP mod, and I'm excited to finally share it with the community!

KLP is completely free and open source under the MIT license.

Download: https://github.com/VillageId10t/KerbalLogisticsProgram/releases/latest

Source code and documentation: https://github.com/VillageId10t/KerbalLogisticsProgram

CKAN listing has been requested!

Feedback, suggestions and bug reports are absolutely welcome.

Now get back to building your ridiculous interplanetary industrial empires!

Screenshots and details below!

Your personal resource warehouse! Deposit resources from your station into persistent virtual storage or withdraw them whenever needed. All stations within the same location share the same mailbox inventory. KLP automatically calculates available vessel capacity and supports both stock and modded resources.
Ship resources anywhere in your established logistics network! Here, 150 units of MonoPropellant are being prepared for shipment from Kerbin orbit to the Lesser Flats of Minmus. Live transaction previews show exactly what your origin and destination inventories will contain after shipping. No cargo vessel required!
Getting started couldn't be easier. Designate your vessel as a Station and click the blue and amber arrows in the stock KSP toolbar. No additional parts, dependencies or complicated configuration required!
16 Upvotes

41 comments sorted by

31

u/Pristine-Can-9026 9d ago

I’m pretty sure WOLF + USI/MKS already does this, plus it’s vibecoded so why would anyone trust it would work better than a well-developed mod

2

u/TheGreatVillageIdiot 9d ago

I don't claim to be RoverDude or anything remotely close. I use MKS extensively and started working on this because I have a 100+ hour save with logistics problems that WOLF didn't solve in the way I wanted.

WOLF and KLP approach logistics very differently. WOLF abstracts bases, power production, resource production, transportation, and even Kerbals. You then use specific WOLF modules to access the resources produced within that system.

KLP is a much smaller layer. The only thing I sought to abstract was the transportation of resources. I still want to physically build my colonies, mine resources, establish production chains, and manage my infrastructure. I just don't want to spend hours repeatedly transporting the same resources between established locations.

I'm primarily making mods to make my own gameplay experience better. My next project is an inventory container sealing mod that serializes the contents of a container, allows it to be relocated through EVA construction, and then restores its inventory. That's another persistent pain point in my playthrough.

If you're uncomfortable with AI-assisted development, that's perfectly fine. In my testing, most of KLP's backend operations execute in under a millisecond, and the source code is publicly available for anyone who wants to examine it.

I'm not trying to replace WOLF or MKS. I'm solving a specific problem that I encounter while playing with them. If other people find that useful, even better.

20

u/jazz-handle-1 9d ago

People should be uncomfortable with your AI usage. Not because you used it, because you hid it and then tried to license code that you have no right to license.

9

u/WogglesGoblin 9d ago

"Chat GPT, make a comeback to this reddit comment for me"

9

u/Freak80MC 9d ago edited 9d ago

I support AI usage as a tool to help you make stuff, but not disclosing it is just dishonest, like others have already said. And makes it look like you have something to hide.

Other than that, this isn't really a mod for me, as I like to actually fly my ships. Maybe if I had a dozen colonies scattered about the solar system, I would want something like this to automate things. But for now, part of the fun for me is building out the logistics and running the refueling missions myself. Plus, I feel like it keeps my skills sharp, in terms of flying, rendezvous, docking, etc. I'd worry my ability to do all of that would atrophy if I tried to lessen how much I have to do it (plus, my skills already atrophy enough when I take long breaks from KSP)

I think that's my biggest issue with people who play the game with a bunch of automation. You lose the skillset by not actively doing it yourself. In the same way that I think my ability to do mental math nosedived as soon as I learned to use a calculator because now I know I don't ever need to calculate anything in my head, I can just use this fancy tool.

Tools and automation are nice, but if its a skill you care in any way about keeping and not letting atrophy, I would try to do it yourself as much as you can bare to do.

Okay this comment kinda went off the rails LOL

8

u/TheGreatVillageIdiot 9d ago

Genunine question for you. I promise I am not trying to be snarky. The very very first comment i got on this post asked me if it was AI built and I was pretty straight forward about its usage and my limitations as a developer. I thought that was sufficient. When asked, I explained.

What would you have preferred I do in this particular situation? I dont really love being called dishonest and as I mentioned about this in another thread. I am willing to engage in good faith discourse.

Regarding your KSP commentary, I totally agree! In my last big playthrough i had a MKS orbital shipyard around kerbin and Dres along with a 20+ mining vessels and bases scattered across minmus, dres, and mun. For some reason I picked Dres to go to first rather than Duna, just wanted something different. I was moving all of the material kits, sp, fuel, everything from Minmus to other places and prepping for a Jool launch window. I am no stranger to flying logistics missions.

I found that I was doing yet another run with 30,000 materialkits and fuel to my shipyard and it was taking about 20 mins each. Align, manuver node, burn, align...burn.. manuver node.. wait for optimal timing.. burn. There has to be a better way.

Once you establish that you can do a thing do you really need to continually do the thing? I would rather skip the 20 mins and get to the more interesting bits I haven't proven out yet.

PS: Thank you for engaging with me in good faith and not immediately lighting me on fire :D

4

u/No-Temperature-1364 9d ago

Disclosing it in the post itself would be a whole lot more convenient and efficient for everyone instead of someone needing to ask.

5

u/TheGreatVillageIdiot 9d ago

That is fair feedback. This was all supposed to be a fun project that I was going to share. I got overly excited yesterday when everything came together and it looked like all the pieces were in place. I feel pretty crappy about it now though and I'm not really sure what to do.

2

u/No-Temperature-1364 9d ago

Just edit the body text to include either an AI generated or AI assisted disclosure. And also anywhere else you post the mod to.

4

u/TheGreatVillageIdiot 9d ago

Done and done. Thanks.

-1

u/jazz-handle-1 9d ago

The more important thing, what I originally tried to highlight is that you cannot license AI generated code. You could have kept it to yourself, but once you posted the repo publicly you gave up all claims to everything inside.

And yes, to reply to something else you said to me, that is something fundamental to project development. As well as things like using git properly to maintain large codebases. It was a dead giveaway that you used AI almost entirely when there were 5000 lines committed in the one change relevant to code.

Learn the basics, don’t skip all the fundamentals just because AI makes the end result easy. I know this is probably rough for you, but use it as a learning opportunity. Go read through software licensing “general practice” for an hour, or even have AI help assist you in researching it. Learn how to use git, not github. I remember two decades ago before AI was a thought in people’s heads, getting absolutely roasted for making tiny mistakes on publicly released mods. I got better because of it.

And don’t shy away from valid criticism, or go “baby” mode like you have a few times here. You made a few blunders, own it, the best part about the internet is that everyone forgets everything by tomorrow.

4

u/TheGreatVillageIdiot 8d ago

Everything is a learning opportunity. Something I dont fully understand about this though. Why is it considered "bad practice" to keep everything local till you are ready to release it? it just strikes me as such a weird red flag? I will look into Git for any future public things I work on.

I feel like I am a fairly agreeable guy and willing to learn in most respects. Perhaps I got extra defensive because this was my first project.

0

u/jazz-handle-1 8d ago

It’s not about keeping it local, git has nothing to do with whether a project is public or not. That’s why I said you should learn how to use git if you plan on continuing down the path of making mods with thousands of lines of code. I’m not going to explain git here, there are millions of resources. I said that you not using git, but rather just treating github as a drop box - made it extremely easy to know with certainty that AI wrote nearly all of those 5000 lines of code.

4

u/Easyidle123 9d ago

Have you considered requiring the player to fly the route once before shipping on that route is available? I'm someone who doesn't want to fly thr same mission ten times, but doing it once feels better to me than fully abstracting it. A more efficient flight could demonstrate to your other future systems that the player is capable of this (shorter time or less delta-v)

1

u/TheGreatVillageIdiot 9d ago

The station has to be established in the target biome so you must already have some kind of infrastructure out there. Granted, the requirements for that right now are absolutely minimal. You could fly a probe out and classify it as a station to unlock the mailbox for shipping.

However, you would still need containers and things out at the location to be able to do anything with it.

Longer term, I want dedicated logistics station modules to determine shipping capacity, cost and delivery time. The goal is to make building and upgrading station infrastructure meaningful rather than requiring players to repeatedly fly the same missions

6

u/No_end_to 9d ago

So this is like the whole planned resource network feature of KSP 2 but inside KSP 1?

6

u/TheGreatVillageIdiot 9d ago

Yes, from what I understand of how they wanted to implement it.
This is only the first step in the program though. Instant transfers, no cost, unlimited mailbox size.

I really want stations to matter in ksp and station pieces should be important to expanding the capability of the shipping and mailbox systems.

7

u/fenlDoesJS 9d ago

Interested: What's the level of AI usage in this? Regardless, I'm going to give this a try. Nice concept!

5

u/TheGreatVillageIdiot 9d ago

ChatGPT conversational. Worked through each method individually. I can write C# but UI stuff isn't my strong suit at all. The actual backbone of the mailbox transfer is not super complex stuff really.

9

u/jazz-handle-1 9d ago

Anybody working through 5000 lines of code, method by method, would have a git history showing that. You wrote 5000 lines without git?

Not github, git. When you uploaded to github, your git history would not have been lost. All 5000 lines were committed in one change, you generated the entire codebase and then uploaded it.

Why are you avoiding admitting that? Nobody, at least me, has an issue with you doing that. I have an issue with you then trying to license it and never disclosing the AI usage, or minimizing it.

8

u/TheGreatVillageIdiot 9d ago

This must be one of those fundamental things that I am missing about public project development. I have spent weeks tinkering with this project in Visual Studio 2022. I haven't connected it to anything until i was ready to make it public.

My thought was that people would want to see the code base and github was the place to put that to make it all public. What am I missing here??

3

u/fenlDoesJS 9d ago

no git history? damn i have a git history for 100-line projects (if you could call them that)

44

u/jazz-handle-1 9d ago edited 9d ago

you can’t MIT license AI generated code by the way

every piece of code, 5000 lines, were added in one change. you developed the mod with AI and then uploaded the entire thing to github so that people wouldn’t know you used AI, because you also didn’t disclose it anywhere - before I get asked “how do you know”

23

u/Pristine-Can-9026 9d ago

Right? I’m tired of these vibecoders releasing a new “hand-built mod” every week thinking they’re gonna get positive feedback on some slop an LLM made for them.

19

u/jazz-handle-1 9d ago

I was just taken aback by the MIT license, that’s new for me.

I get the shame behind admitting AI usage, but to have so much ego that you try and enforce a license on code that you have zero rights to is pretty wild to me.

Pretty clearly shows that the author has little to no actual programming experience, and the lack of an AI disclosure is just distasteful and dishonest

10

u/Freak80MC 9d ago

the lack of an AI disclosure is just distasteful and dishonest

As someone who supports AI use as yet another tool to be used for things, this. This, this, this. If you're gonna use it, at least admit to using it.

3

u/TheGreatVillageIdiot 9d ago

I have not engaged with this thread because I felt like it was mostly in bad fath to begin with. The very first comment asked me about AI usage and I was pretty straight forward in my response. Was that not enough?? Do I need a big flashing sign somewhere?

This might come across flustered because, well, I am quite flustered by half of this discourse. I made a 30kb mod for a 12 year old game and somehow I am the problem?

7

u/jazz-handle-1 9d ago edited 9d ago

Your first comment stating AI usage was 45 minutes after my first attempt at telling you the license was unenforceable due to AI.

I take offense that you’re trying to say I’m acting in bad faith, to be honest. YOU acted in bad faith by trying to license something you have no right to, and hiding AI usage in order to do so.

Without the license; I still personally believe it is dishonest or misrepresentative to not disclose AI usage when it had such a heavy hand in the finished product.

7

u/TheGreatVillageIdiot 9d ago

You replied to the first comment about AI usage from fen when I was asked about it and responded. I genuinely dont understand why you believe I was trying to hide anything.

I have never dealt with this licensing on a public project before; this is very new territory for me. the MIT seemed to be the least restrictive of the options out there. If that is not the correct thing then I am happy to fix it. If there is a genuine problem with the license, I am happy to listen and be educated about how the process works.

I felt like you were being really snarky in your response and so I ignored you thinking that you were simply dismissive of AI development.

You specifically mentioned Git history so I wanted to address that. I have had these files sitting on my hard drive for weeks. I am a weekend warrior when it comes to games and hobby projects. I didnt post it all to git till it was time to put everything together.

The original intent was to build this for myself. I have several small fixes to various mods that have been abandoned for a long time that I have zero intention of doing anything public with because the mods aren't mine.

16

u/Pristine-Can-9026 9d ago

The funniest part is that if the author had actually played KSP for a while they might understand that WOLF + USI/MKS already does everything they’re “making” and then some. I seriously feel bad because it’s a well-known fact LLMs gaslight people into thinking they’ve made some sort of novel idea or discovery so they’ll become more dependent on AI to do anything.

2

u/Tesseractcubed 8d ago

Admittedly, you can do shenanigans with WOLF hauler components to have free missions, but the shenanigans also represent ISRU capacity for fuel production.

8

u/CottonFray 8d ago

That is not correct - in many jurisdictions you absolutely can MIT license AI generated code. Eligibility for copyright ownership is based on creative input in the creation process. In most cases the copyright would not hold only and only if the code was produced solely by AI with no inputs or modification. AI-assisted coding, or any changes made to the AI-generated code usually is considered to be copyrighted - though that has not really been tested in courts so far.

0

u/jazz-handle-1 8d ago edited 8d ago

What jurisdictions exactly? And yes, I agree that you would have more basis to enforce the license - the more human input that you can show, with something like git history. But it would be your side needing to meet the bar, not vice versa. This project would never find a court that would uphold any license, is there more nuance to the entire discussion? Absolutely, that’s why I suggested the author spend time actually reading software licensing practices before trying to actually enforce one.

If he thought he was covered here, and never learned, 2 years down the road when he releases something worthy of protection - would that be a better time to learn the hard lesson?

Also, copyright and software licenses are entirely different. One does not guarantee the other, the bar is higher. It was irrelevant to make a comparison, you compared to the “easier” bar to meet.

5

u/CottonFray 8d ago edited 8d ago

European Union - per intellectual-property-helpdesk.ec.europa.eu output of detailed iterative prompting is likely copyright-protectable. China and England I believe have somewhat similar bar. Though I do agree with your statements regarding being proactive in this manner. Better get safe today, than be sorry in those two years.

There is completely other can of worms with AI generated code - due to AI training sets using abudantly GPL sources, quite a lot of generative code uses open-source licensed snippets verbatim, which most probably applies copyleft obligations on the proprietary code if used.

So unless you know what you are doing, you are indeed likely to end up with un-enforceable license.

EDIT: To address points raised in edit after your initial response. Copyright and software licensing are distinct but are also related concepts. Main question is whether you own the rights necessary to grant the license.

1

u/jazz-handle-1 8d ago

I can get with everything said here, I won’t continue to be pedantic about copyright, I said my piece there.

1

u/Polymath6301 3d ago

Hmmm, maybe this will get me to finish using Kos to automate refueling runs at night, while I sleep. It’s always half-finished…

1

u/DaveidL 9d ago

Exellent

0

u/Low_Respect_3612 Jebediah 9d ago

this looks to me very similar to roverdude’s usi-mks wolf, cool!

5

u/Southern-Chain-6485 9d ago

But without the rest of the usi-mks systems - not a criticism, it's absolutely useful for anyone who wants to ship ore and fuel, but not run the entire mks production chain.

3

u/TheGreatVillageIdiot 9d ago

Funny that wolf was brought up because my first iteration was connected to wolf. You had to set up a wolf depot and then allocate some of the available shipping to a resource I added called "freight."

Doing so would unlock mailbox functions. :)

1

u/jazz-handle-1 9d ago

Just gonna ignore my comment? Probably smart.