mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
99 lines
2.6 KiB
C#
99 lines
2.6 KiB
C#
using NewHorizons.Utility;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace NewHorizons.External
|
|
{
|
|
public class PropModule : Module
|
|
{
|
|
public ScatterInfo[] Scatter;
|
|
public DetailInfo[] Details;
|
|
public RaftInfo[] Rafts;
|
|
public GeyserInfo[] Geysers;
|
|
public TornadoInfo[] Tornados;
|
|
public VolcanoInfo[] Volcanos;
|
|
public DialogueInfo[] Dialogue;
|
|
public RevealInfo[] Reveal;
|
|
public EntryLocationInfo[] EntryLocation;
|
|
|
|
public class ScatterInfo
|
|
{
|
|
public int seed = 0;
|
|
public int count;
|
|
public string path;
|
|
public string assetBundle;
|
|
public MVector3 offset;
|
|
public MVector3 rotation;
|
|
public float scale { get; set; } = 1f;
|
|
}
|
|
|
|
public class DetailInfo
|
|
{
|
|
public string path;
|
|
public string objFilePath;
|
|
public string mtlFilePath;
|
|
public string assetBundle;
|
|
public MVector3 position;
|
|
public MVector3 rotation;
|
|
public float scale { get; set; } = 1f;
|
|
public bool alignToNormal;
|
|
public string[] removeChildren;
|
|
}
|
|
|
|
public class RaftInfo
|
|
{
|
|
public MVector3 position;
|
|
}
|
|
|
|
public class GeyserInfo
|
|
{
|
|
public MVector3 position;
|
|
}
|
|
|
|
public class TornadoInfo
|
|
{
|
|
public float elevation;
|
|
public MVector3 position = null;
|
|
public float height;
|
|
public float width;
|
|
public MColor tint;
|
|
}
|
|
|
|
public class VolcanoInfo
|
|
{
|
|
public MVector3 position = null;
|
|
public MColor stoneTint = null;
|
|
public MColor lavaTint = null;
|
|
}
|
|
|
|
public class DialogueInfo
|
|
{
|
|
public MVector3 position;
|
|
public float radius = 1f;
|
|
public string xmlFile;
|
|
public MVector3 remoteTriggerPosition;
|
|
public string blockAfterPersistentCondition;
|
|
}
|
|
|
|
public class RevealInfo
|
|
{
|
|
public string revealOn = "enter";
|
|
public string[] reveals;
|
|
public MVector3 position = new MVector3(0, 0, 0);
|
|
public float radius = 1f;
|
|
public float maxDistance = -1f; // Snapshot & Observe Only
|
|
public float maxAngle = 180f; // Observe Only
|
|
}
|
|
|
|
public class EntryLocationInfo
|
|
{
|
|
public string id;
|
|
public bool cloaked;
|
|
public MVector3 position;
|
|
}
|
|
}
|
|
}
|