forked from Virindi-AC/KSP-ProbeControlRoom
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removed toolbar button when leaving flight scene
- Loading branch information
1 parent
6d50370
commit 029f6b5
Showing
20 changed files
with
673 additions
and
198 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
1.2.2.7 | ||
Removed toolbar button when leaving flight scene |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ | |
"MAJOR" : 1, | ||
"MINOR" : 2, | ||
"PATCH" : 2, | ||
"BUILD" : 6 | ||
"BUILD" : 7 | ||
}, | ||
"KSP_VERSION": | ||
{ | ||
|
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
ProbeControlRoom | ||
========= | ||
|
||
Features | ||
-------- | ||
Adds IVA to UNMANNED Vessels/CommandModules that have no Crew/Internal. | ||
AutoUpdates all "ModuleCommand"-Parts that have no "INTERNAL" | ||
RasterPropMonitor gets enabled automatically if the .dll is loaded | ||
|
||
|
||
Requires | ||
---------- | ||
- [ModuleManager](http://forum.kerbalspaceprogram.com/threads/55219) >= v2.7.3 | ||
- (optional) [Toolbar](http://forum.kerbalspaceprogram.com/threads/60863) >= v1.7.13 | ||
|
||
For RasterPropMonitor | ||
---------- | ||
- [RasterPropMonitor](http://forum.kerbalspaceprogram.com/threads/117471) >= v0.28 | ||
- (optional) [SCANsat](http://forum.kerbalspaceprogram.com/threads/80369) >= v1.1.6.11 | ||
|
||
|
||
How to use | ||
---------- | ||
1. Remove any previous versions of "ProbeControlRoom" in your KerbalSpaceProgram/GameData directory | ||
2. Merge the downloaded "GameData" into your KerbalSpaceProgram directory | ||
3. Start the game and build a vessel with a ProbeCore | ||
4. Start the ControlRoom by: | ||
a. MannedVessel: Bottom right, above the KerbalAvatars is a IVA button | ||
b. UnmannedVessel: Use the CameraMode button (C) to access/leave IVA | ||
c. Righclick the ProbeCore and click "IVA from here" | ||
d. click the IVA button in the toolbar (if installed) | ||
|
||
Extended | ||
---------- | ||
On the first start a config file is created at GameData/ProbeControlRoom/Settings.cfg | ||
ForcePCROnly (default: False) | ||
forces the use of PCR | ||
- UI/Toolbar buttons to overwrite | ||
- Traps mapView and "Camera"-Key | ||
DisableWobble (default: True) | ||
disables the cameraShake when inside a PCR | ||
DisableSounds (default: False) [ALPHA - CurrentMethod (GameSettings-Volume) not stable] | ||
disables the Ship_Audio when inside a PCR | ||
- Seems to ignore Engines, Staging, Parachutes and similar, while explosions get muted. | ||
- With ForcePCROnly=True muting works, but always for every rocket with a PCR... | ||
|
||
|
||
Thanks | ||
------- | ||
- G'th for the idea&kick to actually do it | ||
- all the KSP modders putting tons of sourcecode out there to read & learn | ||
- the folks in the #kspmodders irc that linked me there ;-) | ||
- "Albert VDS" for the excelent work hes done on the 3D Model/Textures/Pages | ||
- "Dexter9313" and "Z-Key Aerospace" for the pull-requests regarding Wobble&Audio removal | ||
- "MeCripp", "jlcarneiro" and again "Z-Key Aerospace" & "Dexter9313" for providing updates while i could not | ||
|
||
|
||
Authors | ||
------- | ||
Contributions by: Virindi, Tabakhase, Icedown, Albert_VDS, MeCripp, Nils277, JPLRepo, Dexter9313, Z-Key Aerospace, JlCarneiro | ||
|
||
|
||
License | ||
------- | ||
This project is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. | ||
To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/3.0/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"NAME" : "ProbeControlRoom", | ||
"URL" : "https://raw.githubusercontent.com/Virindi-AC/KSP-ProbeControlRoom/master/GameData/ProbeControlRoom/ProbeControlRoom.version", | ||
"DOWNLOAD" : "https://github.com/Virindi-AC/KSP-ProbeControlRoom/releases", | ||
"GITHUB" : | ||
{ | ||
"USERNAME" : "Virindi-AC", | ||
"REPOSITORY": "KSP-ProbeControlRoom", | ||
"ALLOW_PRE_RELEASE": false | ||
}, | ||
"VERSION" : | ||
{ | ||
"MAJOR" : 1, | ||
"MINOR" : 2, | ||
"PATCH" : 2, | ||
"BUILD" : 7 | ||
}, | ||
"KSP_VERSION": | ||
{ | ||
"MAJOR": 1, | ||
"MINOR": 2, | ||
"PATCH": 2 | ||
}, | ||
"KSP_VERSION_MIN": | ||
{ | ||
"MAJOR": 1, | ||
"MINOR": 2, | ||
"PATCH": 2 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
| ||
// This code was generated by a tool. Any changes made manually will be lost | ||
// the next time this code is regenerated. | ||
// | ||
|
||
using System.Reflection; | ||
|
||
[assembly: AssemblyVersion("1.2.2.7")] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
<#@ template debug="false" hostspecific="true" language="C#" #> | ||
<#@ import namespace="System.IO" #> | ||
<#@ output extension=".cs" #> | ||
|
||
<#@ assembly name="EnvDTE" #><# /* This assembly provides access to Visual Studio project properties. */ #> | ||
<# | ||
|
||
// Instructions | ||
// 1. Add a new Text Template to the project | ||
// 2. Copy this file into the new template | ||
// 3. Update the string: versionfile with the complete path to the .version file | ||
// 4. Remove the following line from the file AssemblyInfo.cs (usually located in the "Property" folder inside your C# project): | ||
// [assembly: AssemblyVersion("1.0.0.0")] | ||
// 5. Add the following to the PreBuild steps: | ||
// set textTemplatingPath="%CommonProgramFiles(x86)%\Microsoft Shared\TextTemplating\$(VisualStudioVersion)\texttransform.exe" | ||
// | ||
// if %textTemplatingPath%=="\Microsoft Shared\TextTemplating\$(VisualStudioVersion)\texttransform.exe" set textTemplatingPath="%CommonProgramFiles%\Microsoft Shared\TextTemplating\$(VisualStudioVersion)\texttransform.exe" | ||
// | ||
// %textTemplatingPath% "$(ProjectDir)AssemblyFileVersion.tt" | ||
|
||
int major = 0; | ||
int minor = 0; | ||
int build = 0; | ||
int patch = 0; | ||
bool versionSection = false; | ||
|
||
int i = 0; | ||
int i2 = 0; | ||
string s; | ||
|
||
string versionfile = @"D:\Users\jbb\github\KSP-ProbeControlRoom\ProbeControlRoom.version"; | ||
if (!File.Exists(versionfile)) | ||
{ | ||
Write("File: " + versionfile + " missing\n"); | ||
} | ||
|
||
try | ||
{ | ||
foreach (var line in File.ReadAllLines(versionfile)) | ||
{ | ||
if (line != null) | ||
{ | ||
if (!versionSection) | ||
{ | ||
if (line.Contains("\"VERSION\"")) | ||
versionSection = true; | ||
} | ||
else | ||
{ | ||
if (line.Contains("}")) | ||
versionSection = false; | ||
i = line.IndexOf(":"); | ||
i2 = line.IndexOf(","); | ||
if (i2 == -1) | ||
i2 = line.Length; | ||
if (i >= 0 && i2 >= 0) | ||
{ | ||
s = line.Substring(i + 1, i2 - i - 1); | ||
|
||
if (line.Contains("MAJOR")) | ||
Int32.TryParse(s, out major); | ||
|
||
if (line.Contains("MINOR")) | ||
Int32.TryParse(s, out minor); | ||
|
||
if (line.Contains("PATCH")) | ||
Int32.TryParse(s, out patch); | ||
|
||
if (line.Contains("BUILD")) | ||
Int32.TryParse(s, out build); | ||
} | ||
} | ||
} | ||
} | ||
|
||
} | ||
catch | ||
{ | ||
major = 1; | ||
minor = 0; | ||
patch = 0; | ||
build = 0; | ||
} | ||
//Write("File done"); | ||
|
||
#> | ||
// This code was generated by a tool. Any changes made manually will be lost | ||
// the next time this code is regenerated. | ||
// | ||
|
||
using System.Reflection; | ||
|
||
[assembly: AssemblyVersion("<#= major #>.<#= minor #>.<#= patch #>.<#= build #>")] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
| ||
// This code was generated by a tool. Any changes made manually will be lost | ||
// the next time this code is regenerated. | ||
// | ||
|
||
using System.Reflection; | ||
|
||
[assembly: AssemblyVersion("1.2.2.7")] |
Oops, something went wrong.