Skip to content

Commit 4c5a079

Browse files
committed
Added easier alternate solution to find Chime
1 parent b2c3fc6 commit 4c5a079

13 files changed

Lines changed: 263 additions & 58 deletions

Scripts/ModTemplate/SolarSystemSceneHandler.cs

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
using System.Diagnostics;
1111
using NewHorizons.Utility.OWML;
1212
using System.Collections;
13+
using HarmonyLib;
14+
using System.Linq;
1315

1416
namespace AstralCodex
1517
{
@@ -200,6 +202,7 @@ void OnStarSystemLoaded(string system)
200202
ConfigureProbeConversationStone();
201203
AdjustTractorBeamStrength();
202204
ConfigureMapSatellitePot();
205+
AddGiantsDeepProjectionText();
203206

204207
//Chime configuration
205208
ConfigureChime();
@@ -460,10 +463,46 @@ void ConfigureMapSatellitePot()
460463

461464
//Add collider
462465
mapSatellitePot.AddComponent<CapsuleCollider>();
466+
467+
//Scale campfire prop
468+
mapSatellitePot.transform.Find("MapSatelliteCampfire/Props_HEA_Campfire").localScale = Vector3.one * 0.375f;
463469
}
464470
else
465471
Main.modHelper.Console.WriteLine("FAILED TO FIND MAP SATELLITE POT", MessageType.Error);
466472
}
473+
474+
void AddGiantsDeepProjectionText()
475+
{
476+
Main.modHelper.Console.WriteLine("ADDING GIANTS DEEP PROJECTION TEXT");
477+
478+
GameObject projectionWhiteboardGO = SearchUtilities.Find("GiantsDeep_Body/Sector_GD/Sector_GDInterior/Sector_GDCore/Sector_Module_Sunken/Interactables_Module_Sunken/Prefab_NOM_Whiteboard_Shared");
479+
if (projectionWhiteboardGO != null)
480+
{
481+
NomaiSharedWhiteboard projectionWhiteboard = projectionWhiteboardGO.GetComponent<NomaiSharedWhiteboard>();
482+
483+
GameObject projectionTextGO = SearchUtilities.Find("GiantsDeepProjectionText");
484+
if (projectionTextGO != null)
485+
{
486+
NomaiWallText projectionText = projectionTextGO.GetComponent<NomaiWallText>();
487+
488+
NomaiWallText[] nomaiTexts = new NomaiWallText[projectionWhiteboard._nomaiTexts.Length + 1];
489+
projectionWhiteboard._nomaiTexts.CopyTo(nomaiTexts, 0);
490+
nomaiTexts[nomaiTexts.Length - 1] = projectionText;
491+
projectionWhiteboard._nomaiTexts = nomaiTexts;
492+
493+
NomaiRemoteCameraPlatform.ID[] remoteIDs = new NomaiRemoteCameraPlatform.ID[projectionWhiteboard._remoteIDs.Length + 1];
494+
projectionWhiteboard._remoteIDs.CopyTo(remoteIDs, 0);
495+
remoteIDs[remoteIDs.Length - 1] = NewHorizons.Handlers.RemoteHandler.GetPlatformID("Secondary Probe");
496+
projectionWhiteboard._remoteIDs = remoteIDs;
497+
498+
projectionText.InitializeAsWhiteboardText();
499+
}
500+
else
501+
Main.modHelper.Console.WriteLine("FAILED TO FIND SUNKEN MODULE PROJECTION TEXT", MessageType.Error);
502+
}
503+
else
504+
Main.modHelper.Console.WriteLine("FAILED TO FIND SUNKEN MODULE PROJECTION WHITEBOARD", MessageType.Error);
505+
}
467506
#endregion
468507

469508
#region Chime Configuration

Walker.AstralCodex/AstralCodex.dll

1.5 KB
Binary file not shown.

Walker.AstralCodex/AstralCodex.pdb

368 Bytes
Binary file not shown.

Walker.AstralCodex/addon-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"Samster68#Playtester",
1818
"Toby Wright#Playtester",
1919
"pikpik#Playtester",
20-
"Quantum Luna#Playtester",
20+
"CelestialStorm#Playtester",
2121
"GameWyrm#Playtester",
2222
"InspectorJ (Freesound.com)#Sound Effects",
2323
"Hedgehog Team (Unity Asset Store)#Ghost Matter Skybox",

Walker.AstralCodex/planets/GiantsDeep_Body.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
}
2727
}
2828
],
29-
"nomaiText": [
29+
"translatorText": [
3030
{
3131
"normal": {
3232
"x": -0.6433741,
@@ -46,6 +46,12 @@
4646
"type": "computer",
4747
"location": "unspecified",
4848
"xmlFile": "planets/text/giants_computer.xml"
49+
},
50+
{
51+
"parentPath": "Sector_GD/Sector_GDInterior/Sector_GDCore/Sector_Module_Sunken/Interactables_Module_Sunken/Prefab_NOM_Whiteboard_Shared/ArcSocket",
52+
"isRelativeToParent": true,
53+
"xmlFile": "planets/text/giants_projection.xml",
54+
"rename": "GiantsDeepProjectionText"
4955
}
5056
],
5157
"remotes": [

Walker.AstralCodex/planets/GiantsDeep_Body.nhcache

Lines changed: 3 additions & 0 deletions
Large diffs are not rendered by default.

Walker.AstralCodex/planets/MapSatellite_Body.json

Lines changed: 0 additions & 24 deletions
This file was deleted.

Walker.AstralCodex/planets/lingering_chime.json

Lines changed: 70 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -53,20 +53,6 @@
5353
"keepLoaded": true,
5454
"scale": 0.8
5555
},
56-
/*{
57-
"rename": "StationGhostMatter",
58-
"path": "GabbroIsland_Body/Sector_GabbroIsland/Interactables_GabbroIsland/DarkMatter_Submergible",
59-
"position": {
60-
"x": -11.4994841,
61-
"y": 1.0,
62-
"z": 0.000695943832
63-
},
64-
"rotation": {},
65-
"scale": 0.9,
66-
"removeChildren": [
67-
"DarkMatterVolume/ProbeVisuals"
68-
]
69-
},*/
7056
{
7157
"path": "Comet_Body/Sector_CO/Sector_CometInterior/Interactables_CometInterior/DarkMatter_KillVolumes/DarkMatterVolume (4)",
7258
"position": {
@@ -82,38 +68,80 @@
8268
},
8369
{
8470
"path": "Comet_Body/Sector_CO/Sector_CometInterior/Effects_CometInterior/Effects_GM_AuroraWisps (2)",
85-
"position": {"y": 10, "z": 36},
86-
"stretch": {"x": 1.75, "y": 1.1, "z": 1.1},
71+
"position": {
72+
"y": 10,
73+
"z": 36
74+
},
75+
"stretch": {
76+
"x": 1.75,
77+
"y": 1.1,
78+
"z": 1.1
79+
},
8780
"keepLoaded": true,
8881
"rename": "StationGhostMatterEffects"
8982
},
9083
{
9184
"path": "Comet_Body/Sector_CO/Sector_CometInterior/Effects_CometInterior/Effects_GM_AuroraWisps (2)",
92-
"position": {"y": -3.5, "z": 70},
85+
"position": {
86+
"y": -3.5,
87+
"z": 70
88+
},
9389
"rename": "GeodeGhostMatterEffects"
9490
},
9591
{
9692
"path": "GabbroIsland_Body/Sector_GabbroIsland/DetailPatches_GabbroIsland/Foliage_GabbroIsland/Props_Ghostmatter/Props_GM_Clutter (1)",
97-
"position": {"x": 0.1695, "y": 0.8547, "z": 31.7184},
98-
"rotation": {"x": 5.5689, "y": 4.0401, "z": 355.4895},
93+
"position": {
94+
"x": 0.1695,
95+
"y": 0.8547,
96+
"z": 31.7184
97+
},
98+
"rotation": {
99+
"x": 5.5689,
100+
"y": 4.0401,
101+
"z": 355.4895
102+
},
99103
"rename": "StationClutter1"
100104
},
101105
{
102106
"path": "GabbroIsland_Body/Sector_GabbroIsland/DetailPatches_GabbroIsland/Foliage_GabbroIsland/Props_Ghostmatter/Props_GM_Clutter (1)",
103-
"position": {"x": -0.6596, "y": 0.7347, "z": 37.1562},
104-
"rotation": {"x": 1.2307, "y": 36.5986, "z": 353.6952},
107+
"position": {
108+
"x": -0.6596,
109+
"y": 0.7347,
110+
"z": 37.1562
111+
},
112+
"rotation": {
113+
"x": 1.2307,
114+
"y": 36.5986,
115+
"z": 353.6952
116+
},
105117
"rename": "StationClutter2"
106118
},
107119
{
108120
"path": "GabbroIsland_Body/Sector_GabbroIsland/DetailPatches_GabbroIsland/Foliage_GabbroIsland/Props_Ghostmatter/Props_GM_Clutter (1)",
109-
"position": {"x": -3.5178, "y": 0.9057, "z": 32.9728},
110-
"rotation": {"x": 358.491, "y": 269.7259, "z": 352.7424},
121+
"position": {
122+
"x": -3.5178,
123+
"y": 0.9057,
124+
"z": 32.9728
125+
},
126+
"rotation": {
127+
"x": 358.491,
128+
"y": 269.7259,
129+
"z": 352.7424
130+
},
111131
"rename": "StationClutter3"
112132
},
113133
{
114134
"path": "GabbroIsland_Body/Sector_GabbroIsland/DetailPatches_GabbroIsland/Foliage_GabbroIsland/Props_Ghostmatter/Props_GM_Clutter (1)",
115-
"position": {"x": 0.0294, "y": 0.8784, "z": 41.7781},
116-
"rotation": {"x": 359.8041, "y": 236.8189, "z": 359.0835},
135+
"position": {
136+
"x": 0.0294,
137+
"y": 0.8784,
138+
"z": 41.7781
139+
},
140+
"rotation": {
141+
"x": 359.8041,
142+
"y": 236.8189,
143+
"z": 359.0835
144+
},
117145
"rename": "StationClutter4"
118146
},
119147
/*{
@@ -148,9 +176,17 @@
148176
{
149177
"rename": "ArchivedCampfire",
150178
"path": "TimberHearth_Body/Sector_TH/Sector_RadioTower/RadioTower_DLC/Interactibles_RadioTower/Hornfels'GrovePivot/Prefab_HEA_Campfire",
151-
"position": {"x": -1.3535, "y": -1.0075, "z": 43.8388},
152-
"rotation": {"x": 0, "y": 175.1932, "z": 180},
153-
"removeChildren": ["Effects/Effects_HEA_SmokeColumn"]
179+
"position": {
180+
"x": -1.3535,
181+
"y": -1.0075,
182+
"z": 43.8388
183+
},
184+
"rotation": {
185+
"x": 0,
186+
"y": 175.1932,
187+
"z": 180
188+
},
189+
"removeChildren": [ "Effects/Effects_HEA_SmokeColumn" ]
154190
},
155191
{
156192
"rename": "WhiteHoleWarpCore",
@@ -236,9 +272,13 @@
236272
"id": "Secondary Probe",
237273
"decalPath": "planets/assets/vision_symbol.png",
238274
"platform": {
239-
"position": {"x": -18, "y": 32, "z": 10},
275+
"position": {
276+
"x": -18,
277+
"y": 32,
278+
"z": 10
279+
},
240280
"rename": "StationVision",
241-
"reveals": "codex_projection_fact"
281+
"reveals": "codex_projection_projection_fact"
242282
}
243283
}
244284
],
Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
{
2+
"$schema": "https://raw.githubusercontent.com/xen-42/outer-wilds-new-horizons/main/NewHorizons/Schemas/body_schema.json",
3+
"name": "Map Satellite Campfire",
4+
"Base": {
5+
"surfaceGravity": 0
6+
},
7+
"Orbit": {
8+
"primaryBody": "Sun",
9+
"inclination": 90,
10+
"longitudeOfAscendingNode": -10,
11+
"semiMajorAxis": 26000,
12+
"trueAnomaly": -14.97,
13+
"axialTilt": -4,
14+
"siderealPeriod": 4,
15+
"initialRotation": 180,
16+
"showOrbitLine": false
17+
},
18+
"Props": {
19+
"details": [
20+
{
21+
"path": "TimberHearth_Body/Sector_TH/Sector_Village/Sector_LowerVillage/Characters_LowerVillage/Villager_HEA_Porphy/Props_HEA_SapwinePot",
22+
"rename": "MapSatellitePot",
23+
"position": {
24+
"x": 1.6873,
25+
"y": -1.2164,
26+
"z": 0
27+
},
28+
"rotation": {
29+
"x": 351.1373,
30+
"y": 0,
31+
"z": 336.278
32+
}
33+
},
34+
{
35+
"path": "TimberHearth_Body/Sector_TH/Sector_RadioTower/RadioTower_DLC/Interactibles_RadioTower/Hornfels'GrovePivot/Prefab_HEA_Campfire",
36+
"isRelativeToParent": true,
37+
"parentPath": "Sector/MapSatellitePot",
38+
"position": { "y": 0.6437 },
39+
"removeChildren": [ "Effects/Effects_HEA_SmokeColumn"],
40+
"rename": "MapSatelliteCampfire"
41+
},
42+
{
43+
"path": "BrittleHollow_Body/Sector_BH/Sector_NorthHemisphere/Sector_NorthPole/Sector_HangingCity/Sector_HangingCity_BlackHoleForge/BlackHoleForgePivot/Props_BlackHoleForge/Prefab_NOM_NomaiTree_Var_1",
44+
"position": { "z": -0.5 },
45+
"scale": 0.5
46+
},
47+
{
48+
"path": "Moon_Body/Sector_THM/Interactables_THM/Prefab_HEA_Recorder",
49+
"rename": "MapSatelliteCampfireRecorder",
50+
"position": {
51+
"x": 1.22,
52+
"y": 0.5855,
53+
"z": 1.1818
54+
},
55+
"rotation": {
56+
"x": 57.0051,
57+
"y": 81.109,
58+
"z": 0
59+
}
60+
}
61+
],
62+
"dialogue": [
63+
{
64+
"pathToAnimController": "Sector/MapSatelliteCampfireRecorder",
65+
"parentPath": "MapSatelliteCampfireRecorder",
66+
"isRelativeToParent": true,
67+
"xmlFile": "planets/text/map_recorder_gabbro.xml",
68+
"radius": 2
69+
}
70+
]
71+
},
72+
"ReferenceFrame": {
73+
"enabled": true,
74+
"hideInMap": true,
75+
"maxTargetDistance": 50,
76+
"targetWhenClose": true,
77+
"targetColliderRadius": 5,
78+
"bracketRadius": 5
79+
},
80+
"Atmosphere": {
81+
"hasOxygen": true,
82+
"hasTrees": true,
83+
"size": 4,
84+
"useAtmosphereShader": true,
85+
"atmosphereTint": {
86+
"r": 217,
87+
"g": 119,
88+
"b": 28,
89+
"a": 255
90+
},
91+
"atmosphereSunIntensity": 1,
92+
"hasShockLayer": false
93+
}
94+
}

Walker.AstralCodex/planets/ship_log/giants_log.xml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
<ID>codex_projection</ID>
55
<Name>Anomaly Recording</Name>
66

7-
<IgnoreMoreToExplore/>
87
<Curiosity>codex_astral_codex</Curiosity>
98

109
<RumorFact>
@@ -15,9 +14,19 @@
1514

1615
<ExploreFact>
1716
<ID>codex_projection_fact</ID>
18-
<Text>The Orbital Probe Cannon generated a projection stone linked to a secondary probe which impacted an unknown body matching partial criteria for the Eye of the Universe. I can see the planets orbiting clockwise in the distance.</Text>
17+
<Text>The Orbital Probe Cannon generated a projection stone linked to a secondary probe which impacted an unknown body matching partial criteria for the Eye of the Universe.</Text>
1918
</ExploreFact>
2019

20+
<ExploreFact>
21+
<ID>codex_projection_projection_fact</ID>
22+
<Text>When I used the projection stone, I saw a strange vortex below me. I could see the planets orbiting clockwise in the distance.</Text>
23+
</ExploreFact>
24+
25+
<ExploreFact>
26+
<ID>codex_projection_text_fact</ID>
27+
<Text>The anomaly is located 35 kilometers from the sun with an inclination of 270 degrees.</Text>
28+
</ExploreFact>
29+
2130
<Entry>
2231
<ID>codex_anomaly</ID>
2332
<Name>Anomalous Body</Name>

0 commit comments

Comments
 (0)