68 Commits

Author SHA1 Message Date
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
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
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
Nick
e617d98e1f Add comment 2024-06-03 22:52:04 -04:00
Noah Pilarski
90f7d23479 Make it local so that scatter works on tidally locked bodies 2024-05-31 00:13:28 -04:00
Noah Pilarski
3265f8b076 Add parentPath to scatter 2024-05-31 00:11:36 -04:00
Joshua Thome
358f130c0d Add IModBehavior params to detail builder and hierarchy 2023-10-31 01:31:05 -05:00
JohnCorby
9616a1aca4 switch to simpler rotation shader 2023-04-23 16:14:48 -07:00
JohnCorby
df0370582c rotate in the same way heightmaps are rotated 2023-04-22 16:15:03 -07:00
JohnCorby
5ba8a4241b Merge branch 'dev' into triplanar-heightmap
# Conflicts:
#	NewHorizons/Builder/Props/ScatterBuilder.cs
2023-04-22 14:43:08 -07:00
Nick
942a37df2a im insano mode 2023-04-22 16:11:55 -04:00
JohnCorby
0c05cd28f6 fix the silly typo 2023-04-22 12:56:20 -07:00
Nick
79dd968e33 Think this will fix scatter and heightmap getting messed up 2023-04-22 15:30:34 -04:00
JohnCorby
cfd1fda28e CoordinateUtilities.cs: match shader jank 2023-04-21 19:49:13 -07:00
Nick
b20c59e860 MORE REARRANGE!!!!! 2023-03-25 15:15:24 -04:00
Nick
3cede76bed Remove all unused usings 2023-03-25 13:51:15 -04:00
Nick
85797df25c Big reorganize 2023-03-25 13:44:31 -04:00
Nick
8a30017c8a Move more stuff 2023-03-18 18:24:22 -04:00
Nick
b040373123 Does it break if I do this 2023-03-18 16:28:05 -04:00
Noah Pilarski
782f344065 Use string.IsNullOrEmpty instead 2023-01-16 19:13:48 -05:00
JohnCorby
2cee9ebd42 add stretch to scatter 2022-09-17 11:42:45 -07:00
Nick
84b86dc379 Merge branch 'dev' into scatter-optimization 2022-09-13 22:01:09 -04:00
Nick
7bcddf4261 Fix collision issue 2022-09-13 21:58:31 -04:00
JohnCorby
da211eff75 scatter builder keep loaded 2022-09-07 17:33:38 -07:00
Nick
2967565653 Remove redundant cast 2022-08-31 22:59:31 -04:00
Nick
9039c00908 Add preventOverlap option for better performance, fixed heights 2022-08-31 22:57:50 -04:00
Nick
422489f8de Forgot to multiply by height 2022-08-31 19:16:40 -04:00
Nick
93ef061b4b Destroy prefab 2022-08-31 19:09:05 -04:00
Nick
fb85ecdb35 Set parent dingus 2022-08-31 19:07:44 -04:00
Nick
3f6a0f04f5 Set active dingus 2022-08-31 19:04:36 -04:00
Nick
e73c48e5fc Only run detail builder once 2022-08-31 19:00:27 -04:00
Nick
f4b05940e3 Fibonacci deadass thought his sequence counted rabbits 2022-08-31 18:31:26 -04:00
Noah Pilarski
5f7eae91ab rename MakeDetail and move removeChildren and removeComponents into it. 2022-08-21 15:57:34 -04:00
Nick
a2da11a64a Change MakeDetail to take in just DetailInfo and not all the individual parameters 2022-08-05 18:30:37 -04:00
JohnCorby
b0b661bd4d todo 2022-07-30 12:00:27 -07:00
JohnCorby
83dad8d68e move water thing outta for loop 2022-07-27 20:56:36 -07:00
Nick
5be88e7bfa John smart 2022-07-27 23:54:18 -04:00
Nick
eba3affba5 Don't scatter underwater by default 2022-07-27 23:52:01 -04:00
Nick
25ab009e28 Use quick remove 2022-07-26 00:15:15 -04:00
Nick
00ef0e85f3 Add min/max height to scatter 2022-07-25 22:33:53 -04:00
Nick
e67ddc7fe6 Cap the number of points we generate when doing scatter to not run out of memory 2022-07-25 21:25:36 -04:00
Nick
d66f179eb7 Fix scatterer being off 2022-07-24 21:48:53 -04:00
Nick
5c5b4e0764 Wrap Main.Instance.ModHelper.Events.Unity into Delay 2022-07-13 23:48:43 -04:00
Noah Pilarski
977c790ef5 Use SearchUtilities.Find instead GameObject.Find 2022-06-03 03:02:05 -04:00
JohnCorby
12edcea9ee remove unused string uniqueModName parameter 2022-05-25 14:29:40 -07:00
JohnCorby
b10106b66c height map: remove the texture next frame so it dont use memory 2022-05-24 23:11:21 -07:00
JohnCorby
53dd88584b Revert "reformat again"
This reverts commit 93d82358
2022-05-22 18:55:27 -07:00