Jump to content

Intergalactic velocities


Recommended Posts

So Jeb is currently traveling perpendicular to the Kerbin system's plane at ridiculous velocities. He is travelling at 1,875,632,257m/s and is currently 2TRILLIONm from Kerbol. He was in a close orbit with the sun before this but when loading the ship it just blew up.

Any ideas how to correct this glitch? I've never killed a Kerbal before as my Kerbalnaught union, the Union of Rogue Kerbalnaughts, insist on the most stringent safety protocols available.

Link to comment
Share on other sites

Ok, you can "save" him but it's going to take some save file editing (Especially at that speed)

step 1: Quicksave (F5) and note his vessel name.

Step 2: Pause the game and switch over to windows and open the Quicksave in Notepad (make a backup!)

Step 3: find the following bits of code:


alt = [number] (This is your altitude above the reference body)
ORBIT
{
SMA = 800482.789707678 (This is the Semi-major axis for your orbit)
ECC = 0.000290233854127625 (This is the eccentricity of your orbit, 0 is a perfect circle)
INC = 0.0738444307705897 (This is the inclination of your orbit, 0 is equitorial)
LPE = 239.120503011685 (This is the longitude of your periapsis, it really doesn't matter)
LAN = 124.368637926802 (This is the longitude of the Ascending node, it doesn't matter either)
MNA = 2.06162550283626 (This is the mean anomaly, best not to change this)
EPH = 1976558.75645092 (THis is the time the measurements were taken)
REF = 1 (This is the object you are orbiting)
OBJ = 0 (This determines if it's controllable or not)
}

Step 4: Change your alt to something reasonable, change your SMA to something reasonable, change your EPH to match UT (Universe Time, found at the beginning of the file) Appropriate information can be found in the Wiki (Like if you wanted to just get him back in the solar system you could set your altitude to the orbit of Kerbin)

Step 5: Save it!

Step 6: go back into the game, unpause and quickload (F9)

Step 7: Profit!

More Detailed Info here!

Link to comment
Share on other sites

Whoa, your speed is approximately the positive upper limit of a 32-bit floating point number! It's almost like the universe is being simulated on a binary computer!

Unless im missunderstanding this, the game is 32bit, and they would have used a float for the velocities, so this may be the actual highest possible speed in the game...

Link to comment
Share on other sites

Invest the money going towards a rescue mission into cloning facilities.

In all seriousness I believe Jeb will respawn even if he does die. So you don't have to worry about losing him completely.

Something similar happened to me, where I got shot out straight up (relative to the solar plane). Suddenly, I was back on Kerbal orbit.

Link to comment
Share on other sites

Unless im missunderstanding this, the game is 32bit, and they would have used a float for the velocities, so this may be the actual highest possible speed in the game...

I've actually gone way faster, I went 12 trillion times the speed of light before, but then the game crashed a few seconds later.

Link to comment
Share on other sites

Whoa, your speed is approximately the positive upper limit of a 32-bit floating point number! It's almost like the universe is being simulated on a binary computer!

Err, the upper limit of a 32-bit floating point number is somewhere around 1038. He's quite a few orders of magnitude short of that. Perhaps you were thinking of the upper limit of a signed 32-bit integer (~2x109), although the velocity certainly isn't stored as an integer in m/s. The (not very close) correspondence between his speed and that limit is surely coincidence.

Link to comment
Share on other sites

Err, the upper limit of a 32-bit floating point number is somewhere around 1038. He's quite a few orders of magnitude short of that. Perhaps you were thinking of the upper limit of a signed 32-bit integer (~2x109), although the velocity certainly isn't stored as an integer in m/s. The (not very close) correspondence between his speed and that limit is surely coincidence.

Hmm I guess so. I figured that since his speed was about 231 minus a few million that it had something to do with floating point math.

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