equal
deleted
inserted
replaced
18 |
18 |
19 Any line can be made into a comment line by having a semicolon (“`;`”) at the beginning. Comments are ignored by Hedgewars. |
19 Any line can be made into a comment line by having a semicolon (“`;`”) at the beginning. Comments are ignored by Hedgewars. |
20 |
20 |
21 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 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. |
22 |
22 |
23 <wiki:toc max_depth="2" /> |
23 <wiki:toc max_depth="3" /> |
24 |
24 |
25 == Keys == |
25 == Keys == |
26 === General configuration === |
26 === General configuration === |
27 ==== `hidden` (0.9.24) ==== |
27 ==== `hidden` (0.9.24) ==== |
28 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. |
28 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. |
69 There may be several spray keys in the file, each one representing one spray object. |
69 There may be several spray keys in the file, each one representing one spray object. |
70 The `name` is the case-sensitive name of the PNG file (without the file name suffix) of the graphics file, and `number` is the rough number of instances of this spray that may be added to the map. The number is the average number of sprays that are normally placed on a random medium-sized island. For larger and smaller landscapes, this number will be automatically scaled up or down. Please note that this number only specifies a rough goal, the actual number of created sprays may vary and you may have to play a bit with this number in order to find a good value. |
70 The `name` is the case-sensitive name of the PNG file (without the file name suffix) of the graphics file, and `number` is the rough number of instances of this spray that may be added to the map. The number is the average number of sprays that are normally placed on a random medium-sized island. For larger and smaller landscapes, this number will be automatically scaled up or down. Please note that this number only specifies a rough goal, the actual number of created sprays may vary and you may have to play a bit with this number in order to find a good value. |
71 |
71 |
72 <code>Values: name, number</code> |
72 <code>Values: name, number</code> |
73 |
73 |
74 === Water keys === |
74 === Water === |
75 ==== `water-top` ==== |
75 ==== `water-top` ==== |
76 The colour of the topmost part of the water (under the `BlueWater.png`) before Sudden Death. |
76 The colour of the topmost part of the water (under the `BlueWater.png`) before Sudden Death. |
77 This makes a gradient together with `water-bottom`. The default color is blue and matches the default `BlueColor.png`. |
77 This makes a gradient together with `water-bottom`. The default color is blue and matches the default `BlueColor.png`. |
78 |
78 |
79 <code>Values: red, green, blue</code> |
79 <code>Values: red, green, blue</code> |