Skip to content

Commit

Permalink
Merge pull request #30 from Outer-Wilds-New-Horizons/dev
Browse files Browse the repository at this point in the history
- Particle fields examples
- Quantum examples
  • Loading branch information
JohnCorby authored Sep 8, 2023
2 parents 95e4930 + e4e5b9b commit 0c31743
Show file tree
Hide file tree
Showing 68 changed files with 346 additions and 78 deletions.
2 changes: 1 addition & 1 deletion addon-manifest.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema" : "https://raw.githubusercontent.com/xen-42/outer-wilds-new-horizons/main/NewHorizons/Schemas/addon_manifest_schema.json",
"$schema" : "https://raw.githubusercontent.com/Outer-Wilds-New-Horizons/new-horizons/main/NewHorizons/Schemas/addon_manifest_schema.json",
"achievements" : [
{
"ID" : "EXAMPLES_SIGNAL",
Expand Down
5 changes: 3 additions & 2 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"author": "xen",
"name": "New Horizons Examples",
"uniqueName": "xen.NewHorizonsExamples",
"version": "0.19.0",
"version": "0.20.0",
"owmlVersion": "2.5.2",
"dependencies": [ "xen.NewHorizons" ]
"dependencies": [ "xen.NewHorizons" ],
"pathsToPreserve": [ ".git", ".github", ".gitignore", "README.md", "LICENSE" ]
}
2 changes: 1 addition & 1 deletion planets/BrambleDimensions/deepDimension.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$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",

"name": "DeepDimension",
"canShowOnTitle": false,
Expand Down
2 changes: 1 addition & 1 deletion planets/BrambleDimensions/entranceDimension.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$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",

"name": "EntranceDimension",
"canShowOnTitle": false,
Expand Down
2 changes: 1 addition & 1 deletion planets/DevilsMaw.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$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",
"name" : "Devil's Maw",
"Base" :
{
Expand Down
2 changes: 1 addition & 1 deletion planets/Dialogue/Ernesto.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<DialogueTree xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/xen-42/outer-wilds-new-horizons/main/NewHorizons/Schemas/dialogue_schema.xsd">
<DialogueTree xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/Outer-Wilds-New-Horizons/new-horizons/main/NewHorizons/Schemas/dialogue_schema.xsd">
<NameField>Ernesto</NameField>

<DialogueNode>
Expand Down
2 changes: 1 addition & 1 deletion planets/Dialogue/ErnestoEye.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<DialogueTree xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/xen-42/outer-wilds-new-horizons/main/NewHorizons/Schemas/dialogue_schema.xsd">
<DialogueTree xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/Outer-Wilds-New-Horizons/new-horizons/main/NewHorizons/Schemas/dialogue_schema.xsd">
<NameField>Ernesto</NameField>

<DialogueNode>
Expand Down
2 changes: 1 addition & 1 deletion planets/Dialogue/ErnestosCousin.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<DialogueTree xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/xen-42/outer-wilds-new-horizons/main/NewHorizons/Schemas/dialogue_schema.xsd">
<DialogueTree xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/Outer-Wilds-New-Horizons/new-horizons/main/NewHorizons/Schemas/dialogue_schema.xsd">
<NameField>dead fish</NameField>

<DialogueNode>
Expand Down
2 changes: 1 addition & 1 deletion planets/Dialogue/FredsCousin.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<DialogueTree xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/xen-42/outer-wilds-new-horizons/main/NewHorizons/Schemas/dialogue_schema.xsd">
<DialogueTree xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/Outer-Wilds-New-Horizons/new-horizons/main/NewHorizons/Schemas/dialogue_schema.xsd">
<NameField>Fred's Cousin</NameField>

<DialogueNode>
Expand Down
2 changes: 1 addition & 1 deletion planets/Dialogue/Ghostbird.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<DialogueTree xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/xen-42/outer-wilds-new-horizons/main/NewHorizons/Schemas/dialogue_schema.xsd">
<DialogueTree xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/Outer-Wilds-New-Horizons/new-horizons/main/NewHorizons/Schemas/dialogue_schema.xsd">
<NameField>Bob</NameField>

<DialogueNode>
Expand Down
2 changes: 1 addition & 1 deletion planets/Dialogue/Nomai.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<DialogueTree xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/xen-42/outer-wilds-new-horizons/main/NewHorizons/Schemas/dialogue_schema.xsd">
<DialogueTree xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/Outer-Wilds-New-Horizons/new-horizons/main/NewHorizons/Schemas/dialogue_schema.xsd">
<NameField>Fred</NameField>

<DialogueNode>
Expand Down
2 changes: 1 addition & 1 deletion planets/Dialogue/Shale.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<DialogueTree xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/xen-42/outer-wilds-new-horizons/main/NewHorizons/Schemas/dialogue_schema.xsd">
<DialogueTree xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/Outer-Wilds-New-Horizons/new-horizons/main/NewHorizons/Schemas/dialogue_schema.xsd">
<NameField>Slate's Cousin</NameField>

<DialogueNode>
Expand Down
2 changes: 1 addition & 1 deletion planets/ExistingPlanets/HourglassTwins/ashtwin.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$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",
"name" : "Ash Twin",
"removeChildren" : ["SandSphere_Draining"],
"Base" :
Expand Down
2 changes: 1 addition & 1 deletion planets/ExistingPlanets/HourglassTwins/cavetwin.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$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",
"name" : "Ember Twin",
"removeChildren" : ["SandSphere_Rising"],
"Base" :
Expand Down
2 changes: 1 addition & 1 deletion planets/ExistingPlanets/HourglassTwins/sandfunnel.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$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",
"name" : "SandFunnel",
"destroy": true
}
2 changes: 1 addition & 1 deletion planets/ExistingPlanets/attlerock.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$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",
"name" : "Attlerock",
"Lava" :
{
Expand Down
2 changes: 1 addition & 1 deletion planets/ExistingPlanets/brittle_hollow.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$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",
"name" : "BrittleHollow",
"Cloak": {
"radius": 2500
Expand Down
2 changes: 1 addition & 1 deletion planets/ExistingPlanets/eye_of_the_universe.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$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",
"name" : "Eye Of The Universe",
"starSystem" : "EyeOfTheUniverse"
}
2 changes: 1 addition & 1 deletion planets/ExistingPlanets/giants_deep.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$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",
"name" : "Giants Deep",
"Orbit" :
{
Expand Down
2 changes: 1 addition & 1 deletion planets/ExistingPlanets/quantum_moon.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$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",
"name" : "Quantum Moon",
"ShipLog" : {
"mapMode" : {
Expand Down
2 changes: 1 addition & 1 deletion planets/ExistingPlanets/ring_world.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$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",
"name" : "Ring World",
"ShipLog" : {
"mapMode" : {
Expand Down
89 changes: 88 additions & 1 deletion planets/ExistingPlanets/timber_hearth.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$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",
"name" : "Timber Hearth",
"Orbit": {
"primaryBody": "Giants Deep",
Expand All @@ -14,6 +14,37 @@
},
"Props" :
{
"quantumGroups": [
{
"id": "socketsGroupExample",
"type": "sockets",
"sockets": [
{
"position": {"x": 22.85241, "y": -44.60034, "z": 184.1749},
"rotation": {"x": 24.33897, "y": 270.6493, "z": 255.3102}
},
{
"position": {"x": 18.48812, "y": -49.57165, "z": 183.391},
"rotation": {"x": 286.4675, "y": 30.04419, "z": 156.3873}
},
{
"position": {"x": 15.23117, "y": -43.92106, "z": 185.1216},
"rotation": {"x": 32.38852, "y": 103.5428, "z": 105.9536}
}
]
},
{
"id": "statesGroupExample",
"type": "states",
"loop": true
},
{
"id": "sequentialStateExample",
"type": "states",
"loop": false,
"sequential": true
}
],
"singularities" :
[
{
Expand All @@ -37,6 +68,62 @@
],
"details" :
[
{
"path" : "DreamWorld_Body/Sector_DreamWorld/Sector_DreamZone_2/Ghosts_DreamZone_2/GhostNodeMap_HornetHouse/Prefab_IP_GhostBird_Hornet/Ghostbird_IP_ANIM",
"quantumGroupID": "socketsGroupExample"
},
{
"path": "TimberHearth_Body/Sector_TH/Sector_Village/Sector_Observatory/Interactables_Observatory/VisibleFrom_Village/QuantumShard_Exhibit/QuantumShard_Root/Rock_TH_Observatory_QRock",
"quantumGroupID": "statesGroupExample",
"position": {"x": 26.321, "y": -47.6301, "z": 184.1755},
"rotation": {"x": 16.0248, "y": 1.5196, "z": 265.5753}
},
{
"path": "TimberHearth_Body/Sector_TH/Sector_QuantumGrove/Interactables_QuantumGrove/QuantumShard/Rock_TH_Grove_QRock",
"quantumGroupID": "statesGroupExample",
"position": {"x": 26.321, "y": -47.6301, "z": 182.9635},
"rotation": {"x": 305.0612, "y": 299.5856, "z": 244.3752}
},
{
"path": "CaveTwin_Body/Sector_CaveTwin/Sector_NorthHemisphere/Sector_NorthUnderground/Interactables_NorthUnderground/QuantumEntanglementRock/Rocks_HCT_QuantumEntanglement_v2",
"quantumGroupID": "statesGroupExample",
"position": {"x": 27.4776, "y": -46.9521, "z": 182.8351},
"rotation": {"x": 73.4483, "y": 165.6926, "z": 176.565}
},

{
"path": "TimberHearth_Body/Sector_TH/Sector_QuantumGrove/Interactables_QuantumGrove/QuantumSaplings/QuantumSapling_Root/Prefab_TH_Sapling",
"quantumGroupID": "sequentialStateExample",
"position": {"x": 22.1975, "y": -48.3298, "z": 183.3109},
"rotation": {"x": 285.8842, "y": 341.9059, "z": 204.0626},
"scale": 0.5
},
{
"path": "TimberHearth_Body/Sector_TH/Sector_QuantumGrove/Interactables_QuantumGrove/QuantumSaplings/QuantumSapling_Root/Prefab_TH_Sapling",
"quantumGroupID": "sequentialStateExample",
"position": {"x": 22.1975, "y": -48.3298, "z": 183.3109},
"rotation": {"x": 285.8842, "y": 341.9059, "z": 204.0626},
"scale": 0.5
},
{
"path": "TimberHearth_Body/Sector_TH/Sector_QuantumGrove/Interactables_QuantumGrove/QuantumSaplings/QuantumSapling_Root/Prefab_TH_Sapling",
"quantumGroupID": "sequentialStateExample",
"position": {"x": 22.1975, "y": -48.3298, "z": 183.3109},
"rotation": {"x": 285.8842, "y": 341.9059, "z": 204.0626}
},
{
"path": "TimberHearth_Body/Sector_TH/Sector_QuantumGrove/Interactables_QuantumGrove/QuantumSequoias/QuantumTree_Root/Prefab_TH_Redwood",
"quantumGroupID": "sequentialStateExample",
"position": {"x": 22.1975, "y": -48.3298, "z": 183.3109},
"rotation": {"x": 285.8842, "y": 341.9059, "z": 204.0626}
},
{
"path": "TimberHearth_Body/Sector_TH/Sector_Village/Sector_Observatory/Interactables_Observatory/VisibleFrom_Village/QuantumShard_Exhibit/Tree_TH_Stump",
"quantumGroupID": "sequentialStateExample",
"position": {"x": 22.1975, "y": -48.3298, "z": 183.3109},
"rotation": {"x": 285.8842, "y": 341.9059, "z": 204.0626},
"scale": 0.5
},
{
"rename": "VisionTorch",
"path": "DreamWorld_Body/Sector_DreamWorld/Sector_Underground/Sector_PrisonCell/Interactibles_PrisonCell/PrisonerSequence/VisionTorchWallSocket/Prefab_IP_VisionTorchItem",
Expand Down
2 changes: 1 addition & 1 deletion planets/ExistingPlanets/vessel.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$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",
"name" : "Vessel",
"starSystem" : "EyeOfTheUniverse",
"Props": {
Expand Down
24 changes: 22 additions & 2 deletions planets/LavaTwins/lava 1.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$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",
"name" : "Lava 1",
"Base" :
{
Expand Down Expand Up @@ -98,5 +98,25 @@
"maxLaunchSpeed" : 32
}
]
}
},
"ParticleFields": [
{
"type": "embers",
"densityByHeightCurve": [
{
"density": 50,
"height": 0
},
{
"density": 50,
"height": 80
},
{
"density": 0,
"height": 150
}
],
"rename": "Effects_LT1_Embers"
}
]
}
24 changes: 22 additions & 2 deletions planets/LavaTwins/lava 2.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$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",
"name" : "Lava 2",
"Base" :
{
Expand Down Expand Up @@ -57,5 +57,25 @@
"y": 3
}
}
}
},
"ParticleFields": [
{
"type": "embers",
"densityByHeightCurve": [
{
"density": 50,
"height": 0
},
{
"density": 50,
"height": 50
},
{
"density": 0,
"height": 150
}
],
"rename": "Effects_LT2_Embers"
}
]
}
2 changes: 1 addition & 1 deletion planets/LavaTwins/lava focalpoint.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$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",
"name" : "Lava Twins",
"Base" :
{
Expand Down
2 changes: 1 addition & 1 deletion planets/LureTwins/focalpoint.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name" : "Lures",
"$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",
"Base" :
{
"hasMapMarker" : true
Expand Down
28 changes: 26 additions & 2 deletions planets/LureTwins/luna_angler.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name" : "Luna Lure",
"$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",
"Base" :
{
"surfaceGravity" : 4,
Expand Down Expand Up @@ -114,5 +114,29 @@
"y": 3
}
}
}
},
"ParticleFields": [
{
"type": "leaves",
"densityByHeightCurve": [
{
"density": 0,
"height": 0
},
{
"density": 5,
"height": 18
},
{
"density": 5,
"height": 30
},
{
"density": 0,
"height": 50
}
],
"rename": "Effects_LA_Leaves"
}
]
}
Loading

0 comments on commit 0c31743

Please sign in to comment.