135 Commits

Author SHA1 Message Date
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
Nick
5581a71727 Set dialogue for TravelerControllers 2022-12-27 20:54:54 -05:00
Noah Pilarski
56d52bd5cd Add parentPath and isRelativeToParent 2022-12-24 13:33:13 -05:00
Noah Pilarski
fa8b1249e8 Add renames 2022-12-24 13:19:01 -05:00
Noah
88663f7935
why did i make it 9 2022-11-25 21:39:32 -05:00
Noah Pilarski
8ad674b643 Add timber hearth cairn variant 2022-11-25 21:31:54 -05:00
Noah Pilarski
cad9b2e3b5 Merge branch 'dev' into zero-g-props 2022-11-23 22:14:32 -05:00
Noah Pilarski
cae2c55874 Merge branch 'dev' into relative 2022-11-09 01:04:28 -05:00
Will Corby
edee149871
Dialogue path rename (#416)
## Improvements
- Allow setting `rename` and `parentPath` for dialogue to rename the
game object or parent it to something else. #401
2022-10-10 17:30:16 -07:00
Will Corby
b3c7d30f5f
Implement #389 playWithShipLogFacts, fix #392 (#418)
## Major features
- Added `playWithShipLogFacts ` to `slideShows` to make reels play in
ship log computer.. #389

## Bug fixes
- Fix NRE errors caused by visions (`visionTorchTarget` and
`standingVisionTorch`) initialization. #392
- Fix reels (`slideReel`) showing up in Echoes of the Eye entries
replacing the vanilla reel:

![reel](https://user-images.githubusercontent.com/22490080/194959455-9a1d02d7-a5d3-41d8-8d3f-f9c15f92b9ea.jpg)
2022-10-10 17:27:04 -07:00
Damián Garro
3159b7590f Implement #389 playWithShipLogFacts, fix #392 2022-10-10 19:00:42 -03:00
Nick
feb22deba1 Implement #401 2022-10-10 12:24:09 -04:00
Noah Pilarski
99308b2e6a Add default to summary 2022-10-09 17:52:20 -04:00
Noah Pilarski
25a56c65fc Add acceleration to rafts 2022-10-08 17:54:40 -04:00
Noah Pilarski
871b2bdfe5 Merge branch 'dev' into zero-g-props 2022-10-08 12:53:22 -04:00
Noah Pilarski
088dc07fed Merge branch 'dev' into relative 2022-10-08 12:49:08 -04:00
Noah Pilarski
5c3a4943b5 Add flashlight toggle 2022-09-18 11:50:46 -04:00
JohnCorby
2cee9ebd42 add stretch to scatter 2022-09-17 11:42:45 -07:00
TerrificTrifid
2904af39d1 Detail stretch 2022-09-17 10:55:01 -05:00
Nick
84b86dc379 Merge branch 'dev' into scatter-optimization 2022-09-13 22:01:09 -04:00
JohnCorby
da211eff75 scatter builder keep loaded 2022-09-07 17:33:38 -07:00
Noah Pilarski
dc53042f92 Add relative to parent option 2022-09-03 12:08:12 -04:00
Nick
9039c00908 Add preventOverlap option for better performance, fixed heights 2022-08-31 22:57:50 -04:00
Noah Pilarski
4ae90dcc25 Reorganize to a volume module 2022-08-31 13:26:10 -04:00
Noah Pilarski
890b496e7a Add notification volumes 2022-08-31 04:23:15 -04:00
Noah Pilarski
5f2beb7aee or just play it once 2022-08-30 03:21:03 -04:00
Noah Pilarski
3ecd8e745a Loop de Loop 2022-08-30 03:14:08 -04:00