Theme.wiki
changeset 433 0661855ab04a
parent 320 91a3a47a1615
child 434 1ce0c043a837
equal deleted inserted replaced
432:e441f3f51dac 433:0661855ab04a
     9 
     9 
    10 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.
    10 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.
    11 
    11 
    12 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 0 - $FF.
    12 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 0 - $FF.
    13 
    13 
    14 Comments may be added by prefixing a semicolon(;) to the comment.
    14 Comments may be added by prefixing a semicolon (“`;`”) to the comment.
    15 
    15 
    16 === sky ===
    16 === `sky` ===
    17 The colour of the sky.
    17 The colour of the sky.
       
    18 
    18 
    19 
    19 <code>Values: red, green, blue</code>
    20 <code>Values: red, green, blue</code>
    20 
    21 
    21 === border ===
    22 === `rq-sky` ===
       
    23 Reduced quality version of sky. If present used instead of `sky` on low quality.
       
    24 
       
    25 === `border` ===
    22 The colour of the outline of explosions.
    26 The colour of the outline of explosions.
    23 
    27 
    24 <code>Values: red, green, blue</code>
    28 <code>Values: red, green, blue</code>
    25 
    29 
    26 === water-top ===
    30 === `water-top` ===
    27 The colour of the topmost part of the water (under the BlueWater.png).
    31 The colour of the topmost part of the water (under the `BlueWater.png`) before Sudden Death.
    28 This makes a gradient together with water-bottom.
    32 This makes a gradient together with `water-bottom`.
    29 
    33 
    30 <code>Values: red, green, blue</code>
    34 <code>Values: red, green, blue</code>
    31 
    35 
    32 === water-bottom ===
    36 === `water-bottom` ===
    33 The colour of the lowest part of the water.
    37 The colour of the lowest part of the water before Sudden Death.
    34 This makes a gradient together with water-top.
    38 This makes a gradient together with `water-top`.
    35 
    39 
    36 <code>Values: red, green, blue</code>
    40 <code>Values: red, green, blue</code>
    37 
    41 
    38 === water-opacity ===
    42 === `sd-water-bottom` ===
    39 Opacity of the water affects how visible gears in the water are.
    43 The colour of the lowest part of the water while in Sudden Death.
       
    44 This makes a gradient together with `sd-water-top`.
       
    45 If unspecified, it has a default value.
       
    46 
       
    47 <code>Values: red, green, blue</code>
       
    48 
       
    49 === `sd-water-top` ===
       
    50 The colour of the topmost part of the water (under the `SDWater.png`) while in Sudden Death.
       
    51 This makes a gradient together with `sd-water-bottom`.
       
    52 If unspecified, it has a default value.
       
    53 
       
    54 <code>Values: red, green, blue</code>
       
    55 
       
    56 === `water-opacity` ===
       
    57 The water opacity before Sudden Death. Opacity of the water affects how visible gears in the water are.
    40 
    58 
    41 <code>Values: opacity</code>
    59 <code>Values: opacity</code>
    42 
    60 
    43 === music ===
    61 === `sd-water-opacity` ===
    44 Name of the track to be played in the theme, e.g. Nature.ogg
    62 The water opacity while in Sudden Death. By default, it has the same value as `water-opacity`.
       
    63 
       
    64 === `music` ===
       
    65 Name of the track to be played in the theme before Sudden Death, e.g. `Nature.ogg`. You find music tracks in `Data/Music` of the Hedgewars installation directory. The file name is case-sensitive!
    45 
    66 
    46 <code>Values: name</code>
    67 <code>Values: name</code>
    47 
    68 
    48 === clouds ===
    69 === `sd-music` (0.9.21) ===
    49 The number of clouds to create.
    70 Name of the track to be played in the theme while in Sudden Death, e.g. `hell.ogg`. By default, no music is played. You find music tracks in `Data/Music` of the Hedgewars installation directory. The file name is case-sensitive!
       
    71 
       
    72 === `clouds` ===
       
    73 The number of clouds to create, before Sudden Death. Uses `Clouds.png`.
    50 
    74 
    51 <code>Values: number</code>
    75 <code>Values: number</code>
    52 
    76 
    53 === object ===
    77 === `sd-clouds` ===
       
    78 Number of clouds while in Sudden Death, uses the file `SDClouds.png`. By default it is the same number as `clouds`.
       
    79 
       
    80 === `flakes` ===
       
    81 Values for the flakes of this theme before Sudden Death. Uses `Flake.png`. If this field is left out, then there are no flakes.
       
    82 
       
    83  * `number`: Number of visible flakes
       
    84  * `frames`: Number of frames used in `Flake.png`
       
    85  * `frame ticks`: Number of ticks a frame is shown, after that the next frame is shown (a tick currently equals 1 millisecond)
       
    86  * `speed`: Rotation speed of flake
       
    87  * `fall speed`: Falling speed of flake
       
    88 
       
    89 <code>Values: number, frames, frame ticks, speed, fall speed</code>
       
    90 
       
    91 === `sd-flakes` ===
       
    92 Sudden death version of `flakes`, the parameters are the same as in `flakes`. This uses `SDFlake.png`. By default, the flakes are skulls and bones.
       
    93 
       
    94 === `object` ===
    54 There may be multiple object keys in the file, each one representing one land object.
    95 There may be multiple object keys in the file, each one representing one land object.
    55 
    96 
    56 filename: The objects' filename (without the .png)
    97  * `filename`: The object’s filename (without the “.png”). Case-sensitive.
    57 
    98  * `max`: The maximum number of this object that may be generated in a map
    58 max: The maximum number of this object that may be generated in a map
    99  * `buriedrec`: A rectangle that must be buried in the terrain (`left, top, width,  height`)
    59 
   100  * `minvisible`: The minimum amount of rectangles that must be visible
    60 buriedrec: A rectangle that must be buried in the terrain (left, top, width, height)
   101  * `visiblerec`: list of the rectangles for being visible (`left, top, width, height`)
    61 
       
    62 minvisible: The minimum amount of rectangles that must be visible
       
    63 
       
    64 visiblerec: list of the rectangles for being visible(left, top, width, height)
       
    65 
   102 
    66 <code>Values: filename, max, buriedrec, minvisible, visiblerec</code>
   103 <code>Values: filename, max, buriedrec, minvisible, visiblerec</code>
    67 
   104 
    68 === spray ===
   105 === `spray` ===
    69 There may be several spray keys in the file, each one representing one spray object.
   106 There may be several spray keys in the file, each one representing one spray object.
    70 The name is the name of the .png (without the extension) of the graphics file, and the number is the number of instances of this spray that may be added.
   107 The `name` is the case-sensitive name of the PNG file (without the file name suffix) of the graphics file, and `number` is the number of instances of this spray that may be added.
    71 
   108 
    72 <code>Values: name, number</code>
   109 <code>Values: name, number</code>
    73 
       
    74 === flakes ===
       
    75 Values for the flakes of this theme. First the number of flakes, then number of frames and ticks per frame. Lastly the speed and fall speed of the flakes.
       
    76 If left out there are no flakes.
       
    77 
       
    78 <code>Values: number, frames, frame ticks, speed, fall speed</code>
       
    79 
       
    80 === sd-water-top ===
       
    81 Sudden death version of water-top. Has a default value.
       
    82 
       
    83 === sd-water-bottom ===
       
    84 Sudden death version of water-bottom. Has a default value.
       
    85 
       
    86 === sd-water-opacity ===
       
    87 Sudden death version of water-opacity. Has default same as water-opacity.
       
    88 
       
    89 === sd-clouds ===
       
    90 Sudden death version of clouds. Has default same as clouds.
       
    91 
       
    92 === sd-flakes ===
       
    93 Sudden death version of flakes. Has a default value.
       
    94 
       
    95 === rq-sky ===
       
    96 Reduced quality version of sky. If present used instead of sky on low quality.