Fwiffo

Offset INTERNAL in cfg syntax?

Recommended Posts

Crewed modules have an INTERNAL section like the following:

INTERNAL
{
	name = landerCabinInternals
}

Is it possible to offset the entire internal space?  Failing that, can anyone direct me to the stock CFG for landerCabinInternals so that I can manually create an offset version?

I'm welding a pod with other parts and need to correct the location where the internal cabin "part" gets attached to.

Share this post


Link to post
Share on other sites

You can just add an

Offset=X,y,z

to the internal definition you have above

  • Like 3

Share this post


Link to post
Share on other sites
Just now, Fwiffo said:

@JPLRepo SWEET, thanks!

To elaborate a bit more, for others who might stumble onto this and I was on my phone before.
Yes you can offset the Internal as follows:
 

INTERNAL
{
	name = landerCabinInternal
	offset = x,y,z
}

where the Offset is from the pivot point of the External Part model that it is attached to.

Share this post


Link to post
Share on other sites

Interesting I never knew that you can do that thanks.

Share this post


Link to post
Share on other sites

Can you do a rotation, too?  I tried adding "rotate = 0, 0, 90" and "rotation = 0, 0, 90" lines with no joy.

Share this post


Link to post
Share on other sites
1 hour ago, Fwiffo said:

Can you do a rotation, too?  I tried adding "rotate = 0, 0, 90" and "rotation = 0, 0, 90" lines with no joy.

No I don't think it does.

Share this post


Link to post
Share on other sites

For anyone struggling to find the correct offset: On a craft I was recently tweaking I found I had to set the INTERNAL offset to: -X, -Z, -Y; where X, Y, Z were the MODEL position coordinates of my Lander Can Mk1.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now