Next Previous Contents

3. Menuloader

"Menuloader" is a fabricated word to describe the file. Relevant variables in the game source use the name "menuFile", but I feel that name would be confusing with "menuDef". So far, only one keyword is recognized: ``loadmenu''.

A menuloader groups menus into functionally related groups. Q3TA has three such main groups:

Frequently, the menuloader file has the extension ".txt". In the case of user-customized menus, the user would need to use the extension ".cfg" instead (".menu" is also valid, but not recommended for sake of clarity). The content is often:

{
    loadmenu { "somefile.menu" }
    loadmenu { "someotherfile.menu" }
    loadmenu { "morefile.menu" }
    ...
}
Where each string indicates a .menu file to load and prepare.


Next Previous Contents