Skip to content

Commit

Permalink
Kopernicus 1.7.1-2 - "No version luck"
Browse files Browse the repository at this point in the history
  • Loading branch information
qboid-bot committed Jun 7, 2019
1 parent 6f165ee commit 9ba3be1
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 140 deletions.
72 changes: 4 additions & 68 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,75 +6,11 @@ June 07, 2019
* Additional Content by: Gravitasi, aftokino, KCreator, Padishar, Kragrathea, OvenProofMars, zengei, MrHappyFace, Sigma88, Majiir (CompatibilityChecker)
* Much thanks to Sarbian for ModuleManager and ModularFlightIntegrator

New in this version (1.7.1-1)
New in this version (1.7.1-2)
-------------------
- 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.
- Fixed the version checker not getting updated by my build server
--------
_This is a hotfix release of [Kopernicus 1.7.1-1](https://github.com/Kopernicus/Kopernicus/releases/tag/release-1.7.1-1). Please also check out it's changelog!_

Note - reparenting Kerbin or the Sun can cause the sky to be incorrect in the space center view. It is, however, correct in the flight view and the flight map view.

Expand Down
2 changes: 1 addition & 1 deletion build/GameData/Kopernicus/Plugins/Kopernicus.version
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"MAJOR": 1,
"MINOR": 7,
"PATCH": 1,
"BUILD": 1
"BUILD": 2
},
"KSP_VERSION":
{
Expand Down
72 changes: 4 additions & 68 deletions build/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,75 +6,11 @@ June 07, 2019
* Additional Content by: Gravitasi, aftokino, KCreator, Padishar, Kragrathea, OvenProofMars, zengei, MrHappyFace, Sigma88, Majiir (CompatibilityChecker)
* Much thanks to Sarbian for ModuleManager and ModularFlightIntegrator

New in this version (1.7.1-1)
New in this version (1.7.1-2)
-------------------
- 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.
- Fixed the version checker not getting updated by my build server
--------
_This is a hotfix release of [Kopernicus 1.7.1-1](https://github.com/Kopernicus/Kopernicus/releases/tag/release-1.7.1-1). Please also check out it's changelog!_

Note - reparenting Kerbin or the Sun can cause the sky to be incorrect in the space center view. It is, however, correct in the flight view and the flight map view.

Expand Down
4 changes: 2 additions & 2 deletions src/Kopernicus/Constants/CompatibilityChecker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ public class CompatibilityChecker : MonoBehaviour
// Compatible version
internal const Int32 VERSION_MAJOR = 1;
internal const Int32 VERSION_MINOR = 7;
internal const Int32 REVISION = 0;
internal const Int32 KOPERNICUS = 1;
internal const Int32 REVISION = 1;
internal const Int32 KOPERNICUS = 2;

public static Boolean IsCompatible()
{
Expand Down
2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
VERSION="1.7.1-1"
VERSION="1.7.1-2"
MFI="1.2.6.3"

0 comments on commit 9ba3be1

Please sign in to comment.