diff --git a/NewHorizons/External/Modules/PropModule.cs b/NewHorizons/External/Modules/PropModule.cs index 51610074..a6058299 100644 --- a/NewHorizons/External/Modules/PropModule.cs +++ b/NewHorizons/External/Modules/PropModule.cs @@ -244,6 +244,16 @@ namespace NewHorizons.External.Modules /// [DefaultValue(5f)] public float acceleration = 5f; + /// + /// The relative path from the planet to the parent of this object. Optional (will default to the root sector). + /// + public string parentPath; + + /// + /// Whether the positional and rotational coordinates are relative to parent instead of the root planet object. + /// + public bool isRelativeToParent; + /// /// An optional rename of this object /// @@ -293,6 +303,11 @@ namespace NewHorizons.External.Modules /// [DefaultValue(0.7f)] public float volume = 0.7f; + /// + /// The relative path from the planet to the parent of this object. Optional (will default to the root sector). + /// + public string parentPath; + /// /// An optional rename of this object /// @@ -365,6 +380,16 @@ namespace NewHorizons.External.Modules /// [DefaultValue("cloud")] public FluidType fluidType = FluidType.Cloud; + /// + /// The relative path from the planet to the parent of this object. Optional (will default to the root sector). + /// + public string parentPath; + + /// + /// Whether the positional and rotational coordinates are relative to parent instead of the root planet object. + /// + public bool isRelativeToParent; + /// /// An optional rename of this object /// @@ -418,6 +443,16 @@ namespace NewHorizons.External.Modules /// public MColor stoneTint; + /// + /// The relative path from the planet to the parent of this object. Optional (will default to the root sector). + /// + public string parentPath; + + /// + /// Whether the positional and rotational coordinates are relative to parent instead of the root planet object. + /// + public bool isRelativeToParent; + /// /// An optional rename of this object /// @@ -510,6 +545,16 @@ namespace NewHorizons.External.Modules /// public MVector3 position; + /// + /// The relative path from the planet to the parent of this object. Optional (will default to the root sector). + /// + public string parentPath; + + /// + /// Whether the positional and rotational coordinates are relative to parent instead of the root planet object. + /// + public bool isRelativeToParent; + /// /// An optional rename of this object /// diff --git a/NewHorizons/External/Modules/VariableSize/SingularityModule.cs b/NewHorizons/External/Modules/VariableSize/SingularityModule.cs index bbdcf27f..e0c1041d 100644 --- a/NewHorizons/External/Modules/VariableSize/SingularityModule.cs +++ b/NewHorizons/External/Modules/VariableSize/SingularityModule.cs @@ -76,6 +76,16 @@ namespace NewHorizons.External.Modules.VariableSize /// [Range(2501f, 3500f)] public int renderQueueOverride = 2985; + /// + /// The relative path from the planet to the parent of this object. Optional (will default to the root sector). + /// + public string parentPath; + + /// + /// Whether the positional and rotational coordinates are relative to parent instead of the root planet object. + /// + public bool isRelativeToParent; + /// /// An optional rename of this object ///