GUI re-arrangement

This page is to discuss the envisioned re-structuring of the game menu, newgame settings, advanced settings and options. See also #5147

This is a big task and can certainly be structured into several sub-tasks


Settings Re-arangement

Difficulty settings as they are present now serve little purpose as there are many (advanced) settings which have at least a strong impact as the historic difficulty settings.

Move difficulty settings

This task has some pre-conditions:

  1. Add the capability to set the difficulty level explicity for individual NewGRFs, AIs and game scripts.
    • AI/GS currently can set specific values for their settings wrt. the difficulty profiles.
    • The profile approach can be further improved by not requiring to fix all settings to the profile.
    • Allowing AI/GS to define more profiles than easy/medium/hard might be possible, but would also hurt consistency and usuabiltiy wrt. setting up multiple AI/GS.
    • For NewGRFs the difficulty profile currently does not seem very useful. ECS uses it, but it should likely be better integrated into action14 parameter descriptions, instead of overwriting parameters using action7/9 in later stages. So, for now difficulty profiles might just be dropped for NewGRFs, so that they always get "custom".
    • Also for AIs it is IMHO more of a chore of defining the same value for every level of difficulty rather than useful feature (opinion of AIAI developer)
  2. Remove all highscores but custom and disable difficulty different from 'custom'.
    This includes finding a new place for the highscore window.
    • Maybe just on the main screen instead of the current difficulty settings. (this would be a normal place in other games, except highscores are currently not quite meaningful/important in OTTD)
    • Maybe in game next to the company league or detailed rating windows.
    • On a side note: Company league, detailed rating and highscore might all be possibly become subject to game scripts. (highscore per gamescript instead of per difficulty profile)

100% completed: Difficulty settings window moved at r24791


Cleanup game options

The game options contain a few settings which better belong to the advanced settings or new map window. Actually the only settings which would remain, which can not be moved to mapgen or advanced settings, are the these:

Remove message/newspaper settings window

This item is being addressed with #5361.

This a weird hidden window. Esp. it is only available in game.

100% completed: News settings window moved at r24845


Filter for settings

Allow users to apply various filters on the settings:

75% completed


Allow settings presets

Settings presets can mean different things:

There are several ways how this could be achieved:

Show deviations from default settings

Using the above filtering for default/newgame setting differences these things are possible:

Clearing deviations

These options are quite questionable though (esp. wrt. current game options); this might better be solved via profiles.

Editing newgame and remote settings

In game you can currently edit the settings of the current game. It might also be useful to edit newgame settings from there.

Window Re-arangement

See also #3826 and OpenTTD-gui project.

In general the layout could be like

Main window layout

  1. New singleplayer Game
  2. Quickstart (uses current new game settings, like current ctrl+click new game)
  3. Load game (incl. scenario)
  4. Multiplayer
  5. Highscores
  6. check online content(?)
  7. Quit

New game dialog (tabs)

See also #5147

Map settings

draft of the re-designed new game dialogue

  1. choice of map generator: heightmap / scenario / terragenesis / original
  2. type of map borders
  3. map size
  4. amount water content, tree content(?)
  5. morphology (mountainous,...)

New game settings

  1. date
  2. industry, town and tree(?) quantities
  3. driving side
  4. town names
  5. part of current difficulty settings
  6. link to(?) adv. settings, incl. some of current difficulty settings

Newgrf settings

AI settings

User preferences (tabs)

This could be the re-design of the existing game options

general GUI

  1. base sets
  2. language
  3. units
  4. savegame names / frequency
  5. mouse behaviour

game related

  1. UI settings from current adv. settings