Jump to content

A quick guide to moving parts by Persistent file editing


Tw1

Recommended Posts

As you may know, the position data of every part is stored in a "persistent" file. I'm going to show you how to manipulate that info, to move parts on vessels for giggles and profit. This may be considered "cheating" by some.

First, save editing basics:


  • Always make a backup copy of the persistent file before you start. Mistakes happen.
    Remember the name of the ship you want to edit, and the save file name of the part you want to move. Parts are called different things in the save file, so check their CFG file if you're not sure.
    Save file editing is best done by editing the "quicksave" file. First, make a quick save with F5, do your edits, then save the file, and press F9 to apply.

Moving parts:

The position of parts is controlled by three coordinates. Like this:

"Position = 1.12140202522278,2.950028836727142,1.13252248468143E-07"

Or in the file, like this:

UoYcqpT.png?2

The directions are determined by the orientation of the root part.

Here, I altered the center up/down value. (Y axis in unity itself.)

ZpozN2w.png

Where they are in relation to the root part determines if their coordinate will be negative or positive. Parts above/infront will have positive coordinates, while those below/behind will have negative ones.

nhptWy3l.png

gVlsGf3l.png

With this, you can tweak those legs which were to short, spread out those wheels, and do lots of other useful things.

7jNnK8ll.png

Careful though, as it's not precise. Keep your wits about you, you might want to fill a bit before you achieve what you want. Memorising the coordinates you were altering last (to a few decimal points at least) will help you identify the parts you want to/are modifying. It works both with radially attached and stack attached parts.

Good luck!

Edited by Tw1
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...