ThemeCfg.wiki
changeset 1317 3e33196a7312
parent 1316 1a612c26c5f7
child 1318 57078c02a42e
equal deleted inserted replaced
1316:1a612c26c5f7 1317:3e33196a7312
    24 Any line can be made into a comment line by having a semicolon (“`;`”) at the beginning. Comments are ignored by Hedgewars.
    24 Any line can be made into a comment line by having a semicolon (“`;`”) at the beginning. Comments are ignored by Hedgewars.
    25 
    25 
    26 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.
    26 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.
    27 
    27 
    28 == General configuration keys ==
    28 == General configuration keys ==
    29 === `hidden` (0.9.24) ===
    29 === `hidden` ===
    30 If this key is present in `theme.cfg` (the value does not matter), the theme will be hidden from the theme selection menu. Background themes *must* be hidden.
    30 If this key is present in `theme.cfg` (the value does not matter), the theme will be hidden from the theme selection menu. Background themes *must* be hidden.
       
    31 
       
    32 Added in 0.9.24.
    31 
    33 
    32 === `ice` ===
    34 === `ice` ===
    33 If this key is present (any value), girders become slippery like ice. This also applies to placed girders. This significantly changes the gameplay of your theme, so use wisely. If this key is not present, the terrain is not slippery.
    35 If this key is present (any value), girders become slippery like ice. This also applies to placed girders. This significantly changes the gameplay of your theme, so use wisely. If this key is not present, the terrain is not slippery.
    34 
    36 
    35 === `snow` ===
    37 === `snow` ===
   118 <code>Default: $80</code>
   120 <code>Default: $80</code>
   119 
   121 
   120 === `sd-water-opacity` ===
   122 === `sd-water-opacity` ===
   121 The water opacity while in Sudden Death. Syntax and default value is equivalent to `water-opacity`.
   123 The water opacity while in Sudden Death. Syntax and default value is equivalent to `water-opacity`.
   122 
   124 
   123 === `water-animation` (0.9.23) ===
   125 === `water-animation` ===
   124 Specified a custom water animation and flowing speed before Sudden Death. By default, the water just moves to the right and has no special animation.
   126 Specified a custom water animation and flowing speed before Sudden Death. By default, the water just moves to the right and has no special animation.
   125 
   127 
   126 <code>Values: frames, frame ticks, movement speed</code>
   128 <code>Values: frames, frame ticks, movement speed</code>
   127 
   129 
   128  * `frames`: Number of frames in `BlueWater.png`. The frames in this image should be stacked horizontally. The height of this image must be divisible by `frames`
   130  * `frames`: Number of frames in `BlueWater.png`. The frames in this image should be stacked horizontally. The height of this image must be divisible by `frames`
   129  * `frame ticks`: Duration of a single frame. Must be >0 if `frames`>1, otherwise it is ignored
   131  * `frame ticks`: Duration of a single frame. Must be >0 if `frames`>1, otherwise it is ignored
   130  * `movement speed`: How fast the water moves to the right. Higher values means faster movement. If negative, it moves to the left. Use 0 to stop movement
   132  * `movement speed`: How fast the water moves to the right. Higher values means faster movement. If negative, it moves to the left. Use 0 to stop movement
   131 
   133 
   132 <code>Default: 1, 0, 1</code>
   134 <code>Default: 1, 0, 1</code>
   133 
   135 
   134 === `sd-water-animation` (0.9.23) ===
   136 This key has been added in 0.9.23.
       
   137 
       
   138 === `sd-water-animation` ===
   135 Sudden Death equivalent of `water-animation`, uses `SDWater.png`.
   139 Sudden Death equivalent of `water-animation`, uses `SDWater.png`.
   136 
   140 
   137 == Background keys ==
   141 == Background keys ==
   138 === `sky` ===
   142 === `sky` ===
   139 The colour of the sky.
   143 The colour of the sky.
   140 
   144 
   141 <code>Values: red, green, blue</code>
   145 <code>Values: red, green, blue</code>
   142 
   146 
   143 <code>Default: $00, $00, $00</code>
   147 <code>Default: $00, $00, $00</code>
       
   148 
       
   149 This key has been added in 0.9.23.
   144 
   150 
   145 === `rq-sky` ===
   151 === `rq-sky` ===
   146 The sky color in reduced quality mode. If present, it is used instead of `sky` on low quality.
   152 The sky color in reduced quality mode. If present, it is used instead of `sky` on low quality.
   147 
   153 
   148 <code>Values: red, green, blue</code>
   154 <code>Values: red, green, blue</code>