3947 Commits

Author SHA1 Message Date
Joshua Thome
5805908e6d Fix vessel spawn overriding other spawns 2023-03-22 13:37:14 -05:00
Joshua Thome
094968187b Add isDefault flag to planet spawns 2023-03-22 13:36:03 -05:00
Joshua Thome
a4771d1813
Translator Text Whiteboard With Scroll (#547)
<!-- A new parameter added to a module, or API feature -->
## Minor features
- Added a `whiteboard` type to `translatorText` props. If `xmlFile` is
set, it will spawn with a scroll already inserted with that text.

<!-- Some improvement that requires no action on the part of add-on
creators i.e., improved star graphics -->
## Improvements
- Slightly better error logging if `xmlFile` is not provided for
translator text props that require it
2023-03-22 13:23:31 -05:00
Ben C
29630d1944 Updated Schemas 2023-03-22 15:08:14 +00:00
Joshua Thome
43873ea04a Add Whiteboard (with optional scroll) to translatorText 2023-03-22 10:03:08 -05:00
Nick
4f6cbeec87 Merge branch 'warp-pads' of https://github.com/Outer-Wilds-New-Horizons/new-horizons into warp-pads 2023-03-22 00:38:54 -04:00
Nick
4cd15cc8ae Add the platform from remote viewers around the base of warp pads 2023-03-22 00:38:34 -04:00
Ben C
d7bc9fa930 Updated Schemas 2023-03-22 04:11:15 +00:00
Nick
4a14101ba1 Implement warp pads 2023-03-22 00:07:53 -04:00
Joshua Thome
6e93ac01f8 Merge branch 'hawkbar-vessel-fixes' of https://github.com/Outer-Wilds-New-Horizons/new-horizons into hawkbar-vessel-fixes 2023-03-21 22:14:50 -05:00
Ben C
8d7201819c Updated Schemas 2023-03-22 03:14:49 +00:00
Joshua Thome
0f9fd7e1b5 Merge new settings 2023-03-21 22:14:47 -05:00
Joshua Thome
174500a19d Merge branch 'hawkbar-vessel-fixes' of https://github.com/Outer-Wilds-New-Horizons/new-horizons into hawkbar-vessel-fixes 2023-03-21 22:12:43 -05:00
Joshua Thome
420c91c670 Defaults for hasPhysics and hasZeroGravityVolume 2023-03-21 22:12:39 -05:00
Ben C
0d8a454fb6 Updated Schemas 2023-03-22 02:21:19 +00:00
Joshua Thome
9aa436c60f Vessel fixes 2023-03-21 21:17:45 -05:00
Joshua Thome
4085eb8eff Fix vessel merge null checks 2023-03-21 21:11:02 -05:00
Ben C
0f24804928 Updated Schemas 2023-03-22 00:51:28 +00:00
JohnCorby
8d13f1e5e5 oops 2023-03-21 17:45:34 -07:00
JohnCorby
a88f3c16a8 use nullable values instead of separate keepAutoPlacement thing 2023-03-21 17:44:50 -07:00
JohnCorby
b495b1ea2a one of the layers has a space in it >:( 2023-03-21 17:33:15 -07:00
JohnCorby
0cfe62dda5 rename LayerUtilities to Layer 2023-03-21 17:27:07 -07:00
JohnCorby
9d2d8a4bc3 fix namespaces 2023-03-21 17:25:36 -07:00
Nick
5d93b7c3cf Fix star system vessel merge NRE 2023-03-21 20:13:51 -04:00
Nick
04b8620562 Merge branch 'dev' into warp-pads 2023-03-21 20:07:48 -04:00
Nick
cf504787f7 Merge branch 'main' into warp-pads 2023-03-21 20:07:42 -04: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