Kitten Space Agency mod to load real Artemis II orbit data
at main 41 lines 2.2 kB view raw
1<?xml version="1.0" encoding="utf-8" ?> 2<!-- Add a version of Luna that uses up-to-date lunar ephemerides for Artemis II, 3and a version of the "Earth and Moon" system using our new Luna. --> 4<Patch> 5 <!-- Create a copy of Luna with our new orbital parameters. --> 6 <With Path="/Root/Mod[@Id='Core']/Assets[@RelPath='Astronomicals.xml']"> 7 <Copy Path="." From="PlanetaryBody[@Id='Luna']" Pos="Append" /> 8 <With Path="PlanetaryBody[@Id='Luna'][2]"> 9 <Copy Path="@Id" Pos="Append">_Artemis2</Copy> 10 <With Path="Orbit"> 11 <Delete Path="SemiMajorAxis/@Km" /> 12 <Delete Path="Inclination/@Degrees" /> 13 <Delete Path="LongitudeOfAscendingNode/@Degrees" /> 14 <Delete Path="ArgumentOfPeriapsis/@Degrees" /> 15 </With> 16 <!-- Based on JPL Horizons state vectors at 2026-04-06 23:00:00 17 (approx Artemis II lunar periapsis time), orbital parameters calculated 18 from state vectors using KSA code --> 19 <Merge Path="Orbit"> 20 <Orbit DefinitionFrame="Equatorial"> 21 <SemiMajorAxis M="386527231.6716702" /> 22 <Inclination Radians="0.4935872303877871" /> 23 <Eccentricity Value="0.04777738122899735" /> 24 <LongitudeOfAscendingNode Radians="6.211512996532614" /> 25 <ArgumentOfPeriapsis Radians="1.4139735506464641" /> 26 <TimeAtPeriapsis Seconds="9903893.82626691" /> 27 </Orbit> 28 </Merge> 29 </With> 30 </With> 31 32 <!-- Populate our custom systems with the contents of the corresponding default systems, 33 but use our new custom version of Luna. --> 34 <With Path="/Root/Mod[@Id='OemLoader']"> 35 <Copy Path="System[@Id='SolLiteArtemis']" From="/Root/Mod[@Id='Core']/System[@Id='SolLite']/*" Pos="Append" /> 36 <With Path="System"> 37 <Copy Path="DisplayName/@Value" Pos="Append"> (April 2026 lunar ephemerides)</Copy> 38 <Copy Path="LoadFromLibrary[@Id='Luna']/@Id" Pos="Append">_Artemis2</Copy> 39 </With> 40 </With> 41</Patch>