Theme.wiki
changeset 319 e5542ee81444
parent 83 b9fe713d7c27
child 320 91a3a47a1615
equal deleted inserted replaced
318:b5c9ee17f621 319:e5542ee81444
     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.
       
    15 
    14 === sky ===
    16 === sky ===
    15 The colour of the sky.
    17 The colour of the sky.
    16 
    18 
    17 Values: red, green, blue
    19 <code>Values: red, green, blue</code>
    18 
       
    19 Values: red, green, blue
       
    20 
    20 
    21 === border ===
    21 === border ===
    22 The colour of the outline of explosions.
    22 The colour of the outline of explosions.
    23 
    23 
    24 Values: red, green, blue
    24 <code>Values: red, green, blue</code>
    25 
    25 
    26 === water-top ===
    26 === water-top ===
    27 The colour of the topmost part of the water (under the water.png).
    27 The colour of the topmost part of the water (under the BlueWater.png).
    28 This makes a gradient together with water-bottom.
    28 This makes a gradient together with water-bottom.
    29 
    29 
    30 Values: red, green, blue
    30 <code>Values: red, green, blue</code>
    31 
    31 
    32 === water-bottom ===
    32 === water-bottom ===
    33 The colour of the lowest part of the water.
    33 The colour of the lowest part of the water.
    34 This makes a gradient together with water-top.
    34 This makes a gradient together with water-top.
    35 
    35 
    36 Values: red, green, blue
    36 <code>Values: red, green, blue</code>
    37 
    37 
    38 === water-opacity ===
    38 === water-opacity ===
    39 Opacity of the water, how visible gears in the water are.
    39 Opacity of the water affects how visible gears in the water are.
    40 
    40 
    41 Values: opacity
    41 <code>Values: opacity</code>
    42 
    42 
    43 === music ===
    43 === music ===
    44 Name of the track to be played in the theme, e.g. Nature.ogg
    44 Name of the track to be played in the theme, e.g. Nature.ogg
    45 
    45 
    46 Values: name
    46 <code>Values: name</code>
    47 
    47 
    48 === clouds ===
    48 === clouds ===
    49 The number of clouds to create.
    49 The number of clouds to create.
    50 
    50 
    51 Values: number
    51 <code>Values: number</code>
    52 
    52 
    53 === object ===
    53 === object ===
    54 There may be several object keys in the file, each one representing one land object.
    54 There may be multiple object keys in the file, each one representing one land object.
    55 
    55 
    56 unfinished, values are the file name and then the old values
    56 objects file name(without the .png), max number of this object that may be placed in a single map, rectangle that must be buried (left, top, width, height), minimum number of rectangles that must be visible, list of the rectangles for being visible(left, top, width, height)
       
    57 filename: The objects' filename (without the .png)
       
    58 max: The maximum number of this object that may be generated in a map
       
    59 buriedrec: A rectangle that must be buried in the terrain (left, top, width, height)
       
    60 minvisible: The minimum amount of rectangles that must be visible
       
    61 visiblerec: list of the rectangles for being visible(left, top, width, height)
       
    62 
       
    63 <code>Values: filename, max, buriedrec, minvisible, visiblerec</code>
    57 
    64 
    58 === spray ===
    65 === spray ===
    59 There may be several spray keys in the file, each one representing one spray object.
    66 There may be several spray keys in the file, each one representing one spray object.
    60 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.
    67 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.
    61 
    68 
    62 Values: name, number
    69 <code>Values: name, number</code>
    63 
    70 
    64 === flakes ===
    71 === flakes ===
    65 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.
    72 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.
    66 If left out there are no flakes.
    73 If left out there are no flakes.
    67 
    74 
    68 Values: number, frames, frame ticks, speed, fall speed
    75 <code>Values: number, frames, frame ticks, speed, fall speed</code>
    69 
    76 
    70 === sd-water-top ===
    77 === sd-water-top ===
    71 Sudden death version of water-top. Has a default value.
    78 Sudden death version of water-top. Has a default value.
    72 
    79 
    73 === sd-water-bottom ===
    80 === sd-water-bottom ===
    74 Sudden death version of water-bottom. Has a default value.
    81 Sudden death version of water-bottom. Has a default value.
    75 
    82 
    76 === sd-water-opacity ===
    83 === sd-water-opacity ===
    77 Sudden death version of water-opacity. As default same as water-opacity.
    84 Sudden death version of water-opacity. Has default same as water-opacity.
    78 
    85 
    79 === sd-clouds ===
    86 === sd-clouds ===
    80 Sudden death version of clouds. As default same as clouds.
    87 Sudden death version of clouds. Has default same as clouds.
    81 
    88 
    82 === sd-flakes ===
    89 === sd-flakes ===
    83 Sudden death version of flakes. Has a default value.
    90 Sudden death version of flakes. Has a default value.
    84 
    91 
    85 === rq-sky ===
    92 === rq-sky ===