Jump to content

MunSwap - Simple Kopernicus configs to swap Mun and Minmus


Recommended Posts

Wanted to do something to breathe some new life into my early-game experience, and this was an easy way to dip my feet into modding.  I don't have a github or anything yet, but just create a MunSwap folder under GameData, save these as Mun.cfg and Minmus.cfg, and drop them in.  I have done extremely limited testing so feel free to let me know if you notice anything weird, or if you have any suggestions.

Requires Kopernicus - https://github.com/Kopernicus/Kopernicus/releases/

Spoiler
// Moves Mun out to replace Minmus

@Kopernicus:AFTER[Kopernicus]
{
	@Body[Mun]
	{
		@Properties
		{
			description = The Mun is a large satellite orbiting Kerbin. It is mostly gray in appearance, with craters of various sizes dotting its otherwise smooth surface. It is often mistaken as dirt on telescope lenses or dead pixels, but the top minds at the Kerbal Astronomical Society assure us it is real nevertheless.
			@ScienceValues // Pulled from Kittopia Tech Dumps - Minmus.cfg
			{
				landedDataValue = 5 // Science multiplier for landed science.
				splashedDataValue = 1 // Science multiplier for splashed down science.
				flyingLowDataValue = 1 // Science multiplier for flying low science.
				flyingHighDataValue = 1 // Science multiplier for flying high science.
				inSpaceLowDataValue = 4 // Science multiplier for in space low science.
				inSpaceHighDataValue = 2.5 // Science multiplier for in space high science.
				recoveryValue = 2.5
				// flyingAltitudeThreshold = 18000 // Altitude when "flying at <body>" transitions from/to "from <body>'s upper atmosphere" - DO NOT CHANGE
				// spaceAltitudeThreshold = 30000 // Altitude when "in space low" transitions from/to "in space high" - DO NOT CHANGE
			}
		}
		@Orbit // Pulled from Kittopia Tech Dumps - Minmus.cfg
		{
			@referenceBody = Kerbin // The body that this body is orbiting around.
			inclination = 6 // The angle between the orbital plane and the ecliptic
			eccentricity = 0 // The deviation of the orbit from circularity
			semiMajorAxis = 47000000 // One-half the length of a line segment drawn from periapsis to apoapsis
			longitudeOfAscendingNode = 78 // Where the orbit crosses the ecliptic moving south to north
			argumentOfPeriapsis = 38 // The angular distance between longitudeOfAscendingNode and periapsis
			meanAnomalyAtEpoch = 0.899999976158142 // The body's mean anomaly at the specified epoch, in radians
			meanAnomalyAtEpochD = 51.5662001957363 // The body's mean anomaly at the specified epoch, in degrees
			epoch = 0 // The number of elapsed seconds from UT = 00:00:00
			// color = 0.556862772,0.454901963,0.627451003,0.501960814 // The color of the orbit line in the Tracking Station - DO NOT CHANGE
			// nodeColor = 0.556862772,0.454901963,0.627451003,0.501960814 // The color of the circle that marks the planets current position on the orbit - DO NOT CHANGE
			mode = REDRAW_AND_RECALCULATE
			// icon = ALL - DO NOT CHANGE
			// cameraSmaRatioBounds = 0.12 12 - DO NOT CHANGE
			period = 1077310.52101881 // Orbital period in seconds
		}
	}
}
Spoiler
// Moves Minmus in to replace Mun

@Kopernicus:AFTER[Kopernicus]
{
	@Body[Minmus]
	{
		@Properties
		{
			description = Minmus is the smallest moon orbiting Kerbin. It’s discovery is widely regarded as one of the more important breakthroughs of Kerbal evolution. Granted, it didn’t happen all that long ago, but it’s still fair to say Kerbals are wiser and more evolved now than they were back then.
			@ScienceValues // Pulled from Kittopia Tech Dumps - Mun.cfg
			{
				landedDataValue = 4 // Science multiplier for landed science.
				splashedDataValue = 1 // Science multiplier for splashed down science.
				flyingLowDataValue = 1 // Science multiplier for flying low science.
				flyingHighDataValue = 1 // Science multiplier for flying high science.
				inSpaceLowDataValue = 3 // Science multiplier for in space low science.
				inSpaceHighDataValue = 2 // Science multiplier for in space high science.
				recoveryValue = 2
				// flyingAltitudeThreshold = 18000 // Altitude when "flying at <body>" transitions from/to "from <body>'s upper atmosphere" - DO NOT CHANGE
				// spaceAltitudeThreshold = 60000 // Altitude when "in space low" transitions from/to "in space high" - DO NOT CHANGE
			}
		}
		@Orbit // Pulled from Kitopia Tecg Dumps - Mun.cfg
		{
			@referenceBody = Kerbin // The body that this body is orbiting around.
			inclination = 0 // The angle between the orbital plane and the ecliptic
			eccentricity = 0 // The deviation of the orbit from circularity
			semiMajorAxis = 12000000 // One-half the length of a line segment drawn from periapsis to apoapsis
			longitudeOfAscendingNode = 0 // Where the orbit crosses the ecliptic moving south to north
			argumentOfPeriapsis = 0 // The angular distance between longitudeOfAscendingNode and periapsis
			meanAnomalyAtEpoch = 1.70000004768372 // The body's mean anomaly at the specified epoch, in radians
			meanAnomalyAtEpochD = 97.4028279043159 // The body's mean anomaly at the specified epoch, in degrees
			epoch = 0 // The number of elapsed seconds from UT = 00:00:00
			// color = 0.611764729,0.627451003,0.70588237,0.501960814 // The color of the orbit line in the Tracking Station - DO NOT CHANGE
			// nodeColor = 0.611764729,0.627451003,0.70588237,0.501960814 // The color of the circle that marks the planets current position on the orbit - DO NOT CHANGE
			mode = REDRAW_AND_RECALCULATE
			// icon = ALL - DOES NOT CHANGE
			// cameraSmaRatioBounds = 0.03 25 - DO NOT CHANGE
			period = 138984.376574476 // Orbital period in seconds
		}
	}
}

Got my stock values from Kittopia Tech Dumps - https://github.com/Kopernicus/kittopia-dumps

License - MIT

Spoiler

Copyright 2024 Greguardo

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

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