XML/Menu
| This article or section requires a cleanup in order to meet the Glest Wiki's quality standards.
You can edit this page to improve it.
|
The menu XML defines how the menu screen works. It controls the fog, rain, and water level, as well as the camera positions and angles for each menu option. It varies slightly in the differing versions of Glest, since the forks add different menu options, such as GAE's save menu. As well, GAE has options to toggle the images and a total conversion option.
XML Definition
<?xml version="1.0"?>
<menu> Main menu configuration
<water value="true" height="3"/> <!-- Enable water; height of water (more height = higher water level) -->
<rain value="true"/> <!-- Enable rain -->
<fog value="true" density="0.035"/> <!-- Enable fog; fog density (more = harder to see through it) -->
<camera> <!-- Camera position & rotation for each menu button -->
<start-position x="5" y="10" z="40"/> <!-- start button -->
<root-position x="-9" y="11" z="10"/> <!-- main menu -->
... <!-- So on... -->
<settings-rotation x="0" y="0" z="0"/> <!-- Setting menu rotation -->
</camera>
</menu>