Jump to content

[1.0.4] Single Use Docking Ports


MadDoctor5813

Recommended Posts

This mod adds single use docking ports in the three standard sizes. They can't be undocked ever, short of ripping your craft to pieces. They make up for this large flaw by being significantly less floppy than the standard ones. Use these for building that mega-interplanetary ship of death you've always wanted to build. Or for a giant ring space station. Just make absolutely sure that your module is where you want it, because you only get one shot.

Fair Warning: I haven't quite figured out custom textures yet, so... you'll have to pay attention during construction.

Downloads:

KerbalStuff: https://kerbalstuff.com/mod/1211/Single%20Use%20Docking%20Ports

Github: https://github.com/MadDoctor5813/SingleUseDockingPorts

I hope you enjoy the mod, at least when you're not cursing yourself for docking the wrong ship...

Link to comment
Share on other sites

Where is the source code and License ?

The license doesn't have to be here. The rule says if it is at all the download locations and inside the downloaded file it is fine. It only needs to be here if you are posting a link to something like DropBox where this would be the download location, but KerbalStuff has it covered.

I like the idea. It's like thermite welded docking joints. I don't know if thermite welding has ever been done in space, but I do know it can be. In any case, good job on the mod!

I notice you are using the stock textures. It would be better if you just pointed the config file at the Squad folder textures. Then your mod will have very little memory footprint.

Edited by Alshain
Link to comment
Share on other sites

I like the idea, but it's a high-risk medium-low reward, especially considering other popular mods like KIS/KAS's docking support options, and the flipping between OP and hilariously buggy quantum struts. Instead, an option to weld together (and twist the connection to get the angle juuuuust right) connected docking ports would make a neat simple modlet, not require new parts or textures, and would be backwards compatible for those dedicated people who already have their KSS up to a few hundred parts.

Link to comment
Share on other sites

BTW, is it possible to make a version of those docking ports featuring keying? I mean docking ports that are possible to dock at a single roll angle only.

It might be. It's definitely a good idea, but this would probably require me to modify the actual code that controls docking, which I can't really do. I can only run code after the fact thanks to the GameEvent system. I could just wholesale override the docking code, but that means I would have to rewrite it from scratch, and I have no idea how it works. I'll have to ask on the IRC or something.

I notice you are using the stock textures. It would be better if you just pointed the config file at the Squad folder textures. Then your mod will have very little memory footprint.

I do plan to have some kind of custom textures, so you can tell them apart from the stock. Consider them placeholders for now.

Instead, an option to weld together (and twist the connection to get the angle juuuuust right) connected docking ports would make a neat simple modlet, not require new parts or textures, and would be backwards compatible for those dedicated people who already have their KSS up to a few hundred parts.

Now this is the kind of idea I wish I had thought of.

Link to comment
Share on other sites

this sounds good, will take a look when home.

no pics? or are they the same models as stock?

If you did want to add unique parts, what about making them very thin and square?

only allow connection at 0,90,180,270 degrees to make construction more precise?

maybe engineer kerbals could manually uncouple them, but one connector gets destroyed?

Apologies if you have already done exactly as I've described.

thanks for your work!

Link to comment
Share on other sites

Now this is the kind of idea I wish I had thought of.

Go for it! Making it possible to twist and weld docking ports and connection points would be a great tool for those who want to build a grand tour ship in orbit. Perhaps with the added functionality of being able to explosively and destructively decouple the parts once welded.

I'm pretty sure that most people prefer a mod which adds reasonable functions to stock parts, rather than adding a new part which is essentially just a stock part with something tweaked. It makes the mod much easier to use and/or remove because it can be deleted without breaking any ships which had pieces from that mod.

Link to comment
Share on other sites

Go for it! Making it possible to twist and weld docking ports and connection points would be a great tool for those who want to build a grand tour ship in orbit. Perhaps with the added functionality of being able to explosively and destructively decouple the parts once welded.

I'm pretty sure that most people prefer a mod which adds reasonable functions to stock parts, rather than adding a new part which is essentially just a stock part with something tweaked. It makes the mod much easier to use and/or remove because it can be deleted without breaking any ships which had pieces from that mod.

Don't worry, it's on my to do list. It should be possible with ModuleManager and a custom module.

Link to comment
Share on other sites

Go for it! Making it possible to twist and weld docking ports and connection points would be a great tool for those who want to build a grand tour ship in orbit. Perhaps with the added functionality of being able to explosively and destructively decouple the parts once welded.

I'm pretty sure that most people prefer a mod which adds reasonable functions to stock parts, rather than adding a new part which is essentially just a stock part with something tweaked. It makes the mod much easier to use and/or remove because it can be deleted without breaking any ships which had pieces from that mod.

You mean some like

+PART[dockingPort2]
{
@name = singleUseDockingPort
@manufacturer = Dynamic Dynamics
@title = Single Use Docking Port

-MODULE[ModuleDockingNode]
{}

MODULE
{
name = ModuleSingleUseDockingPort
referenceAttachNode = top
nodeType = size1single
}
}

+PART[dockingPortLarge]
{
@name = singleUseDockingPort
@manufacturer = Dynamic Dynamics
@title = Single Use Docking Port

-MODULE[ModuleDockingNode]
{}

MODULE
{
name = ModuleSingleUseDockingPort
referenceAttachNode = top
nodeType = size2single
}
}

+PART[dockingPort3]
{
@name = singleUseDockingPort
@manufacturer = Dynamic Dynamics
@title = Single Use Docking Port

-MODULE[ModuleDockingNode]
{}

MODULE
{
name = ModuleSingleUseDockingPort
referenceAttachNode = top
nodeType = size0single
}
}

EDIT- That should copy the part and delete ModuleDockingNode if, I got that part right and add ModuleSingleUseDockingPort it would show 2 stock part of each but with different names pretty much just saving on the texture.

Edited by Mecripp2
Link to comment
Share on other sites

You mean some like
+PART[dockingPort2]
{
@name = singleUseDockingPort
@manufacturer = Dynamic Dynamics
@title = Single Use Docking Port

-MODULE[ModuleDockingNode]
{}

MODULE
{
name = ModuleSingleUseDockingPort
referenceAttachNode = top
nodeType = size1single
}
}

+PART[dockingPortLarge]
{
@name = singleUseDockingPort
@manufacturer = Dynamic Dynamics
@title = Single Use Docking Port

-MODULE[ModuleDockingNode]
{}

MODULE
{
name = ModuleSingleUseDockingPort
referenceAttachNode = top
nodeType = size2single
}
}

+PART[dockingPort3]
{
@name = singleUseDockingPort
@manufacturer = Dynamic Dynamics
@title = Single Use Docking Port

-MODULE[ModuleDockingNode]
{}

MODULE
{
name = ModuleSingleUseDockingPort
referenceAttachNode = top
nodeType = size0single
}
}

EDIT- That should copy the part and delete ModuleDockingNode if, I got that part right and add ModuleSingleUseDockingPort it would show 2 stock part of each but with different names pretty much just saving on the texture.

Basically, but I'm probably going to keep the manufacturer and the name and stuff the way it is in stock.

Go ahead, use them as you please

Unfortunately, with this change I'm making, I might not even need them.

Link to comment
Share on other sites

Another suggestion: have the docking port rotation as part of the inflight mode context menu, and for welding, have it be a task done by EVA'ed kerbals, which would add to the realism (safer to weld on the outside of a ship), as well as adding an intermediate step to remove misclicks.

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...