5830 Commits

Author SHA1 Message Date
Ben C
8d271c368c Updated Schemas 2025-09-13 23:14:28 +00:00
xen-42
7c0731fbae
Edit documentation of VariableSizeModule (#1120)
Reasoning: it was unclear that the scale of the in-game object will
still be affected by the size value of the object and not outright
overridden by the value value.
2025-09-13 19:13:25 -04:00
xen-42
4982f2a69a
GetPlanet bugfix (#1122)
## Bug fixes

- Make GetPlanet only check planets in the current system. This prevents
it from pulling the wrong config if a planet in another system has the
same name.
2025-09-13 19:12:45 -04:00
coderCleric
9f5b71e1cc Make GetPlanet work if planets across systems have the same name 2025-08-23 15:45:59 -06:00
LeeSpork
1ce62f383d
Update VariableSizeModule.cs 2025-08-17 11:55:22 +12:00
xen-42
765d3a136d
1.28.6 (#1113)
## Bug fixes

- Fixed a floating point precision bug that broke the 13th registered
Signalscope frequency

Also added coderCleric's Nomai Text Printer mod to the documentation
since it is very useful for story mod development!
v1.28.6
2025-08-05 14:53:05 -04:00
xen-42
999bcae536
Too many signals (#1112)
## Bug fixes

- Fixed a floating point precision bug that broke the 13th registered
Signalscope frequency
2025-08-04 21:53:27 -04:00
xen-42
0b419b66c4 Revert "Add a security check to ScatterBuilder (#1109)"
This reverts commit ced49c6606e88fb7a40b8cecb8fb7c753cd24214, reversing
changes made to 4c3d92a4a3f90c981420eacac1d048a0f44da303.
2025-08-04 21:50:11 -04:00
xen-42
94ff93d597 Reapply "Add a security check to ScatterBuilder (#1109)"
This reverts commit 696bce2f3a719f9f23a7b15357672378d5793ac9.
2025-08-04 21:47:18 -04:00
xen-42
696bce2f3a Revert "Add a security check to ScatterBuilder (#1109)"
This reverts commit ced49c6606e88fb7a40b8cecb8fb7c753cd24214, reversing
changes made to 4c3d92a4a3f90c981420eacac1d048a0f44da303.
2025-08-04 21:46:33 -04:00
xen-42
8af363f8f8 Update manifest.json 2025-08-04 21:44:43 -04:00
xen-42
831a94cdbc Fixed a floating point rounding error 2025-08-04 21:44:18 -04:00
xen-42
57d945d6ee Merge branch 'dev' into too-many-signals 2025-08-04 21:12:11 -04:00
xen-42
8089de358a Just expect 32 signals max instead of constantly refreshing the array 2025-08-04 21:12:00 -04:00
Noah Pilarski
ced49c6606
Add a security check to ScatterBuilder (#1109)
## Security check
What currently happens is that if `preventOverlap` is not true then
there is no array of point emptied progressively and points are rolled
in a loop of size count for each prop. The problem is that the loop can
be infinite due to `i--; // Try this point again`. A reroll happens when
`height < propInfo.minHeight` or `height > propInfo.maxHeight`, height
being rolled between `heightMap.minHeight` and `heightMap.maxHeight`
(which are not the constraints above).
- This PR checks before the loop if there is less than 0.1% chance for
the upcoming heightMap rolls to be considered correct, and if not it
always skips this check, ignoring `propInfo.minHeight` and `.maxHeight`
to prevent a very long (possibly infinite) loop.
2025-08-04 19:03:44 -04:00
Noah Pilarski
201a310e2b extend a little 2025-08-04 19:02:27 -04:00
Noah Pilarski
38ae757f58 add log 2025-08-04 19:00:57 -04:00
Peter-Mikhaël Richard
f7c9685457
Update ScatterBuilder.cs 2025-07-31 06:21:48 +02:00
Will Corby
4c3d92a4a3
Add Nomai Text Printer to the docs (#1108)
## Improvements

- Added Nomai Text Printer to the docs, since it can be useful
2025-07-29 19:27:20 -07:00
coderCleric
5391e4a555 Add Nomai Text Printer to the docs 2025-07-29 18:15:36 -06:00
xen-42
65ecbb1f9a
Update CONTRIBUTING.md 2025-07-24 11:14:09 -04:00
xen-42
fe55ccfcdc
Update CONTRIBUTING.md 2025-07-24 01:00:46 -04:00
Noah Pilarski
ecdc0c8af4
1.28.5 (#1098)
## Minor features

- Added `conditionTriggerVolumes` to set a dialogue condition when the
player (or scout or ship) enters an area.
- Added `interactionVolumes` for interactable objects that set a
dialogue condition, play a sound, and/or trigger an animation.
- Added `condition` fields to `dreamCandles` and `projectionTotems` to
set dialogue conditions when they are lit or extinguished.

## Improvements

- no longer loads unnecessary bundles in custom systems. saves VRAM.
does not affect RAM.

## Bug fixes

- Fix custom items not having sound when you make socket with the same
custom type first
- Dialogue should now work by default in the ship.
v1.28.5
2025-07-20 20:26:12 -04:00
Noah Pilarski
31a6093a1b
unloading streaming stuff in custom systems (#1103)
## Improvements

- do not load unnecessary bundles in custom systems. saves VRAM. does
not affect RAM

details stay visible
does not seem to cause softlocks.
works when going from custom to regular (you dont fall thru TH)
seems to cause no extra errors in logs
2025-07-20 20:21:28 -04:00
Noah Pilarski
78d8150c4c
Fix items not having sound when you make socket first (#1100)
## Bug fixes

- Fix custom items not having sound when you make socket with the same
custom type first
2025-07-20 20:20:09 -04:00
JohnCorby
361fc2aa57 Reapply "unload immediate"
This reverts commit b0f445e415f9e0b19131ee99c0d67f16630235d4.
2025-07-19 01:14:38 -07:00
JohnCorby
b0f445e415 Revert "unload immediate"
This reverts commit d38d9fa1c86323d48376f79ea55efd71e1a50fab.
2025-07-19 01:11:15 -07:00
JohnCorby
d38d9fa1c8 unload immediate 2025-07-19 01:07:04 -07:00
JohnCorby
20126dfe91 unload streaming in custom systems 2025-07-19 00:59:47 -07:00
Noah Pilarski
ea85e3bab0 Fix items not having sound when you make socket first 2025-07-12 20:00:07 -04:00
Noah Pilarski
fdf78802e9
More Condition Triggers (#1096)
## Major features

- Added `conditionTriggerVolumes` to set a dialogue condition when the
player (or scout or ship) enters an area.
- Added `interactionVolumes` for interactable objects that set a
dialogue condition, play a sound, and/or trigger an animation.

## Minor features

- Added `condition` fields to `dreamCandles` and `projectionTotems` to
set dialogue conditions when they are lit or extinguished.
2025-07-08 16:14:40 -04:00
xen-42
3403c5da34 Make dialogue usable in ship 2025-07-06 23:59:09 -04:00
Joshua Thome
1d4a2b328b Merge branch 'hawkbar-more-condition-triggers' of https://github.com/Outer-Wilds-New-Horizons/new-horizons into hawkbar-more-condition-triggers 2025-07-04 14:27:24 -05:00
Joshua Thome
e4f89be4e9 Remove accidental import 2025-07-04 14:27:19 -05:00
Ben C
2e06de70c2 Updated Schemas 2025-07-04 19:22:54 +00:00
Joshua Thome
e626dc6974 Merge branch 'hawkbar-more-condition-triggers' of https://github.com/Outer-Wilds-New-Horizons/new-horizons into hawkbar-more-condition-triggers 2025-07-04 14:21:50 -05:00
Joshua Thome
1330df64b4 Interaction volumes 2025-07-04 14:21:14 -05:00
Ben C
b71aa9f845 Updated Schemas 2025-07-01 22:10:15 +00:00
Joshua Thome
7223a4f523 Merge branch 'hawkbar-more-condition-triggers' of https://github.com/Outer-Wilds-New-Horizons/new-horizons into hawkbar-more-condition-triggers 2025-07-01 17:08:20 -05:00
Joshua Thome
d072a74b5d Dream candle and projection totem conditions 2025-07-01 17:08:13 -05:00
Ben C
330564538a Updated Schemas 2025-07-01 17:36:52 +00:00
Joshua Thome
b84d94a404 Condition trigger volume 2025-07-01 12:28:12 -05:00
Peter-Mikhaël Richard
3fbe752395
Added security to ScatterBuilder.cs
Prevent prop positioning loop going infinite when there are too much constraint on height
2025-06-30 18:47:18 +02:00
xen-42
01866cc6be
Update README.md 2025-06-28 20:31:00 -04:00
xen-42
1270d1c61f
1.28.4 (#1095)
## Improvements

- `canExitViaWarpDrive` and `factRequiredToExitViaWarpDrive` will now be
properly merged when two mods define the same system config.
v1.28.4
2025-06-08 00:32:41 -04:00
xen-42
41f3e5df3b Add in missing system merging 2025-06-08 00:28:49 -04:00
xen-42
40cdfc94d7
1.28.3 (#1094)
## Minor features
- Added `repairVolumes` which act like the repairable nodes on the
"satellite" in the Zero-G cave. Resolves #1084
- NH will now recommend users installed the Chinese Font Fix mod if they
do not have it and the language is set to Simplified Chinese.
- Added `ClearSystem` to the API for Nomai Sky to use
v1.28.3
2025-05-24 20:57:41 -04:00
xen-42
0a058ac135 Add clear system api method for Nomai Sky 2025-05-24 20:51:50 -04:00
xen-42
20158fd94a Update Main.cs 2025-05-24 20:49:50 -04:00
xen-42
3c09f84e0b Update manifest.json 2025-05-12 17:36:08 -04:00