Skip to content

Commit

Permalink
1.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
pkmniako committed Feb 21, 2023
1 parent 5b95348 commit 318c832
Show file tree
Hide file tree
Showing 8 changed files with 49 additions and 7 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ This mod also includes some laser sail parts that require custom code to work. Y

## Changelog

- **1.0.3**
- Story Mode
- One signal's range made bigger
- Made a clue slightly better
- Fixes
- Fixed lights from vessels showing up when reading signals
- **1.0.2**
- Story Mode
- Added a pop-out window on new saves to indicate what to do to start the story
Expand Down
2 changes: 1 addition & 1 deletion gamedata/OtherWorldsReboot/CercaniSystem/Clouds/clouds.cfg
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
EVE_CLOUDS
@EVE_CLOUDS:FOR[OtherWorldsReboot]
{
OBJECT
{
Expand Down
Binary file modified gamedata/OtherWorldsReboot/Plugins/OtherWorldsProgram.dll
Binary file not shown.
16 changes: 15 additions & 1 deletion gamedata/OtherWorldsReboot/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# Other Worlds
![](https://i.imgur.com/pqhDLA8.png)

**Other Worlds** is a story/planet pack combo that adds a **new star system** to Kerbal Space Program full of **custom-made planets**, as well as a **custom-made story**, first in KSP history.

You can watch the [**trailer here**](https://www.youtube.com/watch?v=2L4yKnbbOfs)

## Requirements and Optional Mods

To play with this mod, you require to also install [**Kopernicus**](https://github.com/Kopernicus/Kopernicus/releases)
Expand All @@ -10,8 +12,20 @@ The mod also requires, but is already bunbled with, [VertexMitchellNetravaliHeig

As optional mods, you can use *Enviromental Visual Enhancments*, *Scatterer* and *Parallax* for a more visually striking collection of planets.

You can also install [**Contract Configurator**](https://github.com/jrossignol/ContractConfigurator/releases) for a small collection of custom contracts.

## Other Source code

This mod also includes some laser sail parts that require custom code to work. You can find that one [here](https://github.com/pkmniako/Other_Worlds-Reboot).

## Changelog

- **1.0.3**
- Story Mode
- One signal's range made bigger
- Made a clue slightly better
- Fixes
- Fixed lights from vessels showing up when reading signals
- **1.0.2**
- Story Mode
- Added a pop-out window on new saves to indicate what to do to start the story
Expand Down
22 changes: 22 additions & 0 deletions src/OtherWorldsProgram/Cutscene/OWP_Cutscene.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ public class OWP_Cutscene {
public static OWP_Cutscene cut = null;

private static List<Renderer> invisibleMeshes;
private static List<Light> invisibleLights;
private static ScreenShot screenshotModule;

private static GameObject cutsceneCenter;
Expand Down Expand Up @@ -185,6 +186,7 @@ public static void MakeVesselsInvisible() {
if(!vesselsVisible) return;
vesselsVisible = false;
invisibleMeshes = new List<Renderer>();
invisibleLights = new List<Light>();

foreach(Vessel vessel in FlightGlobals.fetch.vesselsLoaded) {
//It's a EVA Kerbal
Expand All @@ -198,6 +200,13 @@ public static void MakeVesselsInvisible() {
r.enabled = false;
}
}
Light[] ls = part.GetComponentsInChildren<Light>(true);
foreach(Light l in ls) {
if(l.enabled) {
invisibleLights.Add(l);
l.enabled = false;
}
}
//It's a normal vessel
} else {
foreach(Part part in vessel.Parts) {
Expand All @@ -208,6 +217,13 @@ public static void MakeVesselsInvisible() {
r.enabled = false;
}
}
Light[] ls = part.GetComponentsInChildren<Light>(true);
foreach(Light l in ls) {
if(l.enabled) {
invisibleLights.Add(l);
l.enabled = false;
}
}
}
}
}
Expand All @@ -223,11 +239,17 @@ public static void MakeVesselsVisible() {
if(r.enabled) Debug.LogWarning("[Other Worlds] [MakeVesselsInvisible] Renderer of object " + r.gameObject.name + " was supposed to be invisible, but it wasn't!");
r.enabled = true;
}
foreach(Light l in invisibleLights) {
if(l.enabled) Debug.LogWarning("[Other Worlds] [MakeVesselsInvisible] Light of object " + l.gameObject.name + " was supposed to be invisible, but it wasn't!");
l.enabled = true;
}

Debug.Log("[Other Worlds] Made Vessels visible");

invisibleMeshes.Clear();
invisibleMeshes = null;
invisibleLights.Clear();
invisibleLights = null;
}

public static void UserInputDisable() {
Expand Down
2 changes: 1 addition & 1 deletion src/OtherWorldsProgram/LOC/OWP_LOC.cs
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ public static void LoadData(string lang) {
data.Add("Signal_Disole_1_Dial","#(switchanim=1,showui=true,timenext=0.5) Wandering Log, Day 802.#(timenext=1.0) I've only been to this place twice. Both times I arrived when a global dust storm has raging across#(cameraui=false) the moon. Quite unlucky, but at least today,#(switchanim=2,timenext=5.0) it isn't the case.#(timenext=3.0) #(clear=1)It was still fun though, I got to see people working on trying to find life here, as they could never explain why there was oxygen in the atmosphere.#(timenext=2.0) They would study small bodies of water at the north pole.#(timenext=1.0) Don't bother looking there, I checked and they are gone.#(timenext=2.0) #(clear=1)Well, I could go back to the desert world, but now that the sky is clear...#(switchanim=3) I want to see everything from the top of Curiosity Peak.#(timenext=3.0) #(close=short)");

data.Add("Signal_Disole_2_Name","SOS CD72Y2 B");
data.Add("Signal_Disole_2_Dial","#(switchanim=1,showui=true,timenext=4.0) Concha de su#(timing=0.25)...#(timingreset=1)#(clear=1,switchanim=2,timenext=2.0) This shit <b>shouldn't be here</b>. All the accomplishments that my kind did, eroded away, but this#(timenext=0.5) <b><i>thing</i></b>, somehow#(cameraui=false), alive and not even near where it should be!?#(timenext=4.0) #(clear=1,switchanim=3,timenext=3.0) This#(timenext=0.5) <b>spike, monolith</b>, however you want to call it, has already taken so much from me.#(timenext=2.0) #(clear=1)I'm returning to <b>Sunset Bay</b>, if this stupid thing is here, there <b>must</b> be something left of what we did over there.#(timenext=4.0) #(clear=1,switchanim=4,timenext=3.0) #(close=short)");
data.Add("Signal_Disole_2_Dial","#(switchanim=1,showui=true,timenext=4.0) Concha de su#(timing=0.25)...#(timingreset=1)#(clear=1,switchanim=2,timenext=2.0) This shit <b>shouldn't be here</b>. All the accomplishments that my kind did, eroded away, but this#(timenext=0.5) <b><i>thing</i></b>, somehow#(cameraui=false), alive and not even near where it should be!?#(timenext=4.0) #(clear=1,switchanim=3,timenext=3.0) This#(timenext=0.5) <b>spike, monolith</b>, however you want to call it, has already taken so much from me.#(timenext=2.0) #(clear=1)I'm returning to <b>Sunset Bay</b>, if this stupid thing is here, there <b>must</b> be something left of what we did over there, even if the bay is big.#(timenext=3.5) #(clear=1,switchanim=4,timenext=3.0) #(close=short)");

data.Add("Signal_Disole_3_Name","SOS Disole 3");
data.Add("Signal_Disole_3_Dial","#(timenext=1.0) New Journal, Day 908.#(timenext=2.0) #(clear=1,switchanim=1,showui=true,timenext=3.0) #(timenext=3.0,cameraui=false) #(switchanim=2,clear=1)I'm not going to the star, don't worry. I'm going to the <b>lava planet</b>. Instead of going to the horrible day side of the planet, I'm going to go to the <b>night, icy side</b>, specifically <b>7 degrees north</b>, far away from any lava.#(timenext=4.0) #(clear=1)This is very dangerous, in case of an emergency, I can't just land wherever I want, and I don't know how much my orbital craft can stay in orbit without problems.#(timenext=4.0) #(clear=1) I've also thought if this was a good idea at all, I've already told myself I don't have to put antennas anymore, I'm alone. But I've got nothing to lose,#(timenext=0.75) so#(timenext=1.5) #(switchanim=3)<br>#(close=long)Destination:#(timenext=0.6) Hell");
Expand Down
2 changes: 1 addition & 1 deletion src/OtherWorldsProgram/LocData/OWP_LocInit.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public static void InitLocations() {
new Vector3(-2, -1.88f * 2, -8), new Vector3(0, 0, 0), //Camera
OWP_Util.CT2UT(0, 9) + 1.5634 * 3600
), false), 1);
OWP.AddLocation(new OWP_LocSignal("Vassa", "Signal_Vassa_3", 4000, 3,
OWP.AddLocation(new OWP_LocSignal("Vassa", "Signal_Vassa_3", 7000, 3,
new OWP_Cutscene(
14,
new Vector3(0, 0, 0), new Vector3(0, 0, 0), //Char
Expand Down
6 changes: 3 additions & 3 deletions src/OtherWorldsProgram/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

[assembly: KSPAssembly("Other Worlds Program", 1, 0, 2)]
[assembly: KSPAssembly("Other Worlds Program", 1, 0, 3)]

[assembly: AssemblyTitle("Other Worlds Program - Addon for Other Worlds Reboot")]
[assembly: AssemblyDescription("Addon to control hand-made elements of the Other Worlds mod")]
[assembly: AssemblyProduct("Niako_Mod_OtherWorldsProgram")]
[assembly: AssemblyCopyright("Copyright © pkmniako 2022, ARR")]
[assembly: ComVisible(false)]
[assembly: Guid("FAE04EC0-301F-11D3-BF4B-00C04F79EFBC")]
[assembly: AssemblyVersion("1.0.2.0")]
[assembly: AssemblyFileVersion("1.0.2.0")]
[assembly: AssemblyVersion("1.0.3.0")]
[assembly: AssemblyFileVersion("1.0.3.0")]

0 comments on commit 318c832

Please sign in to comment.