Jump to content

A question about nodes in docking port config


M4ck

Recommended Posts

Hello, modders.

I'm trying to make some new parts for my station(and maybe to share with you, if they work well) etc to lower the completed station parts count, and to do that, I need the docking port functionality. The question here is, what does the "top" part of the code target specifically?


MODULE
{
name = ModuleDockingNode
referenceAttachNode = top
nodeType = size1
}

is it the part of the node name in nodes config, like here:


node_stack_top = 0.0, 0.2828832, 0.0, 0.0, 1.0, 0.0, 1
node_stack_bottom = 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 1
node_attach = 0.0, 0.0, 0.0, 0.0, -1.0, 0.0

if yes, would setting


referenceAttachNode = bottom

instead make the opposite end of the port be the "docking" end? And yet a bit more - do the nodes' names have to follow a specific format if I were to add more nodes to a part? Like creating a construction node A1?


node_stack_A1

I am not talking about making that node another dock yet, just about adding various nodes to part cfg.

Link to comment
Share on other sites

Respectively:

-Yes

-Yes

-Yes/No. Do not use blanks in the name, other than that your free to choose the (third part of the) name. It doesn't really matter if you call it A1, Z99 or even thirdnode. However, a part with multiple dockingnodes will show multiple dockingrelated lines with buttons. It will be unclear which line will (f.i.) undock the topnode and which the bottom node.

Link to comment
Share on other sites

Thanks a lot for a quick answer, it's just what I needed :) I 've been trying to merge some functionality from decouplers, docking ports etc, but had no idea really how to create additional nodes that would work as intended. Thanks again.

Now, time to test that quadcoupler-decoupler-dockingport monster...

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...