3806 Commits

Author SHA1 Message Date
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
Will Corby
a4949d0bc8
rip jerry (#528)
remove unused debug utils to stop the build warnings
2023-02-22 21:00:58 -08:00
JohnCorby
ce31656ab2 rip jerry 2023-02-22 20:58:05 -08:00
Will Corby
db29e22a1a
removed unneeeded warning (#527)
<!-- 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
- removed a warning that spammed when making an asteroid belt

<!-- Be sure to reference the existing issue if it exists -->
## Bug fixes
-
2023-02-22 18:59:45 -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
Will Corby
f2e24755f4
no writing empty caches (#524)
<!-- 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
- Empty caches are no longer written to disk

<!-- Be sure to reference the existing issue if it exists -->
## Bug fixes
-
2023-02-21 18:36:46 -08: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
Ben C
9da397cdff Updated Schemas 2023-02-21 22:27:20 +00:00
FreezeDriedMangoes
d080be35f3 removed uneeded comment 2023-02-21 17:24:44 -05:00
Will Corby
1b6e845bc0
Zero-G Props (#308) 2023-02-04 13:56:32 -08:00
FreezeDriedMangoes
8c1032e67a reintroduced legacy NomaiTextBuilder and put new code under the name (and module) of TranslatorTextBuilder 2023-02-04 14:47:58 -05:00
Ben C
82e654f312 Updated Schemas 2023-02-04 05:57:41 +00:00
JohnCorby
024bdf167d change default mass value 2023-02-03 21:55:01 -08:00
JohnCorby
4b87735d4f Merge remote-tracking branch 'origin/zero-g-props' into zero-g-props 2023-02-03 21:14:10 -08:00
JohnCorby
4ae3d2241f Radius doesnt account for scale bozo 2023-02-03 21:14:05 -08:00
Noah Pilarski
41312db32d add back impact audio 2023-02-03 22:35:19 -05:00
JohnCorby
7c89be3425 improve for unity 2023-02-03 19:22:14 -08:00
JohnCorby
174e4ea328 disallow multiple component 2023-02-03 19:06:30 -08:00
JohnCorby
6e97449c2b file scoped namespace 2023-02-03 18:58:34 -08:00
JohnCorby
9546b52a5e add default values guy 2023-02-03 18:52:40 -08:00
JohnCorby
cb2b8815fd move to separate component 2023-02-03 18:51:21 -08:00
JohnCorby
a6e190ffd8 remove sector error. its ok 2023-02-03 18:40:20 -08:00
JohnCorby
78b0143feb Merge remote-tracking branch 'origin/zero-g-props' into zero-g-props 2023-02-03 18:17:39 -08:00
JohnCorby
9885e30295 i dont care enough to fix it 2023-02-03 18:17:32 -08:00
Ben C
33b1245c56 Updated Schemas 2023-02-03 22:00:38 +00:00
JohnCorby
e50c9a0ed1 Merge remote-tracking branch 'origin/zero-g-props' into zero-g-props 2023-02-03 13:57:51 -08:00
JohnCorby
0c72348acd MORE doc 2023-02-03 13:57:43 -08:00
Ben C
86074fd23f Updated Schemas 2023-02-03 21:55:09 +00:00