Jump to content

Incorrect "node_stack_top" to some parts?


Recommended Posts

Imagine  a vessel with two parts, partA at the top, partB at the bottom.

In the ".craft" file, then we have something like:

PART
{
	part = partA
	pos = 0,15,0
	attPos0 = 0,15,0
}
PART
{
	part = partB
	pos = 0,15-(partA.node_stack_bottom + partB.node_stack_top),0
	attPos0 = 0,partA.node_stack_bottom + partB.node_stack_top,0
}

Notice that, in most cases, partB.attPos0.Y == partA.node_stack_bottom + partB.node_stack_top

However, this is not true to "liquidEngine"(aka "LV-T30"), "liquidEngine2"(aka "LV-T45") and "science_module"(aka "MaterialBay").

According to "liquidEngineLV-T30.cfg", "node_stack_top" to "liquidEngine" is 0.721461, but after some testing, I think the correct value should be 0.901825905.

I'm writing a tool using "node_stack_top" properties, so I'd like to know why it acts like this? Or did I miss something?

Edited by Xavier513
Link to comment
Share on other sites

My guess

Those 2 engines have been in the game a long time, back when the size 1 was 1m diameter. 

1.25 is pretty close to the ratio you expect.

all the parts you list have the line "scale=0.1" as do the Deprecated versions of the FueltankT200, 400 & 800, but not the 100

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