Skip to content

Commit

Permalink
Min height over terrain change
Browse files Browse the repository at this point in the history
  • Loading branch information
jaros-arion committed Nov 4, 2019
1 parent 5c82b30 commit 47f1471
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 21 deletions.
36 changes: 21 additions & 15 deletions BonVoyage/BonVoyage.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -39,34 +39,40 @@
<ItemGroup>
<Reference Include="Assembly-CSharp, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\..\Kerbal Space Program 1.8\KSP_x64_Data\Managed\Assembly-CSharp.dll</HintPath>
<HintPath>..\..\..\..\Kerbal Space Program 1.8.1\KSP_x64_Data\Managed\Assembly-CSharp.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="UnityEngine, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\..\Kerbal Space Program 1.8\KSP_x64_Data\Managed\UnityEngine.dll</HintPath>
<HintPath>..\..\..\..\Kerbal Space Program 1.8.1\KSP_x64_Data\Managed\UnityEngine.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.AnimationModule">
<HintPath>..\..\..\..\Kerbal Space Program 1.8\KSP_x64_Data\Managed\UnityEngine.AnimationModule.dll</HintPath>
<Reference Include="UnityEngine.AnimationModule, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\..\Kerbal Space Program 1.8.1\KSP_x64_Data\Managed\UnityEngine.AnimationModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.CoreModule">
<HintPath>..\..\..\..\Kerbal Space Program 1.8\KSP_x64_Data\Managed\UnityEngine.CoreModule.dll</HintPath>
<Reference Include="UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\..\Kerbal Space Program 1.8.1\KSP_x64_Data\Managed\UnityEngine.CoreModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.IMGUIModule">
<HintPath>..\..\..\..\Kerbal Space Program 1.8\KSP_x64_Data\Managed\UnityEngine.IMGUIModule.dll</HintPath>
<Reference Include="UnityEngine.IMGUIModule, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\..\Kerbal Space Program 1.8.1\KSP_x64_Data\Managed\UnityEngine.IMGUIModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.InputLegacyModule">
<HintPath>..\..\..\..\Kerbal Space Program 1.8\KSP_x64_Data\Managed\UnityEngine.InputLegacyModule.dll</HintPath>
<Reference Include="UnityEngine.InputLegacyModule, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\..\Kerbal Space Program 1.8.1\KSP_x64_Data\Managed\UnityEngine.InputLegacyModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.PhysicsModule">
<HintPath>..\..\..\..\Kerbal Space Program 1.8\KSP_x64_Data\Managed\UnityEngine.PhysicsModule.dll</HintPath>
<Reference Include="UnityEngine.PhysicsModule, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\..\Kerbal Space Program 1.8.1\KSP_x64_Data\Managed\UnityEngine.PhysicsModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.TextRenderingModule">
<HintPath>..\..\..\..\Kerbal Space Program 1.8\KSP_x64_Data\Managed\UnityEngine.TextRenderingModule.dll</HintPath>
<Reference Include="UnityEngine.TextRenderingModule, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\..\Kerbal Space Program 1.8.1\KSP_x64_Data\Managed\UnityEngine.TextRenderingModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.UI, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\..\Kerbal Space Program 1.8\KSP_x64_Data\Managed\UnityEngine.UI.dll</HintPath>
<HintPath>..\..\..\..\Kerbal Space Program 1.8.1\KSP_x64_Data\Managed\UnityEngine.UI.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion BonVoyage/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
// The form "{Major}.{Minor}.*" will automatically update the build and revision,
// and "{Major}.{Minor}.{Build}.*" will update just the revision.

[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyVersion("1.0.1.0")]

// The following attributes are used to specify the signing key for the assembly,
// if desired. See the Mono documentation for more information about signing.
Expand Down
3 changes: 2 additions & 1 deletion BonVoyage/Tools/StabilizeVessel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ internal static class StabilizeVessel
private static int stabilizationTicks = 50;

// If downmovement is below this value, leave the vessel as is
private static float minDownMovement = 0.05f;
//private static float minDownMovement = 0.05f;
private static float minDownMovement = 0.5f;
// Minimum upmovement in case we're beneath the ground
private static float upMovementStep = 0.2f;
// Max upmovement in case upward movement is required; should cancel moving the craft to space in case we messed the things up
Expand Down
Binary file modified GameData/BonVoyage/Plugins/BonVoyage.dll
Binary file not shown.
8 changes: 4 additions & 4 deletions GameData/BonVoyage/Versioning/BonVoyage.version
Original file line number Diff line number Diff line change
Expand Up @@ -11,25 +11,25 @@
{
"MAJOR" : 1,
"MINOR" : 0,
"PATCH" : 0,
"PATCH" : 1,
"BUILD" : 0
},
"KSP_VERSION" :
{
"MAJOR" : 1,
"MINOR" : 8,
"PATCH" : 0
"PATCH" : 1
},
"KSP_VERSION_MIN" :
{
"MAJOR" : 1,
"MINOR" : 8,
"PATCH" : 0
"PATCH" : 1
},
"KSP_VERSION_MAX" :
{
"MAJOR" : 1,
"MINOR" : 8,
"PATCH" : 0
"PATCH" : 1
}
}
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
Automagic Industries brings you a new autopilot, which reduces driving accidents by 100%.

# Changelog
## 1.0.1
### Changes
- Minimum height of a rover over the terrain was changed to avoid some clipping issues
- KSP 1.8.1 compatibility


## 1.0.0
### Changes
- KSP 1.8 compatibility
Expand Down

0 comments on commit 47f1471

Please sign in to comment.