46 Commits

Author SHA1 Message Date
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
JohnCorby
93d82358fa reformat again 2022-05-22 18:48:23 -07:00
JohnCorby
656ff16305 Revert "Reformat"
This reverts commit 7c0ba5597720f963432d8379a236e74f3508d077.
2022-05-22 18:41:34 -07:00
Ben C
7c0ba55977 Reformat 2022-05-22 21:30:45 -04:00
Ben C
466df12003 Got Schema generation working! 2022-05-22 18:57:05 -04:00
Nick
e1e630aaef Organize + validate 2022-05-17 19:41:45 -04:00
Nick
eebccceaab Fix asset bundle issue and made a class of them 2022-05-13 16:49:29 -04:00
Nick
18ebcb85cc Put sectors on everything 2022-05-10 21:42:30 -04:00
Nick
40cb856d36 Fix out of bounds 2022-04-22 17:46:09 -04:00
Nick
3093a4d9c6 Fix bad commit 2022-04-22 17:04:54 -04:00
Nick
5eb07efc19 Fix array out of bounds exception 2022-04-22 17:04:27 -04:00
Nick
59f167248e Make scatter work as expected with no heightmap texture 2022-03-06 11:58:24 -05:00
Nick J. Connors
51ebf19472 Make scatters have random rotation 2022-02-28 11:40:37 -05:00
Nick J. Connors
9b0d90ca9a Translation support 2022-02-23 19:46:18 -05:00
Nick J. Connors
877e240d6b Switch over to loading textures manually 2022-02-23 02:35:04 -05:00
Nick J. Connors
7f1f06f737 Remove detail generateColliders, add in removeChildren list 2022-02-11 00:38:57 -05:00
Nick J. Connors
bf0fc6f465 Put random seed for scatterer 2022-02-04 22:17:32 -05:00
Nick J. Connors
22ad62f9fb Move scatters into the ground slightly 2022-02-02 21:14:42 -05:00
Nick J. Connors
572e5d2bca Rearrange prop building + start tornado support 2022-01-26 16:08:55 -05:00