Difference between revisions of "Manual:Config:Advanced"
(→Advanced configuration: added colors section to match config file) |
(Add config file structure example; remove fixme) |
||
| Line 6: | Line 6: | ||
}} | }} | ||
---- | ---- | ||
| − | + | The basic structure of the config file: | |
| + | <pre> | ||
| + | <vegaconfig> | ||
| + | |||
| + | <!-- comment | ||
| + | # line used by vssetup (inside a comment block) | ||
| + | --> | ||
| + | |||
| + | <bindings> | ||
| + | <bind key="i" modifier="none" command="Screenshot" /> | ||
| + | <!-- this line is a comment, the next is a disabled/commented bind config --> | ||
| + | <!-- <bind key="M" modifier="none" command="Cockpit::MapKey"/> --> | ||
| + | </bindings> | ||
| + | |||
| + | <colors> | ||
| + | <section name="unit"> | ||
| + | <color name="ship_ambient" r="0.3" g="0.3" b="0.3" a="1.0"/> | ||
| + | <color name="engine" r="1" g="1" b="1" a="1"/> | ||
| + | </section> | ||
| + | </colors> | ||
| + | |||
| + | <variables> | ||
| + | <section name="data"> | ||
| + | <var name="usingtemplates" value="false"/> | ||
| + | </section> | ||
| + | </variables> | ||
| + | |||
| + | </vegaconfig> | ||
| + | </pre> | ||
| + | |||
=Advanced configuration= | =Advanced configuration= | ||
Revision as of 04:39, 29 September 2010
View this site in other languages: Deutsch – English – Français – Español – Polski – Italiano – Nederlands – Руccкий – 简体中文
Config
|
Config
|
Config:Advanced:Bindings
|
The basic structure of the config file:
<vegaconfig> <!-- comment # line used by vssetup (inside a comment block) --> <bindings> <bind key="i" modifier="none" command="Screenshot" /> <!-- this line is a comment, the next is a disabled/commented bind config --> <!-- <bind key="M" modifier="none" command="Cockpit::MapKey"/> --> </bindings> <colors> <section name="unit"> <color name="ship_ambient" r="0.3" g="0.3" b="0.3" a="1.0"/> <color name="engine" r="1" g="1" b="1" a="1"/> </section> </colors> <variables> <section name="data"> <var name="usingtemplates" value="false"/> </section> </variables> </vegaconfig>
Advanced configuration
See the specific sections inside the config file:
Example
FIXME Insert a very short example code showing the layout of a complete config file.
See also
Config
|
Config
|
Config:Advanced:Bindings
|