From 96f4ab3934b7f3210cb7f6fe1940f13a56b886d4 Mon Sep 17 00:00:00 2001 From: Jonathan Bayer Date: Fri, 2 Nov 2018 21:23:26 -0400 Subject: [PATCH] Removed code which was adding the eva camera at runtime and replaced it with a MM script Moved all MM scripts into new folder --- Changelog.txt | 6 +++- .../HullCameraVDS/HullcamVDSContinued.version | 2 +- .../DockingPortCameraPatch.cfg | 0 .../HullCameraVDS/MM_Scripts/kerbalEVA.cfg | 32 +++++++++++++++++++ .../{Parts => MM_Scripts}/rpm.cfg | 0 ...pm2-hullcam-models-as-external-cameras.cfg | 0 HullCamera/AssemblyVersion.cs | 2 +- HullCamera/FirstPersonEVA.cs | 6 ++-- HullcamVDSContinued.version | 2 +- 9 files changed, 44 insertions(+), 6 deletions(-) rename GameData/HullCameraVDS/{ => MM_Scripts}/DockingPortCameraPatch.cfg (100%) create mode 100644 GameData/HullCameraVDS/MM_Scripts/kerbalEVA.cfg rename GameData/HullCameraVDS/{Parts => MM_Scripts}/rpm.cfg (100%) rename GameData/HullCameraVDS/{Parts => MM_Scripts}/rpm2-hullcam-models-as-external-cameras.cfg (100%) diff --git a/Changelog.txt b/Changelog.txt index 82e56a5..0c6a77d 100644 --- a/Changelog.txt +++ b/Changelog.txt @@ -55,4 +55,8 @@ Version bump for 1.5 rebuild 0.1.9.7 - Fixed bug when the expansion is included, due to not finding the vintage kerbal parts \ No newline at end of file + Fixed bug when the expansion is included, due to not finding the vintage kerbal parts + +0.1.9.8 + Removed code which was adding the eva camera at runtime and replaced it with a MM script + Moved all MM scripts into new folder \ No newline at end of file diff --git a/GameData/HullCameraVDS/HullcamVDSContinued.version b/GameData/HullCameraVDS/HullcamVDSContinued.version index 904289b..8bad08f 100644 --- a/GameData/HullCameraVDS/HullcamVDSContinued.version +++ b/GameData/HullCameraVDS/HullcamVDSContinued.version @@ -11,7 +11,7 @@ "MAJOR": 0, "MINOR": 1, "PATCH": 9, - "BUILD": 7 + "BUILD": 8 }, "KSP_VERSION": { "MAJOR": 1, diff --git a/GameData/HullCameraVDS/DockingPortCameraPatch.cfg b/GameData/HullCameraVDS/MM_Scripts/DockingPortCameraPatch.cfg similarity index 100% rename from GameData/HullCameraVDS/DockingPortCameraPatch.cfg rename to GameData/HullCameraVDS/MM_Scripts/DockingPortCameraPatch.cfg diff --git a/GameData/HullCameraVDS/MM_Scripts/kerbalEVA.cfg b/GameData/HullCameraVDS/MM_Scripts/kerbalEVA.cfg new file mode 100644 index 0000000..f44549e --- /dev/null +++ b/GameData/HullCameraVDS/MM_Scripts/kerbalEVA.cfg @@ -0,0 +1,32 @@ +@PART[kerbalEVA] +{ + MODULE + { + name = EVACamera + cameraName = EVACam + } +} +@PART[kerbalEVAfemale] +{ + MODULE + { + name = EVACamera + cameraName = EVACam + } +} +@PART[kerbalEVAVintage] +{ + MODULE + { + name = EVACamera + cameraName = EVACam + } +} +@PART[kerbalEVAfemaleVintage] +{ + MODULE + { + name = EVACamera + cameraName = EVACam + } +} diff --git a/GameData/HullCameraVDS/Parts/rpm.cfg b/GameData/HullCameraVDS/MM_Scripts/rpm.cfg similarity index 100% rename from GameData/HullCameraVDS/Parts/rpm.cfg rename to GameData/HullCameraVDS/MM_Scripts/rpm.cfg diff --git a/GameData/HullCameraVDS/Parts/rpm2-hullcam-models-as-external-cameras.cfg b/GameData/HullCameraVDS/MM_Scripts/rpm2-hullcam-models-as-external-cameras.cfg similarity index 100% rename from GameData/HullCameraVDS/Parts/rpm2-hullcam-models-as-external-cameras.cfg rename to GameData/HullCameraVDS/MM_Scripts/rpm2-hullcam-models-as-external-cameras.cfg diff --git a/HullCamera/AssemblyVersion.cs b/HullCamera/AssemblyVersion.cs index aab68e1..ab550cc 100644 --- a/HullCamera/AssemblyVersion.cs +++ b/HullCamera/AssemblyVersion.cs @@ -10,4 +10,4 @@ using System.Reflection; - [assembly: AssemblyVersion("0.1.9.7")] \ No newline at end of file + [assembly: AssemblyVersion("0.1.9.8")] \ No newline at end of file diff --git a/HullCamera/FirstPersonEVA.cs b/HullCamera/FirstPersonEVA.cs index 571e31d..4871236 100644 --- a/HullCamera/FirstPersonEVA.cs +++ b/HullCamera/FirstPersonEVA.cs @@ -118,8 +118,9 @@ private void Reorient() { } } -//Add EVA camera to all Kerbals on EVA -[KSPAddon(KSPAddon.Startup.MainMenu, true)] +#if false + //Add EVA camera to all Kerbals on EVA + [KSPAddon(KSPAddon.Startup.MainMenu, true)] public class initKerbalEVA : UnityEngine.MonoBehaviour { public void Awake() { @@ -152,5 +153,6 @@ public void Awake() { } } +#endif } \ No newline at end of file diff --git a/HullcamVDSContinued.version b/HullcamVDSContinued.version index 904289b..8bad08f 100644 --- a/HullcamVDSContinued.version +++ b/HullcamVDSContinued.version @@ -11,7 +11,7 @@ "MAJOR": 0, "MINOR": 1, "PATCH": 9, - "BUILD": 7 + "BUILD": 8 }, "KSP_VERSION": { "MAJOR": 1,