Subversion-Projekte sthq.gbs

Revision

Revision 580 | Zur aktuellen Revision | Blame | Vergleich mit vorheriger | Letzte Änderung | Log anzeigen | RSS feed

menu "main" 640 480 NONE 0
bgcolor 0 0 0 .75
borderstyle NONE
fullscreen 1
showcommand "ui_showmouse\n"
showcommand "set g_gametype 0; set bot_enable 0;set sv_maxclients 1;set sv_maxspeed 300\n"
showcommand "unpause\n"


include "loc/Eng/ui/background.inc"

resource
Label
{
    name "tooltip_main"
    rect 49 403 320 26
    fgcolor 1 1 1 1
    bgcolor 0 0 0 0
    font tahoma-8

    verticaljustify top
    horizontaljustify left
}

resource
Button
{
title "$$NewGame$$"
name "Default"
rect 44 55 138 32
fgcolor 0.12 0.15 0.25 1.00
bgcolor 1.00 1.00 1.00 0.00
borderstyle "none"
font serpentinemedium-12
horizontaljustify center
verticaljustify center
hovershader menu/generic/button-hover
pressedshader menu/generic/button-press
hovercommand "globalwidgetcommand tooltip_main title \"$$StartANewGame$$\""
hoverexitcommand "globalwidgetcommand tooltip_main title \"\""
stuffcommand "map map1"
ordernumber 12


hoversound sound/misc/menu/hover.wav
clicksound sound/misc/menu/click.wav

}

resource
Button
{
title "$$LoadGame$$"
name "Default"
rect 182 55 138 32
fgcolor 0.12 0.15 0.25 1.00
bgcolor 1.00 1.00 1.00 0.00
borderstyle "none"

font serpentinemedium-12
horizontaljustify center
verticaljustify center

hovershader menu/generic/button-hover
pressedshader menu/generic/button-press
hovercommand "globalwidgetcommand tooltip_main title \"$$LoadASaveGame$$\""
hoverexitcommand "globalwidgetcommand tooltip_main title \"\""
stuffcommand "pushmenu loadgame"

ordernumber 12

hoversound sound/misc/menu/hover.wav
clicksound sound/misc/menu/click.wav

}

resource
Button
{
title "$$GBSCredits$$"
name "Default"
rect 320 55 138 32
fgcolor 0.12 0.15 0.25 1.00
bgcolor 1.00 1.00 1.00 0.00
borderstyle "none"


font serpentinemedium-12
horizontaljustify center
verticaljustify center

hovershader menu/generic/button-hover
pressedshader menu/generic/button-press
hovercommand "globalwidgetcommand tooltip_main title \"$$GBSCreditsDesc$$\""
hoverexitcommand "globalwidgetcommand tooltip_main title \"\""
stuffcommand "map credits_gbs"

ordernumber 12

hoversound sound/misc/menu/hover.wav
clicksound sound/misc/menu/click.wav

}

resource
Button
{
title "$$Configure$$"
name "Default"
rect 458 55 138 32
fgcolor 0.12 0.15 0.25 1.00
bgcolor 1.00 1.00 1.00 0.00
borderstyle "none"

font serpentinemedium-12
horizontaljustify center
verticaljustify center

hovershader menu/generic/button-hover
pressedshader menu/generic/button-press
hovercommand "globalwidgetcommand tooltip_main title \"$$SetGameOptions$$\""
hoverexitcommand "globalwidgetcommand tooltip_main title \"\""
stuffcommand "pushmenu controls"

ordernumber 12

hoversound sound/misc/menu/hover.wav
clicksound sound/misc/menu/click.wav

}

resource
Button
{
title "$$Exit$$"
name "Default"
rect 435 428 96 32
fgcolor 0.12 0.15 0.25 1.00
bgcolor 1.00 1.00 1.00 0.00
borderstyle "none"

font serpentinemedium-12
horizontaljustify center
verticaljustify center

hovershader menu/generic/button-hover
pressedshader menu/generic/button-press
hovercommand "globalwidgetcommand tooltip_main title \"$$ExitTheGame$$\""
hoverexitcommand "globalwidgetcommand tooltip_main title \"\""
stuffcommand "showmenu quit"

ordernumber 12

clicksound sound/misc/menu/back1.wav

}

//resource
//Button
//{
//title "$$BackToGame$$"
//name "backtogame"
//rect 422 375 128 32
//fgcolor 1.00 1.00 1.00 1.00
//bgcolor 1.00 1.00 1.00 0.00
//borderstyle "none"
//stuffcommand "popmenu 1"
//font serpentinemedium-12
//hovershader menu/generic/button-hover
//pressedshader menu/generic/button-press
//hovercommand "globalwidgetcommand tooltip_main title \"$$ReturnToGame$$\""
//hoverexitcommand "globalwidgetcommand tooltip_main title \"\""
//}

resource
widget
{
        rect          371 369 256 32
        fgcolor 1.00 1.00 0.00 1.00
        bgcolor 0.00 0.00 0.00 0.00
        borderstyle "none"

        shader menu/main/secrets
        shadercolor 1.00 0.00 0.00 1.00
        hovershadercolor 1.00 0.00 0.00 1.00
        armedshadercolor 1.00 0.00 0.00 1.00
        selectedshadercolor 1.00 0.00 0.00 1.00

//        cvarvisibility secrets_enable 1
        cvarvisibility g_secretCount 1 >=
}

resource
Button
{
        title "$$AccessSecrets$$"
        name         "Default"
        rect          424 371 123 26
        font serpentinemedium-12
        fgcolor                 1.000 1.000 1.000 1.000
        bgcolor                 0.000 0.000 0.000 0.000

        hovershader menu/generic/button-hover
        pressedshader menu/generic/button-press

        //borderstyle "BORDER_OUTLINE"
        //borderwidth 1
        //bordercolor 0.12 0.15 0.25 1.00

        stuffcommand "pushmenu secrets\n"

//        cvarvisibility secrets_enable 1
        cvarvisibility g_secretCount 1 >=

    hovercommand "globalwidgetcommand tooltip_main title \"$$SecretsFound$$\""
    hoverexitcommand "globalwidgetcommand tooltip_main title \"\""

    clicksound sound/misc/menu/click.wav

}

resource
widget
{
        rect          371 399 256 32
        fgcolor 1.00 1.00 0.00 1.00
        bgcolor 0.00 0.00 0.00 0.00
        borderstyle "none"

        shader menu/main/credits
        shadercolor 1.0 1.0 1.0 1.0
        hovershadercolor 1.0 1.0 1.0 1.0
        armedshadercolor 1.0 1.0 1.0 1.0
        selectedshadercolor 1.0 1.0 1.0 1.0
}

resource
Button
{
        title "$$Credits$$"
        name         "Default"
        rect          424 401 123 26
        font serpentinemedium-12
        fgcolor                 1.000 1.000 1.000 1.000
        bgcolor                 0.000 0.000 0.000 0.000

        hovershader menu/generic/button-hover
        pressedshader menu/generic/button-press

        //borderstyle "BORDER_OUTLINE"
        //borderwidth 1
        //bordercolor 0.12 0.15 0.25 1.00

        stuffcommand "map credits"

    hovercommand "globalwidgetcommand tooltip_main title \"$$EF2Credits$$\""
    hoverexitcommand "globalwidgetcommand tooltip_main title \"\""

    clicksound sound/misc/menu/click.wav
}


resource
Button
{
title "$$MapList$$"
name "Default"
rect 33 376 147 16
fgcolor 1.00 1.00 1.00 1.00
bgcolor 1.00 1.00 1.00 0.00
borderstyle "NONE"
stuffcommand "maplist"
font serpentinelight-10
hovershader menu/generic/button-hover
pressedshader menu/generic/button-press
hovercommand "globalwidgetcommand tooltip_main title \"$$ListOfMaps$$\""
hoverexitcommand "globalwidgetcommand tooltip_main title \"\""
ordernumber 12
cvarvisibility developer 1

clicksound sound/misc/menu/click.wav

}

//resource
//Label
//{
//name "Default"
//rect 567 388 40 16
//fgcolor 1.00 1.00 1.00 1.00
//bgcolor 1.00 1.00 1.00 0.00
//borderstyle "RAISED"
//linkcvar "shortversion"
//font serpentinelight-10
//}

end.