3720 Commits

Author SHA1 Message Date
Joshua Thome
43873ea04a Add Whiteboard (with optional scroll) to translatorText 2023-03-22 10:03:08 -05:00
Nick
2032fb566c
Update manifest.json 2023-03-21 20:00:20 -04:00
Nick
5da7e7ac32
Hawkbar prop cleanup (#538)
<!-- A new parameter added to a module, or API feature -->
## Minor features
- Unified parenting, positioning, and rotating code across all prop-like
objects, adding support for parent-relative offsets and rotations to
rafts, geysers, tornados, volcanos, and others. All prop-like objects
have the common fields `rename`, `parentPath`, and `isRelativeToParent`,
as well as any applicable position and rotation fields.
- Added `alignRadial` to all props with rotations, replacing
`alignToNormal` on details. This now stacks with normal rotations, where
behavior was inconsistent before.
- `translatorText` props now behave like other props in terms of
positioning and rotating. `normal` is no longer used to calculate
rotations of some objects; instead you can use `alignRadial` and/or
`rotation`. Wall text continues to use `normal` to indicate the
direction of the surface to align the text to. Existing `nomaiText` wall
text and props are unaffected by all of these changes.
- Moved the Spawn module player spawn and ship spawn fields to new
`playerSpawn` and `shipSpawn` prop-like object fields.
- Moved dialogue remote trigger fields to a new `remoteTrigger`
prop-like object field.
- Moved the Vessel module vessel location and warp exit location fields
to new `vesselSpawn` and `warpExit` prop-like object fields. They also
have a `parentBody` field to specify the planet to attach them to.
- Made quantum group sockets and bramble nodes/seeds prop-like objects.
- Other Vessel changes
- Added a new `alwaysPresent` property to the Vessel module to spawn the
vessel whether it was used to warp to the system or not, and a
`spawnOnVessel` property to always spawn on the vessel when entering the
system, if it is present.
- Added a new `hasPhysics` property to the Vessel module to allow users
to disable the default behavior of the vessel floating on its own and
allow it to be parented to other planets or bodies.
- Added a new `attachToVessel` property to `warpExit` to keep the old
behavior of the warp exit following the vessel.

<!-- Some improvement that requires no action on the part of add-on
creators i.e., improved star graphics -->
## Improvements
- Improved error logging when a detail fails to be created because a
script component's script is missing
- Added `isRelativeToParent` to geysers to match other prop-like
objects.
- Added `rename` to signals to match other prop-like objects.

<!-- Be sure to reference the existing issue if it exists -->
## Bug fixes
- Fixed a vanilla bug that would sometimes cause the camera's vertical
rotation to get locked in place when spawning on the vessel
- Fixed several edge cases of props not respecting relative rotations
when `isRelativeToParent` was set
- Fixed geyser rotations being slightly off due to inheriting the
original prefab's rotation
- Fixed ship spawn points not actually being rotated, just the ship
itself (only noticeable if re-using the spawn point game object after
initial spawn)
2023-03-21 19:57:29 -04:00
Joshua Thome
d9134a4fd4 Patch bug when suiting up inside force volume on initial spawn 2023-03-21 12:51:28 -05:00
Joshua Thome
7fe2f80b06 Merge vessel spawn flags 2023-03-21 12:50:51 -05:00
Joshua Thome
357b4463f0 Better handling of vessel spawn flags 2023-03-21 12:50:42 -05:00
Joshua Thome
ced1c5e308 Fix typo breaking ship spawns 2023-03-20 23:46:23 -05:00
Joshua Thome
325303d947 Reenable arc caching 2023-03-20 23:46:15 -05:00
Ben C
33f93ce798 Updated Schemas 2023-03-21 03:34:00 +00:00
Joshua Thome
80c576bd01 alignRadial migration plus cleanup of translator text normal handling 2023-03-20 22:31:21 -05:00
JohnCorby
3c691d3511 Revert "(TODO: TEST MORE) use GeneralPropBuilder for normal"
This reverts commit 75b703716106773edd4776d111f9fabc9d97c721.
2023-03-18 23:06:23 -07:00
JohnCorby
75b7037161 (TODO: TEST MORE) use GeneralPropBuilder for normal 2023-03-18 23:01:09 -07:00
JohnCorby
de4c2ec7e2 move GeneralPropBuilder out of MakeWallText 2023-03-18 22:55:26 -07:00
Joshua Thome
629aa93bd6 Merge remote-tracking branch 'origin/dev' into hawkbar-prop-cleanup 2023-03-18 23:31:46 -05:00
Joshua Thome
384312a118 Fix scroll alignment 2023-03-18 21:25:00 -05:00
Ben C
e24f3ea48b Updated Schemas 2023-03-19 01:41:49 +00:00
JohnCorby
0b92966458 doc 2023-03-18 18:38:37 -07:00
Ben C
70a4951819 Updated Schemas 2023-03-19 00:58:44 +00:00
Joshua Thome
d7b76718f8 Vessel spawning and parenting 2023-03-18 19:54:52 -05:00
Nick
fbedd57016 Update manifest.json 2023-03-18 19:01:41 -04:00
Nick
8aa22a639f Fix bad merge 2023-03-18 18:34:15 -04:00
Nick
6e5e0e6a68
Merge branch 'dev' into hawkbar-prop-cleanup 2023-03-18 18:33:36 -04:00
Nick
110773d151 Fix bad merge 2023-03-18 18:30:11 -04:00
Nick
186348a291
Rearrange and clean up patches (#540) 2023-03-18 18:27:58 -04:00
Nick
431bc6dbfc
Merge branch 'dev' into patch-cleanup 2023-03-18 18:27:47 -04:00
Nick
2b89259df6
Fixes (#541)
## Bug fixes
- Fix physics objects in bramble dimensions being active outside of them
(#536)
- Prevent the existence of 1 dimensional filaments stretching across
space killing you instantly also invisible black holes won't make noise
(#514)
- Fix Bramble interior nodes being visible outside of it.
2023-03-18 18:26:36 -04:00
Nick
99ca27018f
Game over text (#542)
## Minor features
- Adds `gameOverText` and `deathType` to credits volumes to display
orange text explaining the ending. (#512)
2023-03-18 18:26:06 -04:00
Nick
8a30017c8a Move more stuff 2023-03-18 18:24:22 -04:00
JohnCorby
eb21f00957 do null check instead of implicit bool cast for silly consistency 2023-03-18 15:05:04 -07:00
JohnCorby
3c5b3c403d rename to parentOverride since it overrides planetgo and sector 2023-03-18 15:03:19 -07:00
Joshua Thome
ace2c78985 Switch to planetGO and sector for GeneralPropBuilder 2023-03-18 16:53:48 -05:00
Ben C
fe9082d0ff Updated Schemas 2023-03-18 21:51:19 +00:00
Nick
85758d6a87 Fix the DeathType 2023-03-18 17:49:05 -04:00
Nick
8d985fe169 Fixed coroutine 2023-03-18 17:38:55 -04:00
Nick
851b4608c2 Use layer util 2023-03-18 16:48:31 -04:00
Nick
7a2d3cc893 Make a static class for layers 2023-03-18 16:28:44 -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
Joshua Thome
af96853afb Fix parent path fetching 2023-03-18 15:17:58 -05:00
Joshua Thome
d8f5f71249 Fix out-of-date name in comment 2023-03-18 15:17:48 -05:00
Joshua Thome
6cea038134 Revert geyser alignment because idk 2023-03-18 15:17:32 -05:00
JohnCorby
577472c21b do another pass on patches 2023-03-18 13:05:39 -07:00
Nick
bd61a87cf6 Add game over text and death type to credits volume, but doesnt work 2023-03-18 16:04:53 -04:00
Nick
9080b45c14 Make sure disabling volume works 2023-03-18 15:00:20 -04:00
Nick
e25cf1e00c Fixes #514 Setting scale value to 0 should disable it 2023-03-18 14:51:13 -04:00
JohnCorby
36a31f3b80 get bramble node fix from the other pr 2023-03-18 11:30:32 -07:00
JohnCorby
dbf01e354b check null sector, update comment 2023-03-18 11:17:38 -07:00
Nick
8f1954b40a #536 Check if physics object should be suspended on load 2023-03-18 13:49:50 -04:00
Joshua Thome
5e8d0105a4 Merge branch 'hawkbar-prop-cleanup' of https://github.com/Outer-Wilds-New-Horizons/new-horizons into hawkbar-prop-cleanup 2023-03-18 12:44:22 -05:00
Joshua Thome
7ac2bb0b8a Add missing null checks in planet migration 2023-03-18 12:44:19 -05:00