Jump to content

Help making a MM patch to surface attach all engines and copy the top node


bigyihsuan

Recommended Posts

I'm wanting to make a MM patch such that all engines are surface attachable, like the engines in ROEngines. I also want to make a copy of the top node (or move the bottom node) so that I can attach interstages to engines close to their attachment point, rather than to the engine bell.

Currently, I have this. It (should) set the attachRules such that it will allow surface attachment to other parts, and moves the bottom node to the top one. Would this work?

@PART:HAS[@MODULE[ModuleEngines]]:FINAL
{
	@attachRules = 1,1,1,0,0
	%node_stack_interstage = #$node_stack_top$
}

 

Edited by bigyihsuan
Link to comment
Share on other sites

I've managed to get the engines surface attaching with the following patch:

@PART:HAS[@MODULE[ModuleEngine*]]:FINAL
{
	@attachRules[1] = 1
	&attachRules = 1,1,1,0,0
}

However, some modded engines have their "grab point" in the middle of the part, as seen below. The left engine is a correct Restock engine, but the right one is an incorrect BDB engine. Is there a way of fixing this?

image.png?ex=6556bfb5&is=65444ab5&hm=2d8

Link to comment
Share on other sites

8 hours ago, Watermel00n said:

Unfortunately to change this, you need to edit the model of the engines themselves.

Some folks on the /r/KSP discord said that using node_attach would fix it. Would this work?

@PART:HAS[@MODULE[ModuleEngine*]]:FINAL
{
	@attachRules[1] = 1
	&attachRules = 1,1,1,0,0
	%node_attach = #$node_stack_top$
}

 

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