Next: Advanced settings, Previous: Map hints.xml, Up: Reference

### 4.11 Map style.xml

#### 4.11.1 animation-density

— Command-line option: `--animation-density=<value>`
— Environment variable: `LW6_ANIMATION_DENSITY`
— XML key: `animation-density`

> Type: float.

> Density of the background animation, that is, for instance, if the background animation is about displaying bubbles, using a high value will display many bubbles. A value of 1.0 corresponds to the default setting.

#### 4.11.2 animation-speed

— Command-line option: `--animation-speed=<value>`
— Environment variable: `LW6_ANIMATION_SPEED`
— XML key: `animation-speed`

> Type: float.

> Speed of the background animation, that is, for instance, if the background animation is about displaying bubbles, using a high value will cause bubbles to move very fast. A value of 1.0 corresponds to the default setting.

#### 4.11.3 background-color-root-bg

— Command-line option: `--background-color-root-bg=<value>`
— Environment variable: `LW6_BACKGROUND_COLOR_ROOT_BG`
— XML key: `background-color-root-bg`

> Type: color.

> Defines the main background color. This is, for instance, the color which will be used to clear the screen before drawing thing. Will be automatically guessed from the map texture if color-auto is set. Can be #RGB, #RGBA, #RRGGBB or #RRGGBBAA.

#### 4.11.4 background-color-root-fg

— Command-line option: `--background-color-root-fg=<value>`
— Environment variable: `LW6_BACKGROUND_COLOR_ROOT_FG`
— XML key: `background-color-root-fg`

> Type: color.

> Defines a color which will be used together with color-base-bg to compose the background. It can be wise to have a minimum contrast between this color and color-base-bg, but it is not mandatory, especially if other colors are manually redefined. Will be automatically guessed from the map texture if color-auto is set. Can be #RGB, #RGBA, #RRGGBB or #RRGGBBAA.

#### 4.11.5 background-color-stuff-bg

— Command-line option: `--background-color-stuff-bg=<value>`
— Environment variable: `LW6_BACKGROUND_COLOR_STUFF_BG`
— XML key: `background-color-stuff-bg`

> Type: color.

> Defines a color which will be used together with color-alternate-fg to draw things (animations, sprites, text, whatever) in the background. It should be different enough from color-alternate-fg so that one can really distinguish these colors. Will be automatically guessed from the map texture if color-auto is set. Can be #RGB, #RGBA, #RRGGBB or #RRGGBBAA.

#### 4.11.6 background-color-stuff-fg

— Command-line option: `--background-color-stuff-fg=<value>`
— Environment variable: `LW6_BACKGROUND_COLOR_STUFF_FG`
— XML key: `background-color-stuff-fg`

> Type: color.

> Defines a color which will be used to draw things (animations, sprites, text, whatever) in the background. It should be different enough from color-alternate-bg so that one can really distinguish these colors. Think of this as the sprite, the text, the whatever-needs-to-be-seen-uses-this color. Will be automatically guessed from the map texture if color-auto is set. Can be #RGB, #RGBA, #RRGGBB or #RRGGBBAA.

#### 4.11.7 background-style

— Command-line option: `--background-style=<value>`
— Environment variable: `LW6_BACKGROUND_STYLE`
— XML key: `background-style`

> Type: string.

> The background defines, of course, what is displayed at the background, but it also conditions the colors used for other items, such as the menus for instance. The only possible value for now is 'bubbles'.

#### 4.11.8 color-alternate-bg

— Command-line option: `--color-alternate-bg=<value>`
— Environment variable: `LW6_COLOR_ALTERNATE_BG`
— XML key: `color-alternate-bg`

> Type: color.

> Defines the alternate color, more precisely, its bg (background) part. Colors are always defined by a bg/fg pair. Most colors in the game can be deduced from this one, usually to color a map you only need to define color-base-bg, color-base-fg, color-alternate-bg and color-alternate-fg.

#### 4.11.9 color-alternate-fg

— Command-line option: `--color-alternate-fg=<value>`
— Environment variable: `LW6_COLOR_ALTERNATE_FG`
— XML key: `color-alternate-fg`

> Type: color.

> Defines the alternate color, more precisely, its fg (foreground) part. Colors are always defined by a bg/fg pair. Most colors in the game can be deduced from this one, usually to color a map you only need to define color-base-bg, color-base-fg, color-alternate-bg and color-alternate-fg.

#### 4.11.10 color-base-bg

— Command-line option: `--color-base-bg=<value>`
— Environment variable: `LW6_COLOR_BASE_BG`
— XML key: `color-base-bg`

> Type: color.

> Defines the base color, more precisely, its bg (background) part. Colors are always defined by a bg/fg pair. Most colors in the game can be deduced from this one, usually to color a map you only need to define color-base-bg, color-base-fg, color-alternate-bg and color-alternate-fg.

#### 4.11.11 color-base-fg

— Command-line option: `--color-base-fg=<value>`
— Environment variable: `LW6_COLOR_BASE_FG`
— XML key: `color-base-fg`

> Type: color.

> Defines the base color, more precisely, its fg (foreground) part. Colors are always defined by a bg/fg pair. Most colors in the game can be deduced from this one, usually to color a map you only need to define color-base-bg, color-base-fg, color-alternate-bg and color-alternate-fg.

#### 4.11.12 colorize

— Command-line option: `--colorize=<value>`
— Environment variable: `LW6_COLORIZE`
— XML key: `colorize`

> Type: boolean.

> If set, then all background drawings including textures will use the bakground colors. This means, for instance, that if background colors are set automatically by color-auto from the map texture, then the background will adopt the same range of colors than the map itself. In short, the background will mimic the map.

#### 4.11.13 cursor-size

— Command-line option: `--cursor-size=<value>`
— Environment variable: `LW6_CURSOR_SIZE`
— XML key: `cursor-size`

> Type: float.

> Size of the cursors on the map. 1 is the default, setting it to a higher value will make cursors bigger, a lower value will make them smaller.

#### 4.11.14 hidden-layer-alpha

— Command-line option: `--hidden-layer-alpha=<value>`
— Environment variable: `LW6_HIDDEN_LAYER_ALPHA`
— XML key: `hidden-layer-alpha`

> Type: float.

> Whenever players are supposed to be hidden behind a wall, for instance if they are in layer 2 and layer 1 is filled with walls, it's still possible to see them, but with a low alpha value (almost transparent). This parameter allows you to trick this value, 0 will make these players absolutely invisible, 1 will make them totally opaque, like if they were on layer 1.

#### 4.11.15 hud-color-frame-bg

— Command-line option: `--hud-color-frame-bg=<value>`
— Environment variable: `LW6_HUD_COLOR_FRAME_BG`
— XML key: `hud-color-frame-bg`

> Type: color.

> Defines the background color for the hud frame. Ignored if hud-color-auto is set. Can be #RGB, #RGBA, #RRGGBB or #RRGGBBAA.

#### 4.11.16 hud-color-frame-fg

— Command-line option: `--hud-color-frame-fg=<value>`
— Environment variable: `LW6_HUD_COLOR_FRAME_FG`
— XML key: `hud-color-frame-fg`

> Type: color.

> Defines the foreground color for the hud frame. Ignored if hud-color-auto is set. Can be #RGB, #RGBA, #RRGGBB or #RRGGBBAA.

#### 4.11.17 hud-color-text-bg

— Command-line option: `--hud-color-text-bg=<value>`
— Environment variable: `LW6_HUD_COLOR_TEXT_BG`
— XML key: `hud-color-text-bg`

> Type: color.

> Defines the background color for hud text. Ignored if hud-color-auto is set. Can be #RGB, #RGBA, #RRGGBB or #RRGGBBAA.

#### 4.11.18 hud-color-text-fg

— Command-line option: `--hud-color-text-fg=<value>`
— Environment variable: `LW6_HUD_COLOR_TEXT_FG`
— XML key: `hud-color-text-fg`

> Type: color.

> Defines the foreground color for hud text. Ignored if hud-color-auto is set. Can be #RGB, #RGBA, #RRGGBB or #RRGGBBAA.

#### 4.11.19 hud-style

— Command-line option: `--hud-style=<value>`
— Environment variable: `LW6_HUD_STYLE`
— XML key: `hud-style`

> Type: string.

> The hud is where informations about the game are displayed. This means, who is winning, are other status-like informations. Possible values include 'floating' and 'tactical'.

#### 4.11.20 keep-ratio

— Command-line option: `--keep-ratio=<value>`
— Environment variable: `LW6_KEEP_RATIO`
— XML key: `keep-ratio`

> Type: boolean.

> Defines wether the map should keep its ratio, or if it should be stretched to fill the shape of your screen.

#### 4.11.21 menu-color-default-bg

— Command-line option: `--menu-color-default-bg=<value>`
— Environment variable: `LW6_MENU_COLOR_DEFAULT_BG`
— XML key: `menu-color-default-bg`

> Type: color.

> Defines the default background color for menus. Ignored if menu-color-auto is set. Can be #RGB, #RGBA, #RRGGBB or #RRGGBBAA.

#### 4.11.22 menu-color-default-fg

— Command-line option: `--menu-color-default-fg=<value>`
— Environment variable: `LW6_MENU_COLOR_DEFAULT_FG`
— XML key: `menu-color-default-fg`

> Type: color.

> Defines the default foreground color for menus. In fact, this is the main color for menu text, the color used to draw letters in menus. Ignored if menu-color-auto is set. Can be #RGB, #RGBA, #RRGGBB or #RRGGBBAA.

#### 4.11.23 menu-color-disabled-bg

— Command-line option: `--menu-color-disabled-bg=<value>`
— Environment variable: `LW6_MENU_COLOR_DISABLED_BG`
— XML key: `menu-color-disabled-bg`

> Type: color.

> Defines the background color for a disabled menu item. Ignored if menu-color-auto is set. Can be #RGB, #RGBA, #RRGGBB or #RRGGBBAA.

#### 4.11.24 menu-color-disabled-fg

— Command-line option: `--menu-color-disabled-fg=<value>`
— Environment variable: `LW6_MENU_COLOR_DISABLED_FG`
— XML key: `menu-color-disabled-fg`

> Type: color.

> Defines the foreground color for a disabled menu item. Ignored if menu-color-auto is set. Can be #RGB, #RGBA, #RRGGBB or #RRGGBBAA.

#### 4.11.25 menu-color-selected-bg

— Command-line option: `--menu-color-selected-bg=<value>`
— Environment variable: `LW6_MENU_COLOR_SELECTED_BG`
— XML key: `menu-color-selected-bg`

> Type: color.

> Defines the background color for a selected menu item. Ignored if menu-color-auto is set. Can be #RGB, #RGBA, #RRGGBB or #RRGGBBAA.

#### 4.11.26 menu-color-selected-fg

— Command-line option: `--menu-color-selected-fg=<value>`
— Environment variable: `LW6_MENU_COLOR_SELECTED_FG`
— XML key: `menu-color-selected-fg`

> Type: color.

> Defines the foreground color for a selected menu item. Ignored if menu-color-auto is set. Can be #RGB, #RGBA, #RRGGBB or #RRGGBBAA.

#### 4.11.27 menu-style

— Command-line option: `--menu-style=<value>`
— Environment variable: `LW6_MENU_STYLE`
— XML key: `menu-style`

> Type: string.

> The menu style is simply the name of the engine used to power the menu system. The only possible value, for now, is 'cylinder'.

#### 4.11.28 system-color-bg

— Command-line option: `--system-color-bg=<value>`
— Environment variable: `LW6_SYSTEM_COLOR_BG`
— XML key: `system-color-bg`

> Type: color.

> Defines the system background color, used when displaying system info, such as the number of frames per second. Can be #RGB, #RGBA, #RRGGBB or #RRGGBBAA.

#### 4.11.29 system-color-fg

— Command-line option: `--system-color-fg=<value>`
— Environment variable: `LW6_SYSTEM_COLOR_FG`
— XML key: `system-color-fg`

> Type: color.

> Defines the system foreground color, used when displaying system info, such as the number of frames per second. This will typically be text color. Can be #RGB, #RGBA, #RRGGBB or #RRGGBBAA.

#### 4.11.30 team-color-blue

— Command-line option: `--team-color-blue=<value>`
— Environment variable: `LW6_TEAM_COLOR_BLUE`
— XML key: `team-color-blue`

> Type: color.

> Defines the color for the blue team. Syntax is HTML-like, #RGB or #RRGGBB.

#### 4.11.31 team-color-cyan

— Command-line option: `--team-color-cyan=<value>`
— Environment variable: `LW6_TEAM_COLOR_CYAN`
— XML key: `team-color-cyan`

> Type: color.

> Defines the color for the cyan team. Syntax is HTML-like, #RGB or #RRGGBB.

#### 4.11.32 team-color-green

— Command-line option: `--team-color-green=<value>`
— Environment variable: `LW6_TEAM_COLOR_GREEN`
— XML key: `team-color-green`

> Type: color.

> Defines the color for the green team. Syntax is HTML-like, #RGB or #RRGGBB.

#### 4.11.33 team-color-lightblue

— Command-line option: `--team-color-lightblue=<value>`
— Environment variable: `LW6_TEAM_COLOR_LIGHTBLUE`
— XML key: `team-color-lightblue`

> Type: color.

> Defines the color for the light blue team. Syntax is HTML-like, #RGB or #RRGGBB.

#### 4.11.34 team-color-magenta

— Command-line option: `--team-color-magenta=<value>`
— Environment variable: `LW6_TEAM_COLOR_MAGENTA`
— XML key: `team-color-magenta`

> Type: color.

> Defines the color for the magenta team. Syntax is HTML-like, #RGB or #RRGGBB.

#### 4.11.35 team-color-orange

— Command-line option: `--team-color-orange=<value>`
— Environment variable: `LW6_TEAM_COLOR_ORANGE`
— XML key: `team-color-orange`

> Type: color.

> Defines the color for the orange team. Syntax is HTML-like, #RGB or #RRGGBB.

#### 4.11.36 team-color-pink

— Command-line option: `--team-color-pink=<value>`
— Environment variable: `LW6_TEAM_COLOR_PINK`
— XML key: `team-color-pink`

> Type: color.

> Defines the color for the pink team. Syntax is HTML-like, #RGB or #RRGGBB.

#### 4.11.37 team-color-purple

— Command-line option: `--team-color-purple=<value>`
— Environment variable: `LW6_TEAM_COLOR_PURPLE`
— XML key: `team-color-purple`

> Type: color.

> Defines the color for the purple team. Syntax is HTML-like, #RGB or #RRGGBB.

#### 4.11.38 team-color-red

— Command-line option: `--team-color-red=<value>`
— Environment variable: `LW6_TEAM_COLOR_RED`
— XML key: `team-color-red`

> Type: color.

> Defines the color for the red team. Syntax is HTML-like, #RGB or #RRGGBB.

#### 4.11.39 team-color-yellow

— Command-line option: `--team-color-yellow=<value>`
— Environment variable: `LW6_TEAM_COLOR_YELLOW`
— XML key: `team-color-yellow`

> Type: color.

> Defines the color for the yellow team. Syntax is HTML-like, #RGB or #RRGGBB.

#### 4.11.40 view-color-cursor-bg

— Command-line option: `--view-color-cursor-bg=<value>`
— Environment variable: `LW6_VIEW_COLOR_CURSOR_BG`
— XML key: `view-color-cursor-bg`

> Type: color.

> Defines the background cursor color. Will typically be used to draw the shape of the cursor. Ignored if view-color-auto is set. Can be #RGB, #RGBA, #RRGGBB or #RRGGBBAA.

#### 4.11.41 view-color-cursor-fg

— Command-line option: `--view-color-cursor-fg=<value>`
— Environment variable: `LW6_VIEW_COLOR_CURSOR_FG`
— XML key: `view-color-cursor-fg`

> Type: color.

> Defines the foreground cursor color. Will typically be used to draw text in the cursor. Ignored if view-color-auto is set. Can be #RGB, #RGBA, #RRGGBB or #RRGGBBAA.

#### 4.11.42 view-color-map-bg

— Command-line option: `--view-color-map-bg=<value>`
— Environment variable: `LW6_VIEW_COLOR_MAP_BG`
— XML key: `view-color-map-bg`

> Type: color.

> Defines the background map color. If there's no map texture defined or if use-texture is false, this is the color of the places where armies will go. Ignored if view-color-auto is set. Can be #RGB, #RGBA, #RRGGBB or #RRGGBBAA.

#### 4.11.43 view-color-map-fg

— Command-line option: `--view-color-map-fg=<value>`
— Environment variable: `LW6_VIEW_COLOR_MAP_FG`
— XML key: `view-color-map-fg`

> Type: color.

> Defines the foreground map color. If there's no map texture defined or if use-texture is false, this is the color of walls, what armies can't go through. Ignored if view-color-auto is set. Can be #RGB, #RGBA, #RRGGBB or #RRGGBBAA.

#### 4.11.44 view-style

— Command-line option: `--view-style=<value>`
— Environment variable: `LW6_VIEW_STYLE`
— XML key: `view-style`

> Type: string.

> The view style conditions which renderer is used for the map, the area where fighters are displayed. This is not the graphics backend. Indeed, the graphics backend defines which technical tool one uses (which library) one runs, wether this parameter says what kind of rendering one wants.

#### 4.11.45 zoom

— Command-line option: `--zoom=<value>`
— Environment variable: `LW6_ZOOM`
— XML key: `zoom`

> Type: float.

> Defines the map zoom. If lower than 1.0, map will occupy only a fraction of the screen, if greater than 1.0, some areas will be outside the screen, and the player will need to scroll through it.