Next: , Previous: Network options, Up: Reference


4.8 Map parameters

4.8.1 chosen-map

— Command-line option: --chosen-map=<value>
— Environment variable: LW6_CHOSEN_MAP
— XML key: chosen-map

Type: string.

The last map chosen by the player, locally. This is the map which will be used for a quick-start game, a local game, or a game started as a server.

4.8.2 force

— Command-line option: --force=<value>
— Environment variable: LW6_FORCE
— XML key: force

Type: string.

A comma separated list of options which should be ignored when reading map XML files. For instance, if this contains 'rounds-per-sec,moves-per-round' then whatever values were defined for this in 'rules.xml', then game will ignore them and use the user's values, stored in 'config.xml', running the game at the requested speed. This ultimately allows the player to control everything despite the values set by the map designer.

4.8.3 use-hints-xml

— Command-line option: --use-hints-xml=<value>
— Environment variable: LW6_USE_HINTS_XML
— XML key: use-hints-xml

Type: boolean.

If set, then hints will be picked up from the map defined hints.xml, if it exists. This is the default.

4.8.4 use-rules-xml

— Command-line option: --use-rules-xml=<value>
— Environment variable: LW6_USE_RULES_XML
— XML key: use-rules-xml

Type: boolean.

If set, then rules will be picked up from the map defined rules.xml, if it exists. This is the default. Use force-time and force-size to override this and use user-defined values anyway.

4.8.5 use-style-xml

— Command-line option: --use-style-xml=<value>
— Environment variable: LW6_USE_STYLE_XML
— XML key: use-style-xml

Type: boolean.

If set, then style will be picked up from the map defined style.xml, if it exists. This is the default. Use force-time and force-background to override this and use user-defined values anyway.

4.8.6 use-texture

— Command-line option: --use-texture=<value>
— Environment variable: LW6_USE_TEXTURE
— XML key: use-texture

Type: boolean.

Defines wether the map texture should be used. Of course if there's no map texture, the texture... won't be used. But if there is one, this parameter will force the game to ignore it and play with solid colors. This probably won't look as nice as the textured map in most cases, but some players might find it more readable and confortable to play when throwing eye candy away.