5639 Commits

Author SHA1 Message Date
Noah Pilarski
4c552db703 make background module 2025-02-15 01:00:46 -05:00
JohnCorby
3a490cee89 use FindAll 2025-02-14 21:28:13 -08:00
JohnCorby
c5ae20d22b Revert "test both remove children methods"
This reverts commit 0fa7cfe2c528bbf9cb3bd598395c04d4dd3df39f.
2025-02-14 21:26:51 -08:00
Noah Pilarski
840ae1c09f check if there are any NH planets 2025-02-15 00:24:24 -05:00
JohnCorby
165f94d1cd i made an oopsie 2025-02-14 21:20:05 -08:00
JohnCorby
0fa7cfe2c5 test both remove children methods 2025-02-14 21:15:53 -08:00
Noah Pilarski
be6410c600 fix formatting 2025-02-15 00:14:48 -05:00
Noah Pilarski
8a50834c28 make it a property 2025-02-15 00:14:34 -05:00
Noah Pilarski
2de2b0a4f7 curse vs 2025-02-15 00:04:32 -05:00
Noah Pilarski
358ea7ce35 Remove testing logs 2025-02-15 00:03:55 -05:00
Noah Pilarski
323bf6549e add builders, randomization, and sharing 2025-02-15 00:02:08 -05:00
Noah Pilarski
a2639993fa Reset color 2025-02-14 23:58:33 -05:00
xen-42
698e35733a
Improve credit volumes (#837)
## Minor features
- Reworked game over screens. Can now either use credits volumes as
before, or set `gameOver` in the addon manifest where you can define a
dialogue condition which will then trigger a game over sequence the next
time you die (displaying a message and/or triggering the credits). Fixes
#832
- Allowed game over to trigger flashback without resetting to menu
(credits type `none`).
- Allowed game over to fade to black instead of causing death (leave
death type field empty)
- Allowed game over to set credits volume text colour.
2025-02-14 23:14:14 -05:00
xen-42
d770cc6bd3 Add some light to asteroids why not 2025-02-14 23:13:34 -05:00
xen-42
65fd7abba7 Fix bad merges 2025-02-14 22:48:55 -05:00
xen-42
b4e02146e6 Merge branch 'dev' into better-proc-gen 2025-02-14 22:45:27 -05:00
Ben C
8f9440bf1a Updated Schemas 2025-02-15 03:38:18 +00:00
xen-42
73d84898c1 Merge branch 'improve-credit-volumes' of https://github.com/Outer-Wilds-New-Horizons/new-horizons into improve-credit-volumes 2025-02-14 22:32:53 -05:00
xen-42
929b463c47 Add support to addon manifest 2025-02-14 22:32:52 -05:00
Ben C
d957540fbd Updated Schemas 2025-02-15 02:54:28 +00:00
xen-42
37c43d0104 Merge branch 'improve-credit-volumes' of https://github.com/Outer-Wilds-New-Horizons/new-horizons into improve-credit-volumes 2025-02-14 21:51:47 -05:00
xen-42
0dfc2381a3 Move game over stuff to its own module, add condition 2025-02-14 21:51:37 -05:00
Ben C
7567ec7a4d Updated Schemas 2025-02-15 02:27:17 +00:00
xen-42
392fc404f4 Fix no audio and eye closing effect 2025-02-14 21:25:10 -05:00
Noah Pilarski
09ffa4b2bc Add comments and start on handlers 2025-02-14 21:18:01 -05:00
xen-42
1b1bf47266 Merge branch 'dev' into improve-credit-volumes 2025-02-14 20:20:07 -05:00
xen-42
a55a7d451e
Reorganize a bit and add more docs (#1043)
Improved dialogue documentation by writing some more guides (Fixes #833)

I checked through the dialogue and nomai text schemas and I don't see
anything missing when compared to base game code.
2025-02-14 20:16:34 -05:00
xen-42
d27f075b81 Add the special name fields to FAQ 2025-02-14 20:05:35 -05:00
xen-42
1d0c1662ab Explain condition 2025-02-14 19:58:44 -05:00
xen-42
52cf65a189 Add other schema 2025-02-14 19:43:55 -05:00
xen-42
1010229f59 Add a short nomai text guide 2025-02-14 19:42:22 -05:00
JohnCorby
2543d8b94d SearchUtilities.FindAll 2025-02-14 16:27:47 -08:00
JohnCorby
23562015b6 Merge branch 'dev' into profiler 2025-02-14 15:52:53 -08:00
xen-42
0cf0999f7b Mention caches 2025-02-14 18:26:12 -05:00
xen-42
3f3d6ce998 Reorganize a bit and add more docs 2025-02-14 18:22:02 -05:00
Ben C
a980eef1d3 Updated Schemas 2025-02-14 22:53:38 +00:00
Noah Pilarski
73c42161c1 Merge branch 'dev' into title-screen-config 2025-02-14 17:51:20 -05:00
xen-42
841ee0a5df Just check player state 2025-02-14 17:43:02 -05:00
xen-42
d12ef2ac97
Slide reel streaming (#1040)
## Minor features
- Can set `displaySlides` on a slide reel now to define which slide
indices should be displayed on the physical reel model. Fixes #888.

## Improvements

- Slide reels are now streamed (Fixes #898). Other projectors (auto,
torch) are not streamed yet.
- Empty slide reel slots are now transparent on the slide reel model.
Requires existing slide reel caches to be cleared.

## Bug fixes

- Fixed a 3 frame hitch when changing tools


So the strategy is:
If the cache does not exist, do nothing different. It will take like 5
minutes and all your memory but that doesn't matter that's on the dev to
make sure that they pre-gen the caches (the sequential pre-caching
option should stop you running out of memory when making the cache
probably). Users won't experience any of that

Then we just do not ever load the inverted cached images when loading
slides from the cache. Only do it right as the player is about to see a
slide, by patching any base game method that tries to get a streamed
slide. We currently do not change how auto-projectors and vision torches
work.

TODO:
- [x] Track who is requesting to load what image so that an unsocketed
slide reel doesnt unload all slides
- [x] Investigate why load times are longer
- [x] Make loading the images async (on an SSD doing it sync is
unnoticeable but might be on older hardware)
- [x] I need somebody to test this on an HDD and see that the slide
reels are actually loading async without hitching
- [x] When slotting slide reels in on EOTP you get a ~3 frame drop. Does
not affect NH Examples (smaller images). Need to figure out why (since
this is meant to be async it shouldnt matter the image size)

In EOTP I save 6 seconds of load time and 3.5gb of memory (6.5gb vs
10gb)
2025-02-14 13:22:19 -05:00
Ben C
ff445e0cb5 Updated Schemas 2025-02-14 09:33:59 +00:00
Will Corby
bd125c0182
Update PlanetConfig.cs 2025-02-14 01:31:46 -08:00
JohnCorby
bd32be3cc7 Merge remote-tracking branch 'origin/profiler' into profiler 2025-02-13 22:36:55 -08:00
JohnCorby
a51e87f002 manual sample markers for streaming 2025-02-13 22:34:47 -08:00
JohnCorby
ed011f1732 use SpriteMeshType.FullRect for all sprites cuz that makes it faster apparently 2025-02-13 21:49:37 -08:00
Ben C
c9d6335a6b Updated Schemas 2025-02-14 05:35:02 +00:00
JohnCorby
b8d7af90f1 field to not check for existing body 2025-02-13 21:31:03 -08:00
JohnCorby
5beb803835 Revert "revert load prefab cache cuz i think it already happens"
This reverts commit d0a61ba88d7077fb6b9427fb04e0a1f1b8a21aa9.
2025-02-13 21:24:25 -08:00
JohnCorby
ece07be2d6 oops 2025-02-13 20:32:21 -08:00
JohnCorby
89a58c2a93 Merge branch 'slide-reel-streaming' into profiler 2025-02-13 19:59:10 -08:00
JohnCorby
d1ceaaaf71 cache ship cockpit controller 2025-02-13 19:57:12 -08:00