-
-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom Eye Travelers #1031
Custom Eye Travelers #1031
Conversation
…-New-Horizons/new-horizons into hawkbar-eye-sequence
…-New-Horizons/new-horizons into hawkbar-eye-sequence
…-New-Horizons/new-horizons into hawkbar-eye-sequence
…-New-Horizons/new-horizons into hawkbar-eye-sequence
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some small changes to the docs but other than that the docs look solid.
|
||
namespace NewHorizons.Components.EyeOfTheUniverse | ||
{ | ||
public class InstrumentZone : MonoBehaviour |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why does this exist? Probably for a good reason so can you comment in the class why
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(I ask bc its an empty class)
@@ -691,6 +691,11 @@ private static GameObject SharedGenerateBody(NewHorizonsBody body, GameObject go | |||
atmosphere = AtmosphereBuilder.Make(go, sector, body.Config.Atmosphere, surfaceSize).GetComponentInChildren<LODGroup>(); | |||
} | |||
|
|||
if (body.Config.EyeOfTheUniverse != null) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doesn't seem to be anything stopping this being called from outside the eye scene, so we should have that. When validating configs we should log errors if this is not null and the system isnt set to EyeOfTheUniverse
Major features
EyeOfTheUniverse
module to the planet body config for features specific to the Eye of the Universe scene.eyeTravelers
,quantumInstruments
, andinstrumentZones
to theEyeOfTheUniverse
module to support adding new travelers and instrument 'puzzles' to the Eye of the Universe in a compatibility-minded way.Improvements