338 lines
6.1 KiB
Plaintext
338 lines
6.1 KiB
Plaintext
|
/*********************************************************
|
||
|
***************** Dumped by aerosoul94 *******************
|
||
|
*********************************************************/
|
||
|
|
||
|
{
|
||
|
menuDef
|
||
|
{
|
||
|
name "reset_gamesettings"
|
||
|
rect -127 -32 254 64 2 2
|
||
|
popup
|
||
|
style 1
|
||
|
forecolor 1 1 1 1
|
||
|
focuscolor 1 1 1 1
|
||
|
fadeCycle 1
|
||
|
fadeClamp 1
|
||
|
fadeAmount 0.1
|
||
|
onOpen
|
||
|
{
|
||
|
setLocalVarInt "ui_centerPopup" ( 1 );
|
||
|
focusfirst;
|
||
|
}
|
||
|
onRequestClose
|
||
|
{
|
||
|
play "mouse_click";
|
||
|
setLocalVarInt "ui_centerPopup" ( 0 );
|
||
|
;;
|
||
|
}
|
||
|
onEsc
|
||
|
{
|
||
|
close self;
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -727 -832 2000 2000 2 2
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
type 1
|
||
|
textfont 1
|
||
|
textscale 0.55
|
||
|
action
|
||
|
{
|
||
|
close self;
|
||
|
}
|
||
|
onFocus
|
||
|
{
|
||
|
setdvar "ui_popup_close_icon" 1;
|
||
|
}
|
||
|
leaveFocus
|
||
|
{
|
||
|
setdvar "ui_popup_close_icon" 0;
|
||
|
}
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -131 -36 254 64 2 2
|
||
|
visible 1
|
||
|
forecolor 1 1 1 1
|
||
|
type 1
|
||
|
textfont 1
|
||
|
textscale 0.55
|
||
|
action
|
||
|
{
|
||
|
}
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -129 -34 258 68 2 2
|
||
|
decoration
|
||
|
visible 1
|
||
|
style 3
|
||
|
border 1
|
||
|
bordersize 2
|
||
|
forecolor 0.2 0.21 0.25 1
|
||
|
bordercolor 0.4 0.405 0.42 1
|
||
|
background "white"
|
||
|
textscale 0.55
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -127 -32 254 64 2 2
|
||
|
decoration
|
||
|
visible 1
|
||
|
style 3
|
||
|
forecolor 1 1 1 0.7
|
||
|
background "gradient_bottom"
|
||
|
textscale 0.55
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -161 -66 32 32 2 2
|
||
|
decoration
|
||
|
visible 1
|
||
|
style 3
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_tl"
|
||
|
textscale 0.55
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -129 -66 258 32 2 2
|
||
|
decoration
|
||
|
visible 1
|
||
|
style 3
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_t"
|
||
|
textscale 0.55
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 129 -66 32 32 2 2
|
||
|
decoration
|
||
|
visible 1
|
||
|
style 3
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_tr"
|
||
|
textscale 0.55
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 129 -34 32 0 2 2
|
||
|
decoration
|
||
|
visible 1
|
||
|
style 3
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_r"
|
||
|
textscale 0.55
|
||
|
exp rect h ( ( ( ( 0 + 0 + ( ( 18 + 2 ) * ( 3 ) + 4 * 2 + 0 ) ) - 2 * 2 ) + 2 * 2 ) )
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 129 -32 32 32 2 2
|
||
|
decoration
|
||
|
visible 1
|
||
|
style 3
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_br"
|
||
|
textscale 0.55
|
||
|
exp rect y ( ( 0 - 2 ) + ( ( ( ( 0 + 0 + ( ( 18 + 2 ) * ( 3 ) + 4 * 2 + 0 ) ) - 2 * 2 ) + 2 * 2 ) ) )
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -129 -32 258 32 2 2
|
||
|
decoration
|
||
|
visible 1
|
||
|
style 3
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_b"
|
||
|
textscale 0.55
|
||
|
exp rect y ( ( 0 - 2 ) + ( ( ( ( 0 + 0 + ( ( 18 + 2 ) * ( 3 ) + 4 * 2 + 0 ) ) - 2 * 2 ) + 2 * 2 ) ) )
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -161 -32 32 32 2 2
|
||
|
decoration
|
||
|
visible 1
|
||
|
style 3
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_bl"
|
||
|
textscale 0.55
|
||
|
exp rect y ( ( 0 - 2 ) + ( ( ( ( 0 + 0 + ( ( 18 + 2 ) * ( 3 ) + 4 * 2 + 0 ) ) - 2 * 2 ) + 2 * 2 ) ) )
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -161 -34 32 0 2 2
|
||
|
decoration
|
||
|
visible 1
|
||
|
style 3
|
||
|
forecolor 0 0 0 1
|
||
|
background "drop_shadow_l"
|
||
|
textscale 0.55
|
||
|
exp rect h ( ( ( ( 0 + 0 + ( ( 18 + 2 ) * ( 3 ) + 4 * 2 + 0 ) ) - 2 * 2 ) + 2 * 2 ) )
|
||
|
visible when ( 1 )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -123 -28 250 0 2 2
|
||
|
decoration
|
||
|
autowrapped
|
||
|
visible 1
|
||
|
forecolor 0.69 0.69 0.69 1
|
||
|
type 1
|
||
|
textfont 1
|
||
|
textalign 4
|
||
|
textscale 0.375
|
||
|
exp text ( "@MENU_RESET_TO_DEFAULT" )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -125 -8 245.5 18 2 2
|
||
|
decoration
|
||
|
visible 1
|
||
|
style 3
|
||
|
forecolor 0.9 0.9 1 0.07
|
||
|
textscale 0.55
|
||
|
exp material ( "gradient_fadein" )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 120.5 -8 4.5 18 2 2
|
||
|
decoration
|
||
|
visible 1
|
||
|
style 3
|
||
|
forecolor 0.9 0.9 1 0.07
|
||
|
background "button_highlight_end"
|
||
|
textscale 0.55
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -125 -8 245.5 18 2 2
|
||
|
decoration
|
||
|
visible 1
|
||
|
style 3
|
||
|
bordersize 2
|
||
|
forecolor 0.9 0.95 1 0.25
|
||
|
bordercolor 0.8 0.95 1 0.4
|
||
|
background "gradient_fadein"
|
||
|
textscale 0.55
|
||
|
visible when ( localvarint( "ui_highlight" ) == 2 && localvarstring( "ui_choicegroup" ) == "popmenu" )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 120.5 -8 4.5 18 2 2
|
||
|
decoration
|
||
|
visible 1
|
||
|
style 3
|
||
|
forecolor 0.9 0.95 1 0.25
|
||
|
background "button_highlight_end"
|
||
|
textscale 0.55
|
||
|
visible when ( localvarint( "ui_highlight" ) == 2 && localvarstring( "ui_choicegroup" ) == "popmenu" )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -125 -8 250 18 2 2
|
||
|
visible 1
|
||
|
forecolor 0.69 0.69 0.69 1
|
||
|
type 1
|
||
|
textfont 1
|
||
|
textalign 10
|
||
|
textalignx -6
|
||
|
textscale 0.4
|
||
|
exp text ( "@MENU_YES" )
|
||
|
action
|
||
|
{
|
||
|
play "mouse_click";
|
||
|
exec "exec default_mp_gamesettings.cfg";
|
||
|
close self;
|
||
|
}
|
||
|
onFocus
|
||
|
{
|
||
|
play "mouse_submenu_over";
|
||
|
setLocalVarInt "ui_highlight" ( 2 );
|
||
|
setLocalVarString "ui_choicegroup" ( "popmenu" );
|
||
|
}
|
||
|
leaveFocus
|
||
|
{
|
||
|
setLocalVarInt "ui_highlight" ( 0 );
|
||
|
}
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -125 12 245.5 18 2 2
|
||
|
decoration
|
||
|
visible 1
|
||
|
style 3
|
||
|
forecolor 0.9 0.9 1 0.07
|
||
|
textscale 0.55
|
||
|
exp material ( "gradient_fadein" )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 120.5 12 4.5 18 2 2
|
||
|
decoration
|
||
|
visible 1
|
||
|
style 3
|
||
|
forecolor 0.9 0.9 1 0.07
|
||
|
background "button_highlight_end"
|
||
|
textscale 0.55
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -125 12 245.5 18 2 2
|
||
|
decoration
|
||
|
visible 1
|
||
|
style 3
|
||
|
bordersize 2
|
||
|
forecolor 0.9 0.95 1 0.25
|
||
|
bordercolor 0.8 0.95 1 0.4
|
||
|
background "gradient_fadein"
|
||
|
textscale 0.55
|
||
|
visible when ( localvarint( "ui_highlight" ) == 3 && localvarstring( "ui_choicegroup" ) == "popmenu" )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect 120.5 12 4.5 18 2 2
|
||
|
decoration
|
||
|
visible 1
|
||
|
style 3
|
||
|
forecolor 0.9 0.95 1 0.25
|
||
|
background "button_highlight_end"
|
||
|
textscale 0.55
|
||
|
visible when ( localvarint( "ui_highlight" ) == 3 && localvarstring( "ui_choicegroup" ) == "popmenu" )
|
||
|
}
|
||
|
itemDef
|
||
|
{
|
||
|
rect -125 12 250 18 2 2
|
||
|
visible 1
|
||
|
forecolor 0.69 0.69 0.69 1
|
||
|
type 1
|
||
|
textfont 1
|
||
|
textalign 10
|
||
|
textalignx -6
|
||
|
textscale 0.4
|
||
|
exp text ( "@MENU_NO" )
|
||
|
action
|
||
|
{
|
||
|
play "mouse_click";
|
||
|
close self;
|
||
|
}
|
||
|
onFocus
|
||
|
{
|
||
|
play "mouse_submenu_over";
|
||
|
setLocalVarInt "ui_highlight" ( 3 );
|
||
|
setLocalVarString "ui_choicegroup" ( "popmenu" );
|
||
|
}
|
||
|
leaveFocus
|
||
|
{
|
||
|
setLocalVarInt "ui_highlight" ( 0 );
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|