437 Commits

Author SHA1 Message Date
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
Joshua Thome
410f77add5
Vessel fixes (#545)
## Minor features
- Added `hasZeroGravityVolume` to the Vessel config to remove the
default zero-gravity volume around the vessel.
- Added `isDefault` to planet Spawn config to set the default player
spawn point, if multiple exist in the system.
2023-03-22 17:12:36 -05: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
094968187b Add isDefault flag to planet spawns 2023-03-22 13:36:03 -05: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
Nick
6e5e0e6a68
Merge branch 'dev' into hawkbar-prop-cleanup 2023-03-18 18:33:36 -04:00
Nick
431bc6dbfc
Merge branch 'dev' into patch-cleanup 2023-03-18 18:27:47 -04:00
Nick
85758d6a87 Fix the DeathType 2023-03-18 17:49:05 -04:00
Nick
b040373123 Does it break if I do this 2023-03-18 16:28:05 -04:00
Joshua Thome
3523bd3cab Move GeneralPropInfo out into its own file 2023-03-18 15:26:35 -05:00
Nick
bd61a87cf6 Add game over text and death type to credits volume, but doesnt work 2023-03-18 16:04:53 -04: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
049bb5ba33 Use GeneralPropBuilder for singularities 2023-03-17 14:32:18 -05:00
Joshua Thome
3ca6d9a3db Migrate more modules to the GeneralPropBuilder 2023-03-17 14:13:23 -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
Noah Pilarski
e8039f41d1 Nevermind ignore the voices
This reverts commit ea273e42a73b9c55781cc9b260daadbb97888bf9.
This reverts commit 280f0a6e529050cb8ba459090d48b6eb968659dd.
2023-03-01 19:25:18 -05:00
Noah Pilarski
ea273e42a7
um ackchyually 2023-03-01 19:21:04 -05:00
TerrificTrifid
2e4d0f7e34 Update VolumesModule.cs 2023-03-01 17:06:04 -06:00
JohnCorby
2a750efe11 doc 2023-02-25 20:05:36 -08:00
TerrificTrifid
441618e8c3 Implement settings 2023-02-25 17:06:07 -06:00
TerrificTrifid
d6eb69b551 Setup AmbientLightModule 2023-02-23 22:56:23 -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
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
f1097a65d5 Add volumes for changing star system and triggering credits 2023-01-21 23:35:13 -05:00
Nick
b0fbf56882
More remote dialogue stuff (#493)
## Improvements
- Add `remoteTriggerPrereqCondition` to only show a remote dialogue
trigger once a condition has been met.

## Bug fixes
- Stop RemoteDialogueTrigger from softlocking you if you disable its
CharacterDialogueTree.
2023-01-18 01:11:27 -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
Noah Pilarski
250d51abf4 Add buoyancy and density properties 2023-01-14 23:21:29 -05:00