Merge branch 'main' into dev

This commit is contained in:
Nick 2024-04-25 17:02:45 -04:00
commit fd99bffc98
4 changed files with 26 additions and 27 deletions

View File

@ -88,7 +88,7 @@ To add a Mars rover to the red planet in [RSS](https://github.com/xen-42/outer-w
```json {5-6} ```json {5-6}
{ {
"Props": { "Props": {
"Details": [ "details": [
{ {
"assetBundle": "planets/assetbundle/rss", "assetBundle": "planets/assetbundle/rss",
"path": "Assets/RSS/Prefabs/Rover.prefab", "path": "Assets/RSS/Prefabs/Rover.prefab",
@ -97,7 +97,7 @@ To add a Mars rover to the red planet in [RSS](https://github.com/xen-42/outer-w
"y": -10.83688, "y": -10.83688,
"z": -36.02736 "z": -36.02736
}, },
"alignToNormal": true "alignRadial": true
} }
] ]
} }
@ -109,7 +109,7 @@ To scatter 12 trees from the Dream World around Wetrock in [NH Examples](https:/
```json ```json
{ {
"Props": { "Props": {
"Scatter": [ "scatter": [
{ {
"path": "DreamWorld_Body/Sector_DreamWorld/Sector_DreamZone_1/Props_DreamZone_1/OtherComponentsGroup/Trees_Z1/DreamHouseIsland/Tree_DW_M_Var", "path": "DreamWorld_Body/Sector_DreamWorld/Sector_DreamZone_1/Props_DreamZone_1/OtherComponentsGroup/Trees_Z1/DreamHouseIsland/Tree_DW_M_Var",
"count": 12 "count": 12
@ -124,7 +124,7 @@ You can swap these around too. The following would scatter 12 Mars rovers across
```json ```json
{ {
"Props": { "Props": {
"Details": [ "details": [
{ {
"path": "DreamWorld_Body/Sector_DreamWorld/Sector_DreamZone_1/Props_DreamZone_1/OtherComponentsGroup/Trees_Z1/DreamHouseIsland/Tree_DW_M_Var", "path": "DreamWorld_Body/Sector_DreamWorld/Sector_DreamZone_1/Props_DreamZone_1/OtherComponentsGroup/Trees_Z1/DreamHouseIsland/Tree_DW_M_Var",
"position": { "position": {
@ -132,10 +132,10 @@ You can swap these around too. The following would scatter 12 Mars rovers across
"y": -10.83688, "y": -10.83688,
"z": -36.02736 "z": -36.02736
}, },
"alignToNormal": true "alignRadial": true
} }
], ],
"Scatter": [ "scatter": [
{ {
"assetBundle": "planets/assetbundle/rss", "assetBundle": "planets/assetbundle/rss",
"path": "Assets/RSS/Prefabs/Rover.prefab", "path": "Assets/RSS/Prefabs/Rover.prefab",

View File

@ -404,31 +404,28 @@ Of course, having a custom ship log is neat and all, but what use is it if the p
### Initial Reveal ### Initial Reveal
You can set facts to reveal as soon as the player enters the system by adding the `initialReveal` property You can set facts to reveal as soon as the player enters the system by adding the `initialReveal` property to your **star system config**
```json {4} ```json {4}
{ {
"ShipLog": {
"xmlFile": "planets/example.xml",
"initialReveal": ["EXAMPLE_RUMOR_FACT"] "initialReveal": ["EXAMPLE_RUMOR_FACT"]
} }
}
``` ```
### Signal Discovery ### Signal Discovery
You can set a fact to reveal as soon as a signal is identified by editing the signal's `Reveals` attribute You can set a fact to reveal as soon as a signal is identified by editing the signal's `reveals` attribute
```json ```json
{ {
"Signal": { "Props": {
"Signals": [ "signals": [
{ {
"Frequency": "Quantum", "frequency": "Quantum",
"Name": "Quantum Planet", "name": "Quantum Planet",
"AudioClip": "OW_QuantumSignal", "audio": "OW_QuantumSignal",
"SourceRadius": 1000, "sourceRadius": 1000,
"Reveals": "EXAMPLE_EXPLORE_FACT" "reveals": "EXAMPLE_EXPLORE_FACT"
} }
] ]
} }
@ -459,7 +456,7 @@ You can set a fact to reveal in dialogue with the `<RevealFacts>` tag
### Reveal Volumes ### Reveal Volumes
Reveal volumes are triggers/colliders in the world that can unlock facts from a variety of actions. Reveal volumes are triggers/colliders in the world that can unlock facts from a variety of actions.
Reveal volumes are specified in the `Props` module, its key is `reveal`. Reveal volumes are specified in the `Volumes` module, its key is `revealVolumes`.
#### Position #### Position
@ -503,8 +500,8 @@ trigger the reveal
```json ```json
{ {
"Props": { "Volumes": {
"reveal": [ "revealVolumes": [
{ {
"position": { "position": {
"x": -55.65454, "x": -55.65454,

View File

@ -23,13 +23,15 @@ A star system config file will look something like this:
"y": [0, 5, 4], "y": [0, 5, 4],
"z": [5, 4, 0, 3, 1] "z": [5, 4, 0, 3, 1]
}, },
"vesselPosition": { "vesselSpawn": {
"position": {
"x": 0, "x": 0,
"y": 0, "y": 0,
"z": 8000 "z": 8000
} }
} }
} }
}
``` ```
To see all the different things you can put into a config file check out the [Star System Schema](/schemas/star-system-schema). To see all the different things you can put into a config file check out the [Star System Schema](/schemas/star-system-schema).

View File

@ -30,7 +30,7 @@ Once in VSCode, paste this code into the file:
```json title="wetrock.json" ```json title="wetrock.json"
{ {
"name": "Wetrock", "name": "Wetrock",
"$schema": "https://raw.githubusercontent.com/xen-42/outer-wilds-new-horizons/main/NewHorizons/Schemas/body_schema.json", "$schema": "https://raw.githubusercontent.com/Outer-Wilds-New-Horizons/new-horizons/main/NewHorizons/Schemas/body_schema.json",
"starSystem": "SolarSystem", "starSystem": "SolarSystem",
"Base": { "Base": {
"groundSize": 100, "groundSize": 100,