Jump to content

Editing ship orientation in persistent file


Recommended Posts

Hey all, I'm trying to correct a ridiculous oversight by swapping out one version of a deployed vessel for the fixed version, sitting on the launch pad.

The difference between the two is that the fixed one's root part (a standard docking port) is intact as the ship sits on the launchpad, whereas it was knocked off from the deployed one as it landed.

As a result, when I swap out the definitions in the persistent file, the "new" deployed vessel is now completely upside-down, which results in some nice fireworks once physics kicks in.

I'm pretty sure I can fix this fairly easily by flipping the root part or the ship itself over, but I'm not sure what the values should be in order to achieve this. The root part's (partial) config looks like this:

PART
{
name = dockingPort2
uid = 2786357868
mid = 1455513462
parent = 0
position = 0,0,0
[B] rotation = 0,0,0,1[/B]
mirror = 1,1,1
*-snip-*

Meanwhile, the ship itself has

rot = 0.4343523,0.723475,-0.536573,0.00338749

The thing is, I don't know what min/max values should be, or which value to even change. I've tried using 180 on a couple of the ship's values, but they just set it sideways. -_-

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