- <<Back to the Openttd.cfg (OpenTTD configuration file)
transparency_locks is a variable of openttd.cfg file.
It is an integer value that stores what map features are locked against being toggled to be transparent (more accurately, to not have full opacity) with the icons in the first row of Transparency options toolbar.key. Practically it means: on which buttons are there
See Transparency options for further information on what effect it has and how to change it in the game.
If no map features are locked, the value is 0 (zero).
Otherwise, the integer value which will be the value of this variable, is calculated as follows:
The method implies that the lowest possible value of the variable is 0, the highest is 511, and all integers between them are valid values, each one representing a state of the buttons, that is, a combination of map features.