mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Updated Schemas
This commit is contained in:
parent
031ad5266c
commit
42944479f5
@ -1102,6 +1102,13 @@
|
|||||||
"items": {
|
"items": {
|
||||||
"$ref": "#/definitions/NomaiWarpTransmitterInfo"
|
"$ref": "#/definitions/NomaiWarpTransmitterInfo"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"audioSources": {
|
||||||
|
"type": "array",
|
||||||
|
"description": "Add audio point sources to this planet. For audio across an entire area, look for AudioVolumes under the Volumes module.",
|
||||||
|
"items": {
|
||||||
|
"$ref": "#/definitions/AudioSourceInfo"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -2161,6 +2168,27 @@
|
|||||||
"type": "object",
|
"type": "object",
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"properties": {
|
"properties": {
|
||||||
|
"audio": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "The audio to use. Can be a path to a .wav/.ogg/.mp3 file, or taken from the AudioClip list."
|
||||||
|
},
|
||||||
|
"minDistance": {
|
||||||
|
"type": "number",
|
||||||
|
"description": "At this distance the sound is at its loudest.",
|
||||||
|
"format": "float"
|
||||||
|
},
|
||||||
|
"maxDistance": {
|
||||||
|
"type": "number",
|
||||||
|
"description": "The sound will drop off by this distance (Note: for signals, this only effects when it is heard aloud and not via the signalscope).",
|
||||||
|
"format": "float",
|
||||||
|
"default": 5.0
|
||||||
|
},
|
||||||
|
"volume": {
|
||||||
|
"type": "number",
|
||||||
|
"description": "How loud the sound will play",
|
||||||
|
"format": "float",
|
||||||
|
"default": 0.5
|
||||||
|
},
|
||||||
"position": {
|
"position": {
|
||||||
"description": "Position of the object",
|
"description": "Position of the object",
|
||||||
"$ref": "#/definitions/MVector3"
|
"$ref": "#/definitions/MVector3"
|
||||||
@ -2177,10 +2205,6 @@
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "An optional rename of this object"
|
"description": "An optional rename of this object"
|
||||||
},
|
},
|
||||||
"audio": {
|
|
||||||
"type": "string",
|
|
||||||
"description": "The audio to use. Can be a path to a .wav/.ogg/.mp3 file, or taken from the AudioClip list."
|
|
||||||
},
|
|
||||||
"detectionRadius": {
|
"detectionRadius": {
|
||||||
"type": "number",
|
"type": "number",
|
||||||
"description": "How close the player must get to the signal to detect it. This is when you get the \"Unknown Signal Detected\"\nnotification.",
|
"description": "How close the player must get to the signal to detect it. This is when you get the \"Unknown Signal Detected\"\nnotification.",
|
||||||
@ -2538,6 +2562,94 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"AudioSourceInfo": {
|
||||||
|
"type": "object",
|
||||||
|
"additionalProperties": false,
|
||||||
|
"properties": {
|
||||||
|
"audio": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "The audio to use. Can be a path to a .wav/.ogg/.mp3 file, or taken from the AudioClip list."
|
||||||
|
},
|
||||||
|
"minDistance": {
|
||||||
|
"type": "number",
|
||||||
|
"description": "At this distance the sound is at its loudest.",
|
||||||
|
"format": "float"
|
||||||
|
},
|
||||||
|
"maxDistance": {
|
||||||
|
"type": "number",
|
||||||
|
"description": "The sound will drop off by this distance (Note: for signals, this only effects when it is heard aloud and not via the signalscope).",
|
||||||
|
"format": "float",
|
||||||
|
"default": 5.0
|
||||||
|
},
|
||||||
|
"volume": {
|
||||||
|
"type": "number",
|
||||||
|
"description": "How loud the sound will play",
|
||||||
|
"format": "float",
|
||||||
|
"default": 0.5
|
||||||
|
},
|
||||||
|
"position": {
|
||||||
|
"description": "Position of the object",
|
||||||
|
"$ref": "#/definitions/MVector3"
|
||||||
|
},
|
||||||
|
"parentPath": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "The relative path from the planet to the parent of this object. Optional (will default to the root sector)."
|
||||||
|
},
|
||||||
|
"isRelativeToParent": {
|
||||||
|
"type": "boolean",
|
||||||
|
"description": "Whether the positional and rotational coordinates are relative to parent instead of the root planet object."
|
||||||
|
},
|
||||||
|
"rename": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "An optional rename of this object"
|
||||||
|
},
|
||||||
|
"track": {
|
||||||
|
"description": "The audio track of this audio source",
|
||||||
|
"default": "environment",
|
||||||
|
"$ref": "#/definitions/NHAudioMixerTrackName"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"NHAudioMixerTrackName": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "",
|
||||||
|
"x-enumNames": [
|
||||||
|
"Undefined",
|
||||||
|
"Menu",
|
||||||
|
"Music",
|
||||||
|
"Environment",
|
||||||
|
"Environment_Unfiltered",
|
||||||
|
"EndTimes_SFX",
|
||||||
|
"Signal",
|
||||||
|
"Death",
|
||||||
|
"Player",
|
||||||
|
"Player_External",
|
||||||
|
"Ship",
|
||||||
|
"Map",
|
||||||
|
"EndTimes_Music",
|
||||||
|
"MuffleWhileRafting",
|
||||||
|
"MuffleIndoors",
|
||||||
|
"SlideReelMusic"
|
||||||
|
],
|
||||||
|
"enum": [
|
||||||
|
"undefined",
|
||||||
|
"menu",
|
||||||
|
"music",
|
||||||
|
"environment",
|
||||||
|
"environmentUnfiltered",
|
||||||
|
"endTimesSfx",
|
||||||
|
"signal",
|
||||||
|
"death",
|
||||||
|
"player",
|
||||||
|
"playerExternal",
|
||||||
|
"ship",
|
||||||
|
"map",
|
||||||
|
"endTimesMusic",
|
||||||
|
"muffleWhileRafting",
|
||||||
|
"muffleIndoors",
|
||||||
|
"slideReelMusic"
|
||||||
|
]
|
||||||
|
},
|
||||||
"ReferenceFrameModule": {
|
"ReferenceFrameModule": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
@ -3277,46 +3389,6 @@
|
|||||||
"manual"
|
"manual"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"NHAudioMixerTrackName": {
|
|
||||||
"type": "string",
|
|
||||||
"description": "",
|
|
||||||
"x-enumNames": [
|
|
||||||
"Undefined",
|
|
||||||
"Menu",
|
|
||||||
"Music",
|
|
||||||
"Environment",
|
|
||||||
"Environment_Unfiltered",
|
|
||||||
"EndTimes_SFX",
|
|
||||||
"Signal",
|
|
||||||
"Death",
|
|
||||||
"Player",
|
|
||||||
"Player_External",
|
|
||||||
"Ship",
|
|
||||||
"Map",
|
|
||||||
"EndTimes_Music",
|
|
||||||
"MuffleWhileRafting",
|
|
||||||
"MuffleIndoors",
|
|
||||||
"SlideReelMusic"
|
|
||||||
],
|
|
||||||
"enum": [
|
|
||||||
"undefined",
|
|
||||||
"menu",
|
|
||||||
"music",
|
|
||||||
"environment",
|
|
||||||
"environmentUnfiltered",
|
|
||||||
"endTimesSfx",
|
|
||||||
"signal",
|
|
||||||
"death",
|
|
||||||
"player",
|
|
||||||
"playerExternal",
|
|
||||||
"ship",
|
|
||||||
"map",
|
|
||||||
"endTimesMusic",
|
|
||||||
"muffleWhileRafting",
|
|
||||||
"muffleIndoors",
|
|
||||||
"slideReelMusic"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"DestructionVolumeInfo": {
|
"DestructionVolumeInfo": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user