2847 Commits

Author SHA1 Message Date
Nick
6ecdc3d7a1 Rearrange and clean up patches 2023-03-18 13:30:22 -04:00
Nick
ffb8dc7ee5 Use else if on FixSectoredComponent 2023-03-04 21:47:37 -05:00
Nick
da470691ed Don't use delay, implement fixer components 2023-03-04 21:44:53 -05:00
Nick
20532b83ac Deprecate NomaiTextBuilder class 2023-03-04 18:04:54 -05:00
Nick
8481dd8021 Bug 533 - don't show lantern electricity effect 2023-03-04 17:50:49 -05:00
Nick
5fc8c842b3
Fix ambient light cubemap (#535)
It was unintentionally flipped before.
2023-03-04 17:27:34 -05:00
Nick
ae7ddb9ac9
Vr camera fix (#534)
## Bug fixes
- Should fix some compatibility issues with NomaiVR

(Also fixes new proc gen Nomai text showing on held scrolls - don't need
that in the patch notes tho)
2023-03-04 17:26:09 -05:00
Nick
c5611ffa2d Take first curve value for title screen water/lava/sand 2023-03-04 17:25:43 -05:00
Nick
809b510508 Made a method for adding to _generatedTextures list 2023-03-04 17:06:30 -05:00
JohnCorby
7eb611f947 oops 2023-03-03 20:43:18 -08:00
JohnCorby
b263e16624 add to generated textures 2023-03-03 19:27:48 -08:00
JohnCorby
837586408e make copy of cubemap 2023-03-03 19:15:45 -08:00
TerrificTrifid
f4f85ea9d5 Fix ambient light cubemap 2023-03-03 20:18:41 -06:00
Nick
0448ce8e93 Fixes scroll text showing in hand 2023-03-03 20:42:21 -05:00
Nick
99868b94a8 Fix locator by waiting 2023-03-03 19:49:15 -05:00
Nick
575b54a168 Merge branch 'dev' into vr-camera-fix 2023-03-03 19:26:25 -05:00
Nick
7db864cf6f Fix getting camera to work with VR 2023-03-03 18:55:36 -05:00
Noah Pilarski
e8039f41d1 Nevermind ignore the voices
This reverts commit ea273e42a73b9c55781cc9b260daadbb97888bf9.
This reverts commit 280f0a6e529050cb8ba459090d48b6eb968659dd.
2023-03-01 19:25:18 -05:00
Ben C
280f0a6e52 Updated Schemas 2023-03-02 00:24:06 +00:00
Noah Pilarski
ea273e42a7
um ackchyually 2023-03-01 19:21:04 -05:00
Ben C
598083ffeb Updated Schemas 2023-03-01 23:09:03 +00:00
TerrificTrifid
2e4d0f7e34 Update VolumesModule.cs 2023-03-01 17:06:04 -06:00
Ben C
216ca5a74f Updated Schemas 2023-02-26 04:08:26 +00:00
JohnCorby
4b77937000 fix pos 2023-02-25 20:06:23 -08:00
JohnCorby
2a750efe11 doc 2023-02-25 20:05:36 -08:00
JohnCorby
5708e81178 do color correctly 2023-02-25 20:00:00 -08:00
TerrificTrifid
cdf2601236 Better color 2023-02-25 19:48:37 -06:00
TerrificTrifid
5205fa27b3 Replace with readable texture 2023-02-25 19:20:15 -06:00
TerrificTrifid
0a2e4a096b Fix supernova effect 2023-02-25 18:42:47 -06:00
TerrificTrifid
d482ff60ea Update SupernovaEffectBuilder.cs 2023-02-25 17:47:50 -06:00
Ben C
d27908b51e Updated Schemas 2023-02-25 23:08:43 +00:00
TerrificTrifid
441618e8c3 Implement settings 2023-02-25 17:06:07 -06:00
TerrificTrifid
6442f6bb22 Creation handler 2023-02-23 23:30:53 -06:00
TerrificTrifid
5b9809f041 Obsolete and tweak supernova effects 2023-02-23 23:17:55 -06:00
TerrificTrifid
d6eb69b551 Setup AmbientLightModule 2023-02-23 22:56:23 -06:00
Will Corby
c33150823d
Fix fog fading occurring for bramble seeds (#526)
Instead of always patching false, use the ratio between exit radius and
warp radius to determine if it's a seed.
2023-02-23 14:49:30 -08:00
JohnCorby
ce31656ab2 rip jerry 2023-02-22 20:58:05 -08:00
JohnCorby
513590aee5 delete debug menu 2023-02-22 18:45:04 -08:00
JohnCorby
451f70fe75 ignore obsolete guy and migrate debug menu to new nomai text thing 2023-02-22 17:01:52 -08:00
FreezeDriedMangoes
24f11a7764 removed unneeeded warning 2023-02-22 19:32:56 -05:00
TerrificTrifid
1f077c8743 Update manifest.json 2023-02-22 13:43:27 -06:00
TerrificTrifid
12e6fc56ee Fix fog fading occurring for bramble seeds 2023-02-22 13:08:09 -06:00
FreezeDriedMangos
68c8972b66
don't write unmodified caches (#525)
<!-- A new module or something else important -->
## Major features
-

<!-- A new parameter added to a module, or API feature -->
## Minor features
- 

<!-- Some improvement that requires no action on the part of add-on
creators i.e., improved star graphics -->
## Improvements
- don't write unchanged caches

<!-- Be sure to reference the existing issue if it exists -->
## Bug fixes
-
2023-02-21 21:44:38 -05:00
Will Corby
750d1510af
Fix map mode sunlight and sunlight on water (#523) 2023-02-21 18:43:38 -08:00
FreezeDriedMangoes
ae42d5f651 Merge branch 'dev' into no-empty-cache-saving 2023-02-21 21:41:41 -05:00
FreezeDriedMangoes
c068a64b57 don't write unmodified caches 2023-02-21 21:39:35 -05:00
JohnCorby
b53c2bd3cf this is not worth a warning because it's an expected state 2023-02-21 18:36:22 -08:00
FreezeDriedMangoes
3dcc3609d1 no writing empty caches 2023-02-21 21:29:56 -05:00
TerrificTrifid
4d5404bc6d Fix map mode sunlight and water sunlight 2023-02-21 19:07:24 -06:00
FreezeDriedMangos
b325f87f5f
Auto spiral placement 2 electric boogaloo (#519)
<!-- A new module or something else important -->
## Major features
- NOTE: "nomaiText" has been deprecated in order to preserve the legacy
nomai text generation. Please use "translatorText" in the future, it is
exactly the same except it lets you use the new automatic spiral
placement, caching, and so on
- Caching! 
   - Lots to say about this, both for nh devs and addon devs
   - Addon Devs:
- This feature introduces new .nhcache files, which New Horizons will
generate automatically. One nhcache file will be generated per planet
- Make sure to include these files when releasing your addon. This will
allow your players to have fast loading times on their first loop. If
you forget to include them, no worries, their first loop will be slow to
load but every following loop will be fast.
- ~~WARNING: before releasing, delete all your cache files and
regenerate them by opening the game~~
- ~~the reason for this is that as you develop, your caches will get
filled up with old data. Deleting them and letting them regenerate keeps
your release light~~
- Cache files automatically clear unused entries, so there's no need for
you to manage them, they should stay minimal on their own
   - NH Devs:
- Checkout the Cache property on NewHorizonBody. Use it how you want,
whether that's storing procedurally generated meshes or the private key
you brute forced using a botnet you embedded in new horizons.
- Actually scratch that second usecase. Caching doesn't support illegal
activity
- For an example of an actual use of caching, check out
NomaiTextBuilder.MakeArc()
      - Also read the section for Addon Devs if you haven't
   - How does auto spirals use the cache?
- When building a wall text, the cache is checked to see if it has been
built before, and if so, is loaded from there
- Whenever a NomaiTextArcInfo in the json is changed, the corresponding
wall text generates a new entry in the cache
- Also, whenever an xml file used by a wall text is changed, that wall
text will generate a new entry in the cache
- These old entries do accumulate during development of an addon, so
please make sure to check the note above for addon devs for how to deal
with that
- New Horizon's Nomai text arcs are now procedurally generated 
- Automatic Nomai text arc placement! 
- Nomai wall text is now automatically arranged to fit on a whiteboard,
no need to place text manually anymore!
   - Manual placement is still supported if you want it
- If you want to specify certain arcs to be written by children (or
strangers) instead of adults without requiring manual placement, use the
"keepAutoPlacement" property of ArcInfo
- I hope this feature makes wall text less intimidating to include in
addons, I know it'll save me literal hours
- Despite being listed last here, this is the actual main feature of
this PR


<!-- A new parameter added to a module, or API feature -->
## Minor features
-

<!-- Some improvement that requires no action on the part of add-on
creators i.e., improved star graphics -->
## Improvements
- Everything technically goes here too, except maybe caching. Auto
spiral placement is automatic unless overriden by specifying arcInfo
(without using the "keepAutoPlacement" property)

<!-- Be sure to reference the existing issue if it exists -->
## Bug fixes
-
2023-02-21 18:11:37 -05:00