mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Comment
This commit is contained in:
parent
2dd8987217
commit
8e8ac84ad2
@ -380,6 +380,7 @@ namespace NewHorizons.Handlers
|
|||||||
|
|
||||||
if (Main.Instance.CurrentStarSystem == "EyeOfTheUniverse")
|
if (Main.Instance.CurrentStarSystem == "EyeOfTheUniverse")
|
||||||
{
|
{
|
||||||
|
// Disable any bodies when not at eye, vessel, or vortex.
|
||||||
EyeStateActivationController eyeStateActivation = SearchUtilities.Find("SolarSystemRoot").AddComponent<EyeStateActivationController>();
|
EyeStateActivationController eyeStateActivation = SearchUtilities.Find("SolarSystemRoot").AddComponent<EyeStateActivationController>();
|
||||||
eyeStateActivation._object = go;
|
eyeStateActivation._object = go;
|
||||||
eyeStateActivation._activeStates = new EyeState[3]
|
eyeStateActivation._activeStates = new EyeState[3]
|
||||||
|
|||||||
@ -341,6 +341,9 @@ namespace NewHorizons
|
|||||||
|
|
||||||
var solarSystemRoot = SearchUtilities.Find("SolarSystemRoot");
|
var solarSystemRoot = SearchUtilities.Find("SolarSystemRoot");
|
||||||
|
|
||||||
|
// Disable forest and observatory so that a custom body doesn't accidentally pass through them. (they are 6.5km away from eye)
|
||||||
|
// idk why mobius didn't add activation controllers for these
|
||||||
|
|
||||||
var forestActivation = solarSystemRoot.AddComponent<EyeStateActivationController>();
|
var forestActivation = solarSystemRoot.AddComponent<EyeStateActivationController>();
|
||||||
forestActivation._object = eyeSector.gameObject.FindChild("ForestOfGalaxies_Root");
|
forestActivation._object = eyeSector.gameObject.FindChild("ForestOfGalaxies_Root");
|
||||||
forestActivation._activeStates = new EyeState[]
|
forestActivation._activeStates = new EyeState[]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user