Jump to content

Persistence Editing Tests


Mogadishu

Recommended Posts

Recently I messed around with the persistence save.

Very interesting how it works...

Here\'s an example craft debris (Modified, of course):

VESSEL

{

name = LOL I HAXED KSP

sit = ORBITING

landed = False

landedAt =

splashed = False

met = 93.6799979060888

lct = 221888.044791556

root = 0

lat = 0

lon = 0

alt = 0

hgt = 4410.602

nrm = -0.7499599,-0.02313594,0.6610789

rot = -0.1214151,0.8454531,0.2417871,0.4604418

CoM = 0.0003797354,-0.9048868,-0.0001168595

stg = 0

prst = False

ORBIT

{

SMA = 52877959.4754091

ECC = 0.135703177660916

INC = 171.262572591462

LPE = 291.628206291629

LAN = 286.165852609904

MNA = 0.644779570435836

EPH = 14429985.998409

REF = 1

OBJ = 1

}

PART

{

name = Lightdecoupler

uid = 4294873060

parent = 0

position = 0,0,0

rotation = 0,0,0,0.9999999

mirror = 1,1,1

istg = 2

dstg = 3

sqor = 2

sidx = 8

attm = 0

srfN = None, -1

attN = bottom, 1

attN = None, -1

mass = 0.2

temp = -84.89027

expt = 0.5

state = 2

connected = False

attached = False

}

}

And here\'s what they seem to do...

VESSEL

{

name = LOL I HAXED KSP -NAME

sit = ORBITING -STATE - No need to mess with this

landed = False -STATE - No need to mess with this

landedAt = -LANDING POSITION - Not sure how this works

splashed = False -STATE - No need to mess with this

met = 93.6799979060888 -MISSION TIME - Changes how long the mission has been running (In days)

lct = 221888.044791556 -LOCATION? - Not sure how this works

root = 0 -LOCATION? - Not sure how this works

lat = 0 -LOCATION - If you\'re on ground, in degrees 0-90 (+ north, - south)

lon = 0 -LOCATION - If you\'re on ground, in degrees 0-360

alt = 0 -LOCATION - Any numeric value

hgt = 4410.602 -LOCATION? - Not sure how this works

nrm = -0.7499599,-0.02313594,0.6610789 -ROTATION? - Not sure how this works

rot = -0.1214151,0.8454531,0.2417871,0.4604418 -ROTATION - Not sure how this works

CoM = 0.0003797354,-0.9048868,-0.0001168595 -ROTATION? - Not sure how this works

stg = 0 -ROTATION? - Not sure how this works

prst = False -PERSISTENCE - Not sure how this works

ORBIT -This is what you\'ll probably be looking for. Change everything about your orbit.

{

SMA = 52877959.4754091 -Semimajor Axis - In meters, any numeric value.

ECC = 0.135703177660916 -Eccentricity - Any positive number. (0 for a perfect circle, 0<e<1 for an ellipse, 1 for a parabola, >1 for a hyperbola)

INC = 171.262572591462 -Inclination - Relative to Eerbin\'s Equator/Ecliptic (Same thing)

LPE = 291.628206291629 -Argument of Periapsis - In degrees, 0-360

LAN = 286.165852609904 -Longitude of the Ascending Node - In degrees, 0-360

MNA = 0.644779570435836 -Mean Anomaly - I still have no idea what mean anomaly is... :(

EPH = 14429985.998409 -ORBIT? - Not sure how this works

REF = 1 -Reference Object - 0 for Kerbol, 1 for Kerbin, 2 for Mun and 3 for Minmus

OBJ = 1 -Reference Object State - 0 is a landed craft (Any object), 1 is an orbiting craft.

}

PART

{

name = Lightdecoupler -Part Name - Self Explanitory, name of the folder the part resides in.

uid = 4294873060 -ID? - To differentiate between identical objects?

parent = 0 -\'Parent\' - 0 is self, not sure about other options.

position = 0,0,0 -Position - Relative to the parent object

rotation = 0,0,0,0.9999999 -Rotation - Relative to the parent object

mirror = 1,1,1 -Mirror? - For wings and stuff that use x-way symmetry

istg = 2 -Huh? - USELESS INFORMATION MOSTLY USELESS INFORMATION

dstg = 3 -Huh? - USELESS INFORMATION MOSTLY USELESS INFORMATION

sqor = 2 -Huh? - USELESS INFORMATION MOSTLY USELESS INFORMATION

sidx = 8 -Huh? - USELESS INFORMATION MOSTLY USELESS INFORMATION

attm = 0 -Huh? - USELESS INFORMATION MOSTLY USELESS INFORMATION

srfN = None, -1 -Huh? - USELESS INFORMATION MOSTLY USELESS INFORMATION

attN = bottom, 1 -Huh? - USELESS INFORMATION MOSTLY USELESS INFORMATION

attN = None, -1 -Huh? - USELESS INFORMATION MOSTLY USELESS INFORMATION

mass = 0.2 -Mass - In KG (Kilograms? Or Kerbograms?)? Not sure, have fun screwing around with this.

temp = -84.89027 - -Temperature - For overheating, the lower the better.

expt = 0.5 -Huh? - USELESS INFORMATION MOSTLY USELESS INFORMATION

state = 2 -Huh? - USELESS INFORMATION MOSTLY USELESS INFORMATION

connected = False -Top Connection - T/F

attached = False -Bottom Connection - T/F

}

Hope this is useful, whether for cheating or research, or even putting up a keostationary satellite. Share your findings, and PLEASE TELL ME WHAT MEAN ANOMALY IS I STILL DON\'T GET THE CONCEPT, USELESS INFORMATION MOSTLY USELESS INFORMATION IN MY OPINION.

Link to comment
Share on other sites

Mean anomaly is a measurement of time to or since periapsis in terms of the angle (in radians) that a hypothetical object in a circular orbit whose semimajor axis is the same as your spacecraft\'s would travel.

Here\'s a document I\'ve been nursing for the past few months that explains many of the orbit-related fields.

https://docs.google.com/document/d/1fmTW6P91OVFj5Tuj0JzKcnfpcw79RqveQTAywrPIIrI/edit

Link to comment
Share on other sites

One thing I have learned back in my Commodore 64 days, toying with programming in BASIC, is that there is no such thing as useless information in any program or code/data file. You would do yourself a service by researching the commands involved here, so as to better know how to tweak the file. Just ignoring or even deleting them will either give you something you don\'t want, or end up preventing your KSP from running properly.

You don\'t get points for just saying you got into the persistence file and changed some numbers. You don\'t hear anyone bragging about getting into a car\'s computer and blatantly changing numbers in that, because it will pretty much mean the car with either stop working properly, stop working altogether, or explode.

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