hallo und danke der antworten erstmal...also cih verzweifel langsam hab es gaendert kann die datei auch aufmachen aber wo steht da bitteschön was von"exec "rcon login PASSWORT";???? also komisch ist das alles
clude "ui/menudef.h"
{
\\ QUIT POPUP MENU \\
menuDef
{
name "rconmenu_popmenu"
visible 0
fullscreen 0
//rect 217 200 210 85
rect 204 160 235 135
focusColor UI_FOCUS_COLOR
style 1
border 1
popup
onESC { close rconmenu_popmenu ; }
itemDef
{
name window
group grpControlbutton
rect 0 2 235 135
style WINDOW_STYLE_FILLED
border 1
bordercolor .5 .5 .5 .5
forecolor 1 1 1 1
backcolor 0 0 0 .5
visible 0
decoration
}
itemDef
{
name backimage2fade
style WINDOW_STYLE_SHADER
rect -332 -162 896 484
background "white"
forecolor 0 0 0 0.3
backcolor 0 0 0 0.3
visible 1
decoration
}
itemDef
{
name window2
group grpControlbutton
rect 2 3 231 20
style WINDOW_STYLE_FILLED
border 1
bordercolor .1 .1 .1 .2
forecolor 1 1 1 1
backcolor 1 1 .3 .3
visible 0
decoration
}
itemDef
{
name backimage2fade
style WINDOW_STYLE_SHADER
rect -150 2 535 150
background "popmenu_bg"
// forecolor 0 0 0 0.4
// backcolor 0 0 0 0.4
visible 1
decoration
}
itemDef
{
name backimage2fade
style WINDOW_STYLE_SHADER
rect -50 20 335 24
background "popmenu_goldline"
// forecolor 0 0 0 0.4
// backcolor 0 0 0 0.4
visible 1
decoration
}
//*************************************************************************
********************
// We make the opening buttons
//*************************************************************************
********************
itemDef
{
name confirm
text "CoD2 Rcon Tool"
style 0
textscale .4
textstyle ITEM_TEXTSTYLE_SHADOWED
rect 126 25 110 20
textalign 1
textalignx -7
textaligny 5
decoration
forecolor POPMENU_HEADER_COLOR
visible 1
}
itemDef
{
name generalsettings
text "Generelle Einstellungen"
type 1
textscale .25
style UI_BUTTON_STYLE
textfont UI_FONT_NORMAL
textstyle ITEM_TEXTSTYLE_SHADOWED
rect 90 35 60 20
textalign 1
textalignx 29
textaligny OPTIONS_CONTROL_YALIGN
forecolor UI_BUTTON_TEXT_COLOR
// backcolor UI_BUTTON_BACK_COLOR
visible 1
// border UI_BUTTON_BORDER
// bordercolor UI_BUTTON_BORDER_COLOR
action
{
play "mouse_click";
open generalsettings_popmenu
close rconmenu_popmenu;
}
mouseEnter { play "mouse_over"; }
// mouseExit { setitemcolor no backcolor UI_BUTTON_BACK_COLOR }
}
itemDef
{
name mapcontrol
text "Map Control"
type 1
textscale .25
style UI_BUTTON_STYLE
textfont UI_FONT_NORMAL
textstyle ITEM_TEXTSTYLE_SHADOWED
rect 90 45 60 20
textalign 1
textalignx 29
textaligny OPTIONS_CONTROL_YALIGN
forecolor UI_BUTTON_TEXT_COLOR
// backcolor UI_BUTTON_BACK_COLOR
visible 1
// border UI_BUTTON_BORDER
// bordercolor UI_BUTTON_BORDER_COLOR
action {
play "mouse_click";
open mapcontrol_popmenu;
close rconmenu_popmenu:
}
mouseEnter { play "mouse_over"; }
// mouseExit { setitemcolor yes backcolor UI_BUTTON_BACK_COLOR }
}
itemDef
{
name clientsettings
text "Client"
type 1
textscale .25
style UI_BUTTON_STYLE
textfont UI_FONT_NORMAL
textstyle ITEM_TEXTSTYLE_SHADOWED
rect 90 55 60 20
textalign 1
textalignx 29
textaligny OPTIONS_CONTROL_YALIGN
forecolor UI_BUTTON_TEXT_COLOR
// backcolor UI_BUTTON_BACK_COLOR
visible 1
// border UI_BUTTON_BORDER
// bordercolor UI_BUTTON_BORDER_COLOR
action
{
play "mouse_click";
open clientsettings_popmenu
close rconmenu_popmenu;
}
mouseEnter { play "mouse_over"; }
// mouseExit { setitemcolor no backcolor UI_BUTTON_BACK_COLOR }
}
itemDef
{
name weaponsettings
text "Waffen"
type 1
textscale .25
style UI_BUTTON_STYLE
textfont UI_FONT_NORMAL
textstyle ITEM_TEXTSTYLE_SHADOWED
rect 90 65 60 20
textalign 1
textalignx 29
textaligny OPTIONS_CONTROL_YALIGN
forecolor UI_BUTTON_TEXT_COLOR
// backcolor UI_BUTTON_BACK_COLOR
visible 1
// border UI_BUTTON_BORDER
// bordercolor UI_BUTTON_BORDER_COLOR
action
{
play "mouse_click";
open weaponsettings_popmenu
close rconmenu_popmenu;
}
mouseEnter { play "mouse_over"; }
// mouseExit { setitemcolor no backcolor UI_BUTTON_BACK_COLOR }
}
itemDef
{
name serversettings
text "Server"
type 1
textscale .25
style UI_BUTTON_STYLE
textfont UI_FONT_NORMAL
textstyle ITEM_TEXTSTYLE_SHADOWED
rect 90 75 60 20
textalign 1
textalignx 29
textaligny OPTIONS_CONTROL_YALIGN
forecolor UI_BUTTON_TEXT_COLOR
// backcolor UI_BUTTON_BACK_COLOR
visible 1
// border UI_BUTTON_BORDER
// bordercolor UI_BUTTON_BORDER_COLOR
action
{
play "mouse_click";
open serversettings_popmenu
close rconmenu_popmenu;
}
mouseEnter { play "mouse_over"; }
// mouseExit { setitemcolor no backcolor UI_BUTTON_BACK_COLOR }
}
itemDef
{
name confirm
text "Übersetzt von Va!ium-www.team-phx.de"
style 0
textscale .15
textstyle ITEM_TEXTSTYLE_SHADOWED
rect 126 125 110 20
textalign 1
textalignx -7
textaligny 5
decoration
forecolor UI_BUTTON_TEXT_COLOR
visible 1
}
//*************************************************************************
********************
// we hit this to go back to game
//*************************************************************************
********************
itemDef
{
name btgame
visible 1
rect 170 130 85 18
forecolor 1 1 1 1
type ITEM_TYPE_BUTTON
style UI_BUTTON_STYLE
textstyle UI_BUTTON_TEXT_STYLE
forecolor UI_BUTTON_TEXT_COLOR
backcolor 0 0 0 .75
border UI_BUTTON_BORDER
bordercolor 1 1 1 1
//textfont UI_FONT_NORMAL
textscale .185
text "Zurück zum Spiel"
textalignx 8
textaligny 12
action
{
play "mouse_click";
close rconmenu_popmenu;
ingameclose main;
}
mouseEnter { setitemcolor btgame backcolor 0 0 1 .65; play "mouse_over"; }
mouseExit { setitemcolor btgame backcolor 0 0 0 .75 }
//cvarTest "cl_ingame"
//showCvar {"1"}
}
}
}