diff --git a/Localization/fr-fr.cfg b/Localization/fr-fr.cfg new file mode 100644 index 0000000..373267d --- /dev/null +++ b/Localization/fr-fr.cfg @@ -0,0 +1,199 @@ +Localization +{ + fr-fr + { + #autoLOC_CustomAsteroids_CompStony = Pierre + #autoLOC_CustomAsteroids_SciStony1 = C'est un rocher. + + #autoLOC_CustomAsteroids_CompMetal = Métallique + #autoLOC_CustomAsteroids_TitleMetal = Un rocher brillant + #autoLOC_CustomAsteroids_InfoMetal = Grosse boule de rock avec des morceaux de métal. + #autoLOC_CustomAsteroids_TagsMetal = Pépite d'astéroïde métalillique + #autoLOC_CustomAsteroids_SciMetal1 = L'échantillon semble être un mélange de minerai et de métal. + #autoLOC_CustomAsteroids_SciMetal2 = Vous avez traversé trois forets pour recueillir l'échantillon. Peut-être que vous n'auriez pas dû choisir l'endroit le plus brillant... + #autoLOC_CustomAsteroids_SciMetalKerbinLanded = Vous en prélevez un échantillon avant que l'éclat de l'astéroïde n'attire trop l'attention. + + #autoLOC_CustomAsteroids_CompCarbon = Carboneux + #autoLOC_CustomAsteroids_TitleCarbon = Une roche riche en carbone + #autoLOC_CustomAsteroids_InfoCarbon = Une chose ressemblant à de la roche sombre. Apparemment ininflammable. + #autoLOC_CustomAsteroids_TagsCarbon = Charbon d'astéroïde + #autoLOC_CustomAsteroids_SciCarbon1 = C'est un rocher noirâtre. + #autoLOC_CustomAsteroids_SciCarbon2= Vous Essayez de mettre le feu à l'échantillon, mais rien arrive. + #autoLOC_CustomAsteroids_SciCarbonFlying = Obtenir cette échantillon a été facile; l'astéroïde se désintégre. + + #autoLOC_CustomAsteroids_CompIcy = Glace-organique + #autoLOC_CustomAsteroids_TitleIcy = Une boule de neige sale + #autoLOC_CustomAsteroids_InfoIcy = Grosse boule de glace... sauf que la glace n'est généralement pas rougeâtre. + #autoLOC_CustomAsteroids_TagsIcy = astéroïde boule de glace sale + #autoLOC_CustomAsteroids_SciIcySample = Échantillon d'astéroïde + #autoLOC_CustomAsteroids_SciIcy1 = La glace est mélangée à de la crasse organique rougeâtre. C'est assez grossier. + #autoLOC_CustomAsteroids_SciIcyFlying = Vous récupérez un échantillon dans les airs. L'astéroïde semble sur le point d'exploser! + #autoLOC_CustomAsteroids_SciIcySun1 = C'est un miracle qu'il ne reste rien d'autre que du rock, et même la comète tout entière se désintégre. + #autoLOC_CustomAsteroids_SciIcySun2 = C'est un miracle qu'il ne reste rien d'autre que du rock. + #autoLOC_CustomAsteroids_SciIcyMoho = C'est un miracle qu'il ne reste rien d'autre que du rock. + #autoLOC_CustomAsteroids_SciIcyEve = Vous pouvez presque voir l'astéroïde rétrécir sous vos yeux. Votre échantillon disparaît instantanément. + #autoLOC_CustomAsteroids_SciIcyKerbin = L'astéroïde bout furieusement. Vous ne pouvez pas obtenir un échantillon de quelque chose de solide. + #autoLOC_CustomAsteroids_SciIcyMinmus = L'astéroïde bout furieusement. Peut-être que vous devriez obtenir un peu de tout ce qui empêche la surface de Minmus de se vaporiser. + #autoLOC_CustomAsteroids_SciIcyDuna = Vous n'obtenez qu'un échantillon des morceaux organiques lorsque la glace se vaporise. + #autoLOC_CustomAsteroids_SciIcyDres = Les gaz s'échappent de l'échantillon. Tu devrais peut-être le mettre dans la glacière. + + #autoLOC_CustomAsteroids_CompCmt = Comète + #autoLOC_CustomAsteroids_TitleCmt = Une boule de neige sale + #autoLOC_CustomAsteroids_InfoCmt = Ça ressemble à un rocher de l'extérieur, mais avec beaucoup d'eau à l'intérieur. + #autoLOC_CustomAsteroids_TagsCmt = comète boule de neige sale + #autoLOC_CustomAsteroids_SciCmtSample = Échantillon de comète + #autoLOC_CustomAsteroids_SciCmt1 = C'est juste du rock. Peut-être que si vous creusiez plus profondément? + #autoLOC_CustomAsteroids_SciCmt2 = Vous parvenez en fait à trouver une poche de glace vierge. Eh bien, vierge! D'accord, c'est plutôt sale en fait. + #autoLOC_CustomAsteroids_SciCmtFlying = Vous récupérez un échantillon dans les airs. La comète semble sur le point d'exploser ! + #autoLOC_CustomAsteroids_SciCmtSun1 = La comète tout entière se sublime. Vous pourriez obtenir un échantillon de *gaz*... + #autoLOC_CustomAsteroids_SciCmtSun2 = C'est un miracle qu'il reste tout sauf du rock. + #autoLOC_CustomAsteroids_SciCmtMoho = C'est un miracle qu'il reste tout sauf du rock. + #autoLOC_CustomAsteroids_SciCmtEve = Vous parvenez à échantillonner un morceau qui n'envoie pas d'eau dans l'espace. + #autoLOC_CustomAsteroids_SciCmtKerbin = Vous parvenez à échantillonner un morceau qui n'envoie pas d'eau dans l'espace. + #autoLOC_CustomAsteroids_SciCmtDuna1 = La comète a des jets effrayants, mais vous parvenez à retirer un échantillon de glace de son côté nocturne. + #autoLOC_CustomAsteroids_SciCmtDuna2 = Les morceaux d'apparence rocheuse ne semblent pas affectés par tout ce qui projette des jets hors de la surface de la comète. + + #autoLOC_CustomAsteroids_MbcName = Astéroïde actif + #autoLOC_CustomAsteroids_MbcBlurb = Un certain nombre d'astronomes ont rapporté que cet astéroïde apparaît flou près du périhélie. Ils ont probablement juste besoin de nettoyer à nouveau les lentilles de leur télescope. + #autoLOC_CustomAsteroids_SciMbcSample = Échantillon de comète de la ceinture principale + #autoLOC_CustomAsteroids_SciMbc1 = Cet astéroïde a quelques dépôts de glace à la surface, probablement intacts depuis la formation de la ceinture d'astéroïdes. Les scientifiques seront ravis d'étudier sa composition isotopique, mais ce serait presque dommage de la laisser fondre. + #autoLOC_CustomAsteroids_SciMbc2 = Les meilleurs esprits Kerbal se sont demandé si cet objet était un astéroïde ou une comète. Après avoir pris un échantillon, vous n'êtes toujours pas sûr de + + + #autoLOC_CustomAsteroids_GuiClass = Type + #autoLOC_CustomAsteroids_GuiDebugResource = Survey Asteroid + + #autoLOC_CustomAsteroids_LogConfig = ConfigNode <<1>> loaded. + #autoLOC_CustomAsteroids_LogLoadGroup = Asteroid set '<<1>>' loaded. + #autoLOC_CustomAsteroids_LogLoadRefPlane = Reference plane '<<1>>' loaded. + #autoLOC_CustomAsteroids_LogLoadedStatus = <<1>> new discoveries per Earth day. + #autoLOC_CustomAsteroids_LogKillSpawner = Stock spawner has been shut down. + #autoLOC_CustomAsteroids_LogNoSpawner = Stock spawner not found, doing nothing. + #autoLOC_CustomAsteroids_LogKillAsteroid = Deleting unauthorized asteroid <<1>>. + #autoLOC_CustomAsteroids_LogStart = Booting asteroid driver... + #autoLOC_CustomAsteroids_LogStop = Shutting down asteroid driver... + #autoLOC_CustomAsteroids_LogDriverOk = Asteroid driver started. + #autoLOC_CustomAsteroids_LogDriverTick = Next check in <<1>> s. + #autoLOC_CustomAsteroids_LogDefault = New orbit will pass by kerbin in <<1>> days + #autoLOC_CustomAsteroids_LogOrbitDraw = Drawing orbit from <<1>>. + #autoLOC_CustomAsteroids_LogFlyby = Asteroid will pass <<1>> m from <<2>> in <<3>> Kerbin days. V_infinity = <<4>> m/s. + #autoLOC_CustomAsteroids_LogHyperOrbit = New hyperbolic orbit around <<1>> at <<2>> m, e = <<3>>, i = <<4>>, aPe = <<5>>, lAn = <<6>>. + #autoLOC_CustomAsteroids_LogSoi = Patching SoI transition from <<1>> to <<2>> at UT <<3>>. + #autoLOC_CustomAsteroids_LogOrbit = New orbit at <<1>> m, e = <<2>>, i = <<3>>, aPe = <<4>>, lAn = <<5>>, mEp = <<6>> at epoch <<7>>. + #autoLOC_CustomAsteroids_LogRotate = Transforming orbit from frame <<1>>. + #autoLOC_CustomAsteroids_LogAchievement = Vessel <<1>> qualifies as <<2>>: <<3>> + #autoLOC_CustomAsteroids_LogCrew = Vessel <<1>> has crew <<2>>/<<3>> + #autoLOC_CustomAsteroids_LogSpawn = New object found: <<1>> in asteroid set <<2>>. + #autoLOC_CustomAsteroids_LogSpawnInterval = Asteroid discovered at UT <<1>>. + #autoLOC_CustomAsteroids_LogSpawnStock = No new objects this time. (Odds are 1:<<1>>) + #autoLOC_CustomAsteroids_LogUnspawn = Asteroid <<1>> has been untracked for too long and is now lost. + #autoLOC_CustomAsteroids_LogRename = Asteroid renamed to <<1>> + + #autoLOC_CustomAsteroids_LogOptionsSave = Settings saved. + #autoLOC_CustomAsteroids_LogOptionsLoad1 = Loading settings... + #autoLOC_CustomAsteroids_LogOptionsLoad2 = Settings loaded. + #autoLOC_CustomAsteroids_LogOptionsNoLoad = Could not load CustomAsteroids options. + #autoLOC_CustomAsteroids_LogOptionsNoSave = Settings could not be saved. + #autoLOC_CustomAsteroids_LogNoOptions = No config file found at <<1>>; creating new one. + #autoLOC_CustomAsteroids_LogOldOptions = Loaded config file from version <<1>>; updating to version <<2>>. + + #autoLOC_CustomAsteroids_LogResourceHeader = ASTEROID <<1>> RESOURCE REPORT + #autoLOC_CustomAsteroids_LogResourceSummary = <<1>> out of <<2>> tons (<<3>>) taken by resources + #autoLOC_CustomAsteroids_LogResourceName = Resource: <<1>> + #autoLOC_CustomAsteroids_LogResourceAmount = \tAmount <<1>> tons (<<2>>) + #autoLOC_CustomAsteroids_LogResourceFreq = \tFound in only <<1>>% of asteroids. + #autoLOC_CustomAsteroids_LogResourceDistrib = \tNominal abundance <<1>>-<<2>>% + #autoLOC_CustomAsteroids_LogResourceEnd = Asteroid resources recorded and logged. + + #autoLOC_CustomAsteroids_ErrorBasic = <<1>> Cause: "<<2>>". + #autoLOC_CustomAsteroids_ErrorChained = <<1>> Cause: "<<2>>"\nRoot Cause: "<<3>>". + #autoLOC_CustomAsteroids_ErrorLoadGroup = Could not load asteroid group "<<1>>". + #autoLOC_CustomAsteroids_ErrorLoadRefPlane = Could not load reference plane "<<1>>". + #autoLOC_CustomAsteroids_ErrorSpawnFail = Could not create new asteroid. + #autoLOC_CustomAsteroids_ErrorNoDefaultPlane = Could not find reference plane "<<1>>". + #autoLOC_CustomAsteroids_ErrorNoConfig1 = Custom Asteroids could not find any configs in GameData! + #autoLOC_CustomAsteroids_ErrorNoConfig2 = Asteroids will not appear. + #autoLOC_CustomAsteroids_ErrorNoSpawner = Unknown spawner type: <<1>>. + #autoLOC_CustomAsteroids_ErrorNoPlanet = Could not find celestial body named <<1>>. + #autoLOC_CustomAsteroids_ErrorNoClass = Could not select asteroid class for group '<<1>>'. + #autoLOC_CustomAsteroids_ErrorNoClass2 = Could not select asteroid class. + #autoLOC_CustomAsteroids_ErrorNoSize = Could not set asteroid size to '<<1>>' for group '<<2>>'. + #autoLOC_CustomAsteroids_ErrorNoValue = Could not set property '<<1>>' for group '<<2>>'. + #autoLOC_CustomAsteroids_ErrorNoGroup = Could not select population. + #autoLOC_CustomAsteroids_ErrorBadDistribution = Invalid distribution specified: <<1>>. + #autoLOC_CustomAsteroids_ErrorNoCometType = Unknown comet orbit type: <<1>>. + + #autoLOC_CustomAsteroids_ErrorVesselNoId = Invalid persistentId. + #autoLOC_CustomAsteroids_ErrorVesselNull = Null vessel or sub-config. + + #autoLOC_CustomAsteroids_ErrorDefaultNoKerbin = Cannot create stockalike orbits; Kerbin not found! + #autoLOC_CustomAsteroids_ErrorOrbitBadEcc = Asteroids in group '<<1>>' cannot have negative eccentricity (generated <<2>>). + #autoLOC_CustomAsteroids_ErrorOrbitBadPeri = Asteroids in group '<<1>>' cannot describe periapsis position using <<2>>. + #autoLOC_CustomAsteroids_ErrorOrbitHyperbolicApo = Asteroids in group '<<1>>' cannot constrain apoapsis on unbound orbits (eccentricity <<2>>). + #autoLOC_CustomAsteroids_ErrorOrbitBadSize = Asteroids in group '<<1>>' cannot describe orbit size using <<2>>. + #autoLOC_CustomAsteroids_ErrorOrbitBadPhase = Asteroids in group '<<1>>' cannot describe orbit position using type <<2>>. + #autoLOC_CustomAsteroids_ErrorOrbitBadEpoch = Asteroids in group '<<1>>' cannot describe orbit position using type <<2>>. + #autoLOC_CustomAsteroids_ErrorOrbitRotate = No such reference frame: <<1>>. + #autoLOC_CustomAsteroids_ErrorFlybyBadApproach = Asteroids in group '<<1>>' cannot describe approach distance using type <<2>>. + #autoLOC_CustomAsteroids_ErrorFlybyBadVInf = Asteroids in group '<<1>>' must have positive SOI entry speed (generated <<2>>). + #autoLOC_CustomAsteroids_ErrorFlybyBadB = Asteroids in group '<<1>>' cannot have negative impact parameters (generated <<2>>). + #autoLOC_CustomAsteroids_ErrorFlybyBadPeri = Asteroids in group '<<1>>' cannot have negative periapses (generated <<2>>). + #autoLOC_CustomAsteroids_ErrorHyperBadVInf = Hyperbolic orbits must have positive excess speed, gave <<1>> vInf. + #autoLOC_CustomAsteroids_ErrorHyperBadPeri = Orbits cannot have a negative periapsis, gave <<1>> periapsis. + #autoLOC_CustomAsteroids_ErrorSoiInvalid = Orbit is in the correct SoI (<<1>>); no patching needed. + #autoLOC_CustomAsteroids_ErrorSoiNoParent = Object does not orbit a body with a parent, but <<1>>. + #autoLOC_CustomAsteroids_ErrorSoiNoSoi = Body <<1>> does not have a sphere of influence. + #autoLOC_CustomAsteroids_ErrorSoiNoExit = Orbit <<1>> does not leave SoI. + #autoLOC_CustomAsteroids_ErrorRefOrbitCorrupt = RefAsOrbit <<1>> has not been initialized properly. + #autoLOC_CustomAsteroids_ErrorRefVectorCorrupt = RefVectors <<1>> has not been initialized properly. + #autoLOC_CustomAsteroids_ErrorRefVectorNoZero = The normal to a plane in <<1>> cannot be zero. + #autoLOC_CustomAsteroids_ErrorRefVectorDegenerate = The reference vector in <<1>> cannot be parallel to the normal. + #autoLOC_CustomAsteroids_ErrorConditionContext = In condition <<1>>: + #autoLOC_CustomAsteroids_ErrorConditionStateBadOp = Unexpected combine value: <<1>>. + #autoLOC_CustomAsteroids_ErrorConditionStateBadPred = Corrupted predicate <<1>> found. + #autoLOC_CustomAsteroids_ErrorConditionStateBadAchieve = Invalid planet achievement: <<1>> + #autoLOC_CustomAsteroids_ErrorConditionStateBadRestriction = No such condition modifier: <<1>>. + #autoLOC_CustomAsteroids_ErrorConditionStateBadVesssel = No such vessel state: <<1>>. + #autoLOC_CustomAsteroids_ErrorConditionStateNoAchieve = Only unknown conditions: <<1>> + #autoLOC_CustomAsteroids_ErrorConditionInputBad = Cannot parse '<<1>>' as a body condition. + #autoLOC_CustomAsteroids_ErrorConditionInputBadType = Unexpected condition: <<1>>. + #autoLOC_CustomAsteroids_ErrorProportionBadFormat = In conditions, cannot parse '<<1>>' as a number and name. + #autoLOC_CustomAsteroids_ErrorProportionBadRate = In conditions, cannot parse '<<1>>' as a floating point number. + #autoLOC_CustomAsteroids_ErrorTypeBadPart = No such Part: <<1>>. + #autoLOC_CustomAsteroids_ErrorMultiParts = Unexpected multi-part asteroid: <<1>>. + #autoLOC_CustomAsteroids_ErrorMmrNotPositive = Mean-motion resonance must have positive integers (gave <<1>>:<<2>> in <<3>>). + #autoLOC_CustomAsteroids_ErrorPlanetNoDay = Celestial body '<<1>>' does not have a solar day. + #autoLOC_CustomAsteroids_ErrorPlanetNoOrbit = Celestial body '<<1>>' does not have an orbit. + #autoLOC_CustomAsteroids_ErrorPlanetBadProperty = Unsupported celestial body property: <<1>>. + + #autoLOC_CustomAsteroids_ErrorOptionsBadMin = Minimum untracked time may not be negative (gave <<1>>). + #autoLOC_CustomAsteroids_ErrorOptionsBadMax = Maximum untracked time must be positive (gave <<1>>). + #autoLOC_CustomAsteroids_ErrorOptionsBadRange = Maximum untracked time must be at least minimum time (gave <<1>> > <<2>>). + + #autoLOC_CustomAsteroids_ErrorNoInteger = In <<1>>, cannot parse '<<2>>' as an integer. + #autoLOC_CustomAsteroids_ErrorNoFloat = In <<1>>, cannot parse '<<2>>' as a floating point number. + #autoLOC_CustomAsteroids_ErrorNoFloat2 = Cannot parse '<<1>>' as a floating point number. + #autoLOC_CustomAsteroids_ErrorFactorial = Negative numbers do not have factorials (gave <<1>>). + #autoLOC_CustomAsteroids_Error2Factorial = Negative numbers do not have double factorials (gave <<1>>). + #autoLOC_CustomAsteroids_ErrorNoSample = Cannot choose from an empty set. + #autoLOC_CustomAsteroids_ErrorNegativeSample = The weight of any option may not be negative (gave <<1>> for <<2>>). + #autoLOC_CustomAsteroids_ErrorZeroSample = The weights of the options may not all be zero. + #autoLOC_CustomAsteroids_ErrorUniformRange = In a uniform distribution, the first parameter must be no more than the second (gave <<1>> < <<2>>). + #autoLOC_CustomAsteroids_ErrorLogUniformRange = In a log-uniform distribution, the first parameter must be no more than the second (gave <<1>> < <<2>>). + #autoLOC_CustomAsteroids_ErrorLogUniformPositive = In a log-uniform distribution, all parameters must be positive (gave a = <<1>>, b = <<2>>). + #autoLOC_CustomAsteroids_ErrorExponentialMean = An exponential distribution cannot have a negative mean (gave <<1>>). + #autoLOC_CustomAsteroids_ErrorRayleighMean = A Rayleigh distribution cannot have a negative sigma (gave <<1>>). + #autoLOC_CustomAsteroids_ErrorNormalStd = A normal distribution cannot have a negative width (gave <<1>>). + #autoLOC_CustomAsteroids_ErrorLogNormMean = Lognormal distribution must have positive mean (gave <<1>>). + #autoLOC_CustomAsteroids_ErrorLogNormStd = Lognormal distribution must have positive standard deviation (gave <<1>>). + #autoLOC_CustomAsteroids_ErrorLogNormWidth = A lognormal distribution cannot have a negative width (gave <<1>>). + #autoLOC_CustomAsteroids_ErrorGammaMean = Gamma distribution must have positive mean (gave <<1>>). + #autoLOC_CustomAsteroids_ErrorGammaStd = Gamma distribution must have positive standard deviation (gave <<1>>). + #autoLOC_CustomAsteroids_ErrorGammaShape = A gamma distribution cannot have a negative shape parameter (gave k = <<1>>). + #autoLOC_CustomAsteroids_ErrorGammaScale = A gamma distribution cannot have a negative scale parameter (gave theta = <<1>>). + #autoLOC_CustomAsteroids_ErrorBetaMean = Beta distribution must have mean between min and max (gave <<1>> < <<2>> < <<3>>). + #autoLOC_CustomAsteroids_ErrorBetaStd = Beta distribution must have positive standard deviation (gave <<1>>). + #autoLOC_CustomAsteroids_ErrorBetaAlpha = A beta distribution cannot have a negative shape parameter (gave alpha = <<1>>). + #autoLOC_CustomAsteroids_ErrorBetaBeta = A beta distribution cannot have a negative shape parameter (gave beta = <<1>>). + } +} diff --git a/config/OPM-Reconfig.cfg b/config/OPM-Reconfig.cfg new file mode 100644 index 0000000..811df27 --- /dev/null +++ b/config/OPM-Reconfig.cfg @@ -0,0 +1,391 @@ +// Updated 2019/03/18 by Eridan/HSJasperism +// Tested with OPM 2.2.2 & CA 1.6 +// OPM older than 2.2.2 will include dated configs for CA or Kopernicus Asteroids +// CA older than 1.3 will fail to recognize spawn conditions; older than 1.6 may have issues will localization strings + +// Removes the Asteroid configs for Kopernicus +// Kopernicus will still load its ScenarioModule named DiscoverableObjects after killing stock ScenarioDiscoverableObjects +// but Start()'s foreach loop will not go though anything because no Asteroid configs will exist. +// CA has defaults for Dres & Kerbin in PopulationLoader.cs but it is recommended to use the stockalike CA configs + +@Kopernicus:AFTER[OPM]:NEEDS[CustomAsteroids] +{ + !Asteroid[Stock] {} + !Asteroid[OPMSarnus] {} + !Asteroid[OPMUrlum] {} + !Asteroid[OPMNeidon] {} +} + +// Custom Asteroid Configs +// Jool, Sarnus, Urlum, & Neidon configs based on Artifexian's tutorials on Gas Giant systems +// Sarnus, Urlum, & Neidon attempt to mimic JadOfMaar's Kopernicus configs + +AsteroidSets:NEEDS[OPM] +{ + name = OPM_GasGiantObjects + + ASTEROIDGROUP + { + name = joolInner + title = #autoLOC_CustomAsteroids_OPM_GroupInnerObj + + centralBody = Jool + + spawnRate = 0.15 + + orbitSize + { + dist = Uniform + min = Ratio(Jool.rad, 1.89) + max = Ratio(Jool.rad, 2.44) + } + + eccentricity + { + dist = Rayleigh + avg = 0 + stddev = 0.05 + } + + inclination + { + dist = Rayleigh + avg = 0 + stddev = 0.05 + } + + asteroidTypes + { + key = 0.75 PotatoRoid + key = 0.20 CaAsteroidCarbon + key = 0.05 CaAsteroidMetal + } + } + + ASTEROIDGROUP + { + name = sarnusInner + title = #autoLOC_CustomAsteroids_OPM_GroupInnerObj + + centralBody = Sarnus + + spawnRate = 0.15 + + orbitSize + { + dist = Uniform + min = Ratio(Sarnus.rad, 1.89) + max = Ratio(Ovok.sma, 1) + } + + eccentricity + { + dist = Rayleigh + avg = 0 + stddev = 0.05 + } + + inclination + { + dist = Rayleigh + avg = 0 + stddev = 0.05 + } + + asteroidTypes + { + key = 0.75 PotatoRoid + key = 0.20 CaAsteroidCarbon + key = 0.05 CaAsteroidMetal + } + } + + ASTEROIDGROUP + { + name = urlumInner + title = #autoLOC_CustomAsteroids_OPM_GroupInnerObj + + centralBody = Urlum + + spawnRate = 0.15 + + orbitSize + { + dist = Uniform + min = Ratio(Urlum.rad, 1.89) + max = Ratio(Priax.sma, 1) + } + + eccentricity + { + dist = Rayleigh + avg = 0 + stddev = 0.05 + } + + inclination + { + dist = Rayleigh + avg = 0 + stddev = 0.05 + } + + asteroidTypes + { + key = 0.10 CaAsteroidCarbon + key = 0.90 CaAsteroidIcy + } + } + + ASTEROIDGROUP + { + name = neidonInner + title = #autoLOC_CustomAsteroids_OPM_GroupInnerObj + + centralBody = Neidon + + spawnRate = 0.15 + + orbitSize + { + dist = Uniform + min = Ratio(Neidon.rad, 1.89) + max = Ratio(Thatmo.sma, 1) + } + + eccentricity + { + dist = Uniform + min = 0.1 + max = 0.4 + } + + inclination + { + dist = Gaussian + avg = Ratio(Thatmo.inc, 1) + stddev = 0.5 + } + + ascNode + { + dist = Gaussian + avg = Ratio(Thatmo.lan, 1) + stddev = 0.5 + } + + asteroidTypes + { + key = 0.10 CaAsteroidCarbon + key = 0.90 CaAsteroidIcy + } + } + + ASTEROIDGROUP + { + name = joolOuter + title = #autoLOC_CustomAsteroids_OPM_GroupOuterObj + + centralBody = Jool + + spawnRate = 0.10 + + orbitSize + { + dist = Uniform + min = Ratio(Tylo.sma, 2) + max = Ratio(Pol.sma, 1) + } + + eccentricity + { + dist = Uniform + avg = 0.2 + stddev = 0.5 + } + + inclination + { + dist = Isotropic + } + + asteroidTypes + { + key = 0.75 PotatoRoid + key = 0.20 CaAsteroidCarbon + key = 0.05 CaAsteroidMetal + } + } + + ASTEROIDGROUP + { + name = sarnusOuter + title = #autoLOC_CustomAsteroids_OPM_GroupOuterObj + + centralBody = Sarnus + + spawnRate = 0.10 + + orbitSize + { + dist = Uniform + min = Ratio(Slate.sma, 2) + max = Ratio(Tekto.sma, 2) + } + + eccentricity + { + dist = Uniform + avg = 0.2 + stddev = 0.5 + } + + inclination + { + dist = Isotropic + } + + asteroidTypes + { + key = 0.75 PotatoRoid + key = 0.20 CaAsteroidCarbon + key = 0.05 CaAsteroidMetal + } + } + + ASTEROIDGROUP + { + name = urlumOuter + title = #autoLOC_CustomAsteroids_OPM_GroupOuterObj + + centralBody = Urlum + + spawnRate = 0.10 + + orbitSize + { + dist = Uniform + min = Ratio(Priax.sma, 2) + max = Ratio(Wal.sma, 2) + } + + eccentricity + { + dist = Uniform + avg = 0.2 + stddev = 0.5 + } + + inclination + { + dist = Isotropic + } + + asteroidTypes + { + key = 0.10 CaAsteroidCarbon + key = 0.90 CaAsteroidIcy + } + } + + ASTEROIDGROUP + { + name = neidonOuter + title = #autoLOC_CustomAsteroids_OPM_GroupOuterObj + + centralBody = Neidon + + spawnRate = 0.15 + + orbitSize + { + dist = Uniform + min = Ratio(Thatmo.sma, 2) + max = Ratio(Nissee.sma, 1) + } + + eccentricity + { + dist = Uniform + avg = 0.2 + stddev = 0.5 + } + + inclination + { + dist = Isotropic + } + + asteroidTypes + { + key = 0.10 CaAsteroidCarbon + key = 0.90 CaAsteroidIcy + } + } +} + +@AsteroidSets[OPM_GasGiantObjects]:NEEDS[!UnhideAsteroids] +{ + @ASTEROIDGROUP:HAS[#centralBody[Jool]] + { + detectable + { + conditions + { + condition = Jool.reached + } + } + } + + @ASTEROIDGROUP:HAS[#centralBody[Sarnus]] + { + detectable + { + conditions + { + condition = Sarnus.reached + } + } + } + + @ASTEROIDGROUP:HAS[#centralBody[Urlum]] + { + detectable + { + conditions + { + condition = Urlum.reached + } + } + } + + @ASTEROIDGROUP:HAS[#centralBody[Neidon]] + { + detectable + { + conditions + { + condition = Neidon.reached + } + } + } +} + +Localization +{ + en-us + { + // Minor satellites + #autoLOC_CustomAsteroids_OPM_GroupInnerObj = Minor Sat. + // Captured Objects + #autoLOC_CustomAsteroids_OPM_GroupOuterObj = Captured Ast. + } + fr-fr + { + // Minor satellites + #autoLOC_CustomAsteroids_OPM_GroupInnerObj = Sat mineur. + // Captured Objects + #autoLOC_CustomAsteroids_OPM_GroupOuterObj = Ast capturé. + } +} + diff --git a/config/Stockalike.cfg b/config/Stockalike.cfg index b9298f8..c055067 100644 --- a/config/Stockalike.cfg +++ b/config/Stockalike.cfg @@ -484,4 +484,9 @@ Localization #autoLOC_CustomAsteroids_GroupIncoming = Pot. Hazard. Ast. #autoLOC_CustomAsteroids_GroupDres = Dres Moonlet } + fr-fr + { + #autoLOC_CustomAsteroids_GroupIncoming = Pot. Ast. Géocroiseur + #autoLOC_CustomAsteroids_GroupDres = Dres mini-lune + } } diff --git a/config/Trans-Neidon.cfg b/config/Trans-Neidon.cfg new file mode 100644 index 0000000..dba2b7c --- /dev/null +++ b/config/Trans-Neidon.cfg @@ -0,0 +1,469 @@ +// Custom Asteroids: Kuiper belt analog, scattered disk analog, short-period comets +// Trans-Neidon.cfg +// by Starstrider42 +// +// For Custom Asteroids 1.9+ and Outer Planets Mod 2.0+ + +AsteroidSets +{ + name = OPM_outer + + // Classical KBOs partially based on "The CFEPS Full Data Release", + // Petit et al. (2012), Astronomical Journal 142, 131, and + // "The CFEPS High-Latitude Component", Petit et al. (2017), + // Astronomical Journal 153, 236 + + // With default lifetime settings, 1.1 KBOs will be around on average + // These are 75% non-resonant and 25% Eelinos + + ASTEROIDGROUP + { + name = kboNonResonantCold + title = #autoLOC_CustomAsteroids_OPM_GroupKBO + + centralBody = Sun + + spawnRate = 0.04 + + orbitSize + { + dist = LogUniform + type = SemimajorAxis + min = Ratio(Neidon.sma, 1.4) // 42 AU, rescaled from Neptune's to Neidon's orbit + max = Resonance(Neidon, 1:2) + } + + eccentricity + { + dist = Rayleigh + avg = 0.04 + } + + inclination + { + dist = Rayleigh + avg = 3.3 + } + + asteroidTypes + { + key = 0.10 CaAsteroidCarbon + key = 0.90 CaAsteroidIcy + } + + sizes + { // Only large objects detectable + key = 0.6 D + key = 0.4 E + } + } + + ASTEROIDGROUP + { + name = kboNonResonantHot + title = #autoLOC_CustomAsteroids_OPM_GroupKBO + + centralBody = Sun + + spawnRate = 0.04 + + orbitSize + { + dist = LogUniform + type = SemimajorAxis + min = Resonance(Neidon, 2:3) + max = Resonance(Neidon, 1:2) + } + + eccentricity + { + dist = Rayleigh + avg = 0.12 // Max to avoid Neidon orbit-crossers + } + + inclination + { + dist = Rayleigh + avg = 18 + } + + asteroidTypes + { + key = 0.10 CaAsteroidCarbon + key = 0.90 CaAsteroidIcy + } + + sizes + { // Only large objects detectable + key = 0.6 D + key = 0.4 E + } + } + + ASTEROIDGROUP + { + // Plockinos + name = kbo2-3 + title = #autoLOC_CustomAsteroids_OPM_GroupKBO + + centralBody = Sun + + spawnRate = 0.025 + + orbitSize + { + dist = LogUniform + type = SemimajorAxis + min = Resonance(Neidon, 2:3) + max = Resonance(Neidon, 2:3) + } + + eccentricity + { + dist = Gaussian + avg = 0.18 + stddev = 0.06 + } + + inclination + { + dist = Rayleigh + avg = 12.5 // Plock has inclination 6 degrees, vs. 17 for Pluto + } + + // Only few Plockinos are in Kozai resonance; don't bother constraining arg. of perihelion + // Should constrain longitudes, but CA can't represent three-variable relationships + + asteroidTypes + { + key = 0.10 CaAsteroidCarbon + key = 0.90 CaAsteroidIcy + } + + sizes + { // Only large objects detectable + key = 0.6 D + key = 0.4 E + } + } + + ASTEROIDGROUP + { + name = outerComets + title = #autoLOC_CustomAsteroids_OPM_GroupSDO + + centralBody = Sun + + // Very hard to find: 100 Earth days (400 Kerbin days) between discoveries + // With default lifetime settings, an SDO will be visible 10% of the time + spawnRate = 0.01 + + orbitSize + { + dist = LogUniform + type = Periapsis + min = Ratio(Neidon.apo, 1.0) // ~30 AU + max = Ratio(Neidon.apo, 1.6) // ~50 AU + } + + eccentricity + { + dist = Rayleigh + avg = 0.5 + } + + inclination + { + dist = Rayleigh + avg = 15 + } + + orbitPhase // Typically visible near periapsis + { + type = MeanAnomaly + epoch = Now + dist = Gaussian + avg = 0 + stddev = 10 + } + + asteroidTypes + { + key = 0.10 CaAsteroidCarbon + key = 0.90 CaAsteroidIcy + } + + sizes + { // Only large objects detectable + key = 0.6 D + key = 0.4 E + } + } + + ASTEROIDGROUP + { + name = kentaurs + title = #autoLOC_CustomAsteroids_OPM_GroupKentaur + + centralBody = Sun + + // Somewhat less common than intermediate-period comets + spawnRate = 0.005 + + orbitSize + { + dist = LogUniform + type = SemimajorAxis + min = Ratio(Jool.sma, 1.8) // T_J >~ 3 + max = Ratio(Neidon.sma, 0.8) // Minimize overlap with periodic comets + } + + eccentricity + { + dist = Rayleigh + avg = 0.35 + } + + inclination + { + dist = Rayleigh + avg = 22 + } + + asteroidTypes + { + key = 1.0 PotatoComet + } + + orbitType = OPMkentaur + useCometName = false // Use minor planet names + + // Same size distribution as intermediate-period comets + sizes + { + key = 0.3 F + key = 0.4 G + key = 0.3 H + } + } + + ASTEROIDGROUP + { + name = neidonTrojanLeading + title = #autoLOC_CustomAsteroids_OPM_GroupNeidonTrojan + + centralBody = Sun + + // Rare compared to other TNOs + spawnRate = 0.005 + + orbitSize + { + type = SemimajorAxis + min = Resonance(Neidon, 1:1) + max = Resonance(Neidon, 1:1) + } + + eccentricity + { + avg = 0.05 + } + + inclination + { + avg = 14 + } + + orbitPhase + { + type = MeanLongitude + epoch = GameStart + dist = Gaussian + avg = Offset(Neidon.mnl0, 60) + stddev = 12 + } + periapsis // requirement for resonance + { + type = Longitude + dist = Gaussian + avg = Offset(Neidon.lpe, 60) + stddev = 12 + } + + asteroidTypes + { + key = 0.10 CaAsteroidCarbon + key = 0.90 CaAsteroidIcy + } + + sizes + { // Only large objects detectable + key = 0.6 D + key = 0.4 E + } + } + + ASTEROIDGROUP + { + name = neidonTrojanTrailing + title = #autoLOC_CustomAsteroids_OPM_GroupNeidonTrojan + + centralBody = Sun + + spawnRate = 0.005 + + orbitSize + { + type = SemimajorAxis + min = Resonance(Neidon, 1:1) + max = Resonance(Neidon, 1:1) + } + + eccentricity + { + avg = 0.05 + } + + inclination + { + avg = 14 + } + + orbitPhase + { + type = MeanLongitude + epoch = GameStart + dist = Gaussian + avg = Offset(Neidon.mnl0, -60) + stddev = 12 + } + periapsis // requirement for resonance + { + type = Longitude + dist = Gaussian + avg = Offset(Neidon.lpe, -60) + stddev = 12 + } + + asteroidTypes + { + key = 0.10 CaAsteroidCarbon + key = 0.90 CaAsteroidIcy + } + + sizes + { // Only large objects detectable + key = 0.6 D + key = 0.4 E + } + } +} + +// Comets are now the responsibility of the Stockalike config +// Rescale the orbits, but otherwise respect Stock parameters +// If Stockalike not installed, no comets will appear +@AsteroidSets[CustomAsteroids_stock]:FOR[OPM] +{ + @ASTEROIDGROUP[comet_intermediate_*],* + { + // Stock had apoapsis at 6-16 AU, and period 6-25 years + @orbitSize + { + %type = Apoapsis + %dist = Uniform + %min = Ratio(Jool.sma, 3.12) // Period ~25 years + %max = Ratio(Neidon.sma, 1.25) // Period ~95 years + } + + @eccentricity + { + %dist = Uniform + %min = 0.9 + %max = 0.99 + } + } + + @ASTEROIDGROUP[comet_long_*],* + { + // Stock had periapsis at 0.5-1.6 AU, and period 35-400 years + @eccentricity + { + %dist = Uniform + %min = 0.97 // Period ~ 70-400 years + %max = 0.99 // Period ~ 360-2000 years + } + + @orbitPhase + { + %min = -3 + %max = -1 + } + } +} + +COMET_ORBIT_TYPE +{ + name = OPMkentaur + displayName = #autoLOC_CustomAsteroids_OPM_GroupKentaur + description = #autoLOC_CustomAsteroids_OPM_BlurbKentaur + // The values below will not be used by the Custom Asteroids spawner, + // but may be used by e.g. Sentinel. + chanceWeight = 0 // Not a comet, so create only through Custom Asteroids + inclination1Min = -40 + inclination1Max = 40 + inclination2Min = 120 + inclination2MAx = 180 + inclination1Chance = 0.8 + // pe, ap in units of FlightGlobals.GetCometPerturber() [Jool] + peMin = 1.0 + peMax = 3.5 + apMin = 1.25 // In tests, KSP handles peMax > apMin just fine + apMax = 6.0 + minCometClass = F + maxCometClass = H +} + +EXPERIMENT_DEFINITION +{ + id = cometSample_OPMkentaur + title = #autoLOC_CustomAsteroids_OPM_SciKentaurExperiment + baseValue = 180 + scienceCap = 200 // vs. intermediate- (150) and long-period comets (300) + dataScale = 1 + + requireAtmosphere = False + requireNoAtmosphere = False + situationMask = 63 + biomeMask = 7 + + RESULTS + { + default = #autoLOC_CustomAsteroids_OPM_SciKentaurSample + } +} + +Localization +{ + en-us + { + #autoLOC_CustomAsteroids_OPM_GroupNeidonTrojan = Neidon Trojan + #autoLOC_CustomAsteroids_OPM_GroupKBO = Kuper Belt Obj. + #autoLOC_CustomAsteroids_OPM_GroupSDO = Scattered Disk Obj. + + #autoLOC_CustomAsteroids_OPM_GroupKentaur = Kentaur + #autoLOC_CustomAsteroids_OPM_BlurbKentaur = Kentaurs are icy bodies that have been pulled into the outer solar system by the gravity of Neidon and the other giant planets. Some of them show cometary activity and many may eventually become short- or intermediate-period comets, but for now they orbit beyond Jool. + #autoLOC_CustomAsteroids_OPM_SciKentaurExperiment = Kentaur Sample + #autoLOC_CustomAsteroids_OPM_SciKentaurSample = This Kentaur has remained relatively untouched since its ejection from trans-Neidonian space, and will help our scientists get a better look at conditions in the outermost regions of the protoplanetary disk. You're just glad you don't need to go all the way out to the Kuper Belt. + } + fr-fr + { + #autoLOC_CustomAsteroids_OPM_GroupNeidonTrojan = Ast. troyens de Neidon + #autoLOC_CustomAsteroids_OPM_GroupKBO = Obj. Ceinture Kuper + #autoLOC_CustomAsteroids_OPM_GroupSDO = Obj. Disque dispersé + + #autoLOC_CustomAsteroids_OPM_GroupKentaur = Kentaur + #autoLOC_CustomAsteroids_OPM_BlurbKentaur = Les Kentaures sont des corps glacés qui ont été attirés dans le système solaire externe par la gravité de Neidon et des autres planètes géantes. Certains d'entre eux montrent une activité cométaire et beaucoup pourraient éventuellement devenir des comètes à période courte ou intermédiaire, mais pour l'instant, ils orbitent au-delà de Jool. + #autoLOC_CustomAsteroids_OPM_SciKentaurExperiment = Échantillon de Kentaur + #autoLOC_CustomAsteroids_OPM_SciKentaurSample = Ce Kentaur est resté relativement intact depuis son éjection de l'espace trans-Neidonien et aidera nos scientifiques à mieux observer les conditions dans les régions les plus externes du disque protoplanétaire. Vous êtes juste content de ne pas avoir besoin d'aller jusqu'à la ceinture de Kuper. + } +}