Jump to content

A Question about the codes in persistent.sfs


GYskyfall

Recommended Posts

 VESSEL
        {
            pid = 0bac235134a74a66a7b65925b127e615
            name = Falcon 9 FT-reused-1
            type = Probe
            sit = SUB_ORBITAL
            landed = False
            landedAt =
            displaylandedAt =
            splashed = False
            met = 36.599999994141399
            lct = 62484.228313878899
            lastUT = 62520.82831387304
            root = 0
            lat = 28.608350021712933
            lon = -80.617193030969233
            alt = 2000122.8303824104
            hgt = -1
            nrm = 1.66893005E-06,0.999999166,-0.00134220719
            rot = -0.508174896,-0.0699505582,-0.0419454612,0.857383132
            CoM = -1.14440918E-05,-29.9211159,5.7220459E-06
            stg = 5
            prst = False
            ref = 175771875
            ctrl = True
            cPch = 0.6119999
            cHdg = 0.05800002
            cMod = 0
            ORBIT
            {
                SMA = 4192389.8189774314
                ECC = 0.99733972485749256
                INC = 28.608360722720882
                LPE = 270.12082890043632
                LAN = 190.72806822402183
                MNA = 3.0720613448718113
                EPH = 62520.82831387304
                REF = 1
                IDENT = Kerbin
            }

 

this is the code from persistent.sfs, Who can explain the meaning of each line

Link to comment
Share on other sites

Well most of them are self-explanatory, aren't they?

pid - ID of that vessel
name, type are obvious
sit - current situation, landed, in orbit, suborbital etc
landed is true, duh, when vessel has landed
landedAt probably tells the body
splashed is true when in water
met is MET, mission elapsed time.
the next two are probably also related to time, where UT is in-game time since the save started
lat-itude
lon-gitude
alt-itude
hgt, nrm, rot determine the orientation of the vessel
CoM is obviously Center of Mass
stg is current stage
ctrl - my guess is it's true when you have control over your vessel
lines inside ORBIT{} are just orbit informations, semi-major axis,  eccentricity, inclination, longitude of periapsis (I think), longitude of ascending node, mean anomaly, epoch, reference number of orbiting body and its name

the rest that I didn't mention - no idea what they mean.

Link to comment
Share on other sites

1 hour ago, The Aziz said:

Well most of them are self-explanatory, aren't they?

pid - ID of that vessel
name, type are obvious
sit - current situation, landed, in orbit, suborbital etc
landed is true, duh, when vessel has landed
landedAt probably tells the body
splashed is true when in water
met is MET, mission elapsed time.
the next two are probably also related to time, where UT is in-game time since the save started
lat-itude
lon-gitude
alt-itude
hgt, nrm, rot determine the orientation of the vessel
CoM is obviously Center of Mass
stg is current stage
ctrl - my guess is it's true when you have control over your vessel
lines inside ORBIT{} are just orbit informations, semi-major axis,  eccentricity, inclination, longitude of periapsis (I think), longitude of ascending node, mean anomaly, epoch, reference number of orbiting body and its name

the rest that I didn't mention - no idea what they mean.

Do you know the full names of "hgt, nrm, rot "?

 

Link to comment
Share on other sites

Can't tell much about hgt (wiki describes it as height, but that makes no sense here) I mean I think I've seen this before but no idea what that one means. Maybe how high you are when on the ground, and -1 appears when in flight.
nrm is normal, rot is rotation?

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