Jump to content

Thomas P.

Members
  • Posts

    384
  • Joined

  • Last visited

Posts posted by Thomas P.

  1. 23 hours ago, crazyduck said:

    Ok thats something i understand, but was it different in 1.8 before Kopernicus added this forced setting?  i mean before had the Planet Autor control over it or what did change in KSP that in 1.8 and before it was not a problem and after 1.8 it become a  problem.

    I don´t try to annoy you i only try to understand what had changed so kopernicus changed this one option.

    And why would it as example not be a solution to not lock the setting but add a simple warning dialog something like

    "changing this Value can cause issues with Planet Packs"

    this would still allow people to reduce the setting and run the game without lags and at same time warn that it can cause issues.

    1.8 had the same behaviour, but I tried to do a lot of it within Kopernicus, without changing the settings value. But that code was full of bugs, and since the behaviour was the same anyways, I changed it in preparation for 1.9. This included adding the warning message.

    If you only display a warning, instead of locking the value, you don't gain much, if not nothing at all. People just ignore warnings. As a maintainer, you want to prevent people from relying on different behaviours outside of their or your control. For example one planet pack that is based on the values from "Medium", and one that is based on "Ultra". Supporting that is a complete mess. The only reliably way is to expose the same behaviour to everyone, no matter the game settings. And in this case it means you choose one quality level for them. Since the people who can run the ultra shader probably vastly outnumbers those who can't, the choice was easy.

  2. 25 minutes ago, crazyduck said:

    Quality setting not on Max  = Issues wiht Planet Packs

    modify config for Planet pack to use lower quality materials = no issues.

    The issue that is prevented by forcing the shader quality is editing an already existing Material. You rely on values on the template, which can change at random without the forced quality setting. You as the planet author have no control over it, and no way to detect it with just a config.

    Changing the shader requires you to provide the entire material config yourself. You dont rely on the material that is copied from the template, so you dont care if it changes. The only issues you can get are mod integration issues (when a mod already edits the material and you overwrite that). But because it happens through a config, mods could detect it, and adapt to it.

    Both are different things, so one is not a factor for the decision to force the shader quality, while the other one is.

  3. 4 minutes ago, crazyduck said:

    [...] or would adding this 4 nodes be some sort of months of work to do?

    It would be, for all the planet authors who would suddenly have to write and balance four material configs instead of one, to prevent their stuff from breaking.

    And yes, not everyone can run the ultra shader. But nothing stops you from writing a Kopernicus config that replaces the ultra quality materials with their lower quality equivalents from earlier versions.

  4. 7 hours ago, crazyduck said:

    So can anyone explain me why forcing Ultra Settings is needed?

    Most Kopernicus configs are overlays over a stock body template. You want them to consistently produce the same result on every installation, no matter the game settings.

    With the new shader quality setting, it is impossible for the planet author to know, which material their changes will be applied to. Since the values are different, one config might work fine on one installation, and fail horribly on another one, just because the shader quality is set to a different value.

    Thats why Kopernicus forces the highest shader quality (and thus the ultra shader on Kerbin). It's the only sane way to solve this problem. There is another option, but it requires removing the current Material node, adding four new nodes for the different shader qualities, and then forcing every planet author to implement this because it would break every config, on every install.

  5. 53 minutes ago, R-T-B said:

    No, user testing report, confirmed by myself as far back as 1.8 official from you with Kopernicus example config for untemplated gas giant.  It's all on my github issues page, actually.  In 1.8/1.9 it only occurs with non-joolian templated gas giants, which are used in some packs.  I stated this above.

    [...]

    Plus this would still be an issue for untemplated gas giants.

    The example for a gas giant that doesn't use a template is old and outdated. It should include the normal map. I think noone except me ever touched it, and I probably just forgot it when I wrote the config back then. Or KSP didn't require it. :/

    If a planet author decides to not use a template, they need to provide the missing data themselves, so also the normal map. Thats how it has always been. It is a feature, not a bug. By adding fallbacks to catch this you are making your life harder than it needs to be.

    53 minutes ago, R-T-B said:

    You may note that I have implemented or personally done nearly all the bugfixes in Kopernicus as of late.  I know we had a dispute back when we started that early fork, but I think it's time to bury that hatchet (if there is one) and I have nothing but respect for you.  I would remind you I am getting more familiar with the code daily, and I did not ask for this, I was recruited by Prestja out of basically nowhere to help.  A little patience and understanding that I am here to help and not steal thunder would go a long way.

    I was just trying to give a more in-depth explanation to the issue. I didn't knew that you used my old example for a gas giant without a template, so I didn't know where the issue on 1.8 and 1.9 came from. So I just assumed it was because of your change, because on 1.10 it actually does have that effect (with every body). I wasn't trying to attack you or anything like that, sorry if it came over that way. I just want to try to help where I can.

    40 minutes ago, R-T-B said:

    Oh, and while I have you...

    Do you have a better idea of how to do this?  I tried some code snippets from Sigma but they all failed in testing.  I really hate basically doing a non-template for Jool, but at the moment, I have no better ideas.

    I looked into this a little bit before, but I don't want to well, actually... you, and let you find your own ways. But I have an idea:

    The most important thing that I noticed in regards to the new shader is that Kopernicus doesn't fail. This is important, because Kopernicus will deliberately stop loading and report an error if it encounters a shader type that it can't parse. I added that to make it easier for me to detect if new shaders were used after KSP updates.

    Earlier in this thread, and on github, people noted that the 1.9 Kopernicus loads on 1.10 without changes. This indicates that Kopernicus actually never sees the new shader, and that the Jool template still uses an old, known shader. Because ignoring Jools scaled space object removes the shader, it seems that it is applied by some script that is added to the scaled space object, and does it's work after Kopernicus finished loading.

    Kopernicus puts a list of the scripts that are attached to the scaled space object into the logfile that it creates for the planet. So you can check this by looking at any random logfile from Jool on 1.10. What I found is a script called MaterialBasedOnGraphicsSetting. I guess that the new shader is only used if the shader quality is set to "Ultra", and that that script is responsibly for applying it. Maybe "High" too. But everything else will use to the old 1.9 shader, which is applied by default. This would explain a lot of things:

    • Kopernicus doesnt fail, because the old shader is known, parsable and applied by default.
    • Every gas giant that was created from Jool looked like Jool, because every body got a copy of that script, with a copy of Jools high-quality material.
    • You were able to fix it by removing Jools scaled space object, including that script from the body.

    Now you have two options:

    1. Just remove the script during templating. This would remove the new shader from Jool, but also from all other bodies. They fall back to the default one.
    2. Remove the script, but before that, force it to run already during templating, and not after Kopernicus is done. Kopernicus already forces the shader quality to "Ultra", because of how the terrain shaders are handled, so Jool, and every planet that templates off it get the new shader by default. This would also cause Kopernicus to refuse loading until support for the new shader was implemented.

    Personally I would go with Option 2, but since that is quite a bit more annoying (because you need to add support for the new shader), Option 1 might be a good idea for bleeding edge builds until you have all the building blocks in place.

    I would also warn you from trying to enable the new shader only for Jool. Don't try to be (overly) backwards compatible with stuff outside of your control (the stock bodies). It will only make your life harder in the long turn. It is way easier to adapt planet packs to the new default shader, than it is for Kopernicus to guess the wishes of the installed planet pack(s) and adapt itself to that.

  6. On 7/18/2020 at 4:51 PM, R-T-B said:

    There's a vanilla one?  If you mean the previous one for gas giants, that's the whole issue.  They (squad) are pulling the vanilla normal maps for gas giants out in 1.10 with the new shader, or at least the ways we used to reference them aren't working anymore.  Jool templated bodies will no longer function in 1.10 using that normal map, and in 1.9/1.8, any non-jool templated gas giants are already broken.

    Yes, there is a vanilla normal map. The reason why it is broken in 1.10 is because of the change you did to remove the new gas giant shader: You changed Kopernicus to not get the ScaledSpace object from the template body, but instead generate a barebones version yourself.

    https://github.com/R-T-B/Kopernicus/blob/dev110/src/Kopernicus/Configuration/Body.cs#L321

    Normally when you template a body, you inherit all of it's configuration, including the normal map. So no planet pack ever had to set a custom one, except if they wanted to change it. But now, you changed the ScaledVersion node to behave as if no template was used at all, so that the user would have to specify every value themselves. This includes the normal map. But the existing planet packs expect that the body will inherit the normal map from Jool.

    I can't imagine any reason why it would break in 1.9 or even 1.8 too. Especially since 1.8 had a stable Kopernicus release for some time now and noone ever reported this issue. To me it sounds like you (accidentally) verified the issue with a Kopernicus build that had the scaled version change backported.

  7. 17 minutes ago, HansAcker said:

    The "old"/current Kopernicus build system lends itself well to compiling on a random machine without a KSP installation, as it links against dummy DLLs downloaded from a public repository, that provide the interface only and don't contain any secret sauce. The downside of this system is that the repository needs to be maintained in case of changes to the Unity engine or additions to Kopernicus. For example, if the particle feature would be re-added, a mock UnityEngine.ParticleSystemModule.dll would need to be created and published.

    I like linuxgurugamer's current system that basically just references $KSP_DIR/KSP_x86_64_Data/Managed/*.dll (Linux users need to set a link to KSP_Data, because Unity) and adapts to new versions without changes to the csproj file.

    For what it's worth, these are the scripts that I used to generate / upload these stub assemblies: https://github.com/StollD/ksp-nuget It shouldn't be too difficult to adapt them for a different remote nuget repo, or to add definitions for new assemblies. They are already somewhat generic, so updating the assemblies to a new KSP version can be done very quickly.

    With that setup building was as easy as doing a (recursive, to get the parser submodule) clone of the repo, restoring nuget packages (IDEs do that automatically) and hitting build. Although people kept reporting that the nuget stuff would simply crash Visual Studio, so take it with a grain of salt.

  8. 12 hours ago, Vanamonde said:

    The mod's fate is in the hands of its maker. No one else gets a say. That may be frustrating, but if you don't like it your remedy is to not use the mod. 

    If that was true, Kopernicus would have died with KSP 0.25 or so, because its original creators left. If noone else would have a say, I would never have been able to fork it and start working on improving it. @Dragon01 also gave the example of PlanetFactory which scratches the same itch. As long as it stays respectful, people who want to advance independently from the main developer should not be silenced just because it might annoy the main developer.

    The license explicitly allows forking, and I encourage forking it. The sad truth is that I have been done with KSP a long time ago, and I always tried to communicate it that way. I tried to keep Kopernicus updated as much as my time allowed it, but I reached a point where I don't have a lot of free time, and would prefer to use the time I have available to work on projects that I actually use and enjoy working on. I simply don't have the time and motivation to get the code for 1.9 into a shape where I would feel comfortable with releasing and supporting it. And adding to that, I dont want to push out releases without having the time and motivation to support them properly.

    That's why you haven't seen, and probably won't see a 1.9 release from me (or a 1.1x release for that matter). I'm sorry for not communicating this better, but I've been trying to figure this out myself too for some time...

    If someone wants to work on Kopernicus, and needs help with understanding how the code works and what it does, feel free to ping me on the Kopernicus Discord, open a GitHub issue, send a carrier pigeon, smoke signals etc. I'm happy to help with that. And if there is some specific problem that needs to be solved, and I have an idea for that, I'll even happily write the code for it. It's just the testing, release and support work that has become really painful for me to do, to the point where there are literally 1000 things I would rather do.

    Again, sorry for not really communicating (and / or realizing, I guess?) that earlier....

    So, please: Don't stop people from discussing how Kopernicus development could continue, or even moderate them, in the name of some "Thomas just needs time" crusade. The license allows you to fork and work on it. I want you to fork and work on it. Kopernicus deserves a maintainer who has no lost interest in KSP 4 years ago and just keeps maintaining it just because he feels responsible for it. People should have fun with development and maintainance, which sadly is something I lost a while ago.

  9. Just now, Lechrenski said:

    I didn't realize this was a bug. I thought it was expected behaviour that I'd just have to work around.

    OK, give me a bit of time and I will compile the very latest, launch the game, and post the logs.

    Kopernicus forcing the ultra shader is not a bug. But all code that requires the ultra shader should be guarded with checks for it so that is definitly a bug.

    Although "forcing the ultra shader" is not really correct: it will force the highest available quality for every body, it just happens to be the ultra shader on kerbin. And this only applies to the template that a body is based off, you are able to change the used shader through the config just like you were in the past.

  10. 8 minutes ago, Lechrenski said:

    So I, too, tried compiling Kopernicus against 1.9 and gave it a shot using JNSQ. Aside from scattering doing weird things like causing the oceans to disappear, the game "works". However, Kopernicus seems to want to force on the "ultra" terrain shaders, which causes the logs to be spamed with messages of the form: 

    
    Material doesn't have a texture property '_NormalTex'
    
    Material doesn't have a texture property '_AtlasTex'

    and there is a pretty extreme performance penalty, especially when switching scenes, both of which I assume it are due to JNSQ not being ready for the ultra shader yet. Therefore, my question is: is there a way to force Kopernicus to just play nice and use the "high" shader setting instead of overriding my choices in the graphics options?

    I need to know the commit that you compiled. And you need to post your Logs-Kopernicus.zip just like every other person that wants to report a bug.

  11. What is wrong with people that they can wait months for a KSP update with regular teasers, but not wait until modders put out a proper update when their life permits it? And then not even try to contribute upstream to get stuff fixed faster, but just put out builds of in-development code out there for quick fame?

    See: I don't care if you fork Kopernicus and recompile it. I don't care if you put out code that is under development out there. I really don't care.

    But users who install those binaries care. If you don't know the workings of the mod inside-out, you have no idea what might (still) need changes. And if you just push out a binary they will probably end up breaking their saves and then come to the Kopernicus thread (not to yours!), complaining that the saves are broken.

    What I care about is you shipping dependencies that haven't been updated. The MFI included in Kopernicus might still work for testing, but from the very moment 1.8 released my plan was to not put out anything until sarbian at least had a chance to recompile it against the new KSP version. Shipping that old thing not only throws me under the bus, but sarbian too, potentially.

    Then, if you have to change the build systems of the mods, at least do it on the right branch. What you did for Kopernicus was checking out one branch, then copying everything onto master, making the commit look like those were your updates to get the mod working under 1.8. Again: I don't care at all. The license allows you to do it. But other people might care and then go on my nerves asking me to check out that branch because it might help me get 1.8 to work.

    Finally, let's be honest. If I wouldn't have changed the version number of Kopernicus to 900 you would have just shipped it as 1.8.0-1, messing with me even more because then I would have to memorize and compare the assembly checksums to even figure out what users are running once I release the real update.

  12. Released 1.7.3-2 and all the other backports:

    • Removed Kopernicus Buoyancy modifications to fix ocean lag, they never worked anyways
    • Fixed texture loading with on-demand loading disabled
    • Unload normal maps from RAM and only keep them in VRAM when loaded on demand

    Sorry for the really long delay, I just didn't really have time (or motivation) to do the release work.

    Note: This doesn't fix the lags that are caused by the DLC scatters! Those lags are not something that Kopernicus can fix, they are a design flaw in the DLC scatter system that is noticeable in rescaled systems (JNSQ for example). If a part of the terrain has reached it's highest subdivision level, the DLC scatters will be enabled in that area. In a rescaled system, the planets have to subdivide way earlier than in stock scale, to keep the same level of detail, meaning the area that gets filled with scatters is higher. I actually did the math, and in JNSQ you have 11x more DLC scatter than in stock.

    The stock scatters (i.e. the ones that exist for literally years without ever being enabled :P) solve this by not checking for subdivision level, but checking for the distance to the active vessel AFAIK.

    Of course I could probably hijack them somehow, but I would really prefer if Squad would fix their code to work better with rescaled systems.

    For a quick and dirty solution you have to disable the DLC scatters in your savegame (set ROCSeed to -1). Alternatively planet makers would have to finetune their subdivision settings for the DLC, but that might have other performance implications (because you need *more* subdivision)

  13. [Moderator's note: This thread has been extensively pruned due to off-topic kvetching about Kopernicus' version lock, after a moderator request to cease doing so. However, Thomas' comments here are particularly cogent, since he's the author, so this post has been left in place for future reference, after anonymizing the quotes involved.]

    Quote

    However, what I want is a solution to the problem, not a workaround.

    The solution to the problem is removing the checker and maintaining it like every other KSP mod without version locking. However, for various reasons that I keep posting every KSP release, I am not willing to do that. If someone shows up and takes Kopernicus out of my hands I am heading for the airlock faster than you can blink. I am still maintaining it because - as you said - people depend on it and I don't want to leave them standing in the rain, but as for myself, I have lost almost any interest I have in KSP. I am not going to spend my time with user errors that happen because of obscure errors that a new version introduced.

    Quote

    I have a million ways to work around this problem, what with me being a KSP Store user and having dabbled in programming. In fact, under the terms of its license, I could fork the blasted thing and do the checking properly, if I really wanted to.

    Fine. If you can tell me any way, how to properly unit test a blackbox that can change at any time (hint: KSP updates do that, rumors say), without knowing anything about how this blackbox changed, and that at runtime, every time the game is launched, without lagging it to death, then I will happily accept it. Given that this test doesn't end up being bigger than the entire mod.

    For those of you who don't know it: KSP's planets (and basically the entire game) consist of objects that are parented to each other, creating a tree-alike structure. Each of these objects can have multiple scripts attached that are executed each frame. What KSP does is storing a copy of one of these trees, with all planets parented to it. At some point in the loading process, it takes this tree, and searches it's children for a predefined planet structure, and spawns them into the planetary system. Those planet prefabs have multiple sub-trees, like the PQS object, the scaled space etc. etc., all of which are spawned into different trees at runtime. (ScaledSpace for example is seperated from the PQS so you can disable and enable them independently).

    Kopernicus edits this prefab tree and lets KSP spawn the planets, so they are spawned exactly like KSP would like to have them. Spawning them manually has been tried before (=> Planet Factory), and yeah, it is even more chaos than Kopernicus is. But the spawner just copies objects and restores some references, everything else is assumed to be correct.

    At runtime, KSP then assumes that some things exist, like certain components that interact with each other etc. That is not a problem for Squad because they know (I hope) how their planets work, and can adjust to changes. But because Kopernicus uses stock components all the time to build the planets, if it doesn't create or edit one correctly - or in the right place, everything can break and kill your savegame. For example, the colliders on the terrain are a component. If Squad would change the place where that component goes, Kopernicus would still add it in the spot that worked before, and none of your bodies would have terrain colliders. And you wouldn't notice until it is too late and you loaded your vessel which is now falling into the void.

    Of course this is all a huge oversimplification, but I hope it gets the point across. Actually, an even simpler example: It is like figuring out if a car works or not, without actually starting the car. Even if you are a top class mechanic, you will have problems doing this when your car is a huge gigantic blackbox, that you cannot open, and you don't even know whether it drives with gasolin or rainbows. When you only see the surface you have no idea how things work behind it, and therefor cannot test for it.

    Quote

    That's what development betas are for (it's user testing, is it not?). Which many modders do, too, and not only ones making part packs.

    There are people who can test unlocked versions of Kopernicus and do so. However, the moment I release unlocked betas, people will think (or want to think) that they are stable. People are not reasonable.

    Quote

    The "4 releases in one day" thing is an obvious consequence of not having a dev build circulating, actually (not that it's disagreeable in itself, just at odds with the usual line of pro-version lock argumentation). Besides, subtle bugs can happen even if versions do check out.

    4 releases in one day is an obvious consequence of me touching every file of the codebase and being an idiot sometimes (=> forgetting to update my build scripts, see 1.7.0-2 :P). Game breaking bugs can get catched by testing. If there are obvious errors in the loading process (as in: code errors instead of logic errors in the KSP blackbox), you get greeted with the same warning to not load your saves. Yes, we make errors too, and yes we don't catch everything. We are just humans too. But some testing feels better than none at all.

    Quote

    In fact, as I often stated, problems with Kerbin can be diagnosed by looking at the planet in the main menu. 

    You forget that Kopernicus can be used for much more than just visuals. I could install an entire galaxy in KSP and populate it, and still start from Kerbin. If I don't edit Kerbin, there is no change to the main menu kerbin. But if all other bodies stop loading (for example with Outer Planets Mod), every vessel orbiting them is moved to the trashcan. Again, try figuring out how that hypothetical car work without actually starting it and seeing if it explodes or turns into a pumpkin.

     

    So, we will probably never agree and thats completely fine. Maybe it is possible to unit test KSP. I don't know. But I don't have the time to care about it either. My solution works for me and seemingly the majority of the people. If it wouldn't work, people would fork it and remove it. Thats the beauty of opensource after all.

    [One final moderator reminder, folks. This post by the mod author has been left in place as a useful reference.  Please do not attempt to respond or continue the argument. Thank you for your understanding.]

  14. vJupo1X.png

    (so much for wanting nice code and changing every file of the code)

    1.7.1-5 and the associated backports are out. Kopernicus shouldn't crash anymore when trying to load other bin files (crude solution, but it works for the moment I hope. I am just hoping there is no mod that stores 2GB bin files somewhere :P), and I fixed two other issues, related to scaled space on demand loading, and the parser misinterpreting node names. These two bugs were never reported in public, so I won't go into detail on them. If you want to know what happened, check github.

  15. 2 minutes ago, dok_377 said:

    Am I the only one that has Kopernicus stuck on the Trajectories.bin loading?

    Kopernicus tries to preload all .bin files in GameData since they are used for caching scaled space meshes. The only other mod that used .bin files that I was aware of was Kerbalism, and they mentioned that they changed their file extension, but aparently Trajectories uses the same code that Kerbalism uses.

    I will look into how this can be solved properly tomorrow and probably make another release then, but until then you can only remove the mod, sorry.

  16. 25 minutes ago, Joker58th said:

    Ok, I found another issue.  A deploy-able solar panel deploys when I select it and before placing on the rocket along with contant NRE's.  Github issue created.  Thanks Thomas!

    https://github.com/Kopernicus/Kopernicus/issues/362

     

     

    And there we have 1.7.1-4, lol.

    Does making so many releases give me extra points on the "Kopernicus is not working on new KSP version, please update yesterday" scale?

  17. Release time!

    What was released:

    Kopernicus 1.7.1-1
    Kopernicus 1.6.1-4
    Kopernicus 1.5.1-6
    Kopernicus 1.4.5-11
    Kopernicus 1.3.1-20
    KittopiaTech 1.7.1-1

     

    Changelog:

    * refactored a large part of the codebase to align more with the coding style
      preferences in my IDE. This also includes merging the three core Kopernicus
      .dlls into one .dll again (+ Kopernicus.Parser).
    * Cache more properties of the generated scaled space mesh and preload them,
      to reduce the amount of calculations and disk IO that is done when loading
      planets
    * Reduce the amount of IO that is done by the logger
    * The `texture` and `normals` values from `ScaledVersion/Material` are no 
      longer loaded on demand. If you want on demand loading for scaled space 
      textures, you have to specify their paths inside of a 
      `ScaledVersion/OnDemand` node, using `texture` and `normals`, just like 
      before.
    * Allow loading `fogColorRamp` through a gradient instead of a texture
    * Abort loading planets if System.cfg was modified directly. There is no 
      reason to do that except if you want to make your mod unremovable without 
      breaking every other mod. Planet packs are supposed to use ModuleManager 
      (I am looking at you, KerbalGalaxy Remastered)
    * Fix an error that prevented bodies with `invisible = True` from staying 
      invisible, unless they templated the sun.
    * Take over the mesh generation / spawning for scatter meshes. Stock merges
      them into one big mesh which makes it impossible to detect their actual
      position, or give them sub-objects. Every scatter instance is now it's own
      dedicated object, which greatly simplyfies things.
    * Added a `HeatEmitter` scatter component that turns the scatter objects into a 
      heat source.
    * Removed `ScatterExperiment` and replaced it with `ModuleSurfaceObjectTrigger`.
      It's a part module that can be added to parts, and enable / disable
      KSPActions when the vessel is near a surface object with a certain name
      (surface objects are scatters and PQSCity). It also sends events to all
      other PartModules on the part, so plugin developers could handle scatter
      with custom logic
    * Added a `useBetterDensity` option to the Scatter config. It tries to 
      randomize the density a bit, and avoid rounding it down to an int like stock 
      does. In stock, a scatter can either appear once (or more) per quad, or not 
      at all. The idea behind useBetterDensity is to allow them to spawn, but not 
      strictly on every quad.
    * Added a `ignoreDensityGameSetting` option to the Scatter config. If 
      everything fails, this can be used to stop the density game setting from 
      influencing your scatter, so you only have to find one density config that 
      works. The scatter will be treated as if the game setting was set to 100%
    * Allow scatter rotation control through the `rotation` option. By default it 
      is set to `rotation = 0 360` which means the scatter can rotate between 0 
      and 360 degrees. Set it to `rotation = 0 0` to fix the rotation
    * Allow specifying multiple meshes and randomly selecting one through the 
      `Meshes` node in the scatter config. It can contain multiple entries (choose 
      the key as you like), that point to .obj files in GameData. Kopernicus will 
      load them all and assign one randomly to every scatter object that gets 
      spawned.
    * Added a `spawnChance` option in the scatter config, that can be used to fine
      tune density even more. 
    * The ScatterColliders component allows specifying a simplified collision mesh
      (.obj), through the `collider` option, as opposed to using the visual mesh for
      collisions
    * Added a scatter module that forces the scatters to spawn at sea level (with a
      settable offset), this can be used to create floating objects.
    * Readded the ability to set a custom mapMaxHeight for texture exports in 
      Kittopia

     

    ATTENTION:

    • This release will break plugins that depend on Kopernicus
    • While the old files still work, it is recommended to regenerate your scaled space cache, to take advantage of the improved format and caching
    • You have to adjust your configs to get scaled space OD working again
    • Since this release reduces the amount of dlls that come with Kopernicus, you have to delete the Kopernicus folder from GameData before installing. Do  not overwrite the folder. CKAN users probably have to uninstall and reinstall Kopernicus.

    DLC Surface Features:

    There is no need for Kopernicus to support adding or removing the surface objects from the DLC because they have their own config files in SquadExpansion/Serenity. Even if they would have to be managed through Kopernicus, I wouldn't actually want to add that, because it would fragment players between two similar systems (terrain scatters and surface objects), where one is behind a paywall. Thats why this release tries to make more use of the terrain scatters than before, with similar features to the DLC. Of course Squads code will always be more polished than this, and I think the DLC is absolutely worth it's price, but I like having an alternative.

  18. Ok, so PSA:

    The next Kopernicus update will completely kill any plugin that depends on it (this means mods who interact with Kopernicus through anything except the config interface). The reason is that I did some really big refactoring to the code, so isn't full of warnings in my IDE and changed some of the more stupid choices I made in the past (like splitting Kopernicus into 3 dlls)

    The config interface is stable so far (and actually the new version might be able to load mods from pre 1.3.1-3 again, since I just deleted the config option that caused those bodies to error out - KSP always overwrites it with a default that I cannot change) - but I have some ideas that might require changes. When changes are neccessary I will post something about them.

    However, as previously said, all plugins that interface with Kopernicus or it's parser directly (i.e. the IC plugin, Sigmas plugins and so on) will need at least a recompile but probably some larger code changes. The logic didn't change, but a lot of parameter names did. If you need help with updating a plugin, feel free to ping me and I will see what I can do. I would appreciate if you could try (i.e. compiling the source code on github and checking if your plugin builds against it) before I release that version so that I can revert something before releasing it in case it is neccessary.

  19. 1 hour ago, Noah the Smol said:

    Hello, it is I.

    I wanna help reboot this and make some database contributions, and revive the mod if you want!

    :)

    I'm good at textures, not so much coding.

    Get back to me if you can! Thanks.

    I am not going to revive this. It was made as a proof-of-concept mod, and while it still has concepts that I am pretty proud of, and that noone has re-used so far, I don't have the time nor the motivation to maintain it. Additionally, noone was ever able or willing to fill the PQS database to a reasonable degree, and I dont expect that to change. The ACCRETE based planet generation has lots of problems as well when integrated into KSP.

    If you want to revive and fork this, go for it, but I rather see this as a proof of concept mod that shows what can be done. If you want something that has reasonably active development, go check out To Boldly Go, but I am not sure how many planet-related features it has these days.

×
×
  • Create New...