Jump to content

Multiple parts stacked on a single node


Recommended Posts

Hi guys,

Does anyone know whether it is possible to stack parts on a single node by editing the .craft file? I'm not a massive fan of the Mk2 cockpit, but it allows for the avionics package to be mounted easily unlike the Mk1 cockpit. However, I've noticed that the Mk2 looks much better if a Mk2 spaceplane adapter is attached to the front node of the cockpit so that the cockpit lies inside the adaptor (see picture). Unfortunately, that means that nothing else can be attached to the front node of the cockpit. I've tried adding the nose cone adapter in the craft file, but when I load the aircraft the nose cone is not actually attached.

screenshot8m.png

<b>Is there a way of doing this?</b>

Link to comment
Share on other sites

Hi Narcosis, how about making that nosecone surface attachable?

Just change this:

// attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision

attachRules = 1,0,1,1,0

To this:

attachRules = 1,1,1,1,0

See if that does the trick :)

(Btw, the nose cone will stay on even if the value is reset, such as when sharing craft files with others )

Link to comment
Share on other sites

Thanks Sal, but no joy I'm afraid :( Though I was able to attach the modded nosecone adaptor to the cockpit, it didn't sit flush as it would normally. Instead, it was partially embedded inside.

I did try adding a second node to the mk2 cockpit, and that worked. However, my existing spaceplanes now load with the 'loaded ship missing parts' error, so this isn't really a solution either :-/

// --- node definitions ---

// definition format is Position X, Position Y,

Position Z, Up X, Up Y, Up Z

node_stack_top01 = 0.0, 7.5, 0.0, 0.0, 1.0, 0.0

node_stack_top02 = 0.0, 7.5, 0.0, 0.0, 1.0, 0.0

node_stack_bottom = 0.0, -7.75, 0.0, 0.0, 1.0, 0.0

node_attach = 0.0, 0.0, 5.12, 0.0, 0.0, -1.0, 1

Link to comment
Share on other sites

Thanks Sal, but no joy I'm afraid :( Though I was able to attach the modded nosecone adaptor to the cockpit, it didn't sit flush as it would normally. Instead, it was partially embedded inside.

I did try adding a second node to the mk2 cockpit, and that worked. However, my existing spaceplanes now load with the 'loaded ship missing parts' error, so this isn't really a solution either :-/

// --- node definitions ---

// definition format is Position X, Position Y,

Position Z, Up X, Up Y, Up Z

node_stack_top01 = 0.0, 7.5, 0.0, 0.0, 1.0, 0.0

node_stack_top02 = 0.0, 7.5, 0.0, 0.0, 1.0, 0.0

node_stack_bottom = 0.0, -7.75, 0.0, 0.0, 1.0, 0.0

node_attach = 0.0, 0.0, 5.12, 0.0, 0.0, -1.0, 1

Why not duplicate that Mk2 Cockpit folder and change the folder name and the part names and stuff in the cfg as well? So 2 different cockpits for stock compatibility. :)

Link to comment
Share on other sites

Why not duplicate that Mk2 Cockpit folder and change the folder name and the part names and stuff in the cfg as well? So 2 different cockpits for stock compatibility. :)

Well, the thing is, I've got a few existing spaceplanes that I would like to modify with the new cockpit. Making a second Mk2 with double nodes is a great idea, but I'm not sure how to copy over the rest of the spaceplane. All I can think of is creating a new craft with the modded cockpit, and then adding the splaceplane body to the .craft file but changing the coords so that the body is not attached to the cockpit.

EDIT: it worked :D Think the reason I got the error before was due to not changing the attn names when I changed the cockpit part name. in the .craft file.

Edited by Narcosis
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...