Open aco4 opened 1 day ago
The noise generator seems to suffer from other issues, limiting its usability. The layers tend to shrink each loop for some reason.
For reference, here is a map that uses it (and some of the original thinking behind it): https://forums.wz2100.net/viewtopic.php?f=49&t=16523
Yes I saw that one but it seems to use "safe" values (scale = 20). Anything other than 20 or 21 causes issues.
I'm making a script generated map. I'm using the built-in noise generator (https://github.com/Warzone2100/warzone2100/pull/2341). It crashes when certain values are passed to the function. For example, the following is fine:
But the following crashes the game with no error message:
The following also crashes:
To Reproduce
Download this script-generated map, which uses
crispness=3
andscale=21
. It works fine.10c-Expanse2.zip
Download this script-generated map, which uses
crispness=3
andscale=38
. It crashes.10c-Expanse2.zip
Download this script-generated map, which uses
crispness=2
andscale=21
. It crashes.10c-Expanse2.zip
Expected behavior
Shouldn't crash
System