161 Commits

Author SHA1 Message Date
Joshua Thome
fb537f7730 Projection totems 2024-10-14 11:27:05 -05:00
Joshua Thome
0752b11b65 Dream candles 2024-10-14 01:45:44 -05:00
Joshua Thome
a1d165e2b9 Portholes 2024-10-13 22:18:08 -05:00
Joshua Thome
4baf9b264e Alarm totems 2024-10-07 21:54:35 -05:00
Joshua Thome
4876cf9ef8 Grapple totems 2024-10-06 18:14:36 -05:00
Joshua Thome
fd06497193 Document simulation planets should be static 2024-10-05 00:58:28 -05:00
Joshua Thome
1be3bf209f Dream arrival point and dream campfire builders 2024-10-05 00:55:12 -05:00
Nick
ed66cb0665 Fix update from dev 2023-07-22 12:04:02 -04:00
Nick
031ad5266c Added AudioSourceInfo as a new prop, refactors signals 2023-03-26 22:39:29 -04:00
Nick
e8c05f4818 Done rearranging volumes 2023-03-25 14:18:52 -04:00
Nick
85797df25c Big reorganize 2023-03-25 13:44:31 -04:00
JohnCorby
ad704d9bf6 TranslatorTextBuilder: dont do auto spiral if any property is specified 2023-03-22 22:13:49 -07:00
Nick
0c619e0fd1 Fix warp pads 2023-03-23 00:34:20 -04:00
Nick
d847f13e83 Simplify calls to detail builder 2023-03-22 23:46:40 -04:00
Nick
9c5982d9a4 Use detail info instead 2023-03-22 23:31:10 -04:00
Nick
7179388094 Merge branch 'dev' into warp-pads 2023-03-22 22:38:21 -04:00
Nick
43871a9206
remove keepAutoPlacement (#544)
<!-- A new module or something else important -->
## Major features
-

<!-- A new parameter added to a module, or API feature -->
## Minor features
- use nullable values instead of separate keepAutoPlacement bool

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

<!-- Be sure to reference the existing issue if it exists -->
## Bug fixes
-
2023-03-22 17:47:48 -04:00
Joshua Thome
43873ea04a Add Whiteboard (with optional scroll) to translatorText 2023-03-22 10:03:08 -05:00
Nick
4a14101ba1 Implement warp pads 2023-03-22 00:07:53 -04:00
JohnCorby
a88f3c16a8 use nullable values instead of separate keepAutoPlacement thing 2023-03-21 17:44:50 -07:00
Joshua Thome
80c576bd01 alignRadial migration plus cleanup of translator text normal handling 2023-03-20 22:31:21 -05:00
JohnCorby
0b92966458 doc 2023-03-18 18:38:37 -07:00
Joshua Thome
3523bd3cab Move GeneralPropInfo out into its own file 2023-03-18 15:26:35 -05:00
Joshua Thome
77fc15f18e Revert "Moved prop info and volume info classes to their own files"
This reverts commit 550c96d1678a0969edaa40c7266d9459ccd4c2f8.
2023-03-18 12:35:15 -05:00
Joshua Thome
550c96d167 Moved prop info and volume info classes to their own files 2023-03-18 11:40:21 -05:00
Joshua Thome
1c0466f04f Remove unncessary isRelativeToGroup property on quantum sockets 2023-03-18 10:54:51 -05:00
Joshua Thome
e021523151 Using GeneralPropBuilder for spawn points, vessel and warp exit points, and remotr dialogue triggers 2023-03-18 09:17:36 -05:00
Joshua Thome
88f60f883c Better name for base prop class 2023-03-18 08:15:56 -05:00
Joshua Thome
e732a01e02 Make bramble nodes use GeneralPropBuilder 2023-03-18 03:58:26 -05:00
Joshua Thome
37e6c42b85 Consolidating generic prop building into a single builder 2023-03-16 17:15:06 -05:00
Joshua Thome
f98b33251d Consolidate prop info definitions and add support for missing properties to geyser and quantum sockets 2023-03-16 15:08:56 -05: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
FreezeDriedMangoes
8c1032e67a reintroduced legacy NomaiTextBuilder and put new code under the name (and module) of TranslatorTextBuilder 2023-02-04 14:47:58 -05:00
JohnCorby
024bdf167d change default mass value 2023-02-03 21:55:01 -08:00
JohnCorby
0c72348acd MORE doc 2023-02-03 13:57:43 -08:00
JohnCorby
e33fe1823f doc 2023-02-03 13:52:01 -08:00
JohnCorby
e45a4d1c3c finalize 2023-02-03 13:40:21 -08:00
JohnCorby
d11c998dd6 more tweaking 2023-02-03 13:27:22 -08:00
JohnCorby
7ca84069df Merge branch 'dev' into zero-g-props 2023-02-03 12:58:27 -08:00
JohnCorby
e0dd75d310 restructure how physics object is created 2023-02-03 12:58:22 -08:00
Noah Pilarski
2e502e0da8
Merge branch 'dev' into flashlight 2023-01-30 23:15:41 -05:00
FreezeDriedMangoes
151d935b59 Merge branch 'caching' into auto-spiral-placement-2-electric-boogaloo 2023-01-30 22:54:40 -05:00
FreezeDriedMangoes
1f91e2e57b forgot to commit the module change 2023-01-27 14:20:46 -05:00
Nick
fb0d9e30f6 Get rid of enter conditions, just one prereq, clean up patch 2023-01-18 00:12:58 -05:00
Nick
a4bb3896c8 Expose prereqConditions and onTriggerEnterConditions 2023-01-17 23:45:21 -05:00
Nick
6ace48dd43 Add FacePlayerWhenTalking if it isn't there 2022-12-28 17:02:27 -05:00
JohnCorby
ea7d04da52 Merge branch 'dev' into traveler-anim-fixes 2022-12-28 13:54:18 -08:00
Noah Pilarski
d843cd17aa Set dialogue for FacePlayerWhenTalkings 2022-12-28 04:31:09 -05:00
Noah Pilarski
6dba33f256 Set dialogue for TravelerEyeControllers 2022-12-28 04:06:59 -05:00
Noah Pilarski
7f3e36dd0a typo 2022-12-27 21:31:48 -05:00