3925 Commits

Author SHA1 Message Date
Nick
3639ba777b Merge branch 'better-comets' of https://github.com/Outer-Wilds-New-Horizons/new-horizons into better-comets 2023-03-26 00:56:27 -04:00
Nick
944ba3fde3 Add colours and fix orientation 2023-03-26 00:56:26 -04:00
Nick
d81dde6ea0 Try and fail to make the tails move right 2023-03-26 00:19:36 -04:00
Ben C
d63b3fed25 Updated Schemas 2023-03-26 02:45:12 +00:00
Nick
52e1971568 Add scale curve to comet 2023-03-25 22:42:25 -04:00
Nick
9210f4f1d0 Merge branch 'better-comets' of https://github.com/Outer-Wilds-New-Horizons/new-horizons into better-comets 2023-03-25 22:35:52 -04:00
Nick
2d54076a67 Have comet face away from primary body 2023-03-25 22:35:46 -04:00
Ben C
e3d684a1cb Updated Schemas 2023-03-26 02:14:38 +00:00
Nick
3eb9bbd709 Merge branch 'better-comets' of https://github.com/Outer-Wilds-New-Horizons/new-horizons into better-comets 2023-03-25 22:11:25 -04:00
Nick
8bb2138c0d Move ship warp controller also 2023-03-25 22:11:23 -04:00
Nick
64e2e3ce19 Rearrange components, add comet tail controller 2023-03-25 22:11:05 -04:00
Ben C
b95f37efd3 Updated Schemas 2023-03-26 01:52:40 +00:00
Nick
5dd8e8db4e Add in comet tail module 2023-03-25 21:50:07 -04:00
Nick
41eb8438eb
Fix Docs Triggers (#555)
Idk why the triggers don't work on the release build action

## Bug fixes
- Doc build actually triggers yippee
- Triggers on push to main instead of release build bc aaaaaaaaaa
2023-03-25 21:21:43 -04:00
Nick
a664e7e861 Implement alignmentTargetBody for warp pads 2023-03-25 21:14:29 -04:00
Ben C
9865ce4698
Remove on release build 2023-03-25 18:57:39 -04:00
Ben C
cdff79c159
Fix Docs Triggers
Idk why the triggers don't work on the release build action
2023-03-25 18:53:26 -04:00
Ben C
24fd838db0
Docs Fix 2023-03-25 18:50:46 -04:00
Nick
f2cae5c886
v1.10.0 redux (#552)
## Major features
- Nomai warp pads! You can build transmitters (like the towers on Ash
Twin) and receivers on other planets. Can also be used to just make
permanent teleportation pads if the alignment window is set to 360
degrees. Receivers also take in general prop arguments for a Nomai
computer which will display the departure and arrival times.

## Minor features
- Adds `gameOverText` and `deathType` to credits volumes to display
orange text explaining the ending. (#512)
- 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.
- Added a `whiteboard` type to `translatorText` props. If `xmlFile` is
set, it will spawn with a scroll already inserted with that text.
- Added `ignoreSun` to details to optionally make them ignore the
effects of sunlight.

## 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.
- Slightly better error logging if `xmlFile` is not provided for
translator text props that require it
- Now we use nullable values in `translatorText` instead of separate
`keepAutoPlacement` bool
- Deferred singularity linking until after all planets are built, so
build order no longer affects pairs where only one has
`pairedSingularity` set.

## 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)
- Details with `keepLoaded` will no longer have cull groups etc on them,
so they should work in map mode. `keepLoaded` will also force streaming
to be always loaded instead of just when you're in the sector.
- Fix constant NRE from rings with both a scale curve and opacity curve

## Note for add-on devs:
We rearranged some internal stuff, so if you were referencing the NH dll
in your projects some stuff might have broken. Tested it only with
addons that were actually released.
v1.10.0
2023-03-25 17:04:06 -04:00
Nick
0874868d3e
Cleanup external (#554)
Might as well rearrange everything we want to in this update since we're
already making breaking changes

## Minor features:
- Added `ignoreSun` to details to optionally make them ignore the
effects of sunlight.
2023-03-25 15:37:38 -04:00
Nick
219002bad8 Namespace issues 2023-03-25 15:21:07 -04:00
Nick
3f2b34ac08 Fix namespaces 2023-03-25 15:17:52 -04:00
Nick
73445e3829 Merge branch 'cleanup-external' of https://github.com/Outer-Wilds-New-Horizons/new-horizons into cleanup-external 2023-03-25 15:15:45 -04:00
Nick
b20c59e860 MORE REARRANGE!!!!! 2023-03-25 15:15:24 -04:00
Ben C
ee686fafe3 Updated Schemas 2023-03-25 19:11:42 +00:00
JohnCorby
8bdcfb125e remove unused using again 2023-03-25 12:05:33 -07:00
Nick
c622b54cb6 Rename more enum 2023-03-25 14:52:09 -04:00
Nick
9b18438760 Rename serialized types 2023-03-25 14:50:07 -04:00
Nick
c7501b0e92 Merge branch 'cleanup-external' of https://github.com/Outer-Wilds-New-Horizons/new-horizons into cleanup-external 2023-03-25 14:18:58 -04:00
Nick
e8c05f4818 Done rearranging volumes 2023-03-25 14:18:52 -04:00
Ben C
988d1377ae Updated Schemas 2023-03-25 18:12:56 +00:00
Nick
ce7ef3ee93 Split up more volumes, move FluidType enum 2023-03-25 14:09:54 -04:00
Nick
7d384b7067 Merge branch 'cleanup-external' of https://github.com/Outer-Wilds-New-Horizons/new-horizons into cleanup-external 2023-03-25 13:52:14 -04:00
Nick
3cede76bed Remove all unused usings 2023-03-25 13:51:15 -04:00
Ben C
fed8ccce80 Updated Schemas 2023-03-25 17:47:04 +00:00
Nick
85797df25c Big reorganize 2023-03-25 13:44:31 -04:00
Nick
2b64edd23d
Fix ring opacity (#553)
## Bug fixes
- Fix constant NRE from rings with both a scale curve and opacity curve
2023-03-25 12:22:13 -04:00
Nick
59721b1f55 Fix RingOpacityController NRE 2023-03-25 12:14:13 -04:00
Nick
608c9bb27f Properly check if texture exists 2023-03-25 11:44:35 -04:00
Nick
c21f15ac22 Add backwards compat to Evacuation 2023-03-25 11:35:47 -04:00
Nick
4007b7c4bc
Un-bump version 2023-03-24 11:05:10 -04:00
Will Corby
2f7ddeb374
1.10.1 (#550)
## Major features
- Nomai warp pads! You can build transmitters (like the towers on Ash
Twin) and receivers on other planets. Can also be used to just make
permanent teleportation pads if the alignment window is set to 360
degrees. Receivers also take in general prop arguments for a Nomai
computer which will display the departure and arrival times.

## Minor features
- Adds `gameOverText` and `deathType` to credits volumes to display
orange text explaining the ending. (#512)
- 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.
- Added a `whiteboard` type to `translatorText` props. If `xmlFile` is
set, it will spawn with a scroll already inserted with that text.

## 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.
- Slightly better error logging if `xmlFile` is not provided for
translator text props that require it
- Now we use nullable values in `translatorText` instead of separate
`keepAutoPlacement` bool
- Deferred singularity linking until after all planets are built, so
build order no longer affects pairs where only one has
`pairedSingularity` set.

## 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)
- Details with `keepLoaded` will no longer have cull groups etc on them,
so they should work in map mode. `keepLoaded` will also force streaming
to be always loaded instead of just when you're in the sector.

## Note for add-on devs:
We rearranged some internal stuff, so if you were referencing the NH dll
in your projects some stuff might have broken. Tested it only with
addons that were actually released.
2023-03-23 20:55:16 -07:00
Ben C
b951e62900
Bump Version 2023-03-23 23:50:39 -04:00
Nick
74c1e80af9 Fix triflers bug! 2023-03-23 23:35:18 -04:00
Nick
69a5c47345
1.10.0 (#539)
## Major features
- Nomai warp pads! You can build transmitters (like the towers on Ash
Twin) and receivers on other planets. Can also be used to just make
permanent teleportation pads if the alignment window is set to 360
degrees. Receivers also take in general prop arguments for a Nomai
computer which will display the departure and arrival times.

## Minor features
- Adds `gameOverText` and `deathType` to credits volumes to display
orange text explaining the ending. (#512)
- 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.
- Added a `whiteboard` type to `translatorText` props. If `xmlFile` is
set, it will spawn with a scroll already inserted with that text.

## 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.
- Slightly better error logging if `xmlFile` is not provided for
translator text props that require it
- Now we use nullable values in `translatorText` instead of separate
`keepAutoPlacement` bool
- Deferred singularity linking until after all planets are built, so
build order no longer affects pairs where only one has
`pairedSingularity` set.

## 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)
- Details with `keepLoaded` will no longer have cull groups etc on them,
so they should work in map mode.

## Note for add-on devs:
We rearranged some internal stuff, so if you were referencing the NH dll
in your projects some stuff might have broken. Tested it only with
addons that were actually released.
2023-03-23 22:50:09 -04:00
Nick
1b441d0c53 Fix some warp exit stuff 2023-03-23 22:40:55 -04:00
Nick
df41617c04 Set water to use Layer util 2023-03-23 21:27:09 -04:00
Will Corby
c252112215
better version of remove keepautoplacement (#549)
also 
- remove ignoresun on details
- fix cairn nre
- remove groups from keeploaded details
- make unused field in warp transmitter info used
2023-03-23 17:49:14 -07:00
Ben C
891a2e353d Updated Schemas 2023-03-24 00:37:22 +00:00
JohnCorby
6a97137cef add it back and make it used 2023-03-23 17:33:33 -07:00