ThemeCfg.wiki
changeset 1124 b37c99c55365
parent 1123 02863856f674
child 1138 b32441125bb8
equal deleted inserted replaced
1123:02863856f674 1124:b37c99c55365
    11 
    11 
    12 There are also keys that replace existing keys under certain conditions, all keys preceding with “`sd-`” are used during Sudden Death and all keys with “`rq-`” are used when the graphics quality is reduced.
    12 There are also keys that replace existing keys under certain conditions, all keys preceding with “`sd-`” are used during Sudden Death and all keys with “`rq-`” are used when the graphics quality is reduced.
    13 
    13 
    14 Following is the list of all current keys and their values, it is important to have the right number of values. Most keys may only be used once.
    14 Following is the list of all current keys and their values, it is important to have the right number of values. Most keys may only be used once.
    15 
    15 
    16 The values red, green, blue and opacity are in the range of one byte and can be specified in both decimal or hexadecimal form. The range are `0` - `255` or `$00` - `$FF`.
    16 The values red, green, blue and opacity are in the range of one byte and can be specified in both decimal or hexadecimal form. A hexadecimal number must be prepended with a dollar sign. The range is `0` - `255` or `$00` - `$FF`.
    17 
    17 
    18 Any line can be made into a comment line by having a semicolon (“`;`”) at the beginning. Comments are ignored by Hedgewars.
    18 Any line can be made into a comment line by having a semicolon (“`;`”) at the beginning. Comments are ignored by Hedgewars.
    19 
    19 
    20 Literally all lines in the `theme.cfg` file are optional, thus an empty file is valid. Everything has a default value. However, some default values are not really useful (e.g. the water or sky color) and you should therefore explicitly specify enough values.
    20 Literally all lines in the `theme.cfg` file are optional, thus an empty file is valid. Everything has a default value. However, some default values are not really useful (e.g. the water or sky color) and you should therefore explicitly specify enough values.
    21 
    21 
    22 == `sky` ==
    22 == `sky` ==
    23 The colour of the sky.
    23 The colour of the sky.
    24 
    24 
    25 <code>Values: red, green, blue</code>
    25 <code>Values: red, green, blue</code>
    26 
    26 
    27 <code>Default: 0, 0, 0</code>
    27 <code>Default: $00, $00, $00</code>
    28 
    28 
    29 == `rq-sky` ==
    29 == `rq-sky` ==
    30 The sky color in reduced quality mode. If present, it is used instead of `sky` on low quality.
    30 The sky color in reduced quality mode. If present, it is used instead of `sky` on low quality.
    31 
    31 
    32 <code>Values: red, green, blue</code>
    32 <code>Values: red, green, blue</code>
    34 == `border` ==
    34 == `border` ==
    35 The colour of the outline of explosions.
    35 The colour of the outline of explosions.
    36 
    36 
    37 <code>Values: red, green, blue</code>
    37 <code>Values: red, green, blue</code>
    38 
    38 
    39 <code>Default: 80, 80, 80</code>
    39 <code>Default: $50, $50, $50</code>
    40 
    40 
    41 == `water-top` ==
    41 == `water-top` ==
    42 The colour of the topmost part of the water (under the `BlueWater.png`) before Sudden Death.
    42 The colour of the topmost part of the water (under the `BlueWater.png`) before Sudden Death.
    43 This makes a gradient together with `water-bottom`. The default color is blue and matches the default `BlueColor.png`.
    43 This makes a gradient together with `water-bottom`. The default color is blue and matches the default `BlueColor.png`.
    44 
    44 
    59 This makes a gradient together with `sd-water-top`.
    59 This makes a gradient together with `sd-water-top`.
    60 The default color neatly matches the default `SDWater.png`.
    60 The default color neatly matches the default `SDWater.png`.
    61 
    61 
    62 <code>Values: red, green, blue</code>
    62 <code>Values: red, green, blue</code>
    63 
    63 
    64 <code>Default: 150, 112, 169</code>
    64 <code>Default: $96, $70, $A9</code>
    65 
    65 
    66 == `sd-water-top` ==
    66 == `sd-water-top` ==
    67 The colour of the topmost part of the water (under the `SDWater.png`) while in Sudden Death.
    67 The colour of the topmost part of the water (under the `SDWater.png`) while in Sudden Death.
    68 This makes a gradient together with `sd-water-bottom`.
    68 This makes a gradient together with `sd-water-bottom`.
    69 The default color neatly matches the default `SDWater.png`.
    69 The default color neatly matches the default `SDWater.png`.
    70 
    70 
    71 <code>Values: red, green, blue</code>
    71 <code>Values: red, green, blue</code>
    72 
    72 
    73 <code>Default: 182, 144, 201</code>
    73 <code>Default: $B9, $72, $C9</code>
    74 
    74 
    75 == `water-opacity` ==
    75 == `water-opacity` ==
    76 The water opacity before Sudden Death. Opacity of the water affects how visible gears in the water are. `0` makes it fully transparent, whereas `255` or `$FF` makes it fully opaque. If the water is fully opaque, the drowning animation is skipped when a hedgehog drowns.
    76 The water opacity before Sudden Death. Opacity of the water affects how visible gears in the water are. `0` makes it fully transparent, whereas `255` or `$FF` makes it fully opaque. If the water is fully opaque, the drowning animation is skipped when a hedgehog drowns.
    77 
    77 
    78 In combination with the default `BlueWater.png`, the recommended value for this is `$80`, which also is the default.
    78 In combination with the default `BlueWater.png`, the recommended value for this is `$80`, which also is the default.