Difference between revisions of "Manual:Config:Advanced"
m (Use <code> tags) |
(→Configuration file structure: Mention XML) |
||
Line 8: | Line 8: | ||
=Configuration file structure= | =Configuration file structure= | ||
− | The | + | The VegaStrike configuration file <code>vegastrike.config</code> is in an XML style as follows: |
<pre> | <pre> | ||
<vegaconfig> | <vegaconfig> |
Latest revision as of 19:08, 2 October 2010
View this site in other languages: Deutsch – English – Français – Español – Polski – Italiano – Nederlands – Руccкий – 简体中文
Config | Config | Config:Advanced:Bindings |
Configuration file structure
The VegaStrike configuration file vegastrike.config
is in an XML style as follows:
<vegaconfig> <!-- this line is a comment --> <bindings> <bind key="i" modifier="none" command="Screenshot" /> </bindings> <colors> <section name="unit"> <color name="ship_ambient" r="0.3" g="0.3" b="0.3" a="1.0"/> </section> </colors> <variables> <section name="data"> <var name="usingtemplates" value="false"/> </section> </variables> </vegaconfig>
As you can see, the configuration is separated into 3 parts: bindings
, colors
, and variables
. The colors
and variables
parts are each divided into sections. Learn more from the following pages:
See also
- Find a simple configuration variable listing at the CONFVAR page.
Config | Config | Config:Advanced:Bindings |