278 lines
4.8 KiB
Plaintext
278 lines
4.8 KiB
Plaintext
/*********************************************************
|
|
***************** Dumped by aerosoul94 *******************
|
|
*********************************************************/
|
|
|
|
{
|
|
menuDef
|
|
{
|
|
name "settings_quick_sab_@mpui_rules_bomb_timer"
|
|
rect -272 64 272 18 2 1
|
|
popup
|
|
visible 1
|
|
style 1
|
|
forecolor 1 1 1 1
|
|
focuscolor 1 1 1 1
|
|
fadeCycle 1
|
|
fadeClamp 1
|
|
fadeAmount 0.1
|
|
exp rect y ( localvarint( "ui_popupYPos" ) )
|
|
onOpen
|
|
{
|
|
focusfirst;
|
|
setfocusbydvar "scr_sab_bombtimer";
|
|
setLocalVarBool "ui_hideSelectButton" ( 1 );
|
|
}
|
|
onRequestClose
|
|
{
|
|
setLocalVarBool "ui_hideSelectButton" ( 0 );
|
|
}
|
|
onEsc
|
|
{
|
|
play "mouse_click";
|
|
close self;
|
|
}
|
|
itemDef
|
|
{
|
|
rect -872 -736 2000 2000 2 1
|
|
visible 1
|
|
forecolor 1 1 1 1
|
|
type 1
|
|
textfont 1
|
|
textscale 0.55
|
|
action
|
|
{
|
|
close self;
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
rect -128 64 110 100 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 0.35 0.35 0.35 1
|
|
textscale 0.55
|
|
exp material ( "white" )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -144 48 16 16 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 0 0 0 1
|
|
background "drop_shadow_tl"
|
|
textscale 0.55
|
|
visible when ( 1 )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -128 48 110 16 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 0 0 0 1
|
|
background "drop_shadow_t"
|
|
textscale 0.55
|
|
visible when ( 1 )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -18 48 16 16 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 0 0 0 1
|
|
background "drop_shadow_tr"
|
|
textscale 0.55
|
|
visible when ( 1 )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -18 64 16 100 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 0 0 0 1
|
|
background "drop_shadow_r"
|
|
textscale 0.55
|
|
visible when ( 1 )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -18 164 16 16 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 0 0 0 1
|
|
background "drop_shadow_br"
|
|
textscale 0.55
|
|
visible when ( 1 )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -128 164 110 16 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 0 0 0 1
|
|
background "drop_shadow_b"
|
|
textscale 0.55
|
|
visible when ( 1 )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -144 164 16 16 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 0 0 0 1
|
|
background "drop_shadow_bl"
|
|
textscale 0.55
|
|
visible when ( 1 )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -144 64 16 100 2 1
|
|
decoration
|
|
visible 1
|
|
style 3
|
|
forecolor 0 0 0 1
|
|
background "drop_shadow_l"
|
|
textscale 0.55
|
|
visible when ( 1 )
|
|
}
|
|
itemDef
|
|
{
|
|
rect -128 64 128 15 2 1
|
|
visible 1
|
|
forecolor 0.65 0.65 0.65 1
|
|
textalign 8
|
|
textalignx 12
|
|
textscale 0.375
|
|
text "@MPUI_RULES_5SECONDS"
|
|
dvarTest "scr_sab_bombtimer"
|
|
focusDvar { 5 }
|
|
visible when ( "@MPUI_RULES_5SECONDS" != "" )
|
|
action
|
|
{
|
|
setdvar "scr_sab_bombtimer" 5 play "mouse_click";
|
|
close self;
|
|
}
|
|
leaveFocus
|
|
{
|
|
play "mouse_submenu_over";
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
rect -128 79 128 15 2 1
|
|
visible 1
|
|
forecolor 0.65 0.65 0.65 1
|
|
textalign 8
|
|
textalignx 12
|
|
textscale 0.375
|
|
text "@MPUI_RULES_30SECONDS"
|
|
dvarTest "scr_sab_bombtimer"
|
|
focusDvar { "30" }
|
|
visible when ( "@MPUI_RULES_30SECONDS" != "" )
|
|
action
|
|
{
|
|
setdvar "scr_sab_bombtimer" "30" play "mouse_click";
|
|
close self;
|
|
}
|
|
leaveFocus
|
|
{
|
|
play "mouse_submenu_over";
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
rect -128 94 128 15 2 1
|
|
visible 1
|
|
forecolor 0.65 0.65 0.65 1
|
|
textalign 8
|
|
textalignx 12
|
|
textscale 0.375
|
|
text "@MPUI_RULES_45SECONDS"
|
|
dvarTest "scr_sab_bombtimer"
|
|
focusDvar { "45" }
|
|
visible when ( "@MPUI_RULES_45SECONDS" != "" )
|
|
action
|
|
{
|
|
setdvar "scr_sab_bombtimer" "45" play "mouse_click";
|
|
close self;
|
|
}
|
|
leaveFocus
|
|
{
|
|
play "mouse_submenu_over";
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
rect -128 109 128 15 2 1
|
|
visible 1
|
|
forecolor 0.65 0.65 0.65 1
|
|
textalign 8
|
|
textalignx 12
|
|
textscale 0.375
|
|
text "@MPUI_RULES_1MINUTE"
|
|
dvarTest "scr_sab_bombtimer"
|
|
focusDvar { "60" }
|
|
visible when ( "@MPUI_RULES_1MINUTE" != "" )
|
|
action
|
|
{
|
|
setdvar "scr_sab_bombtimer" "60" play "mouse_click";
|
|
close self;
|
|
}
|
|
leaveFocus
|
|
{
|
|
play "mouse_submenu_over";
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
rect -128 124 128 15 2 1
|
|
visible 1
|
|
forecolor 0.65 0.65 0.65 1
|
|
textalign 8
|
|
textalignx 12
|
|
textscale 0.375
|
|
text "@MPUI_RULES_1_5MINUTES"
|
|
dvarTest "scr_sab_bombtimer"
|
|
focusDvar { "90" }
|
|
visible when ( "@MPUI_RULES_1_5MINUTES" != "" )
|
|
action
|
|
{
|
|
setdvar "scr_sab_bombtimer" "90" play "mouse_click";
|
|
close self;
|
|
}
|
|
leaveFocus
|
|
{
|
|
play "mouse_submenu_over";
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
rect -128 139 128 15 2 1
|
|
visible 1
|
|
forecolor 0.65 0.65 0.65 1
|
|
textalign 8
|
|
textalignx 12
|
|
textscale 0.375
|
|
text "@MPUI_RULES_2MINUTES"
|
|
dvarTest "scr_sab_bombtimer"
|
|
focusDvar { "120" }
|
|
visible when ( "@MPUI_RULES_2MINUTES" != "" )
|
|
action
|
|
{
|
|
setdvar "scr_sab_bombtimer" "120" play "mouse_click";
|
|
close self;
|
|
}
|
|
leaveFocus
|
|
{
|
|
play "mouse_submenu_over";
|
|
}
|
|
}
|
|
}
|
|
} |