![](https://forum.kerbalspaceprogram.com/uploads/set_resources_17/84c1e40ea0e759e3f1505eb1788ddf3c_pattern.png)
![](https://forum.kerbalspaceprogram.com/uploads/set_resources_17/84c1e40ea0e759e3f1505eb1788ddf3c_default_photo.png)
DMagic
Members-
Posts
4,180 -
Joined
-
Last visited
Content Type
Profiles
Forums
Developer Articles
KSP2 Release Notes
Everything posted by DMagic
-
You're looking for the KSC biomes on the SCANsat map? Aside from the fact that this would require a special case to handle it wouldn't really make any sense. There are 30 or so of these that would be packed into a single pixel on the map at all but extremely zoomed in views. Even at very high zoom levels each KSC biome would only occupy 1 or 2 pixels, making it difficult to actually correlate the positions with the actual buildings on the ground. If you just want to identify the buildings you can use the BTDT scanner at close range and cycle through each structure. The name of the structure generally matches the name of the KSC biome, I think.
-
Crowd Sourced Science-Biome Reports Everywhere! (August 11) [6.0]
DMagic replied to DuoDex's topic in KSP1 Mod Releases
Are there any results for the new biomes? I didn't see anything in the standard ScienceDefs.cfg file, and I'm not sure why they would go to the trouble of storing them somewhere else. -
Crowd Sourced Science-Biome Reports Everywhere! (August 11) [6.0]
DMagic replied to DuoDex's topic in KSP1 Mod Releases
I end up with this exception, which is the same thing that always happens when you try to add to EXPERIMENT_DEFINITION nodes with the same experiment ids. ArgumentException: An element with the same key already exists in the dictionary. at System.Collections.Generic.Dictionary`2[System.String,ScienceExperiment].Add (System.String key, .ScienceExperiment value) [0x00000] in <filename unknown>:0 at ResearchAndDevelopment.loadExperiments () [0x00000] in <filename unknown>:0 at ResearchAndDevelopment.GetExperiment (System.String experimentID) [0x00000] in <filename unknown>:0 at ModuleScienceExperiment.OnStart (StartState state) [0x00000] in <filename unknown>:0 at Part.ModulesOnStart () [0x00000] in <filename unknown>:0 at Part+.MoveNext () [0x00000] in <filename unknown>:0 So I'm surprised that experiments work at all, given that this has always pretty much broken things in the past. I see that version 1.2 uses the MM approach, but I think you need to follow the example that Gribbleshnibit8 posted; setting MM configs for each experiment individually, not just grouping everything together. I'm actually not really sure what the version 1.2 file does. Is it just dumping this set of results every time it sees an EXPERIMENT_DEFINITION node? This is exactly what I do when I add results to the stock experiments and I have never had issues with it breaking things or with overwriting the existing results. -
Finally, I have the contract config sliders successfully updating all available contracts and parameters when changed. There are still a few issues. I can't create value where there is none, so this won't allow for adding science or rep to a parameter that doesn't have any to begin with. There is also the related problem of what happens when a value is zeroed out. Once a value is set to zero there is no longer any simple way to determine what its original value was and therefore no way to change it back to a non-zero value. I think I'll have a toggle button to allow for 0% values and have it set to 1% or 0.1% as the lowest value by default. I also need to fix the duration setting so that it affects existing contracts and not just newly offered ones. There is a little 'A' icon in the contract title bar now; it opens a small popup window displaying the agency flag and name. It only needs a little work to make the window position itself correctly. Then I need to see about fixing the part preview function in the editor and maybe adding stock toolbar support...
-
[1.8.x] DMagic Orbital Science: New Science Parts [v1.4.3] [11/2/2019]
DMagic replied to DMagic's topic in KSP1 Mod Releases
Blame Curse. Their stupid update process sometimes rejects files for whatever reason. And since I wasn't paying attention the latest version wasn't available there for a day or so. It has been updated now though, so any of the three links should lead you to the most recent version. -
Both versions of SCANsat ([thread=80369]v8[/thread] and [thread=96859]v9[/thread]) support the CTT now; both use the same nodes in stock and CTT.
-
[1.8.x] DMagic Orbital Science: New Science Parts [v1.4.3] [11/2/2019]
DMagic replied to DMagic's topic in KSP1 Mod Releases
Works fine for me. If you want to report bugs you need to submit more information. Version number, KSP version, log files, etc... -
Version 8.1 is up, get it on Kerbal Stuff The biome issues in 0.90 have been fixed. Orbit overlays with the first tier tracking station have also been fixed and no longer cause NRE spam (this is still an issue with the dev version). No orbit overlays are drawn until you upgrade to the second tier station. ORSX is still supported in this version; there is no Regolith support.
-
[KSP 1.8.1] SCANsat [v19.1] -- Dev version [February 20, 2020]
DMagic replied to DMagic's topic in KSP1 Mod Development
SCANsat version 9 release candidate 4 is out, get it on GitHub. The biome issues have been fixed and you can now scan all planets for biomes. Regolith support has been included in this version and ORSX support dropped. The overlays, resource selection, and resource scanning work the same as in the previous release. -
You're looking for the biomes pulled directly out of the code? Here they are with all of the spaces stripped out, listed by planet. The second list is comma delimited with the celestial body name. The KSC biomes aren't included. the Sun Biomes: -------------------- No Biomes Found For the Sun Kerbin Biomes: -------------------- Water Grasslands Highlands Shores Mountains Deserts Badlands Tundra IceCaps -------------------- the Mun Biomes: -------------------- Midlands NorthernBasin EastCrater NorthwestCrater SouthwestCrater FarsideCrater Canyons PolarCrater Poles PolarLowlands Highlands HighlandCraters MidlandCraters EastFarsideCrater TwinCraters -------------------- Minmus Biomes: -------------------- Highlands Midlands Lowlands Flats GreatFlats GreaterFlats LesserFlats Poles Slopes -------------------- Moho Biomes: -------------------- NorthPole NorthernSinkholeRidge NorthernSinkhole Midlands WesternLowlands CentralLowlands Highlands MinorCraters SouthWesternLowlands SouthEasternLowlands Canyon SouthPole -------------------- Eve Biomes: -------------------- Poles Midlands ExplodiumSea Lowlands Highlands Peaks ImpactEjecta -------------------- Duna Biomes: -------------------- Poles Midlands Lowlands Craters Highlands -------------------- Ike Biomes: -------------------- PolarLowlands Midlands EasternMountainRidge WesternMountainRidge Lowlands SouthEasternMountainRange SouthPole CentralMountainRange -------------------- Jool Biomes: -------------------- No Biomes Found For Jool Laythe Biomes: -------------------- Poles Shores Dunes CrescentBay TheSagenSea -------------------- Vall Biomes: -------------------- Poles Midlands Highlands Lowlands -------------------- Bop Biomes: -------------------- Peaks Ridges Poles Slopes Valley -------------------- Tylo Biomes: -------------------- Midlands Highlands Lowlands Mara MinorCraters MajorCrater MajorCrater MajorCrater -------------------- Gilly Biomes: -------------------- Midlands Lowlands Highlands -------------------- Pol Biomes: -------------------- Poles Lowlands Highlands Midlands -------------------- Dres Biomes: -------------------- Poles Midlands Lowlands Ridges Highlands ImpactCraters ImpactEjecta Canyons -------------------- Eeloo Biomes: -------------------- Poles Glaciers Lowlands Highlands IceCanyons Craters Midlands -------------------- the Sun Biomes: -------------------- No Biomes Found For the Sun Kerbin Biomes: -------------------- Kerbin,Water Kerbin,Grasslands Kerbin,Highlands Kerbin,Shores Kerbin,Mountains Kerbin,Deserts Kerbin,Badlands Kerbin,Tundra Kerbin,IceCaps -------------------- the Mun Biomes: -------------------- the Mun,Midlands the Mun,NorthernBasin the Mun,EastCrater the Mun,NorthwestCrater the Mun,SouthwestCrater the Mun,FarsideCrater the Mun,Canyons the Mun,PolarCrater the Mun,Poles the Mun,PolarLowlands the Mun,Highlands the Mun,HighlandCraters the Mun,MidlandCraters the Mun,EastFarsideCrater the Mun,TwinCraters -------------------- Minmus Biomes: -------------------- Minmus,Highlands Minmus,Midlands Minmus,Lowlands Minmus,Flats Minmus,GreatFlats Minmus,GreaterFlats Minmus,LesserFlats Minmus,Poles Minmus,Slopes -------------------- Moho Biomes: -------------------- Moho,NorthPole Moho,NorthernSinkholeRidge Moho,NorthernSinkhole Moho,Midlands Moho,WesternLowlands Moho,CentralLowlands Moho,Highlands Moho,MinorCraters Moho,SouthWesternLowlands Moho,SouthEasternLowlands Moho,Canyon Moho,SouthPole -------------------- Eve Biomes: -------------------- Eve,Poles Eve,Midlands Eve,ExplodiumSea Eve,Lowlands Eve,Highlands Eve,Peaks Eve,ImpactEjecta -------------------- Duna Biomes: -------------------- Duna,Poles Duna,Midlands Duna,Lowlands Duna,Craters Duna,Highlands -------------------- Ike Biomes: -------------------- Ike,PolarLowlands Ike,Midlands Ike,EasternMountainRidge Ike,WesternMountainRidge Ike,Lowlands Ike,SouthEasternMountainRange Ike,SouthPole Ike,CentralMountainRange -------------------- Jool Biomes: -------------------- No Biomes Found For Jool Laythe Biomes: -------------------- Laythe,Poles Laythe,Shores Laythe,Dunes Laythe,CrescentBay Laythe,TheSagenSea -------------------- Vall Biomes: -------------------- Vall,Poles Vall,Midlands Vall,Highlands Vall,Lowlands -------------------- Bop Biomes: -------------------- Bop,Peaks Bop,Ridges Bop,Poles Bop,Slopes Bop,Valley -------------------- Tylo Biomes: -------------------- Tylo,Midlands Tylo,Highlands Tylo,Lowlands Tylo,Mara Tylo,MinorCraters Tylo,MajorCrater Tylo,MajorCrater Tylo,MajorCrater -------------------- Gilly Biomes: -------------------- Gilly,Midlands Gilly,Lowlands Gilly,Highlands -------------------- Pol Biomes: -------------------- Pol,Poles Pol,Lowlands Pol,Highlands Pol,Midlands -------------------- Dres Biomes: -------------------- Dres,Poles Dres,Midlands Dres,Lowlands Dres,Ridges Dres,Highlands Dres,ImpactCraters Dres,ImpactEjecta Dres,Canyons -------------------- Eeloo Biomes: -------------------- Eeloo,Poles Eeloo,Glaciers Eeloo,Lowlands Eeloo,Highlands Eeloo,IceCanyons Eeloo,Craters Eeloo,Midlands -------------------- using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; using UnityEngine; namespace Biomes { [KSPAddon(KSPAddon.Startup.SpaceCentre, false)] public class Class1 : MonoBehaviour { private void Start() { foreach (CelestialBody b in FlightGlobals.Bodies) { print(b.theName + " Biomes:"); print("--------------------"); CBAttributeMapSO map = b.BiomeMap; if (map != null) { foreach (CBAttributeMapSO.MapAttribute att in map.Attributes) { string name = att.name; string shortName = Regex.Replace(name, @"\s+", ""); print(shortName); } print("--------------------"); print(""); } else print("No Biomes Found For " + b.theName); } } } }
-
Yep. Looking much better now. I'll need to tweak the cutoff values a bit so that you can get a clear picture of the distribution, but otherwise I think this is almost ready. The biome edges aren't too spiky, you can see it if you zoom in on some areas. The distortion at the poles caused by using flat maps can make things look a little funny, but there's not really much to be done about that.
-
Official Mod Compatibility Thread for .90
DMagic replied to NathanKell's topic in KSP1 Mods Discussions
[thread=64972]DMagic Orbital Science[/thread] Version 0.9.1 is out and works OK with 0.90. -
[1.8.x] DMagic Orbital Science: New Science Parts [v1.4.3] [11/2/2019]
DMagic replied to DMagic's topic in KSP1 Mod Releases
Updated for KSP 0.90. This should fix the science collection problem and a few other issues. -
[1.8.x] DMagic Orbital Science: New Science Parts [v1.4.3] [11/2/2019]
DMagic replied to DMagic's topic in KSP1 Mod Releases
In addition to including the license it would also be nice to ask first. This won't be added here, but I'm working on just such a thing for Contracts Window +. It will allow for these types of adjustments to any contract, not just stock. -
The biome changes will prevent anything but the small map from working. So this will need to be updated to be of any use. Version 8 probably won't be getting Regolith support, just because there are too many changes needed for some aspects of the resource system, and those changes are completely different from those needed for version 9 because of the numerous differences made to the latest v9 release. An update should be ready in the next few days.
-
[1.8.x] DMagic Orbital Science: New Science Parts [v1.4.3] [11/2/2019]
DMagic replied to DMagic's topic in KSP1 Mod Releases
It basically just requires a re-compile and a few changes because of the combined editor scenes. Which I unfortunately won't be able to get to tonight, or tomorrow, so maybe Thursday. I'll need to test things out too, just to make sure nothing weird happened in 0.90. -
So is this what the resource distribution is supposed to look like? Everything follows a very regular pattern; all CRP resources look more or less the same. Their relative amounts seem correct and follow what you would expect given the Regolith resource configs. And if you look closely you can see that different biomes do tend to have different concentrations. But the entire planet is covered in this odd looking grid pattern. All of the grey areas have 0 Karbonite, the other areas seem to have two concentration levels, around 3% and 9%. The Karbonite scanner shows the same thing as the SCANsat overlay (the mouse in this image was hovering over the vessel icon in the zoom window), so I don't think there is any error in my methods.
-
The biome maps appear to be stored in a different class now. Which is causing anything trying to access these maps to fail. This is a simple issue and has already been fixed and tested. Also, is anyone else extremely disappointed in some of these biome maps? Duna, at least, should have been given something more interesting (Ike has a more interesting biome map than Duna's )... I've already started with Regolith implementation, the reflection work should be done already. I just need to handle loading in the available resources (from the CRP folder I assume); I saw the parts about oceanic resources, which might also work with SCANsat maps. I'll need to look into that and adjusting the threshold and abundance range for the actual display. But otherwise SCANsat appears mostly unaffected and I should have an update ready (at least for the [thread=96859]dev version[/thread], which is the build environment I already have setup) by tonight.
-
Official Mod Compatibility Thread for .90
DMagic replied to NathanKell's topic in KSP1 Mods Discussions
Both versions of SCANsat are down ([thread=80369]v8[/thread], [thread=96859]v9[/thread]). Some changes were made to the biome maps and everything is stored in a new class, this is probably giving NREs for anything attempting to access biome maps. This is already fixed, but some work is remaining for Regolith integration, it should be ready relatively soon. [thread=91034]Contracts Window + V2.2[/thread] seems to be working ok, including the editor scenes (toolbar may have some issues here). The part preview function doesn't work, but doesn't seem to break anything either. Haven't tested [thread=64972]Orbital Science[/thread]. I'll get around to that soon.