Jump to content

[0.23] Alternis Kerbol - Release thread - [v0.1, Jan. 3] (development halted)


NovaSilisko

Recommended Posts

hi,

i have the problem that my aircraft starts somewhere in space.

is a fix out yet for this probem?

I've run into this a few times. I ended up reverting back a couple of times then the game started to act properly.

Link to comment
Share on other sites

hi,

i have the problem that my aircraft starts somewhere in space.

is a fix out yet for this probem?

Copy the .craft file from the SPH to the VAB. Then you can launch it from there. It will say the craft's not supposed to go on the launchpad, but it doesn't matter. make sure you are in the KSP/saves/WhateverYourSaveNameIs/Ships/ folder, not the KSP/Ships folder, or you will be seeing the stock crafts. Unfortunately, this will put you on the launchpad, not the runway. You might want to put some transportation mechanism around your aircraft to move it to the runway.

Link to comment
Share on other sites

I don't know, I just use it for the delta-v calculations and orbit info. However I am flying a mission currently to laythe, I will give it a try. I will edit this post once I am done testing it.

EDIT: I couldn't figure out how to use it for the transfer stuff, sorry I couldn't help more.

Edited by team.leit
Answering a question
Link to comment
Share on other sites

Reading a ~120mb reduction in RAM usage mmmmmmMMMM

No longer has to keep heightmaps loaded in memory. But, it does have to load them for a few seconds to grab the data off them, so the 120mb reduction won't help prevent any out-of-memory crashes...

Edit: Added a GUI to the main menu to make configuration easier.

Edited by NovaSilisko
Link to comment
Share on other sites

I'd just like to have a mod for the vanilla system that does what this mod does to improve performance.

Something the Kerbol system really needs is an asteroid belt. Not one of those impossibly dense SciFi movie asteroid belts. Just a few thinly scattered rocks out there.

Link to comment
Share on other sites

I would be interested in seeing this same simulation run for Alternis though...

I was trying to do this...

http://i.imgur.com/8sqha97.png

[*]MAJOR: Upon launching, sometimes the ship decides to suddenly exist in solar orbit instead of on the pad, if this happens, revert the flight return to space center immediately and try again. Also check the tracking station to see if your ghost ship is still out there. If anyone has any clues to help fix this, please let me know.

... and I came to an interesting conclusion about that. It's not the ship that decides to suddenly exist in solar orbit instead of on the pad, it's the pad (and pretty much all the bodies) that decide to exist somewhere else. If you try hard enough, the ship too starts existing in the wrong place, so it ends up on kerbin.

More precisely:

I'll call the orbital elements (e,a,i,Ω,É,ν), the last one being the true anomaly. I will call the mean anomaly at epoch Mt, and the mean anomaly M.

The first five work fine, I get the same orbits as the ones displayed in-game.

The anomalies are completely broken though. For instance, Moho has Mt=3.14, so it should be at its aphelion when the game starts. It isn't there.

Jool has Mt=0.1, so it should be near its perihelion. It ends up somewhere else. However, when the ship starts existing in solar orbit, it ends up in Jool's orbit, near Jool's perihelion. I suspect it actually ends up where the pad should be. I decided to modify your code, adding the following trace after line 864 in PlanetShifter.cs (that's a bit of a big line number by the way, some of the things done in this class could be read from a cfg...):


print("ALTERNIS KERBOL TRACE: " + cb2.gameObject.name);
print("Mean Anomaly: " + cb2.orbit.meanAnomaly);
print("True Anomaly: " + cb2.orbit.trueAnomaly);
print("Semi-Major Axis: " + cb2.orbit.semiMajorAxis);
print("Eccentricity: " + cb2.orbit.eccentricity);
print("Argument of Periapsis: " + cb2.orbit.argumentOfPeriapsis);
print("Inclination: " + cb2.orbit.inclination);
print("Longitude of Ascending Node: " + cb2.orbit.LAN);
print("Epoch: " + cb2.orbit.epoch);
print("Mean Anomaly at Epoch: " + cb2.orbit.meanAnomalyAtEpoch);
print("Eccentric Anomaly: " + cb2.orbit.eccentricAnomaly);

This is what I get when the game first loads:


[LOG 17:23:50.123] ALTERNIS KERBOL TRACE: Kerbin
[LOG 17:23:50.124] Mean Anomaly: 3.14000014586568
[LOG 17:23:50.124] True Anomaly: 179.912318783786
[LOG 17:23:50.125] Semi-Major Axis: 68506000
[LOG 17:23:50.126] Eccentricity: 0.02
[LOG 17:23:50.126] Argument of Periapsis: 0
[LOG 17:23:50.127] Inclination: 0.4
[LOG 17:23:50.127] Longitude of Ascending Node: 0
[LOG 17:23:50.128] Epoch: 0
[LOG 17:23:50.129] Mean Anomaly at Epoch: 3.14000010490417
[LOG 17:23:50.129] Eccentric Anomaly: 3.1400313714949
[LOG 17:23:50.130] ALTERNIS KERBOL TRACE: Mun
[LOG 17:23:50.131] Mean Anomaly: 1.70000276015492
[LOG 17:23:50.132] True Anomaly: 97.630183427476
[LOG 17:23:50.132] Semi-Major Axis: 43152000
[LOG 17:23:50.133] Eccentricity: 0.002
[LOG 17:23:50.133] Argument of Periapsis: 0
[LOG 17:23:50.134] Inclination: 0.109
[LOG 17:23:50.135] Longitude of Ascending Node: 180
[LOG 17:23:50.135] Epoch: 0
[LOG 17:23:50.136] Mean Anomaly at Epoch: 1.70000004768372
[LOG 17:23:50.137] Eccentric Anomaly: 1.70198557420591
[LOG 17:23:50.137] ALTERNIS KERBOL TRACE: Minmus
[LOG 17:23:50.138] Mean Anomaly: 0.900000326095427
[LOG 17:23:50.139] True Anomaly: 51.5662208475882
[LOG 17:23:50.139] Semi-Major Axis: 14740300
[LOG 17:23:50.140] Eccentricity: 0
[LOG 17:23:50.140] Argument of Periapsis: 38
[LOG 17:23:50.141] Inclination: 0.03
[LOG 17:23:50.142] Longitude of Ascending Node: 78
[LOG 17:23:50.142] Epoch: 0
[LOG 17:23:50.143] Mean Anomaly at Epoch: 0.899999976158142
[LOG 17:23:50.143] Eccentric Anomaly: 0.900000326095427
[LOG 17:23:50.144] ALTERNIS KERBOL TRACE: Moho
[LOG 17:23:50.145] Mean Anomaly: 3.14000027504539
[LOG 17:23:50.145] True Anomaly: 179.95733898431
[LOG 17:23:50.146] Semi-Major Axis: 4275040399
[LOG 17:23:50.147] Eccentricity: 0.4
[LOG 17:23:50.147] Argument of Periapsis: 15
[LOG 17:23:50.148] Inclination: 0.2502
[LOG 17:23:50.148] Longitude of Ascending Node: 70
[LOG 17:23:50.149] Epoch: 0
[LOG 17:23:50.150] Mean Anomaly at Epoch: 3.14000010490417
[LOG 17:23:50.150] Eccentric Anomaly: 3.14045524027372
[LOG 17:23:50.151] ALTERNIS KERBOL TRACE: Eve
[LOG 17:23:50.152] Mean Anomaly: 3.14000017153398
[LOG 17:23:50.152] True Anomaly: 179.910205018822
[LOG 17:23:50.153] Semi-Major Axis: 8185550300
[LOG 17:23:50.154] Eccentricity: 0.008
[LOG 17:23:50.154] Argument of Periapsis: 0
[LOG 17:23:50.155] Inclination: 1.02
[LOG 17:23:50.155] Longitude of Ascending Node: 15
[LOG 17:23:50.156] Epoch: 0
[LOG 17:23:50.157] Mean Anomaly at Epoch: 3.14000010490417
[LOG 17:23:50.157] Eccentric Anomaly: 3.14001281027524
[LOG 17:23:50.158] ALTERNIS KERBOL TRACE: Duna
[LOG 17:23:50.159] Mean Anomaly: 3.14000012667618
[LOG 17:23:50.159] True Anomaly: 179.917343645244
[LOG 17:23:50.160] Semi-Major Axis: 34598850
[LOG 17:23:50.161] Eccentricity: 0.05
[LOG 17:23:50.161] Argument of Periapsis: 0
[LOG 17:23:50.162] Inclination: 0.7
[LOG 17:23:50.162] Longitude of Ascending Node: 135.5
[LOG 17:23:50.163] Epoch: 0
[LOG 17:23:50.164] Mean Anomaly at Epoch: 3.14000010490417
[LOG 17:23:50.164] Eccentric Anomaly: 3.14007596126343
[LOG 17:23:50.165] ALTERNIS KERBOL TRACE: Ike
[LOG 17:23:50.166] Mean Anomaly: 4.97155489782577
[LOG 17:23:50.167] True Anomaly: 189.260954621812
[LOG 17:23:50.167] Semi-Major Axis: 167988084550
[LOG 17:23:50.168] Eccentricity: 0.9585
[LOG 17:23:50.169] Argument of Periapsis: 0
[LOG 17:23:50.169] Inclination: 28.45
[LOG 17:23:50.170] Longitude of Ascending Node: 0
[LOG 17:23:50.170] Epoch: 325000000
[LOG 17:23:50.171] Mean Anomaly at Epoch: 1.70000004768372
[LOG 17:23:50.172] Eccentric Anomaly: 4.15708094532696
[LOG 17:23:50.172] ALTERNIS KERBOL TRACE: Jool
[LOG 17:23:50.173] Mean Anomaly: 0.100000005092122
[LOG 17:23:50.174] True Anomaly: 5.92825622352348
[LOG 17:23:50.174] Semi-Major Axis: 13605008470
[LOG 17:23:50.175] Eccentricity: 0.017
[LOG 17:23:50.175] Argument of Periapsis: 0
[LOG 17:23:50.176] Inclination: 1.957
[LOG 17:23:50.177] Longitude of Ascending Node: 0
[LOG 17:23:50.177] Epoch: 0
[LOG 17:23:50.178] Mean Anomaly at Epoch: 0.100000001490116
[LOG 17:23:50.179] Eccentric Anomaly: 0.101726372341934
[LOG 17:23:50.179] ALTERNIS KERBOL TRACE: Laythe
[LOG 17:23:50.180] Mean Anomaly: 3.14000722051126
[LOG 17:23:50.181] True Anomaly: 179.909163475946
[LOG 17:23:50.181] Semi-Major Axis: 27184000
[LOG 17:23:50.182] Eccentricity: 0
[LOG 17:23:50.182] Argument of Periapsis: 0
[LOG 17:23:50.183] Inclination: 0
[LOG 17:23:50.184] Longitude of Ascending Node: 180
[LOG 17:23:50.184] Epoch: 0
[LOG 17:23:50.185] Mean Anomaly at Epoch: 3.14000010490417
[LOG 17:23:50.185] Eccentric Anomaly: 3.14000722051126
[LOG 17:23:50.186] ALTERNIS KERBOL TRACE: Vall
[LOG 17:23:50.187] Mean Anomaly: 0.900003533950579
[LOG 17:23:50.187] True Anomaly: 52.5622555191047
[LOG 17:23:50.188] Semi-Major Axis: 4995040
[LOG 17:23:50.189] Eccentricity: 0.011
[LOG 17:23:50.189] Argument of Periapsis: 0
[LOG 17:23:50.190] Inclination: 2.337
[LOG 17:23:50.190] Longitude of Ascending Node: 0
[LOG 17:23:50.191] Epoch: 0
[LOG 17:23:50.192] Mean Anomaly at Epoch: 0.899999976158142
[LOG 17:23:50.192] Eccentric Anomaly: 0.908679150188512
[LOG 17:23:50.193] ALTERNIS KERBOL TRACE: Bop
[LOG 17:23:50.194] Mean Anomaly: 0.900000668510714
[LOG 17:23:50.194] True Anomaly: 60.2170563373709
[LOG 17:23:50.195] Semi-Major Axis: 128500000
[LOG 17:23:50.196] Eccentricity: 0.09
[LOG 17:23:50.196] Argument of Periapsis: 25
[LOG 17:23:50.197] Inclination: 0.894
[LOG 17:23:50.197] Longitude of Ascending Node: 10
[LOG 17:23:50.198] Epoch: 0
[LOG 17:23:50.199] Mean Anomaly at Epoch: 0.899999976158142
[LOG 17:23:50.199] Eccentric Anomaly: 0.974466903770252
[LOG 17:23:50.200] ALTERNIS KERBOL TRACE: Tylo
[LOG 17:23:50.201] Mean Anomaly: 3.14000188378209
[LOG 17:23:50.201] True Anomaly: 179.914128432408
[LOG 17:23:50.202] Semi-Major Axis: 24708887045
[LOG 17:23:50.203] Eccentricity: 0.03
[LOG 17:23:50.203] Argument of Periapsis: 0
[LOG 17:23:50.204] Inclination: 1.22
[LOG 17:23:50.204] Longitude of Ascending Node: 0
[LOG 17:23:50.205] Epoch: 0
[LOG 17:23:50.206] Mean Anomaly at Epoch: 3.14000010490417
[LOG 17:23:50.206] Eccentric Anomaly: 3.1400482168654
[LOG 17:23:50.207] ALTERNIS KERBOL TRACE: Gilly
[LOG 17:23:50.208] Mean Anomaly: 4.41517458953723
[LOG 17:23:50.208] True Anomaly: 184.881751093799
[LOG 17:23:50.209] Semi-Major Axis: 34084734575
[LOG 17:23:50.210] Eccentricity: 0.970504
[LOG 17:23:50.210] Argument of Periapsis: 79.08
[LOG 17:23:50.211] Inclination: 225.05
[LOG 17:23:50.211] Longitude of Ascending Node: 25.3
[LOG 17:23:50.212] Epoch: 6000000
[LOG 17:23:50.213] Mean Anomaly at Epoch: 0.899999976158142
[LOG 17:23:50.213] Eccentric Anomaly: 3.81211098805513
[LOG 17:23:50.214] ALTERNIS KERBOL TRACE: Pol
[LOG 17:23:50.215] Mean Anomaly: 0.900000394153509
[LOG 17:23:50.215] True Anomaly: 59.5029457206509
[LOG 17:23:50.216] Semi-Major Axis: 179890000
[LOG 17:23:50.217] Eccentricity: 0.083
[LOG 17:23:50.217] Argument of Periapsis: 15
[LOG 17:23:50.218] Inclination: 4.25
[LOG 17:23:50.218] Longitude of Ascending Node: 120
[LOG 17:23:50.219] Epoch: 0
[LOG 17:23:50.220] Mean Anomaly at Epoch: 0.899999976158142
[LOG 17:23:50.220] Eccentric Anomaly: 0.96839029243542
[LOG 17:23:50.221] ALTERNIS KERBOL TRACE: Dres
[LOG 17:23:50.222] Mean Anomaly: 3.14000011277569
[LOG 17:23:50.222] True Anomaly: 179.909120305738
[LOG 17:23:50.223] Semi-Major Axis: 17580043
[LOG 17:23:50.224] Eccentricity: 0.002
[LOG 17:23:50.224] Argument of Periapsis: 90
[LOG 17:23:50.225] Inclination: 0.109
[LOG 17:23:50.225] Longitude of Ascending Node: 280
[LOG 17:23:50.226] Epoch: 0
[LOG 17:23:50.227] Mean Anomaly at Epoch: 3.14000010490417
[LOG 17:23:50.227] Eccentric Anomaly: 3.14000329149853
[LOG 17:23:50.228] ALTERNIS KERBOL TRACE: Eeloo
[LOG 17:23:50.229] Mean Anomaly: 3.14000010730551
[LOG 17:23:50.229] True Anomaly: 179.922023937306
[LOG 17:23:50.230] Semi-Major Axis: 90118820000
[LOG 17:23:50.231] Eccentricity: 0.08
[LOG 17:23:50.231] Argument of Periapsis: 260
[LOG 17:23:50.232] Inclination: 1.15
[LOG 17:23:50.232] Longitude of Ascending Node: 50
[LOG 17:23:50.233] Epoch: 0
[LOG 17:23:50.234] Mean Anomaly at Epoch: 3.14000010490417
[LOG 17:23:50.234] Eccentric Anomaly: 3.14011807365735

After lauching a vessel which ends up in solar orbit, reverting to the VAB and relaunching (now I'm on the pad):


[LOG 17:23:52.500] ALTERNIS KERBOL TRACE: Kerbin
[LOG 17:23:52.501] Mean Anomaly: 5.24873697767145
[LOG 17:23:52.501] True Anomaly: 298.735391205793
[LOG 17:23:52.502] Semi-Major Axis: 68506000
[LOG 17:23:52.503] Eccentricity: 0.02
[LOG 17:23:52.503] Argument of Periapsis: 0
[LOG 17:23:52.504] Inclination: 0.4
[LOG 17:23:52.504] Longitude of Ascending Node: 0
[LOG 17:23:52.505] Epoch: 0
[LOG 17:23:52.506] Mean Anomaly at Epoch: 3.14000010490417
[LOG 17:23:52.506] Eccentric Anomaly: 5.23137048164601
[LOG 17:23:52.507] ALTERNIS KERBOL TRACE: Mun
[LOG 17:23:52.508] Mean Anomaly: 2.23037310431032
[LOG 17:23:52.508] True Anomaly: 127.971802097603
[LOG 17:23:52.509] Semi-Major Axis: 43152000
[LOG 17:23:52.510] Eccentricity: 0.002
[LOG 17:23:52.510] Argument of Periapsis: 0
[LOG 17:23:52.511] Inclination: 0.109
[LOG 17:23:52.512] Longitude of Ascending Node: 180
[LOG 17:23:52.512] Epoch: 0
[LOG 17:23:52.513] Mean Anomaly at Epoch: 1.70000004768372
[LOG 17:23:52.513] Eccentric Anomaly: 2.23195167099713
[LOG 17:23:52.514] ALTERNIS KERBOL TRACE: Minmus
[LOG 17:23:52.515] Mean Anomaly: 1.85036737861459
[LOG 17:23:52.515] True Anomaly: 106.018242580832
[LOG 17:23:52.516] Semi-Major Axis: 14740300
[LOG 17:23:52.517] Eccentricity: 0
[LOG 17:23:52.517] Argument of Periapsis: 38
[LOG 17:23:52.518] Inclination: 0.03
[LOG 17:23:52.518] Longitude of Ascending Node: 78
[LOG 17:23:52.519] Epoch: 0
[LOG 17:23:52.520] Mean Anomaly at Epoch: 0.899999976158142
[LOG 17:23:52.520] Eccentric Anomaly: 1.85036737861459
[LOG 17:23:52.521] ALTERNIS KERBOL TRACE: Moho
[LOG 17:23:52.522] Mean Anomaly: 4.28930132205398
[LOG 17:23:52.522] True Anomaly: 212.91546205275
[LOG 17:23:52.523] Semi-Major Axis: 4275040399
[LOG 17:23:52.524] Eccentricity: 0.4
[LOG 17:23:52.524] Argument of Periapsis: 15
[LOG 17:23:52.525] Inclination: 0.2502
[LOG 17:23:52.525] Longitude of Ascending Node: 70
[LOG 17:23:52.526] Epoch: 0
[LOG 17:23:52.527] Mean Anomaly at Epoch: 3.14000010490417
[LOG 17:23:52.527] Eccentric Anomaly: 3.98937527206724
[LOG 17:23:52.528] ALTERNIS KERBOL TRACE: Eve
[LOG 17:23:52.529] Mean Anomaly: 4.13397191968825
[LOG 17:23:52.529] True Anomaly: 236.095736768881
[LOG 17:23:52.530] Semi-Major Axis: 8185550300
[LOG 17:23:52.530] Eccentricity: 0.008
[LOG 17:23:52.531] Argument of Periapsis: 0
[LOG 17:23:52.532] Inclination: 1.02
[LOG 17:23:52.532] Longitude of Ascending Node: 15
[LOG 17:23:52.533] Epoch: 0
[LOG 17:23:52.533] Mean Anomaly at Epoch: 3.14000010490417
[LOG 17:23:52.534] Eccentric Anomaly: 4.12730260459927
[LOG 17:23:52.535] ALTERNIS KERBOL TRACE: Duna
[LOG 17:23:52.536] Mean Anomaly: 6.06957993837549
[LOG 17:23:52.536] True Anomaly: 346.468056629552
[LOG 17:23:52.537] Semi-Major Axis: 34598850
[LOG 17:23:52.538] Eccentricity: 0.05
[LOG 17:23:52.538] Argument of Periapsis: 0
[LOG 17:23:52.539] Inclination: 0.7
[LOG 17:23:52.539] Longitude of Ascending Node: 135.5
[LOG 17:23:52.540] Epoch: 0
[LOG 17:23:52.541] Mean Anomaly at Epoch: 3.14000010490417
[LOG 17:23:52.541] Eccentric Anomaly: 6.05843688232
[LOG 17:23:52.542] ALTERNIS KERBOL TRACE: Ike
[LOG 17:23:52.543] Mean Anomaly: 1.17263800967908
[LOG 17:23:52.543] True Anomaly: 169.682365446553
[LOG 17:23:52.544] Semi-Major Axis: 167988084550
[LOG 17:23:52.545] Eccentricity: 0.9585
[LOG 17:23:52.545] Argument of Periapsis: 0
[LOG 17:23:52.546] Inclination: 28.45
[LOG 17:23:52.546] Longitude of Ascending Node: 0
[LOG 17:23:52.547] Epoch: 325000000
[LOG 17:23:52.548] Mean Anomaly at Epoch: 1.70000004768372
[LOG 17:23:52.548] Eccentric Anomaly: 2.03129291313392
[LOG 17:23:52.549] ALTERNIS KERBOL TRACE: Jool
[LOG 17:23:52.550] Mean Anomaly: 1.13667519953759
[LOG 17:23:52.550] True Anomaly: 66.9096924646006
[LOG 17:23:52.551] Semi-Major Axis: 13605008470
[LOG 17:23:52.552] Eccentricity: 0.017
[LOG 17:23:52.552] Argument of Periapsis: 0
[LOG 17:23:52.553] Inclination: 1.957
[LOG 17:23:52.553] Longitude of Ascending Node: 0
[LOG 17:23:52.554] Epoch: 0
[LOG 17:23:52.555] Mean Anomaly at Epoch: 0.100000001490116
[LOG 17:23:52.555] Eccentric Anomaly: 1.15220747806286
[LOG 17:23:52.556] ALTERNIS KERBOL TRACE: Laythe
[LOG 17:23:52.557] Mean Anomaly: 3.15089116032308
[LOG 17:23:52.557] True Anomaly: 180.532767298915
[LOG 17:23:52.558] Semi-Major Axis: 27184000
[LOG 17:23:52.559] Eccentricity: 0
[LOG 17:23:52.559] Argument of Periapsis: 0
[LOG 17:23:52.560] Inclination: 0
[LOG 17:23:52.560] Longitude of Ascending Node: 180
[LOG 17:23:52.561] Epoch: 0
[LOG 17:23:52.561] Mean Anomaly at Epoch: 3.14000010490417
[LOG 17:23:52.562] Eccentric Anomaly: 3.15089116032308
[LOG 17:23:52.563] ALTERNIS KERBOL TRACE: Vall
[LOG 17:23:52.564] Mean Anomaly: 0.389216407145809
[LOG 17:23:52.564] True Anomaly: 22.7849285654848
[LOG 17:23:52.565] Semi-Major Axis: 4995040
[LOG 17:23:52.565] Eccentricity: 0.011
[LOG 17:23:52.566] Argument of Periapsis: 0
[LOG 17:23:52.567] Inclination: 2.337
[LOG 17:23:52.567] Longitude of Ascending Node: 0
[LOG 17:23:52.568] Epoch: 0
[LOG 17:23:52.568] Mean Anomaly at Epoch: 0.899999976158142
[LOG 17:23:52.569] Eccentric Anomaly: 0.393433386264814
[LOG 17:23:52.570] ALTERNIS KERBOL TRACE: Bop
[LOG 17:23:52.570] Mean Anomaly: 0.900004629442292
[LOG 17:23:52.571] True Anomaly: 60.2173070665353
[LOG 17:23:52.572] Semi-Major Axis: 128500000
[LOG 17:23:52.572] Eccentricity: 0.09
[LOG 17:23:52.573] Argument of Periapsis: 25
[LOG 17:23:52.574] Inclination: 0.894
[LOG 17:23:52.574] Longitude of Ascending Node: 10
[LOG 17:23:52.575] Epoch: 0
[LOG 17:23:52.575] Mean Anomaly at Epoch: 0.899999976158142
[LOG 17:23:52.576] Eccentric Anomaly: 0.974471075563775
[LOG 17:23:52.577] ALTERNIS KERBOL TRACE: Tylo
[LOG 17:23:52.577] Mean Anomaly: 0.0295249802583349
[LOG 17:23:52.578] True Anomaly: 1.79708705770096
[LOG 17:23:52.579] Semi-Major Axis: 24708887045
[LOG 17:23:52.579] Eccentricity: 0.03
[LOG 17:23:52.580] Argument of Periapsis: 0
[LOG 17:23:52.581] Inclination: 1.22
[LOG 17:23:52.581] Longitude of Ascending Node: 0
[LOG 17:23:52.582] Epoch: 0
[LOG 17:23:52.582] Mean Anomaly at Epoch: 3.14000010490417
[LOG 17:23:52.583] Eccentric Anomaly: 0.0304379786241376
[LOG 17:23:52.584] ALTERNIS KERBOL TRACE: Gilly
[LOG 17:23:52.584] Mean Anomaly: 5.26038901729548
[LOG 17:23:52.585] True Anomaly: 189.677735432824
[LOG 17:23:52.586] Semi-Major Axis: 34084734575
[LOG 17:23:52.586] Eccentricity: 0.970504
[LOG 17:23:52.587] Argument of Periapsis: 79.08
[LOG 17:23:52.587] Inclination: 225.05
[LOG 17:23:52.588] Longitude of Ascending Node: 25.3
[LOG 17:23:52.589] Epoch: 6000000
[LOG 17:23:52.589] Mean Anomaly at Epoch: 0.899999976158142
[LOG 17:23:52.590] Eccentric Anomaly: 4.35217170920849
[LOG 17:23:52.591] ALTERNIS KERBOL TRACE: Pol
[LOG 17:23:52.591] Mean Anomaly: 0.900001543653261
[LOG 17:23:52.592] True Anomaly: 59.5030179929597
[LOG 17:23:52.593] Semi-Major Axis: 179890000
[LOG 17:23:52.593] Eccentricity: 0.083
[LOG 17:23:52.594] Argument of Periapsis: 15
[LOG 17:23:52.595] Inclination: 4.25
[LOG 17:23:52.595] Longitude of Ascending Node: 120
[LOG 17:23:52.596] Epoch: 0
[LOG 17:23:52.596] Mean Anomaly at Epoch: 0.899999976158142
[LOG 17:23:52.597] Eccentric Anomaly: 0.968391498664067
[LOG 17:23:52.598] ALTERNIS KERBOL TRACE: Dres
[LOG 17:23:52.598] Mean Anomaly: 4.44963358703825
[LOG 17:23:52.599] True Anomaly: 254.724054979369
[LOG 17:23:52.600] Semi-Major Axis: 17580043
[LOG 17:23:52.600] Eccentricity: 0.002
[LOG 17:23:52.601] Argument of Periapsis: 90
[LOG 17:23:52.601] Inclination: 0.109
[LOG 17:23:52.602] Longitude of Ascending Node: 280
[LOG 17:23:52.603] Epoch: 0
[LOG 17:23:52.603] Mean Anomaly at Epoch: 3.14000010490417
[LOG 17:23:52.604] Eccentric Anomaly: 4.44770323751809
[LOG 17:23:52.605] ALTERNIS KERBOL TRACE: Eeloo
[LOG 17:23:52.605] Mean Anomaly: 3.1400021695025
[LOG 17:23:52.606] True Anomaly: 179.922124911674
[LOG 17:23:52.607] Semi-Major Axis: 90118820000
[LOG 17:23:52.607] Eccentricity: 0.08
[LOG 17:23:52.608] Argument of Periapsis: 260
[LOG 17:23:52.608] Inclination: 1.15
[LOG 17:23:52.609] Longitude of Ascending Node: 50
[LOG 17:23:52.610] Epoch: 0
[LOG 17:23:52.610] Mean Anomaly at Epoch: 3.14000010490417
[LOG 17:23:52.611] Eccentric Anomaly: 3.14011998309916

As you can see, the planets have been moved around. Mt and M are inconsistent however, so this may result in further issues.

Back to

I would be interested in seeing this same simulation run for Alternis though...

Which mean anomalies should I use?

If I use the ones inherited from stock, Jool will start at its perihelion, moho at its aphelion, and the Mun, Laythe, Jool and Kerbin Kerbin, Minmus, Jool and Laythe will lie in a straight line (in this order) at the start (hopefully this is the configuration you get in your bugfixed version). Otherwise, just start Alternis Kerbol 0.0 to see the initial configuration.

Edited by eggrobin
Wrong satellite orders
Link to comment
Share on other sites

Yeah the problem is Jool's moons are the equivelent of if Earth was orbiting Neptune... that, and the biggest moons are sort of in an imperfect laplace resonance. IIRC Tylo's longitude of ascending node is off by 180 degrees or something, so there's a massive gravitational kick on stuff that would quickly help destabilize everything. I would be interested in seeing this same simulation run for Alternis though...

That shouldn't be too hard to set up. I just had a glance at your source code, and I see I can get the Kepler orbital parameters from PlanetShifter.cs. I didn't see any planetary masses or gravitational parameters, though. Are they in there and I should just look harder, or are they hiding somewhere else? I think you changed some bodies' radii and/or surface gravity so the masses shouldn't be the same as in the stock game. Once I find all the numbers, I should be able to put a video up of a simulation in about a day.

Link to comment
Share on other sites

Been having some fun with this. Had a quick go at writing a new .cfg for Rbray's mod, no new textures or anything (although you could Jool's separate cloud layers out and have them move at different speeds easily enough with the new texture. I would have done that initially for the Jool cloud-layer textures, but never got round to extracting the stock Jool textures.)

Having some issues with Duna though.

Jool:

AQuXQCt.gif

From the surface.

Tylo:

8L9BgDt.gif

All sped up a ridiculous amount.

Link to comment
Share on other sites

<lots of things>

I believe it has to do with the "cb_sun.OrbitingBodies.Remove(cb_kerbin)" bit. That's the only thing that I had added that seemed related, and lo and behold, when I removed it the bug SEEMS to have stopped... KSP's system really, really baffles me sometimes, I've kinda given up trying to understand it.

That shouldn't be too hard to set up. I just had a glance at your source code, and I see I can get the Kepler orbital parameters from PlanetShifter.cs. I didn't see any planetary masses or gravitational parameters, though. Are they in there and I should just look harder, or are they hiding somewhere else? I think you changed some bodies' radii and/or surface gravity so the masses shouldn't be the same as in the stock game. Once I find all the numbers, I should be able to put a video up of a simulation in about a day.

Radii are in the source, mass is calculated but can be looked at via the ingame info screen IIRC

Been having some fun with this. Had a quick go at writing a new .cfg for Rbray's mod, no new textures or anything (although you could Jool's separate cloud layers out and have them move at different speeds easily enough with the new texture. I would have done that initially for the Jool cloud-layer textures, but never got round to extracting the stock Jool textures.)

Having some issues with Duna though.

Jool:

Tylo:

All sped up a ridiculous amount.

Ooh, I like those. Hopefully today I can release the textures + CFG for my own VE edit.

Edited by NovaSilisko
Link to comment
Share on other sites

That shouldn't be too hard to set up. I just had a glance at your source code, and I see I can get the Kepler orbital parameters from PlanetShifter.cs. I didn't see any planetary masses or gravitational parameters, though. Are they in there and I should just look harder, or are they hiding somewhere else? I think you changed some bodies' radii and/or surface gravity so the masses shouldn't be the same as in the stock game. Once I find all the numbers, I should be able to put a video up of a simulation in about a day.

That would be awesome to see. While you're at it, could you please do a simulation of the Planet Factory planets too? I bet that would be even more interesting.

Link to comment
Share on other sites

I believe it has to do with the "cb_sun.OrbitingBodies.Remove(cb_kerbin)" bit. That's the only thing that I had added that seemed related, and lo and behold, when I removed it the bug SEEMS to have stopped... KSP's system really, really baffles me sometimes, I've kinda given up trying to understand it.

This is not a very good fix, because the bodies still end up at random places on their orbits (meaning you can't really easily set up a resonance or just move planets around their orbit by tweaking the anomaly).

This is a good fix (stolen from Real Solar System):


// // // Three lines of context
cb2.hillSphere = GetNewHillSphere(cb2);
cb2.orbit.period = GetNewPeriod(cb2);
cb2.timeWarpAltitudeLimits = newWarpLimits; // <<< Line 864
// // // Insert fix:
// NathanKello Gratias. This comes from anomFix in RSS.
cb2.orbit.meanAnomaly = cb2.orbit.meanAnomalyAtEpoch; // let KSP handle epoch
cb2.orbit.orbitPercent = cb2.orbit.meanAnomalyAtEpoch / 6.2831853071795862;
cb2.orbit.ObTAtEpoch = cb2.orbit.orbitPercent * cb2.orbit.period;

Now the bodies are where they should be, and therefore the spacecraft doesn't spawn in interplanetary space.

You can (and you probably should) keep "cb_sun.OrbitingBodies.Remove(cb_kerbin)".

It seems the orbit class is a complete mess, and as a result doesn't update all its orbital parameters to match what you give it. You might want to file a bug.

I'll try running a simulation of the system I get from this fix using Mathematica's symplectic integrators.

EDIT:

Okay, this messes up Gilly and Ike, as you move them by tweaking the epoch. May I suggest moving them by changing the meanAnomalyAtEpoch instead? This would make things more consistent anyway.

If my calculations are correct, setting M0=2.87273 for Ike and M0=6.15089 for Gilly takes them to where the epoch shift should put them.

Edited by eggrobin
Link to comment
Share on other sites

Completed mission to super-Tylo and back:

Sorry for the bad quality. Besides the lag, it was actually surprisingly easy, about the same as an Eve sea-level mission except with higher TWR. 48-7S's are awesome.

Most of the video is sped up 4x and the launch is sped up 32x.

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