Jump to content

Part not stack connecting


Recommended Posts

[*Edit: I found the error, I didn't define an angle in my attach nodes.]

I have a part I would like to be stack-able, and I have the attach rules set up to allow stacking but I am not able to stack in the editor.

Here is my cfg file:

PART
{
name = SSC2TEU
module = Part
author = Kelson Ball


mesh = model.mu
rescaleFactor = 1.25


TechRequired = generalConstruction
entryCost = 1000
cost = 400
category = Utility
subcategory = 0
title = Standard Shipping Container 2 TEU
manufacturer = Standard Shipping
description = This Standard Shipping Container is a 2 TEU (6.5m x 2.5m x 2.5m) container for storring and transporting resources.


node_stack_top = 0, 5.1, 0, 0, 0, 0, 0
node_stack_bottom = 0, -.1, 0, 0, 0, 0, 0


attachRules = 1,1,1,1,0


mass = 0.75
dragModelType = default
maximum_drag = 0.4
minimum_drag = 0.15
angularDrag = 2
crashTolerance = 20
maxTemp = 2900
breakingForce = 350
breakingTorque = 350


}

Thanks for your help!

Edited by Greendolph
Problem Solved
Link to comment
Share on other sites

Cool, congrats on fixing it. Sometimes hunting down the flaw can be a pain. :)

But I just wanted to point out a couple of "best practices" things here:

  1. I would make the bottom node's Y-value "-0.1" instead of "-.1", just because KSP is flaky at times with regards to number formatting. Some quirky examples include:

    1. A typo in a number here, such as an extra period (like "-0.1.") will break things so badly, that the VAB might not load ANY parts.
    2. If you have a "scale=1" (your example above doesn't, but this is interesting anyway), it will work fine as long as you DO NOT have a "MODEL { }" section. As soon as you add one of those, "scale" has to have a decimal, like "scale=1.0". Don't ask me why.

    3. The last (seventh) number on the nodes defines a node-size. This also controls the structural strength of the joint, so don't forget to set these. The "0" you have there means that it's treated as a 0.625m joint. 1 = 1.25m, 2 = 2.5m, and so on.

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