Alberth wrote:
Have a group of parameters called "global shape", one "major variations", and one called "small bumps".
I see what you mean now but labeling parameters as belonging to the fin(er)(est) detail would be lying in some cases.
The actual parameter(s) that define the smallbumps varies depending on mapsize. eg. on a 64 * 64 map parameter 5 and 6 will have little to no effect, there it is rather parameter 4 that defines the small bumps. If/when more parameters are added later the lie would become even bigger.
The groupment of the parameters as they are now is accidental.
There is one scale parameter and six noise parameters, with the two spacers that made for a nice 3 by 3 frame.

They could even be re-arranged later on if/when a live preview mode would be added to the gui?
It beats labels like "paramX" any day of the week
I fully agree on that
, and frees up the tooltip for other explanations.
The tooltips of the parameter buttons and value labels are mostly free, except for reading 'click me to change the value', because I did not yet find a good description for the "small bumps" that fits under all circomstances.
I can certainly try grouping and renaming them as you suggest but before doing that I will post a version 2 so I have a backup in safe place in case things go wrong (I am modifying the patches themselves as I go).
----------------------------------------------
Edit:
As promised, attached is version 2.
Below is what each patch adds and what you can expect from it.
Code: Select all
10 feature: Custom smoothness setting:
- Parameters saved and configurable in config file.
- Custom option in smoothness dropdown.
20 feature: Custom smoothness parameters gui:
- Gui auto-opens iff custom smoothness is selected (both for new games and scenario editor).
- All value fields (and pushbuttons) are clickable to modify values.
- Gui auto-closes if landgenerator is original or if smoothness is not custom.
30 feature: Custom smoothness gui presets:
- 4 buttons to load smoothness presets in custom values.
40 feature: Custom smoothness gui help:
- Link to explanations about perlin noise.
50 feature: Custom smoothness parameters gui generate button:
In new game mode
- Besides using the custom values, game is started normally.
In editor mode
- Re-opens this gui after mapgeneration.
- Opens the smallmap after re-opening this gui,
auto shows heightmap and zooms out 2 levels.
^^^ This already gives a somewhat nice test mode
60 feature: Custom smoothness gui cancel, reset, default and OK buttons:
- Removed closebox from this gui.
On Cancel
- Reset live values to last stored in backups.
- Close this gui.
On Reset
- Reset live values to last stored in backups.
On Default
- Load defaults in live values.
On OK
- Save live values in backups.
- Close this gui.
On hotkeys DEL or CTRL+DEL
- Reset values to last saved in backups.
What still "needs" to be done is
- Rename the parameter labels and define the parameter pushbutton tooltips. (patch 20)
- Open a local helptext file. (patch 40)
- Re-arange the parameters frame? (patch 20)
Other than that I consider the attached patches finished in terms of functionality and ready for review.
That does not mean ofcourse that more functionality can be added in later patches, like re-adding that button I removed, adding the mapseed, mapheight, etc.