This commit is contained in:
13
zone_raw/patch_mp/ui_mp/ac130timer.menu
Normal file
13
zone_raw/patch_mp/ui_mp/ac130timer.menu
Normal file
@ -0,0 +1,13 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "ac130timer"
|
||||
decoration
|
||||
rect 0 0 640 1 1 0
|
||||
onOpen
|
||||
{
|
||||
setLocalVarInt ui_ac130timer (milliseconds() + (dvarint(ui_ac130usetime) * 1000));
|
||||
close self;
|
||||
}
|
||||
}
|
||||
}
|
323
zone_raw/patch_mp/ui_mp/acceptinvite_warning.menu
Normal file
323
zone_raw/patch_mp/ui_mp/acceptinvite_warning.menu
Normal file
@ -0,0 +1,323 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "acceptinvite_warning"
|
||||
rect 0 0 0 0 2 2
|
||||
focuscolor 1 1 1 1
|
||||
outOfBoundsClick
|
||||
popup
|
||||
legacySplitScreenScale
|
||||
exp rect X 0 - (260 * 0.5);
|
||||
exp rect Y 0 - ((((23 * 1) + (16.367 * 0)) + (5 * (20 + 2)) + 5) * 0.5);
|
||||
exp rect W 260;
|
||||
exp rect H (((23 * 1) + (16.367 * 0)) + (5 * (20 + 2)) + 5);
|
||||
onOpen
|
||||
{
|
||||
close menu_joinsession;
|
||||
setLocalVarInt ui_buttonNavGroupOffset_popup 0;
|
||||
setLocalVarInt ui_buttonNavGroupCurrent_popup 0;
|
||||
setLocalVarString ui_buttonNavGroupName_popup "invalid";
|
||||
setLocalVarBool ui_swfSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfSelectionDisabled 0;
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled 0;
|
||||
setLocalVarString ui_swfPopupContext "invalid";
|
||||
setLocalVarBool ui_centerPopup 1;
|
||||
play tabs_slide;
|
||||
lerp x from - 460 to 0 over "0.05";
|
||||
focusfirst;
|
||||
setfocus SWF_COMMON_DESC_POPUP_NAME_4;
|
||||
focusfirst;
|
||||
}
|
||||
onClose
|
||||
{
|
||||
setLocalVarBool ui_centerPopup 0;
|
||||
play "";
|
||||
}
|
||||
onESC
|
||||
{
|
||||
close self;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -1280 -480 2560 960 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(menuistopmost("acceptinvite_warning"));
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0.8
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -131.333 -78.667 262.667 130.667 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0.3098 0.349 0.2745 1
|
||||
background "white"
|
||||
exp rect y 0 + "SWF_POPUP_GLOBAL_Y_OFFSET";
|
||||
exp rect h (((23 * 1) + (16.367 * 0)) + (5 * (20 + 2)) + 5) + 0;
|
||||
exp rect x 0 + "SWF_POPUP_GLOBAL_X_OFFSET";
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 260 1 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1 && 1);
|
||||
textscale 0.55
|
||||
forecolor 0.1569 0.1725 0.1608 1
|
||||
background "white"
|
||||
exp rect x 0;
|
||||
exp rect y 0;
|
||||
exp rect h (1 * 22) + (16.367 * 0) + 2;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 8.666 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1 && 1);
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar_shadow"
|
||||
exp rect x (0 + "X_OFFSET");
|
||||
exp rect y 0 + (1 * 22) + (16.367 * 0);
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 1 244 22 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when(1);
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 9
|
||||
exp text "@MENU_ACCEPTINVITETITLE";
|
||||
exp rect x (0 + 8);
|
||||
exp rect y (0 + 4) - 4;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 244 20 2 2
|
||||
style 1
|
||||
decoration
|
||||
autowrapped
|
||||
visible when((privatepartyhost() && !aloneinparty()));
|
||||
textalign 4
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
exp text "@MENU_LEAVEMPGAMEWARNINGPARTYHOST";
|
||||
exp rect x ((0 + 8) + 0);
|
||||
exp rect y (0 + (0 * (20 + 2)) + (0 + 4) + ((23 * 1) + (16.367 * 0))) - 2.333;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 244 20 2 2
|
||||
style 1
|
||||
decoration
|
||||
autowrapped
|
||||
visible when((!privatepartyhost() && !inlobby()));
|
||||
textalign 4
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
exp text "@MENU_LEAVEPARTYWARNING";
|
||||
exp rect x ((0 + 8) + 0);
|
||||
exp rect y (0 + (0 * (20 + 2)) + (0 + 4) + ((23 * 1) + (16.367 * 0))) - 2.333;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 244 20 2 2
|
||||
style 1
|
||||
decoration
|
||||
autowrapped
|
||||
visible when((!privatepartyhost() && inlobby()));
|
||||
textalign 4
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
exp text "@MENU_LEAVEMPGAMEWARNING";
|
||||
exp rect x ((0 + 8) + 0);
|
||||
exp rect y (0 + (0 * (20 + 2)) + (0 + 4) + ((23 * 1) + (16.367 * 0))) - 2.333;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 260 1 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0.2118 0.2314 0.22 1
|
||||
background "white"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + (3 * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0)));
|
||||
exp rect h ((20 + 2) * 2) + 1;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 8.666 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfPopupSelectionBarVis") && (localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_POPUP_NAME") && (localvarstring("ui_swfPopupContext") == "SWF_COMMON_DESC_POPUP_NAME"));
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar_shadow"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + ((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0))) + (20 + 0.3333);
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 20 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfPopupSelectionBarVis") && (localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_POPUP_NAME") && (localvarstring("ui_swfPopupContext") == "SWF_COMMON_DESC_POPUP_NAME"));
|
||||
textscale 0.55
|
||||
forecolor 0.6 0.6314 0.6 0.2
|
||||
background "white"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + ((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0)));
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 20 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfPopupSelectionBarVis") && (localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_POPUP_NAME") && (localvarstring("ui_swfPopupContext") == "SWF_COMMON_DESC_POPUP_NAME"));
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + ((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0)));
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@PLATFORM_NAVBAR_BUTTON_FOCUSED_SELECTBUTTON"
|
||||
rect 0 0 20 20 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfPopupSelectionButtonVis") && (localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_POPUP_NAME") && (localvarstring("ui_swfPopupContext") == "SWF_COMMON_DESC_POPUP_NAME"));
|
||||
textalign 10
|
||||
textscale 0.30625
|
||||
textfont 3
|
||||
exp rect x (0 + (0 + 260 - 24));
|
||||
exp rect y (((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0))) - 1.167) - 1.8;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "SWF_COMMON_DESC_POPUP_NAME_3"
|
||||
rect 11.667 0 260 22 2 2
|
||||
style 3
|
||||
type 1
|
||||
visible when(1);
|
||||
disabled when(0);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0
|
||||
background "white"
|
||||
onFocus
|
||||
{
|
||||
setLocalVarString ui_swf_selection "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_POPUP_NAME,3)";
|
||||
setLocalVarInt ui_buttonNavGroupCurrent_popup 3;
|
||||
setLocalVarString ui_buttonNavGroupName_popup "SWF_COMMON_DESC_POPUP_NAME";
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis ((1) && !(0));
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis (1);
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled (0);
|
||||
setLocalVarString ui_swfPopupContext "SWF_COMMON_DESC_POPUP_NAME";
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
close self;
|
||||
}
|
||||
exp rect y ((3 * (20 + 2)) + (0 + 4) + ((23 * 1) + (16.367 * 0))) + ((0 - 1.333));
|
||||
exp rect w 260 - 0;
|
||||
exp rect x (0 + (0 + 8));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 11.667 0 260 19.567 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when((1) && (1));
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 3
|
||||
exp text "@MENU_RESUMEGAME";
|
||||
exp rect y (((3 * (20 + 2)) + (0 + 4) + ((23 * 1) + (16.367 * 0))) + (0 - 1.333)) - 2.333;
|
||||
exp rect w 260;
|
||||
exp forecolor r select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_POPUP_NAME,3)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_POPUP_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_POPUP_NAME,3)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_POPUP_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor g select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_POPUP_NAME,3)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_POPUP_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_POPUP_NAME,3)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_POPUP_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor b select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_POPUP_NAME,3)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_POPUP_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_POPUP_NAME,3)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_POPUP_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp rect x (0 + (0 + 8));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "SWF_COMMON_DESC_POPUP_NAME_4"
|
||||
rect 11.667 0 260 22 2 2
|
||||
style 3
|
||||
type 1
|
||||
visible when(1);
|
||||
disabled when(0);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0
|
||||
background "white"
|
||||
onFocus
|
||||
{
|
||||
setLocalVarString ui_swf_selection "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_POPUP_NAME,4)";
|
||||
setLocalVarInt ui_buttonNavGroupCurrent_popup 4;
|
||||
setLocalVarString ui_buttonNavGroupName_popup "SWF_COMMON_DESC_POPUP_NAME";
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis ((1) && !(0));
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis (1);
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled (0);
|
||||
setLocalVarString ui_swfPopupContext "SWF_COMMON_DESC_POPUP_NAME";
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
close self;
|
||||
exec confirmInvite;
|
||||
}
|
||||
exp rect y ((4 * (20 + 2)) + (0 + 4) + ((23 * 1) + (16.367 * 0))) + ((0 - 1.333));
|
||||
exp rect w 260 - 0;
|
||||
exp rect x (0 + (0 + 8));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 11.667 0 260 19.567 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when((1) && (1));
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 3
|
||||
exp text "@MENU_CONFIRMINVITE";
|
||||
exp rect y (((4 * (20 + 2)) + (0 + 4) + ((23 * 1) + (16.367 * 0))) + (0 - 1.333)) - 2.333;
|
||||
exp rect w 260;
|
||||
exp forecolor r select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_POPUP_NAME,4)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_POPUP_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_POPUP_NAME,4)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_POPUP_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor g select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_POPUP_NAME,4)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_POPUP_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_POPUP_NAME,4)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_POPUP_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor b select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_POPUP_NAME,4)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_POPUP_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_POPUP_NAME,4)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_POPUP_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp rect x (0 + (0 + 8));
|
||||
}
|
||||
}
|
||||
}
|
100
zone_raw/patch_mp/ui_mp/airburst_overlay_hd.menu
Normal file
100
zone_raw/patch_mp/ui_mp/airburst_overlay_hd.menu
Normal file
@ -0,0 +1,100 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "airburst_overlay_hd"
|
||||
rect 0 0 640 480 2 2
|
||||
visible when(isusingairburst() && (playerads() >= 1) && FUNC_108() && FUNC_50());
|
||||
itemDef
|
||||
{
|
||||
name "airburst_hint"
|
||||
rect -80 -100 0 0 2 2
|
||||
visible when(FUNC_82() && FUNC_107());
|
||||
textscale 0.375
|
||||
textstyle 3
|
||||
exp text locstring("@WEAPON_AIRBURST_HINT", keybinding("+holdbreath", "true"));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "airburst_25mm"
|
||||
rect -285 -200 72 18 0 0
|
||||
style 3
|
||||
visible 1
|
||||
textscale 0.55
|
||||
background "hud_xm25_25mm"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "airburst_dist_description"
|
||||
rect -285 -158 72 18 0 0
|
||||
style 3
|
||||
visible 1
|
||||
textscale 0.55
|
||||
background "hud_xm25_dist"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "airburst_current_distance"
|
||||
rect -150 -158 18 18 2 2
|
||||
type 8
|
||||
visible when(getcrosshairtracemeters() > 0);
|
||||
ownerdraw 209
|
||||
textscale 0.55
|
||||
background "hud_xm25_number_strip"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "airburst_targ_description"
|
||||
rect -285 -140 72 18 0 0
|
||||
style 3
|
||||
visible 1
|
||||
textscale 0.55
|
||||
background "hud_xm25_targ"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "airburst_mark_distance"
|
||||
rect -150 -140 18 18 2 2
|
||||
type 8
|
||||
visible when(getairburstmeters() > 0);
|
||||
ownerdraw 210
|
||||
textscale 0.55
|
||||
background "hud_xm25_number_strip"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "airburstBG_mp_left_top"
|
||||
rect -320 -240 320 240 0 0
|
||||
style 3
|
||||
visible 1
|
||||
textscale 0.55
|
||||
background "hud_mp_xm25_overlay"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "airburstBG_mp_right_top"
|
||||
rect 0 -240 -320 240 0 0
|
||||
style 3
|
||||
visible 1
|
||||
textscale 0.55
|
||||
background "hud_mp_xm25_overlay"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "airburstBG_mp_left_bottom"
|
||||
rect -320 0 320 -240 0 0
|
||||
style 3
|
||||
visible 1
|
||||
textscale 0.55
|
||||
background "hud_mp_xm25_overlay"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "airburstBG_mp_right_bottom"
|
||||
rect 0 0 -320 -240 0 0
|
||||
style 3
|
||||
visible 1
|
||||
textscale 0.55
|
||||
background "hud_mp_xm25_overlay"
|
||||
}
|
||||
}
|
||||
}
|
302
zone_raw/patch_mp/ui_mp/all_restart_popmenu.menu
Normal file
302
zone_raw/patch_mp/ui_mp/all_restart_popmenu.menu
Normal file
@ -0,0 +1,302 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "all_restart_popmenu"
|
||||
rect 0 0 0 0 2 2
|
||||
focuscolor 1 1 1 1
|
||||
outOfBoundsClick
|
||||
popup
|
||||
legacySplitScreenScale
|
||||
exp rect X 0 - (260 * 0.5);
|
||||
exp rect Y 0 - ((((23 * 1) + (16.367 * 0)) + (2 * (20 + 2)) + 5) * 0.5);
|
||||
exp rect W 260;
|
||||
exp rect H (((23 * 1) + (16.367 * 0)) + (2 * (20 + 2)) + 5);
|
||||
onOpen
|
||||
{
|
||||
setLocalVarInt ui_buttonNavGroupOffset_popup 0;
|
||||
setLocalVarInt ui_buttonNavGroupCurrent_popup 0;
|
||||
setLocalVarString ui_buttonNavGroupName_popup "invalid";
|
||||
setLocalVarBool ui_swfSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfSelectionDisabled 0;
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled 0;
|
||||
setLocalVarString ui_swfPopupContext "invalid";
|
||||
setLocalVarBool ui_centerPopup 1;
|
||||
play tabs_slide;
|
||||
lerp x from - 460 to 0 over "0.05";
|
||||
focusfirst;
|
||||
setfocus SWF_COMMON_POPUP_NAME_1;
|
||||
focusfirst;
|
||||
}
|
||||
onClose
|
||||
{
|
||||
setLocalVarBool ui_centerPopup 0;
|
||||
play "";
|
||||
}
|
||||
onESC
|
||||
{
|
||||
exec "exec options_graphics.cfg";
|
||||
exec "setfromdvar ui_snd_khz snd_khz";
|
||||
exec "setfromdvar ui_snd_enableEq snd_enableEq";
|
||||
exec "setfromdvar ui_outputConfig snd_outputConfiguration";
|
||||
setLocalVarBool ui_showAudioApply 0;
|
||||
setLocalVarBool ui_showApply 0;
|
||||
close self;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -1280 -480 2560 960 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(menuistopmost("all_restart_popmenu"));
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0.8
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -131.333 -78.667 262.667 130.667 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0.3098 0.349 0.2745 1
|
||||
background "white"
|
||||
exp rect y 0 + "SWF_POPUP_GLOBAL_Y_OFFSET";
|
||||
exp rect h (((23 * 1) + (16.367 * 0)) + (2 * (20 + 2)) + 5) + 0;
|
||||
exp rect x 0 + "SWF_POPUP_GLOBAL_X_OFFSET";
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 260 1 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1 && 1);
|
||||
textscale 0.55
|
||||
forecolor 0.1569 0.1725 0.1608 1
|
||||
background "white"
|
||||
exp rect x 0;
|
||||
exp rect y 0;
|
||||
exp rect h (1 * 22) + (16.367 * 0) + 2;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 8.666 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1 && 1);
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar_shadow"
|
||||
exp rect x (0 + "X_OFFSET");
|
||||
exp rect y 0 + (1 * 22) + (16.367 * 0);
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 1 244 22 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when(1);
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 9
|
||||
exp text "@MENU_APPLY_SETTINGS";
|
||||
exp rect x (0 + 8);
|
||||
exp rect y (0 + 4) - 4;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 260 1 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0.2118 0.2314 0.22 1
|
||||
background "white"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + (0 * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0)));
|
||||
exp rect h ((20 + 2) * 2) + 1;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 8.666 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfPopupSelectionBarVis") && (localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_POPUP_NAME") && (localvarstring("ui_swfPopupContext") == "SWF_COMMON_POPUP_NAME"));
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar_shadow"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + ((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0))) + (20 + 0.3333);
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 20 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfPopupSelectionBarVis") && (localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_POPUP_NAME") && (localvarstring("ui_swfPopupContext") == "SWF_COMMON_POPUP_NAME"));
|
||||
textscale 0.55
|
||||
forecolor 0.6 0.6314 0.6 0.2
|
||||
background "white"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + ((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0)));
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 20 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfPopupSelectionBarVis") && (localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_POPUP_NAME") && (localvarstring("ui_swfPopupContext") == "SWF_COMMON_POPUP_NAME"));
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + ((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0)));
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@PLATFORM_NAVBAR_BUTTON_FOCUSED_SELECTBUTTON"
|
||||
rect 0 0 20 20 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfPopupSelectionButtonVis") && (localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_POPUP_NAME") && (localvarstring("ui_swfPopupContext") == "SWF_COMMON_POPUP_NAME"));
|
||||
textalign 10
|
||||
textscale 0.30625
|
||||
textfont 3
|
||||
exp rect x (0 + (0 + 260 - 24));
|
||||
exp rect y (((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0))) - 1.167) - 1.8;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "SWF_COMMON_POPUP_NAME_0"
|
||||
rect 11.667 0 260 22 2 2
|
||||
style 3
|
||||
type 1
|
||||
visible when(1);
|
||||
disabled when(0);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0
|
||||
background "white"
|
||||
onFocus
|
||||
{
|
||||
setLocalVarString ui_swf_selection "SWF_POPUP_BUTTON_NAME(SWF_COMMON_POPUP_NAME,0)";
|
||||
setLocalVarInt ui_buttonNavGroupCurrent_popup 0;
|
||||
setLocalVarString ui_buttonNavGroupName_popup "SWF_COMMON_POPUP_NAME";
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis ((1) && !(0));
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis (1);
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled (0);
|
||||
setLocalVarString ui_swfPopupContext "SWF_COMMON_POPUP_NAME";
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
if (dvarstring(gameMode) == "sp" && !dvarint(sv_running))
|
||||
{
|
||||
execondvarstringvalue ui_zfeather 0 "set cg_laserLight 0";
|
||||
execondvarstringvalue ui_zfeather 1 "set cg_laserLight 1";
|
||||
}
|
||||
exec "exec options_graphics_set.cfg";
|
||||
exec "setfromdvar snd_khz ui_snd_khz";
|
||||
exec "setfromdvar snd_outputConfiguration ui_OutputConfig";
|
||||
exec "setfromdvar snd_enableEq ui_snd_enableEq";
|
||||
close self;
|
||||
exec snd_restart;
|
||||
exec regeneratePlaylistPopulationImage;
|
||||
}
|
||||
exp rect y ((0 * (20 + 2)) + (0 + 4) + ((23 * 1) + (16.367 * 0))) + ((0 - 1.333));
|
||||
exp rect w 260 - 0;
|
||||
exp rect x (0 + (0 + 8));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 11.667 0 260 19.567 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when((1) && (1));
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 3
|
||||
exp text "@MENU_YES";
|
||||
exp rect y (((0 * (20 + 2)) + (0 + 4) + ((23 * 1) + (16.367 * 0))) + (0 - 1.333)) - 2.333;
|
||||
exp rect w 260;
|
||||
exp forecolor r select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_POPUP_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_POPUP_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_POPUP_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_POPUP_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor g select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_POPUP_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_POPUP_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_POPUP_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_POPUP_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor b select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_POPUP_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_POPUP_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_POPUP_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_POPUP_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp rect x (0 + (0 + 8));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "SWF_COMMON_POPUP_NAME_1"
|
||||
rect 11.667 0 260 22 2 2
|
||||
style 3
|
||||
type 1
|
||||
visible when(1);
|
||||
disabled when(0);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0
|
||||
background "white"
|
||||
onFocus
|
||||
{
|
||||
setLocalVarString ui_swf_selection "SWF_POPUP_BUTTON_NAME(SWF_COMMON_POPUP_NAME,1)";
|
||||
setLocalVarInt ui_buttonNavGroupCurrent_popup 1;
|
||||
setLocalVarString ui_buttonNavGroupName_popup "SWF_COMMON_POPUP_NAME";
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis ((1) && !(0));
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis (1);
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled (0);
|
||||
setLocalVarString ui_swfPopupContext "SWF_COMMON_POPUP_NAME";
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
exec "exec options_graphics.cfg";
|
||||
exec "setfromdvar ui_snd_khz snd_khz";
|
||||
exec "setfromdvar ui_snd_enableEq snd_enableEq";
|
||||
exec "setfromdvar ui_outputConfig snd_outputConfiguration";
|
||||
setLocalVarBool ui_showAudioApply 0;
|
||||
setLocalVarBool ui_showApply 0;
|
||||
close self;
|
||||
}
|
||||
exp rect y ((1 * (20 + 2)) + (0 + 4) + ((23 * 1) + (16.367 * 0))) + ((0 - 1.333));
|
||||
exp rect w 260 - 0;
|
||||
exp rect x (0 + (0 + 8));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 11.667 0 260 19.567 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when((1) && (1));
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 3
|
||||
exp text "@MENU_NO";
|
||||
exp rect y (((1 * (20 + 2)) + (0 + 4) + ((23 * 1) + (16.367 * 0))) + (0 - 1.333)) - 2.333;
|
||||
exp rect w 260;
|
||||
exp forecolor r select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_POPUP_NAME,1)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_POPUP_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_POPUP_NAME,1)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_POPUP_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor g select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_POPUP_NAME,1)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_POPUP_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_POPUP_NAME,1)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_POPUP_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor b select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_POPUP_NAME,1)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_POPUP_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_POPUP_NAME,1)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_POPUP_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp rect x (0 + (0 + 8));
|
||||
}
|
||||
}
|
||||
}
|
17
zone_raw/patch_mp/ui_mp/apply_picmip_popmenu.menu
Normal file
17
zone_raw/patch_mp/ui_mp/apply_picmip_popmenu.menu
Normal file
@ -0,0 +1,17 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "apply_picmip_popmenu"
|
||||
rect 0 0 640 480 0 0
|
||||
focuscolor 1 1 1 1
|
||||
onOpen
|
||||
{
|
||||
execnow "setfromdvar r_picmip ui_r_picmip";
|
||||
execnow "setfromdvar r_picmip_bump ui_r_picmip_bump";
|
||||
execnow "setfromdvar r_picmip_spec ui_r_picmip_spec";
|
||||
execnow "setfromdvar r_picmip_manual ui_r_picmip_manual";
|
||||
exec "wait; wait; r_applyPicmip";
|
||||
close apply_picmip_popmenu;
|
||||
}
|
||||
}
|
||||
}
|
115
zone_raw/patch_mp/ui_mp/background_main.menu
Normal file
115
zone_raw/patch_mp/ui_mp/background_main.menu
Normal file
@ -0,0 +1,115 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "background_main"
|
||||
rect 0 0 640 480 0 0
|
||||
focuscolor 1 1 1 1
|
||||
fadeClamp 1
|
||||
fadeCycle 1
|
||||
fadeAmount 0.1
|
||||
onOpen
|
||||
{
|
||||
execnow "g_friendlyfiredist 0";
|
||||
execnow "g_friendlynamedist 0";
|
||||
execnow "loc_warnings 0";
|
||||
execnow "loc_warningsaserrors 0";
|
||||
}
|
||||
onESC
|
||||
{
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@PLATFORM_SELECT"
|
||||
rect 499 438 0 0 0 0
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.4583
|
||||
textfont 1
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "signedinas"
|
||||
rect 0 0 250 15 0 0
|
||||
decoration
|
||||
type 8
|
||||
visible 1
|
||||
ownerdraw 372
|
||||
textscale 0.4583
|
||||
textfont 1
|
||||
forecolor 0.4823 0.4823 0.4823 1
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 80 170 250 15 0 0
|
||||
type 1
|
||||
visible 1
|
||||
textscale 0.4583
|
||||
textfont 1
|
||||
forecolor 0.4823 0.4823 0.4823 1
|
||||
execKeyInt 157
|
||||
{
|
||||
scriptmenuresponse BUTTON_RTRIG;
|
||||
}
|
||||
execKeyInt 156
|
||||
{
|
||||
scriptmenuresponse BUTTON_LTRIG;
|
||||
}
|
||||
execKeyInt 17
|
||||
{
|
||||
scriptmenuresponse BUTTON_RSTICK;
|
||||
}
|
||||
execKeyInt 16
|
||||
{
|
||||
scriptmenuresponse BUTTON_LSTICK;
|
||||
}
|
||||
execKeyInt 15
|
||||
{
|
||||
scriptmenuresponse BUTTON_BACK;
|
||||
}
|
||||
execKeyInt 14
|
||||
{
|
||||
scriptmenuresponse BUTTON_START;
|
||||
}
|
||||
execKeyInt 186
|
||||
{
|
||||
scriptmenuresponse BUTTON_RSHLDR;
|
||||
}
|
||||
execKeyInt 185
|
||||
{
|
||||
scriptmenuresponse BUTTON_LSHLDR;
|
||||
}
|
||||
execKeyInt 167
|
||||
{
|
||||
scriptmenuresponse BUTTON_Y;
|
||||
}
|
||||
execKeyInt 168
|
||||
{
|
||||
scriptmenuresponse BUTTON_X;
|
||||
}
|
||||
execKeyInt 2
|
||||
{
|
||||
scriptmenuresponse BUTTON_B;
|
||||
}
|
||||
execKeyInt 1
|
||||
{
|
||||
scriptmenuresponse BUTTON_A;
|
||||
}
|
||||
execKeyInt 21
|
||||
{
|
||||
scriptmenuresponse DPAD_DOWN;
|
||||
}
|
||||
execKeyInt 20
|
||||
{
|
||||
scriptmenuresponse DPAD_UP;
|
||||
}
|
||||
execKeyInt 22
|
||||
{
|
||||
scriptmenuresponse DPAD_LEFT;
|
||||
}
|
||||
execKeyInt 23
|
||||
{
|
||||
scriptmenuresponse DPAD_RIGHT;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
29
zone_raw/patch_mp/ui_mp/blood_effect_center.menu
Normal file
29
zone_raw/patch_mp/ui_mp/blood_effect_center.menu
Normal file
@ -0,0 +1,29 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "blood_effect_center"
|
||||
decoration
|
||||
rect 0 0 640 480 8 10
|
||||
onOpen
|
||||
{
|
||||
lerp alpha from 1 to 1 over "0.0";
|
||||
lerp scale from 1 to "1.0" over "0.0";
|
||||
lerp y from - 200 to - 200 over "0.0";
|
||||
setLocalVarInt blood_update_time (milliseconds() + 6000);
|
||||
}
|
||||
onRequestClose
|
||||
{
|
||||
lerp alpha from 1 to 0 over "1.0";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -512 -282 1024 564 2 3
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
background "screen_blood_directional_center"
|
||||
exp forecolor a min(((localvarint("blood_update_time") - milliseconds()) / 6000) * 2, 1);
|
||||
}
|
||||
}
|
||||
}
|
29
zone_raw/patch_mp/ui_mp/blood_effect_left.menu
Normal file
29
zone_raw/patch_mp/ui_mp/blood_effect_left.menu
Normal file
@ -0,0 +1,29 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "blood_effect_left"
|
||||
decoration
|
||||
rect 0 0 640 480 8 8
|
||||
onOpen
|
||||
{
|
||||
lerp alpha from 1 to 1 over "0.0";
|
||||
lerp scale from "1.0" to "1.0" over "0.0";
|
||||
lerp x from 325 to 325 over "0.0";
|
||||
setLocalVarInt blood_update_time (milliseconds() + 6000);
|
||||
}
|
||||
onRequestClose
|
||||
{
|
||||
lerp alpha from 1 to 0 over "1.0";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -512 -282 1024 564 1 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
background "screen_blood_directional_left"
|
||||
exp forecolor a min(((localvarint("blood_update_time") - milliseconds()) / 6000) * 2, 1);
|
||||
}
|
||||
}
|
||||
}
|
29
zone_raw/patch_mp/ui_mp/blood_effect_right.menu
Normal file
29
zone_raw/patch_mp/ui_mp/blood_effect_right.menu
Normal file
@ -0,0 +1,29 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "blood_effect_right"
|
||||
decoration
|
||||
rect 0 0 640 480 8 10
|
||||
onOpen
|
||||
{
|
||||
lerp alpha from 1 to 1 over "0.0";
|
||||
lerp scale from "1.0" to "1.0" over "0.0";
|
||||
lerp x from - 325 to - 325 over "0.0";
|
||||
setLocalVarInt blood_update_time (milliseconds() + 6000);
|
||||
}
|
||||
onRequestClose
|
||||
{
|
||||
lerp alpha from 1 to 0 over "1.0";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -512 -282 1024 564 3 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
background "screen_blood_directional_right"
|
||||
exp forecolor a min(((localvarint("blood_update_time") - milliseconds()) / 6000) * 2, 1);
|
||||
}
|
||||
}
|
||||
}
|
308
zone_raw/patch_mp/ui_mp/cac_elite_popup.menu
Normal file
308
zone_raw/patch_mp/ui_mp/cac_elite_popup.menu
Normal file
@ -0,0 +1,308 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "cac_elite_popup"
|
||||
rect 0 0 0 0 2 2
|
||||
focuscolor 1 1 1 1
|
||||
outOfBoundsClick
|
||||
popup
|
||||
legacySplitScreenScale
|
||||
exp rect X 0 - (260 * 0.5);
|
||||
exp rect Y 0 - ((localvarint("ui_swfPopupDescResizeHeight")) * 0.5);
|
||||
exp rect W 260;
|
||||
exp rect H (localvarint("ui_swfPopupDescResizeHeight"));
|
||||
onOpen
|
||||
{
|
||||
setLocalVarFloat ui_swfPopupDescResizeTextHeight (getwrappedtextheight(locstring("@MENU_ELITE_CLASS_PROMPT"), (float((260 - 16))), 3, 0.375, 0, 0));
|
||||
setLocalVarInt ui_swfPopupDescResizeButtons (int((localvarfloat("ui_swfPopupDescResizeTextHeight") + ((20 + 2) / 2) + 5) / (20 + 2)) + 1);
|
||||
setLocalVarInt ui_swfPopupDescResizeHeight ((((23 * 1) + (16.367 * 0)) + ((localvarint("ui_swfPopupDescResizeButtons") + 0 + 2) * (20 + 2)) + 5));
|
||||
setLocalVarInt ui_swfPopupDescResizeButtonYOffset ((20 + 2) * (localvarint("ui_swfPopupDescResizeButtons") + 0));
|
||||
setLocalVarInt ui_buttonNavGroupOffset_popup 0;
|
||||
setLocalVarInt ui_buttonNavGroupCurrent_popup 0;
|
||||
setLocalVarString ui_buttonNavGroupName_popup "invalid";
|
||||
setLocalVarBool ui_swfSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfSelectionDisabled 0;
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled 0;
|
||||
setLocalVarString ui_swfPopupContext "invalid";
|
||||
setLocalVarBool ui_centerPopup 1;
|
||||
play tabs_slide;
|
||||
lerp x from - 460 to 0 over "0.05";
|
||||
focusfirst;
|
||||
setfocus SWF_COMMON_DESC_RESIZE_POPUP_NAME_1;
|
||||
focusfirst;
|
||||
}
|
||||
onClose
|
||||
{
|
||||
uiScript clearError;
|
||||
setLocalVarBool ui_centerPopup 0;
|
||||
play "";
|
||||
}
|
||||
onESC
|
||||
{
|
||||
close self;
|
||||
deleteEliteCacFile;
|
||||
}
|
||||
onFocusDueToClose
|
||||
{
|
||||
setLocalVarFloat ui_swfPopupDescResizeTextHeight (getwrappedtextheight("@MENU_ELITE_CLASS_PROMPT", (float((260 - 16))), 3, 0.375, 0, 0));
|
||||
setLocalVarInt ui_swfPopupDescResizeButtons (int((localvarfloat("ui_swfPopupDescResizeTextHeight") + ((20 + 2) / 2) + 5) / (20 + 2)) + 1);
|
||||
setLocalVarInt ui_swfPopupDescResizeHeight ((((23 * 1) + (16.367 * 0)) + ((localvarint("ui_swfPopupDescResizeButtons") + 0 + 2) * (20 + 2)) + 5));
|
||||
setLocalVarInt ui_swfPopupDescResizeButtonYOffset ((20 + 2) * (localvarint("ui_swfPopupDescResizeButtons") + 0));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -1280 -480 2560 960 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(menuistopmost("cac_elite_popup"));
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0.8
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -131.333 -78.667 262.667 130.667 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0.3098 0.349 0.2745 1
|
||||
background "white"
|
||||
exp rect y 0 + "SWF_POPUP_GLOBAL_Y_OFFSET";
|
||||
exp rect h (localvarint("ui_swfPopupDescResizeHeight")) + 0;
|
||||
exp rect x 0 + "SWF_POPUP_GLOBAL_X_OFFSET";
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 260 1 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1 && 1);
|
||||
textscale 0.55
|
||||
forecolor 0.1569 0.1725 0.1608 1
|
||||
background "white"
|
||||
exp rect x 0;
|
||||
exp rect y 0;
|
||||
exp rect h (1 * 22) + (16.367 * 0) + 2;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 8.666 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1 && 1);
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar_shadow"
|
||||
exp rect x (0 + "X_OFFSET");
|
||||
exp rect y 0 + (1 * 22) + (16.367 * 0);
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 1 244 22 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when(1);
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 9
|
||||
exp text "@MENU_ELITE_TITLE";
|
||||
exp rect x (0 + 8);
|
||||
exp rect y (0 + 4) - 4;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 244 20 2 2
|
||||
style 1
|
||||
decoration
|
||||
autowrapped
|
||||
visible when(1);
|
||||
textalign 4
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
exp text "@MENU_ELITE_CLASS_PROMPT";
|
||||
exp rect x ((0 + 8) + 0);
|
||||
exp rect y (0 + (0 * (20 + 2)) + (0 + 4) + ((23 * 1) + (16.367 * 0))) - 2.333;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 260 1 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0.2118 0.2314 0.22 1
|
||||
background "white"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + (0 * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0)));
|
||||
exp rect h ((20 + 2) * 2) + 1;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 8.666 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfPopupSelectionBarVis") && (localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_NAME") && (localvarstring("ui_swfPopupContext") == "SWF_COMMON_DESC_RESIZE_POPUP_NAME"));
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar_shadow"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + ((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0))) + (20 + 0.3333);
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 20 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfPopupSelectionBarVis") && (localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_NAME") && (localvarstring("ui_swfPopupContext") == "SWF_COMMON_DESC_RESIZE_POPUP_NAME"));
|
||||
textscale 0.55
|
||||
forecolor 0.6 0.6314 0.6 0.2
|
||||
background "white"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + ((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0)));
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 20 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfPopupSelectionBarVis") && (localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_NAME") && (localvarstring("ui_swfPopupContext") == "SWF_COMMON_DESC_RESIZE_POPUP_NAME"));
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + ((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0)));
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@PLATFORM_NAVBAR_BUTTON_FOCUSED_SELECTBUTTON"
|
||||
rect 0 0 20 20 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfPopupSelectionButtonVis") && (localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_NAME") && (localvarstring("ui_swfPopupContext") == "SWF_COMMON_DESC_RESIZE_POPUP_NAME"));
|
||||
textalign 10
|
||||
textscale 0.30625
|
||||
textfont 3
|
||||
exp rect x (0 + (0 + 260 - 24));
|
||||
exp rect y (((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + ((0 + 4) + ((23 * 1) + (16.367 * 0))) - 1.167) - 1.8;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "SWF_COMMON_DESC_RESIZE_POPUP_NAME_0"
|
||||
rect 11.667 0 260 22 2 2
|
||||
style 3
|
||||
type 1
|
||||
visible when(1);
|
||||
disabled when(0);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0
|
||||
background "white"
|
||||
onFocus
|
||||
{
|
||||
setLocalVarString ui_swf_selection "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_NAME,0)";
|
||||
setLocalVarInt ui_buttonNavGroupCurrent_popup 0;
|
||||
setLocalVarString ui_buttonNavGroupName_popup "SWF_COMMON_DESC_RESIZE_POPUP_NAME";
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis ((1) && !(0));
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis (1);
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled (0);
|
||||
setLocalVarString ui_swfPopupContext "SWF_COMMON_DESC_RESIZE_POPUP_NAME";
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
close self;
|
||||
integrateEliteCacFile;
|
||||
}
|
||||
exp rect y ((0 * (20 + 2)) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + (0 + 4) + ((23 * 1) + (16.367 * 0))) + ((0 - 1.333));
|
||||
exp rect w 260 - 0;
|
||||
exp rect x (0 + (0 + 8));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 11.667 0 260 19.567 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when((1) && (1));
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 3
|
||||
exp text "@MENU_YES";
|
||||
exp rect y (((0 * (20 + 2)) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + (0 + 4) + ((23 * 1) + (16.367 * 0))) + (0 - 1.333)) - 2.333;
|
||||
exp rect w 260;
|
||||
exp forecolor r select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor g select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor b select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp rect x (0 + (0 + 8));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "SWF_COMMON_DESC_RESIZE_POPUP_NAME_1"
|
||||
rect 11.667 0 260 22 2 2
|
||||
style 3
|
||||
type 1
|
||||
visible when(1);
|
||||
disabled when(0);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0
|
||||
background "white"
|
||||
onFocus
|
||||
{
|
||||
setLocalVarString ui_swf_selection "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_NAME,1)";
|
||||
setLocalVarInt ui_buttonNavGroupCurrent_popup 1;
|
||||
setLocalVarString ui_buttonNavGroupName_popup "SWF_COMMON_DESC_RESIZE_POPUP_NAME";
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis ((1) && !(0));
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis (1);
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled (0);
|
||||
setLocalVarString ui_swfPopupContext "SWF_COMMON_DESC_RESIZE_POPUP_NAME";
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
close self;
|
||||
deleteEliteCacFile;
|
||||
}
|
||||
exp rect y ((1 * (20 + 2)) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + (0 + 4) + ((23 * 1) + (16.367 * 0))) + ((0 - 1.333));
|
||||
exp rect w 260 - 0;
|
||||
exp rect x (0 + (0 + 8));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 11.667 0 260 19.567 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when((1) && (1));
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 3
|
||||
exp text "@MENU_NO";
|
||||
exp rect y (((1 * (20 + 2)) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + (0 + 4) + ((23 * 1) + (16.367 * 0))) + (0 - 1.333)) - 2.333;
|
||||
exp rect w 260;
|
||||
exp forecolor r select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_NAME,1)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_NAME,1)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor g select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_NAME,1)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_NAME,1)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor b select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_NAME,1)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_NAME,1)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp rect x (0 + (0 + 8));
|
||||
}
|
||||
}
|
||||
}
|
549
zone_raw/patch_mp/ui_mp/callvote.menu
Normal file
549
zone_raw/patch_mp/ui_mp/callvote.menu
Normal file
@ -0,0 +1,549 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "callvote"
|
||||
rect 0 0 640 480 0 0
|
||||
focuscolor 1 1 1 1
|
||||
blurWorld 4.8
|
||||
onOpen
|
||||
{
|
||||
setLocalVarInt ui_buttonNavGroupOffset 0;
|
||||
setLocalVarInt ui_buttonNavGroupCurrent 0;
|
||||
setLocalVarString ui_buttonNavGroupName "invalid";
|
||||
setLocalVarBool ui_swfSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfSelectionDisabled 0;
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled 0;
|
||||
setLocalVarString ui_swfPopupContext "invalid";
|
||||
focusfirst;
|
||||
}
|
||||
onESC
|
||||
{
|
||||
scriptMenuResponse back;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 237.5 -36 301.5 480 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_shelfEnabled"));
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0.4
|
||||
background "white"
|
||||
exp rect w localvarbool("ui_shelfEnabled") * select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 219.5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 219.5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 219.5));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 237.5 -236 13 680 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.75
|
||||
background "navbar_edge"
|
||||
exp rect x ((0 - 64) + 301.5) + (localvarbool("ui_shelfEnabled") * (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 219.5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 219.5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 219.5))));
|
||||
exp forecolor r 0.596078;
|
||||
exp forecolor g 0.654902;
|
||||
exp forecolor b 0.603922;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 237.5 -236 13 680 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_shelfEnabled"));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.75
|
||||
background "navbar_edge"
|
||||
exp rect x (0 - 64) + 301.5;
|
||||
exp forecolor r 0.596078;
|
||||
exp forecolor g 0.654902;
|
||||
exp forecolor b 0.603922;
|
||||
exp forecolor a localvarbool("ui_shelfEnabled") * (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 0.75), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0.75, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 0.75)));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -264 -236 501.5 680 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0.4
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 30 301.5 5.333 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
background "navbar_tick"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 3 276.667 24.233 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible when((1));
|
||||
textalign 10
|
||||
textscale 0.5
|
||||
textfont 9
|
||||
exp text "@MPUI_CALLVOTE";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -272.733 3 266.667 23.633 3 1
|
||||
style 1
|
||||
decoration
|
||||
visible when(("UI_PAUSE_RHS_TITLE_VIS"));
|
||||
textalign 10
|
||||
textscale 0.5
|
||||
textfont 9
|
||||
exp text "UI_PAUSE_RHS_TITLE";
|
||||
exp rect x (0) + ((0 - 272.733)) + (0);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -88 34.667 325.333 17.333 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfSelectionBarVis") && (localvarstring("ui_buttonNavGroupName") == "PAUSE_LIST"));
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar"
|
||||
exp rect y ((localvarint("ui_buttonNavGroupCurrent") - localvarint("ui_buttonNavGroupOffset")) * 20) + (34.667) + 0.667;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 213 34.667 21.333 16.5 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfSelectionButtonVis") && (localvarstring("ui_buttonNavGroupName") == "PAUSE_LIST"));
|
||||
textalign 10
|
||||
textscale 0.30625
|
||||
textfont 3
|
||||
exp text "@PLATFORM_NAVBAR_BUTTON_FOCUSED_SELECTBUTTON";
|
||||
exp rect y ((localvarint("ui_buttonNavGroupCurrent") - localvarint("ui_buttonNavGroupOffset")) * 20) + (34.667) + (0.667);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "PAUSE_LIST_0"
|
||||
rect -68 34.667 305.333 20 1 1
|
||||
style 3
|
||||
type 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0
|
||||
background "white"
|
||||
onFocus
|
||||
{
|
||||
setLocalVarString ui_swf_selection "PAUSE_LIST_0";
|
||||
setLocalVarInt ui_buttonNavGroupCurrent 0;
|
||||
setLocalVarString ui_buttonNavGroupName "PAUSE_LIST";
|
||||
setLocalVarBool ui_swfSelectionButtonVis ((1) && !(0));
|
||||
setLocalVarBool ui_swfSelectionBarVis (1);
|
||||
setLocalVarBool ui_swfSelectionDisabled (0);
|
||||
if ((3 - 1) + localvarint("ui_buttonNavGroupOffset") < localvarint("ui_buttonNavGroupCurrent"))
|
||||
{
|
||||
setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent") - (3 - 1));
|
||||
}
|
||||
else
|
||||
{
|
||||
if (localvarint("ui_buttonNavGroupCurrent") < localvarint("ui_buttonNavGroupOffset"))
|
||||
{
|
||||
setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent"));
|
||||
}
|
||||
}
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarBool ui_swfSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfSelectionDisabled 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
if (!(0))
|
||||
{
|
||||
play mouse_click;
|
||||
exec "cmd callvote map_restart";
|
||||
close self;
|
||||
}
|
||||
}
|
||||
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 0))) + ((0 - 1.333));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 219 37 14.333 14.333 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(((((0)) && (1))) && (0) && (localvarstring("ui_swf_selection") == "PAUSE_LIST_0" && FUNC_34() && localvarstring("ui_buttonNavGroupName") == "PAUSE_LIST"));
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "icon_lock"
|
||||
exp rect y (((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + ((((34.667) + (20 * 0)) + 1.333)) - (0.667)) + 1.5;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 219 37 14.333 14.333 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(((((0)) && (1))) && (0) && (!(localvarstring("ui_swf_selection") == "PAUSE_LIST_0" && FUNC_34() && localvarstring("ui_buttonNavGroupName") == "PAUSE_LIST")));
|
||||
textscale 0.55
|
||||
background "icon_lock"
|
||||
exp rect y (((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + ((((34.667) + (20 * 0)) + 1.333)) - (0.667)) + 1.5;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 33.334 276.667 19.567 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible when((1));
|
||||
textalign 10
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 3
|
||||
exp text "@MPUI_RESTART_MAP";
|
||||
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 0))) + ((0 - 1.333));
|
||||
exp forecolor r select(0, select(localvarstring("ui_swf_selection") == "PAUSE_LIST_0" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "PAUSE_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "PAUSE_LIST_0" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "PAUSE_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor g select(0, select(localvarstring("ui_swf_selection") == "PAUSE_LIST_0" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "PAUSE_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "PAUSE_LIST_0" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "PAUSE_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor b select(0, select(localvarstring("ui_swf_selection") == "PAUSE_LIST_0" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "PAUSE_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "PAUSE_LIST_0" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "PAUSE_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "PAUSE_LIST_1"
|
||||
rect -68 54.667 305.333 20 1 1
|
||||
style 3
|
||||
type 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0
|
||||
background "white"
|
||||
onFocus
|
||||
{
|
||||
setLocalVarString ui_swf_selection "PAUSE_LIST_1";
|
||||
setLocalVarInt ui_buttonNavGroupCurrent 1;
|
||||
setLocalVarString ui_buttonNavGroupName "PAUSE_LIST";
|
||||
setLocalVarBool ui_swfSelectionButtonVis ((1) && !(0));
|
||||
setLocalVarBool ui_swfSelectionBarVis (1);
|
||||
setLocalVarBool ui_swfSelectionDisabled (0);
|
||||
if ((3 - 1) + localvarint("ui_buttonNavGroupOffset") < localvarint("ui_buttonNavGroupCurrent"))
|
||||
{
|
||||
setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent") - (3 - 1));
|
||||
}
|
||||
else
|
||||
{
|
||||
if (localvarint("ui_buttonNavGroupCurrent") < localvarint("ui_buttonNavGroupOffset"))
|
||||
{
|
||||
setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent"));
|
||||
}
|
||||
}
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarBool ui_swfSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfSelectionDisabled 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
if (!(0))
|
||||
{
|
||||
play mouse_click;
|
||||
exec "cmd callvote map_rotate";
|
||||
close self;
|
||||
}
|
||||
}
|
||||
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 1))) + ((0 - 1.333));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 219 57 14.333 14.333 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(((((0)) && (1))) && (0) && (localvarstring("ui_swf_selection") == "PAUSE_LIST_1" && FUNC_34() && localvarstring("ui_buttonNavGroupName") == "PAUSE_LIST"));
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "icon_lock"
|
||||
exp rect y (((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + ((((34.667) + (20 * 1)) + 1.333)) - (0.667)) + 1.5;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 219 57 14.333 14.333 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(((((0)) && (1))) && (0) && (!(localvarstring("ui_swf_selection") == "PAUSE_LIST_1" && FUNC_34() && localvarstring("ui_buttonNavGroupName") == "PAUSE_LIST")));
|
||||
textscale 0.55
|
||||
background "icon_lock"
|
||||
exp rect y (((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + ((((34.667) + (20 * 1)) + 1.333)) - (0.667)) + 1.5;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 53.334 276.667 19.567 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible when((1));
|
||||
textalign 10
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 3
|
||||
exp text "@MPUI_NEXT_MAP";
|
||||
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 1))) + ((0 - 1.333));
|
||||
exp forecolor r select(0, select(localvarstring("ui_swf_selection") == "PAUSE_LIST_1" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "PAUSE_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "PAUSE_LIST_1" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "PAUSE_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor g select(0, select(localvarstring("ui_swf_selection") == "PAUSE_LIST_1" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "PAUSE_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "PAUSE_LIST_1" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "PAUSE_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor b select(0, select(localvarstring("ui_swf_selection") == "PAUSE_LIST_1" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "PAUSE_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "PAUSE_LIST_1" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "PAUSE_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "PAUSE_LIST_2"
|
||||
rect -68 74.667 305.333 20 1 1
|
||||
style 3
|
||||
type 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0
|
||||
background "white"
|
||||
onFocus
|
||||
{
|
||||
setLocalVarString ui_swf_selection "PAUSE_LIST_2";
|
||||
setLocalVarInt ui_buttonNavGroupCurrent 2;
|
||||
setLocalVarString ui_buttonNavGroupName "PAUSE_LIST";
|
||||
setLocalVarBool ui_swfSelectionButtonVis ((1) && !(0));
|
||||
setLocalVarBool ui_swfSelectionBarVis (1);
|
||||
setLocalVarBool ui_swfSelectionDisabled (0);
|
||||
if ((3 - 1) + localvarint("ui_buttonNavGroupOffset") < localvarint("ui_buttonNavGroupCurrent"))
|
||||
{
|
||||
setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent") - (3 - 1));
|
||||
}
|
||||
else
|
||||
{
|
||||
if (localvarint("ui_buttonNavGroupCurrent") < localvarint("ui_buttonNavGroupOffset"))
|
||||
{
|
||||
setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent"));
|
||||
}
|
||||
}
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarBool ui_swfSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfSelectionDisabled 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
if (!(0))
|
||||
{
|
||||
play mouse_click;
|
||||
open kickplayer;
|
||||
close self;
|
||||
}
|
||||
}
|
||||
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 2))) + ((0 - 1.333));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 219 77 14.333 14.333 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(((((0)) && (1))) && (0) && (localvarstring("ui_swf_selection") == "PAUSE_LIST_2" && FUNC_34() && localvarstring("ui_buttonNavGroupName") == "PAUSE_LIST"));
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "icon_lock"
|
||||
exp rect y (((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + ((((34.667) + (20 * 2)) + 1.333)) - (0.667)) + 1.5;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 219 77 14.333 14.333 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(((((0)) && (1))) && (0) && (!(localvarstring("ui_swf_selection") == "PAUSE_LIST_2" && FUNC_34() && localvarstring("ui_buttonNavGroupName") == "PAUSE_LIST")));
|
||||
textscale 0.55
|
||||
background "icon_lock"
|
||||
exp rect y (((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + ((((34.667) + (20 * 2)) + 1.333)) - (0.667)) + 1.5;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 73.334 276.667 19.567 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible when((1));
|
||||
textalign 10
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 3
|
||||
exp text "@MPUI_KICK_PLAYER";
|
||||
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 2))) + ((0 - 1.333));
|
||||
exp forecolor r select(0, select(localvarstring("ui_swf_selection") == "PAUSE_LIST_2" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "PAUSE_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "PAUSE_LIST_2" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "PAUSE_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor g select(0, select(localvarstring("ui_swf_selection") == "PAUSE_LIST_2" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "PAUSE_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "PAUSE_LIST_2" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "PAUSE_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor b select(0, select(localvarstring("ui_swf_selection") == "PAUSE_LIST_2" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "PAUSE_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "PAUSE_LIST_2" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "PAUSE_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -88 52 325.333 8.666 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfSelectionBarVis") && (localvarstring("ui_buttonNavGroupName") == "PAUSE_LIST"));
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar_shadow"
|
||||
exp rect y ((localvarint("ui_buttonNavGroupCurrent") - localvarint("ui_buttonNavGroupOffset")) * 20) + (34.667) + 0.667 + 17.333;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 20 3 3
|
||||
type 1
|
||||
visible when(((isprofilesignedin() || anysplitscreenprofilesaresignedin()) && (isusersignedintolive() || isanyusersignedintolive()) && ((dvarbool(onlinegame) && (dvarbool(sv_running) || dvarbool(cl_ingame))) || (!dvarbool(cl_ingame) && !dvarbool(sv_running)))));
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
onFocus
|
||||
{
|
||||
setLocalVarInt ui_ralign_index 2;
|
||||
setLocalVarString ui_ralign_group "callvote";
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarInt ui_ralign_index - 1;
|
||||
setLocalVarString ui_ralign_group "";
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
uiscript simulateKeyPress 102;
|
||||
}
|
||||
exp rect x (0) - (0 * 5) - 20 - getTextWidth(locstring("@PLATFORM_FRIENDS_SHORTCUT"), 3, 0.375) - select((1), (20 + getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375) + 5), 0);
|
||||
exp rect y ((0 - 20.667));
|
||||
exp rect w getTextWidth(locstring("@PLATFORM_FRIENDS_SHORTCUT"), 3, 0.375) + 20;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 8.666 3 3
|
||||
style 3
|
||||
decoration
|
||||
visible when((((isprofilesignedin() || anysplitscreenprofilesaresignedin()) && (isusersignedintolive() || isanyusersignedintolive()) && ((dvarbool(onlinegame) && (dvarbool(sv_running) || dvarbool(cl_ingame))) || (!dvarbool(cl_ingame) && !dvarbool(sv_running))))) && (!0) && (localvarint("ui_ralign_index") == 2 && localvarstring("ui_ralign_group") == "callvote"));
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar_shadow"
|
||||
exp rect x (0) - (0 * 5) - (20) - getTextWidth(locstring("@PLATFORM_FRIENDS_SHORTCUT"), 3, 0.375) - select((1), (20 + getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375) + 5), 0);
|
||||
exp rect y ((0 - 20.667)) + 20;
|
||||
exp rect w getTextWidth(locstring("@PLATFORM_FRIENDS_SHORTCUT"), 3, 0.375) + 20;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 20 3 3
|
||||
style 1
|
||||
decoration
|
||||
visible when((((isprofilesignedin() || anysplitscreenprofilesaresignedin()) && (isusersignedintolive() || isanyusersignedintolive()) && ((dvarbool(onlinegame) && (dvarbool(sv_running) || dvarbool(cl_ingame))) || (!dvarbool(cl_ingame) && !dvarbool(sv_running))))) && (localvarint("ui_ralign_index") == 2 && localvarstring("ui_ralign_group") == "callvote"));
|
||||
textscale 0.55
|
||||
backcolor 0.6 0.6314 0.6 1
|
||||
exp rect x (0) - (0 * 5) - (20) - getTextWidth(locstring("@PLATFORM_FRIENDS_SHORTCUT"), 3, 0.375) - select((1), (20 + getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375) + 5), 0);
|
||||
exp rect y ((0 - 20.667));
|
||||
exp rect w getTextWidth(locstring("@PLATFORM_FRIENDS_SHORTCUT"), 3, 0.375) + 20;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 20 3 3
|
||||
decoration
|
||||
visible when(((isprofilesignedin() || anysplitscreenprofilesaresignedin()) && (isusersignedintolive() || isanyusersignedintolive()) && ((dvarbool(onlinegame) && (dvarbool(sv_running) || dvarbool(cl_ingame))) || (!dvarbool(cl_ingame) && !dvarbool(sv_running)))));
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
execKey "f"
|
||||
{
|
||||
if (((isprofilesignedin() || anysplitscreenprofilesaresignedin()) && (isusersignedintolive() || isanyusersignedintolive()) && ((dvarbool(onlinegame) && (dvarbool(sv_running) || dvarbool(cl_ingame))) || (!dvarbool(cl_ingame) && !dvarbool(sv_running)))))
|
||||
{
|
||||
setLocalVarBool ui_vault_browse 0;
|
||||
setLocalVarBool ui_vault_load 0;
|
||||
execnow "incnosplitscreencontrol popup_friends";
|
||||
if (isprofilesignedin() && isusersignedintolive())
|
||||
{
|
||||
open popup_friends;
|
||||
}
|
||||
else
|
||||
{
|
||||
execnow "decnosplitscreencontrol popup_friends";
|
||||
}
|
||||
}
|
||||
}
|
||||
exp text "@PLATFORM_FRIENDS_SHORTCUT";
|
||||
exp rect x (0) - (0 * 5) - (20 / 2) - getTextWidth(locstring("@PLATFORM_FRIENDS_SHORTCUT"), 3, 0.375) - select((1), (20 + getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375) + 5), 0);
|
||||
exp rect y ((0 - 20.667));
|
||||
exp rect w getTextWidth(locstring("@PLATFORM_FRIENDS_SHORTCUT"), 3, 0.375);
|
||||
exp forecolor r select((localvarint("ui_ralign_index") == 2 && localvarstring("ui_ralign_group") == "callvote"), select(isdemoplaying(), FUNC_36(), FUNC_35()), 1);
|
||||
exp forecolor g select((localvarint("ui_ralign_index") == 2 && localvarstring("ui_ralign_group") == "callvote"), select(isdemoplaying(), FUNC_36(), FUNC_35()), 1);
|
||||
exp forecolor b select((localvarint("ui_ralign_index") == 2 && localvarstring("ui_ralign_group") == "callvote"), select(isdemoplaying(), FUNC_36(), FUNC_35()), 1);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 20 3 3
|
||||
type 1
|
||||
visible when(1);
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
onFocus
|
||||
{
|
||||
setLocalVarInt ui_ralign_index 1;
|
||||
setLocalVarString ui_ralign_group "callvote";
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarInt ui_ralign_index - 1;
|
||||
setLocalVarString ui_ralign_group "";
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
uiscript simulateKeyPress 27;
|
||||
}
|
||||
exp rect x (0) - (0 * 5) - 20 - getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375);
|
||||
exp rect y ((0 - 20.667));
|
||||
exp rect w getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375) + 20;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 8.666 3 3
|
||||
style 3
|
||||
decoration
|
||||
visible when((1) && (!0) && (localvarint("ui_ralign_index") == 1 && localvarstring("ui_ralign_group") == "callvote"));
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar_shadow"
|
||||
exp rect x (0) - (0 * 5) - (20) - getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375);
|
||||
exp rect y ((0 - 20.667)) + 20;
|
||||
exp rect w getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375) + 20;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 20 3 3
|
||||
style 1
|
||||
decoration
|
||||
visible when((1) && (localvarint("ui_ralign_index") == 1 && localvarstring("ui_ralign_group") == "callvote"));
|
||||
textscale 0.55
|
||||
backcolor 0.6 0.6314 0.6 1
|
||||
exp rect x (0) - (0 * 5) - (20) - getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375);
|
||||
exp rect y ((0 - 20.667));
|
||||
exp rect w getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375) + 20;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 20 3 3
|
||||
decoration
|
||||
visible when(1);
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
exp text "@PLATFORM_BACK_SHORTCUT";
|
||||
exp rect x (0) - (0 * 5) - (20 / 2) - getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375);
|
||||
exp rect y ((0 - 20.667));
|
||||
exp rect w getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375);
|
||||
exp forecolor r select((localvarint("ui_ralign_index") == 1 && localvarstring("ui_ralign_group") == "callvote"), select(isdemoplaying(), FUNC_36(), FUNC_35()), 1);
|
||||
exp forecolor g select((localvarint("ui_ralign_index") == 1 && localvarstring("ui_ralign_group") == "callvote"), select(isdemoplaying(), FUNC_36(), FUNC_35()), 1);
|
||||
exp forecolor b select((localvarint("ui_ralign_index") == 1 && localvarstring("ui_ralign_group") == "callvote"), select(isdemoplaying(), FUNC_36(), FUNC_35()), 1);
|
||||
}
|
||||
}
|
||||
}
|
96
zone_raw/patch_mp/ui_mp/challenge.menu
Normal file
96
zone_raw/patch_mp/ui_mp/challenge.menu
Normal file
@ -0,0 +1,96 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "challenge"
|
||||
decoration
|
||||
rect 0 0 640 480 1 1
|
||||
exp rect Y FUNC_184() * (0 - 40) * FUNC_163();
|
||||
onOpen
|
||||
{
|
||||
lerp alpha from 0 to 1 over "0.15";
|
||||
lerp x from 640 to 370 over "0.15";
|
||||
forceClose splash;
|
||||
forceClose daily_challenge;
|
||||
forceClose weekly_challenge;
|
||||
forceClose defcon;
|
||||
forceClose killstreak_pickup;
|
||||
forceClose killstreak;
|
||||
forceClose perk_challenge;
|
||||
forceClose promotion;
|
||||
forceClose promotion_weapon;
|
||||
forceClose killstreak_minisplash;
|
||||
setLocalVarString splashRef tablelookupbyrow("mp/splashTable.csv", splashrownum(0), 0);
|
||||
if (tablelookup("mp/allChallengesTable.csv", 0, localvarstring("splashRef"), 1) == "")
|
||||
{
|
||||
setLocalVarString splashRef ("");
|
||||
close self;
|
||||
}
|
||||
}
|
||||
onRequestClose
|
||||
{
|
||||
if (localvarstring("splashRef") != "")
|
||||
{
|
||||
lerp alpha from 1 to 0 over "0.15";
|
||||
lerp x from 370 to 640 over "0.15";
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "challenge_title_tiered"
|
||||
rect -580 60 200 20 10 8
|
||||
decoration
|
||||
visible when(FUNC_163() && (int(max(getplayerdata("challengeState", localvarstring("splashRef")), 1)) - 1) > 0);
|
||||
textalign 2
|
||||
textscale 0.375
|
||||
textstyle 3
|
||||
textfont 4
|
||||
exp text locstring("@" + tablelookup("mp/allChallengesTable.csv", 0, localvarstring("splashRef"), 1)) + locstring("@" + tablelookup("mp/allChallengesTable.csv", 0, localvarstring("splashRef"), 3) + "_" + (int(max(getplayerdata("challengeState", localvarstring("splashRef")), 1)) - 1));
|
||||
exp glowcolor r tablelookupbyrow("mp/splashTable.csv", splashrownum(0), 5);
|
||||
exp glowcolor g tablelookupbyrow("mp/splashTable.csv", splashrownum(0), 6);
|
||||
exp glowcolor b tablelookupbyrow("mp/splashTable.csv", splashrownum(0), 7);
|
||||
exp glowcolor a tablelookupbyrow("mp/splashTable.csv", splashrownum(0), 8);
|
||||
decodeEffect 100 3000 500
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "challenge_description"
|
||||
rect -580 80 200 20 10 8
|
||||
decoration
|
||||
visible when(FUNC_163() && (int(max(getplayerdata("challengeState", localvarstring("splashRef")), 1)) - 1) > 0);
|
||||
textalign 2
|
||||
textscale 0.2916
|
||||
textstyle 3
|
||||
exp text getsplashdescription(0);
|
||||
decodeEffect 50 3000 500
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "challenge_title_tiered_ss"
|
||||
rect -580 60 200 20 10 8
|
||||
decoration
|
||||
visible when(FUNC_162() && (int(max(getplayerdata("challengeState", localvarstring("splashRef")), 1)) - 1) > 0);
|
||||
textalign 2
|
||||
textscale 0.729165
|
||||
textstyle 3
|
||||
textfont 4
|
||||
exp text locstring("@" + tablelookup("mp/allChallengesTable.csv", 0, localvarstring("splashRef"), 1)) + locstring("@" + tablelookup("mp/allChallengesTable.csv", 0, localvarstring("splashRef"), 3) + "_" + (int(max(getplayerdata("challengeState", localvarstring("splashRef")), 1)) - 1));
|
||||
exp glowcolor r tablelookupbyrow("mp/splashTable.csv", splashrownum(0), 5);
|
||||
exp glowcolor g tablelookupbyrow("mp/splashTable.csv", splashrownum(0), 6);
|
||||
exp glowcolor b tablelookupbyrow("mp/splashTable.csv", splashrownum(0), 7);
|
||||
exp glowcolor a tablelookupbyrow("mp/splashTable.csv", splashrownum(0), 8);
|
||||
decodeEffect 100 3000 500
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "challenge_description_ss"
|
||||
rect -580 80 200 20 10 8
|
||||
decoration
|
||||
visible when(FUNC_162() && (int(max(getplayerdata("challengeState", localvarstring("splashRef")), 1)) - 1) > 0);
|
||||
textalign 2
|
||||
textscale 0.4583
|
||||
textstyle 3
|
||||
exp text getsplashdescription(0);
|
||||
decodeEffect 50 3000 500
|
||||
}
|
||||
}
|
||||
}
|
5171
zone_raw/patch_mp/ui_mp/changeclass.menu
Normal file
5171
zone_raw/patch_mp/ui_mp/changeclass.menu
Normal file
File diff suppressed because it is too large
Load Diff
28
zone_raw/patch_mp/ui_mp/changeclass_marines.menu
Normal file
28
zone_raw/patch_mp/ui_mp/changeclass_marines.menu
Normal file
@ -0,0 +1,28 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "changeclass_marines"
|
||||
rect 0 0 0 0 0 0
|
||||
onOpen
|
||||
{
|
||||
if (dvarint(xblive_privatematch) || (dvarint(xblive_competitionmatch) && dvarint(com_svDedicated)))
|
||||
{
|
||||
setLocalVarString ui_customClassLoc "privateMatchCustomClasses";
|
||||
}
|
||||
else
|
||||
{
|
||||
setLocalVarString ui_customClassLoc "customClasses";
|
||||
}
|
||||
setLocalVarString ui_team "marines";
|
||||
if (dvarbool(splitscreen) && dvarbool(onlinegame))
|
||||
{
|
||||
open changeclass_marines_splitscreen;
|
||||
}
|
||||
else
|
||||
{
|
||||
open changeclass;
|
||||
}
|
||||
close self;
|
||||
}
|
||||
}
|
||||
}
|
28
zone_raw/patch_mp/ui_mp/changeclass_opfor.menu
Normal file
28
zone_raw/patch_mp/ui_mp/changeclass_opfor.menu
Normal file
@ -0,0 +1,28 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "changeclass_opfor"
|
||||
rect 0 0 0 0 0 0
|
||||
onOpen
|
||||
{
|
||||
if (dvarint(xblive_privatematch) || (dvarint(xblive_competitionmatch) && dvarint(com_svDedicated)))
|
||||
{
|
||||
setLocalVarString ui_customClassLoc "privateMatchCustomClasses";
|
||||
}
|
||||
else
|
||||
{
|
||||
setLocalVarString ui_customClassLoc "customClasses";
|
||||
}
|
||||
setLocalVarString ui_team "opfor";
|
||||
if (dvarbool(splitscreen) && dvarbool(onlinegame))
|
||||
{
|
||||
open changeclass_opfor_splitscreen;
|
||||
}
|
||||
else
|
||||
{
|
||||
open changeclass;
|
||||
}
|
||||
close self;
|
||||
}
|
||||
}
|
||||
}
|
1205
zone_raw/patch_mp/ui_mp/class.menu
Normal file
1205
zone_raw/patch_mp/ui_mp/class.menu
Normal file
File diff suppressed because it is too large
Load Diff
20
zone_raw/patch_mp/ui_mp/class_marines.menu
Normal file
20
zone_raw/patch_mp/ui_mp/class_marines.menu
Normal file
@ -0,0 +1,20 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "class_marines"
|
||||
rect 0 0 0 0 0 0
|
||||
onOpen
|
||||
{
|
||||
if (dvarint(xblive_privatematch) || (dvarint(xblive_competitionmatch) && dvarint(com_svDedicated)))
|
||||
{
|
||||
setLocalVarString ui_customClassLoc "privateMatchCustomClasses";
|
||||
}
|
||||
else
|
||||
{
|
||||
setLocalVarString ui_customClassLoc "customClasses";
|
||||
}
|
||||
setLocalVarString ui_team "marines";
|
||||
open class close self;
|
||||
}
|
||||
}
|
||||
}
|
20
zone_raw/patch_mp/ui_mp/class_opfor.menu
Normal file
20
zone_raw/patch_mp/ui_mp/class_opfor.menu
Normal file
@ -0,0 +1,20 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "class_opfor"
|
||||
rect 0 0 0 0 0 0
|
||||
onOpen
|
||||
{
|
||||
if (dvarint(xblive_privatematch) || (dvarint(xblive_competitionmatch) && dvarint(com_svDedicated)))
|
||||
{
|
||||
setLocalVarString ui_customClassLoc "privateMatchCustomClasses";
|
||||
}
|
||||
else
|
||||
{
|
||||
setLocalVarString ui_customClassLoc "customClasses";
|
||||
}
|
||||
setLocalVarString ui_team "opfor";
|
||||
open class close self;
|
||||
}
|
||||
}
|
||||
}
|
374
zone_raw/patch_mp/ui_mp/clip_save_screen.menu
Normal file
374
zone_raw/patch_mp/ui_mp/clip_save_screen.menu
Normal file
@ -0,0 +1,374 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "clip_save_screen"
|
||||
rect 0 0 0 0 2 2
|
||||
focuscolor 1 1 1 1
|
||||
outOfBoundsClick
|
||||
popup
|
||||
legacySplitScreenScale
|
||||
exp rect X 0 - (260 * 0.5);
|
||||
exp rect Y 0 - ((((23 * 1) + (16.367 * 0)) + (5 * (20 + 2)) + 5) * 0.5);
|
||||
exp rect W 260;
|
||||
exp rect H (((23 * 1) + (16.367 * 0)) + (5 * (20 + 2)) + 5);
|
||||
onOpen
|
||||
{
|
||||
setLocalVarInt ui_buttonNavGroupOffset_popup 0;
|
||||
setLocalVarInt ui_buttonNavGroupCurrent_popup 0;
|
||||
setLocalVarString ui_buttonNavGroupName_popup "invalid";
|
||||
setLocalVarBool ui_swfSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfSelectionDisabled 0;
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled 0;
|
||||
setLocalVarString ui_swfPopupContext "invalid";
|
||||
setLocalVarBool ui_centerPopup 1;
|
||||
play tabs_slide;
|
||||
lerp x from - 460 to 0 over "0.05";
|
||||
focusfirst;
|
||||
setfocus clip_save_screen_1;
|
||||
focusfirst;
|
||||
}
|
||||
onClose
|
||||
{
|
||||
setLocalVarBool ui_centerPopup 0;
|
||||
play "";
|
||||
}
|
||||
onESC
|
||||
{
|
||||
close self;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -1280 -480 2560 960 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(menuistopmost("clip_save_screen"));
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0.8
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -131.333 -78.667 262.667 130.667 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0.3098 0.349 0.2745 1
|
||||
background "white"
|
||||
exp rect y 0 + "SWF_POPUP_GLOBAL_Y_OFFSET";
|
||||
exp rect h (((23 * 1) + (16.367 * 0)) + (5 * (20 + 2)) + 5) + 0;
|
||||
exp rect x 0 + "SWF_POPUP_GLOBAL_X_OFFSET";
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 260 1 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1 && 1);
|
||||
textscale 0.55
|
||||
forecolor 0.1569 0.1725 0.1608 1
|
||||
background "white"
|
||||
exp rect x 0;
|
||||
exp rect y 0;
|
||||
exp rect h (1 * 22) + (16.367 * 0) + 2;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 8.666 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1 && 1);
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar_shadow"
|
||||
exp rect x (0 + "X_OFFSET");
|
||||
exp rect y 0 + (1 * 22) + (16.367 * 0);
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 1 244 22 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when(1);
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 9
|
||||
exp text "@MENU_SAVE_INFORMATION";
|
||||
exp rect x (0 + 8);
|
||||
exp rect y (0 + 4) - 4;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 244 20 2 2
|
||||
style 1
|
||||
decoration
|
||||
autowrapped
|
||||
visible when(1);
|
||||
textalign 4
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
exp text "@MENU_SAVE_SCREEN_TITLE";
|
||||
exp rect x ((0 + 8) + 0);
|
||||
exp rect y (0 + (0 * (20 + 2)) + (0 + 4) + ((23 * 1) + (16.367 * 0))) - 2.333;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 244 20 2 2
|
||||
style 1
|
||||
decoration
|
||||
autowrapped
|
||||
visible when(1);
|
||||
textalign 4
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
exp text "@MENU_SAVE_SCREEN_DESCRIPTION";
|
||||
exp rect x ((0 + 8) + 0);
|
||||
exp rect y (0 + (2 * (20 + 2)) + (0 + 4) + ((23 * 1) + (16.367 * 0))) - 2.333;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 260 1 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0.2118 0.2314 0.22 1
|
||||
background "white"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + (3 * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0)));
|
||||
exp rect h ((20 + 2) * 2) + 1;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 260 1 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0.2118 0.2314 0.22 1
|
||||
background "white"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + (1 * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0)));
|
||||
exp rect h ((20 + 2) * 1) + 1;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 8.666 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfPopupSelectionBarVis") && (localvarstring("ui_buttonNavGroupName_popup") == "clip_save_screen") && (localvarstring("ui_swfPopupContext") == "clip_save_screen"));
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar_shadow"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + ((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0))) + (20 + 0.3333);
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 20 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfPopupSelectionBarVis") && (localvarstring("ui_buttonNavGroupName_popup") == "clip_save_screen") && (localvarstring("ui_swfPopupContext") == "clip_save_screen"));
|
||||
textscale 0.55
|
||||
forecolor 0.6 0.6314 0.6 0.2
|
||||
background "white"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + ((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0)));
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 20 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfPopupSelectionBarVis") && (localvarstring("ui_buttonNavGroupName_popup") == "clip_save_screen") && (localvarstring("ui_swfPopupContext") == "clip_save_screen"));
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + ((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0)));
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@PLATFORM_NAVBAR_BUTTON_FOCUSED_SELECTBUTTON"
|
||||
rect 0 0 20 20 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfPopupSelectionButtonVis") && (localvarstring("ui_buttonNavGroupName_popup") == "clip_save_screen") && (localvarstring("ui_swfPopupContext") == "clip_save_screen"));
|
||||
textalign 10
|
||||
textscale 0.30625
|
||||
textfont 3
|
||||
exp rect x (0 + (0 + 260 - 24));
|
||||
exp rect y (((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0))) - 1.167) - 1.8;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "clip_save_screen_1"
|
||||
rect 11.667 0 260 22 2 2
|
||||
style 3
|
||||
type 1
|
||||
visible when(1);
|
||||
disabled when(0);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0
|
||||
background "white"
|
||||
onFocus
|
||||
{
|
||||
setLocalVarString ui_swf_selection "SWF_POPUP_BUTTON_NAME(clip_save_screen,1)";
|
||||
setLocalVarInt ui_buttonNavGroupCurrent_popup 1;
|
||||
setLocalVarString ui_buttonNavGroupName_popup "clip_save_screen";
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis ((1) && !(0));
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis (1);
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled (0);
|
||||
setLocalVarString ui_swfPopupContext "clip_save_screen";
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
exec "cl_demo_keyboard clipNameInGame";
|
||||
}
|
||||
exp rect y ((1 * (20 + 2)) + (0 + 4) + ((23 * 1) + (16.367 * 0))) + ((0 - 1.333));
|
||||
exp rect w 260 - 0;
|
||||
exp rect x (0 + (0 + 8));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 11.667 0 260 19.567 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when((1) && (1));
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
exp text " " + truncateTextWithEllipsis(getSaveScreenTitle("clip"), 3, 0.375, 265);
|
||||
exp rect y (((1 * (20 + 2)) + (0 + 4) + ((23 * 1) + (16.367 * 0))) + (0 - 1.333)) - 2.333;
|
||||
exp rect w 260;
|
||||
exp forecolor r select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(clip_save_screen,1)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "clip_save_screen", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(clip_save_screen,1)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "clip_save_screen", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor g select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(clip_save_screen,1)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "clip_save_screen", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(clip_save_screen,1)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "clip_save_screen", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor b select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(clip_save_screen,1)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "clip_save_screen", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(clip_save_screen,1)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "clip_save_screen", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp rect x (0 + (0 + 8));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "clip_save_screen_3"
|
||||
rect 11.667 0 260 22 2 2
|
||||
style 3
|
||||
type 1
|
||||
visible when(1);
|
||||
disabled when(0);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0
|
||||
background "white"
|
||||
onFocus
|
||||
{
|
||||
setLocalVarString ui_swf_selection "SWF_POPUP_BUTTON_NAME(clip_save_screen,3)";
|
||||
setLocalVarInt ui_buttonNavGroupCurrent_popup 3;
|
||||
setLocalVarString ui_buttonNavGroupName_popup "clip_save_screen";
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis ((1) && !(0));
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis (1);
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled (0);
|
||||
setLocalVarString ui_swfPopupContext "clip_save_screen";
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
exec "cl_demo_keyboard clipDescInGame";
|
||||
}
|
||||
exp rect y ((3 * (20 + 2)) + (0 + 4) + ((23 * 1) + (16.367 * 0))) + ((0 - 1.333));
|
||||
exp rect w 260 - 0;
|
||||
exp rect x (0 + (0 + 8));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 11.667 0 260 19.567 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when((1) && (1));
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
exp text " " + truncateTextWithEllipsis(getSaveScreenDescription("clip"), 3, 0.375, 265);
|
||||
exp rect y (((3 * (20 + 2)) + (0 + 4) + ((23 * 1) + (16.367 * 0))) + (0 - 1.333)) - 2.333;
|
||||
exp rect w 260;
|
||||
exp forecolor r select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(clip_save_screen,3)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "clip_save_screen", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(clip_save_screen,3)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "clip_save_screen", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor g select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(clip_save_screen,3)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "clip_save_screen", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(clip_save_screen,3)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "clip_save_screen", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor b select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(clip_save_screen,3)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "clip_save_screen", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(clip_save_screen,3)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "clip_save_screen", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp rect x (0 + (0 + 8));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "clip_save_screen_4"
|
||||
rect 11.667 0 260 22 2 2
|
||||
style 3
|
||||
type 1
|
||||
visible when(1);
|
||||
disabled when(0);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0
|
||||
background "white"
|
||||
onFocus
|
||||
{
|
||||
setLocalVarString ui_swf_selection "SWF_POPUP_BUTTON_NAME(clip_save_screen,4)";
|
||||
setLocalVarInt ui_buttonNavGroupCurrent_popup 4;
|
||||
setLocalVarString ui_buttonNavGroupName_popup "clip_save_screen";
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis ((1) && !(0));
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis (1);
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled (0);
|
||||
setLocalVarString ui_swfPopupContext "clip_save_screen";
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
uiScript onlinevault open save clip fileshare_slotselection_clip;
|
||||
close self;
|
||||
}
|
||||
exp rect y ((4 * (20 + 2)) + (0 + 4) + ((23 * 1) + (16.367 * 0))) + ((0 - 1.333));
|
||||
exp rect w 260 - 0;
|
||||
exp rect x (0 + (0 + 8));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 11.667 0 260 19.567 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when((1) && (1));
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 3
|
||||
exp text "@MENU_SAVE_SCREEN_CONTINUE";
|
||||
exp rect y (((4 * (20 + 2)) + (0 + 4) + ((23 * 1) + (16.367 * 0))) + (0 - 1.333)) - 2.333;
|
||||
exp rect w 260;
|
||||
exp forecolor r select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(clip_save_screen,4)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "clip_save_screen", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(clip_save_screen,4)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "clip_save_screen", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor g select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(clip_save_screen,4)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "clip_save_screen", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(clip_save_screen,4)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "clip_save_screen", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor b select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(clip_save_screen,4)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "clip_save_screen", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(clip_save_screen,4)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "clip_save_screen", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp rect x (0 + (0 + 8));
|
||||
}
|
||||
}
|
||||
}
|
170
zone_raw/patch_mp/ui_mp/connect.menu
Normal file
170
zone_raw/patch_mp/ui_mp/connect.menu
Normal file
@ -0,0 +1,170 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "connect"
|
||||
rect 0 0 640 480 0 0
|
||||
style 1
|
||||
focuscolor 1 1 1 1
|
||||
itemDef
|
||||
{
|
||||
rect -426.667 -240 853.333 480 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
background "$levelbriefing"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -426.667 -236 853.333 -400 2 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
background "gradient_bottom"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -426.667 -163 853.333 200 2 3
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
background "gradient_bottom"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 32 29 280 14 1 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 4
|
||||
textscale 0.5833
|
||||
textstyle 8
|
||||
textfont 9
|
||||
exp text gametypename();
|
||||
exp rect x select(dvarbool(widescreen), 32, 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 32 55 280 10 1 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 4
|
||||
textscale 0.4583
|
||||
textstyle 8
|
||||
textfont 9
|
||||
forecolor 0.7843 0.7843 0.7843 1
|
||||
exp text getmapname();
|
||||
exp rect x select(dvarbool(widescreen), 32, 20);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -32 -92 0 26 3 3
|
||||
decoration
|
||||
visible 1
|
||||
textalign 6
|
||||
textscale 0.375
|
||||
textstyle 3
|
||||
textfont 3
|
||||
exp text connectioninfo();
|
||||
exp rect x 0 - (select(dvarbool(widescreen), 32, 20));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -32 -92 0 26 3 3
|
||||
decoration
|
||||
visible when(connectioninfo() != "" && ((sin(milliseconds() * 0.005) + 1) * 0.5 <= 0.25));
|
||||
textalign 4
|
||||
textscale 0.375
|
||||
textstyle 3
|
||||
textfont 3
|
||||
exp text "";
|
||||
exp rect x 0 - (select(dvarbool(widescreen), 32, 20));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -32 -92 0 26 3 3
|
||||
decoration
|
||||
visible when(connectioninfo() != "" && ((sin(milliseconds() * 0.005) + 1) * 0.5 > 0.25 && (sin(milliseconds() * 0.005) + 1) * 0.5 <= 0.5));
|
||||
textalign 4
|
||||
textscale 0.375
|
||||
textstyle 3
|
||||
textfont 3
|
||||
exp text ".";
|
||||
exp rect x 0 - (select(dvarbool(widescreen), 32, 20));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -32 -92 0 26 3 3
|
||||
decoration
|
||||
visible when(connectioninfo() != "" && ((sin(milliseconds() * 0.005) + 1) * 0.5 > 0.5 && (sin(milliseconds() * 0.005) + 1) * 0.5 <= 0.75));
|
||||
textalign 4
|
||||
textscale 0.375
|
||||
textstyle 3
|
||||
textfont 3
|
||||
exp text "..";
|
||||
exp rect x 0 - (select(dvarbool(widescreen), 32, 20));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -32 -92 0 26 3 3
|
||||
decoration
|
||||
visible when(connectioninfo() != "" && ((sin(milliseconds() * 0.005) + 1) * 0.5 > 0.75));
|
||||
textalign 4
|
||||
textscale 0.375
|
||||
textstyle 3
|
||||
textfont 3
|
||||
exp text "...";
|
||||
exp rect x 0 - (select(dvarbool(widescreen), 32, 20));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 32 -71 504 7 1 3
|
||||
style 1
|
||||
decoration
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
backcolor 0.2 0.2 0.2 1
|
||||
exp rect x select(dvarbool(widescreen), 32, 20);
|
||||
exp rect w select(dvarbool(widescreen), 661, 504);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "loadbar"
|
||||
rect 32 -71 504 7 1 3
|
||||
style 6
|
||||
decoration
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0.6 0.6314 0.6 1
|
||||
background "white"
|
||||
exp rect x select(dvarbool(widescreen), 32, 20);
|
||||
exp rect w select(dvarbool(widescreen), 661, 504);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 32 -64 504 2 1 3
|
||||
decoration
|
||||
autowrapped
|
||||
visible when(1);
|
||||
textalign 4
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
exp rect x select(dvarbool(widescreen), 32, 20);
|
||||
exp rect w select(dvarbool(widescreen), 661, 504);
|
||||
dvar "didyouknow"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_INTEL"
|
||||
rect 32 -92 410 2 1 3
|
||||
decoration
|
||||
visible when(1);
|
||||
textalign 4
|
||||
textscale 0.4583
|
||||
textstyle 8
|
||||
textfont 9
|
||||
exp rect x select(dvarbool(widescreen), 32, 20);
|
||||
}
|
||||
}
|
||||
}
|
345
zone_raw/patch_mp/ui_mp/controls_multi_ingame.menu
Normal file
345
zone_raw/patch_mp/ui_mp/controls_multi_ingame.menu
Normal file
@ -0,0 +1,345 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "controls_multi_ingame"
|
||||
rect 0 0 640 480 0 0
|
||||
focuscolor 1 1 1 1
|
||||
blurWorld 4.8
|
||||
onOpen
|
||||
{
|
||||
exec "setfromdvar ui_name name";
|
||||
setLocalVarBool ui_hideBack 1;
|
||||
close pc_options_controls_ingame;
|
||||
focusfirst;
|
||||
}
|
||||
onClose
|
||||
{
|
||||
setLocalVarBool ui_hideBack 0;
|
||||
open pc_options_controls_ingame;
|
||||
}
|
||||
onESC
|
||||
{
|
||||
close self;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 237.5 -36 301.5 480 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_shelfEnabled"));
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0.4
|
||||
background "white"
|
||||
exp rect w localvarbool("ui_shelfEnabled") * select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 219.5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 219.5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 219.5));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 237.5 -236 13 680 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.75
|
||||
background "navbar_edge"
|
||||
exp rect x ((0 - 64) + 301.5) + (localvarbool("ui_shelfEnabled") * (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 219.5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 219.5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 219.5))));
|
||||
exp forecolor r 0.596078;
|
||||
exp forecolor g 0.654902;
|
||||
exp forecolor b 0.603922;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 237.5 -236 13 680 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_shelfEnabled"));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.75
|
||||
background "navbar_edge"
|
||||
exp rect x (0 - 64) + 301.5;
|
||||
exp forecolor r 0.596078;
|
||||
exp forecolor g 0.654902;
|
||||
exp forecolor b 0.603922;
|
||||
exp forecolor a localvarbool("ui_shelfEnabled") * (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 0.75), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0.75, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 0.75)));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -264 -236 501.5 680 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0.4
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 30 301.5 5.333 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
background "navbar_tick"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 3 276.667 24.233 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible when((1));
|
||||
textalign 10
|
||||
textscale 0.5
|
||||
textstyle 9
|
||||
textfont 9
|
||||
exp text "@MENU_CHAT";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "chat_public"
|
||||
rect 237.5 34.667 344 20 1 1
|
||||
style 1
|
||||
type 14
|
||||
visible when(1);
|
||||
textalign 4
|
||||
textalignx 333.5
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
backcolor 1 1 1 0
|
||||
background "navbar_selection_bar_centered"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backcolor 1 1 1 1 play mouse_over;
|
||||
show keyBindStatus;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 0 0 0 0 hide keyBindStatus;
|
||||
}
|
||||
exp rect x 0 - 64;
|
||||
exp rect w 301.5 + 200;
|
||||
dvar "chatmodepublic"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "chat_public"
|
||||
rect 237.5 34.667 344 20 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(("VIS_ARG") && getfocuseditemname() == "chat_public");
|
||||
textalign 4
|
||||
textalignx 333.5
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
background "navbar_selection_bar_shadow"
|
||||
exp rect x 0 - 64;
|
||||
exp rect w 301.5 + 200;
|
||||
exp rect h 8.666;
|
||||
exp rect y 18 + 34.667 + 0 * 20;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_TEXT_CHAT"
|
||||
rect 237.5 34.667 344 20 1 1
|
||||
decoration
|
||||
visible when(1);
|
||||
textalign 6
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 3
|
||||
exp rect x 301.5 - 64 - 25 - getTextWidthModCase(locstring("@MENU_TEXT_CHAT"), 3, 0.375, 9);
|
||||
exp rect w getTextWidthModCase(locstring("@MENU_TEXT_CHAT"), 3, 0.375, 9);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "chat_team"
|
||||
rect 237.5 54.667 344 20 1 1
|
||||
style 1
|
||||
type 14
|
||||
visible when(1);
|
||||
textalign 4
|
||||
textalignx 333.5
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
backcolor 1 1 1 0
|
||||
background "navbar_selection_bar_centered"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backcolor 1 1 1 1 play mouse_over;
|
||||
show keyBindStatus;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 0 0 0 0 hide keyBindStatus;
|
||||
}
|
||||
exp rect x 0 - 64;
|
||||
exp rect w 301.5 + 200;
|
||||
dvar "chatmodeteam"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "chat_team"
|
||||
rect 237.5 54.667 344 20 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(("VIS_ARG") && getfocuseditemname() == "chat_team");
|
||||
textalign 4
|
||||
textalignx 333.5
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
background "navbar_selection_bar_shadow"
|
||||
exp rect x 0 - 64;
|
||||
exp rect w 301.5 + 200;
|
||||
exp rect h 8.666;
|
||||
exp rect y 18 + 34.667 + 1 * 20;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_TEXT_TEAM_CHAT"
|
||||
rect 237.5 54.667 344 20 1 1
|
||||
decoration
|
||||
visible when(1);
|
||||
textalign 6
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 3
|
||||
exp rect x 301.5 - 64 - 25 - getTextWidthModCase(locstring("@MENU_TEXT_TEAM_CHAT"), 3, 0.375, 9);
|
||||
exp rect w getTextWidthModCase(locstring("@MENU_TEXT_TEAM_CHAT"), 3, 0.375, 9);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "chat_button"
|
||||
rect 237.5 74.667 344 20 1 1
|
||||
style 1
|
||||
type 14
|
||||
visible when(1);
|
||||
textalign 4
|
||||
textalignx 333.5
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
backcolor 1 1 1 0
|
||||
background "navbar_selection_bar_centered"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backcolor 1 1 1 1 play mouse_over;
|
||||
show keyBindStatus;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 0 0 0 0 hide keyBindStatus;
|
||||
}
|
||||
exp rect x 0 - 64;
|
||||
exp rect w 301.5 + 200;
|
||||
dvar "+talk"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "chat_button"
|
||||
rect 237.5 74.667 344 20 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(("VIS_ARG") && getfocuseditemname() == "chat_button");
|
||||
textalign 4
|
||||
textalignx 333.5
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
background "navbar_selection_bar_shadow"
|
||||
exp rect x 0 - 64;
|
||||
exp rect w 301.5 + 200;
|
||||
exp rect h 8.666;
|
||||
exp rect y 18 + 34.667 + 2 * 20;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_VOICE_CHAT_BUTTON"
|
||||
rect 237.5 74.667 344 20 1 1
|
||||
decoration
|
||||
visible when(1);
|
||||
textalign 6
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 3
|
||||
exp rect x 301.5 - 64 - 25 - getTextWidthModCase(locstring("@MENU_VOICE_CHAT_BUTTON"), 3, 0.375, 9);
|
||||
exp rect w getTextWidthModCase(locstring("@MENU_VOICE_CHAT_BUTTON"), 3, 0.375, 9);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "keyBindStatus"
|
||||
rect 0 0 226.5 20 1 3
|
||||
style 1
|
||||
decoration
|
||||
autowrapped
|
||||
type 8
|
||||
ownerdraw 350
|
||||
textalign 6
|
||||
textscale 0.375
|
||||
forecolor 0.65 0.65 0.65 1
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 20 3 3
|
||||
type 1
|
||||
visible when(1);
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
onFocus
|
||||
{
|
||||
setLocalVarInt ui_ralign_index 1;
|
||||
setLocalVarString ui_ralign_group "controls_multi_ingame";
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarInt ui_ralign_index - 1;
|
||||
setLocalVarString ui_ralign_group "";
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
uiscript simulateKeyPress 27;
|
||||
}
|
||||
exp rect x (0) - (0 * 5) - 20 - getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375);
|
||||
exp rect y ((0 - 20.667));
|
||||
exp rect w getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375) + 20;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 8.666 3 3
|
||||
style 3
|
||||
decoration
|
||||
visible when((1) && (!0) && (localvarint("ui_ralign_index") == 1 && localvarstring("ui_ralign_group") == "controls_multi_ingame"));
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar_shadow"
|
||||
exp rect x (0) - (0 * 5) - (20) - getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375);
|
||||
exp rect y ((0 - 20.667)) + 20;
|
||||
exp rect w getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375) + 20;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 20 3 3
|
||||
style 1
|
||||
decoration
|
||||
visible when((1) && (localvarint("ui_ralign_index") == 1 && localvarstring("ui_ralign_group") == "controls_multi_ingame"));
|
||||
textscale 0.55
|
||||
backcolor 0.6 0.6314 0.6 1
|
||||
exp rect x (0) - (0 * 5) - (20) - getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375);
|
||||
exp rect y ((0 - 20.667));
|
||||
exp rect w getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375) + 20;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 20 3 3
|
||||
decoration
|
||||
visible when(1);
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
exp text "@PLATFORM_BACK_SHORTCUT";
|
||||
exp rect x (0) - (0 * 5) - (20 / 2) - getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375);
|
||||
exp rect y ((0 - 20.667));
|
||||
exp rect w getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375);
|
||||
exp forecolor r select((localvarint("ui_ralign_index") == 1 && localvarstring("ui_ralign_group") == "controls_multi_ingame"), select(isdemoplaying(), FUNC_36(), FUNC_35()), 1);
|
||||
exp forecolor g select((localvarint("ui_ralign_index") == 1 && localvarstring("ui_ralign_group") == "controls_multi_ingame"), select(isdemoplaying(), FUNC_36(), FUNC_35()), 1);
|
||||
exp forecolor b select((localvarint("ui_ralign_index") == 1 && localvarstring("ui_ralign_group") == "controls_multi_ingame"), select(isdemoplaying(), FUNC_36(), FUNC_35()), 1);
|
||||
}
|
||||
}
|
||||
}
|
99
zone_raw/patch_mp/ui_mp/daily_challenge.menu
Normal file
99
zone_raw/patch_mp/ui_mp/daily_challenge.menu
Normal file
@ -0,0 +1,99 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "daily_challenge"
|
||||
decoration
|
||||
rect 0 0 640 480 1 1
|
||||
exp rect Y FUNC_184() * (0 - 40) * FUNC_163();
|
||||
onOpen
|
||||
{
|
||||
lerp alpha from 0 to 1 over "0.15";
|
||||
lerp x from 640 to 370 over "0.15";
|
||||
forceClose splash;
|
||||
forceClose challenge;
|
||||
forceClose weekly_challenge;
|
||||
forceClose defcon;
|
||||
forceClose killstreak_pickup;
|
||||
forceClose killstreak;
|
||||
forceClose perk_challenge;
|
||||
forceClose promotion;
|
||||
forceClose promotion_weapon;
|
||||
setLocalVarString splashRef tablelookupbyrow("mp/splashTable.csv", splashrownum(0), 0);
|
||||
setLocalVarString challengeRef (("ch_daily_" + ((tablelookupbyrow("mp/dailyChallengesTable.csv", getplayerdata("dailyChallengeId", 0), 0) == localvarstring("splashRef")) + (2 * (tablelookupbyrow("mp/dailyChallengesTable.csv", getplayerdata("dailyChallengeId", 1), 0) == localvarstring("splashRef"))) + (3 * (tablelookupbyrow("mp/dailyChallengesTable.csv", getplayerdata("dailyChallengeId", 2), 0) == localvarstring("splashRef"))) - 1)));
|
||||
setLocalVarString uiChallengesTable ("mp/dailyChallengesTable.csv");
|
||||
if (tablelookup("mp/dailyChallengesTable.csv", 0, localvarstring("splashRef"), 1) == "" || ((tablelookupbyrow("mp/dailyChallengesTable.csv", getplayerdata("dailyChallengeId", 0), 0) == localvarstring("splashRef")) + (2 * (tablelookupbyrow("mp/dailyChallengesTable.csv", getplayerdata("dailyChallengeId", 1), 0) == localvarstring("splashRef"))) + (3 * (tablelookupbyrow("mp/dailyChallengesTable.csv", getplayerdata("dailyChallengeId", 2), 0) == localvarstring("splashRef"))) - 1) < 0)
|
||||
{
|
||||
setLocalVarString temp (debugprint("Splash", "INVALID DAILY CHALLENGE"));
|
||||
setLocalVarString splashRef ("");
|
||||
setLocalVarString challengeRef ("");
|
||||
close self;
|
||||
}
|
||||
}
|
||||
onRequestClose
|
||||
{
|
||||
if (localvarstring("splashRef") != "")
|
||||
{
|
||||
lerp alpha from 1 to 0 over "0.15";
|
||||
lerp x from 370 to 640 over "0.15";
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "challenge_title_tiered"
|
||||
rect -580 60 200 20 10 8
|
||||
decoration
|
||||
visible when(FUNC_163() && (int(max(getplayerdata("challengeState", localvarstring("challengeRef")), 1)) - 1) > 0);
|
||||
textalign 2
|
||||
textscale 0.375
|
||||
textstyle 3
|
||||
textfont 4
|
||||
exp text locstring("@CHALLENGE_PATCH_DAILY_CHALLENGE");
|
||||
exp glowcolor r tablelookupbyrow("mp/splashTable.csv", splashrownum(0), 5);
|
||||
exp glowcolor g tablelookupbyrow("mp/splashTable.csv", splashrownum(0), 6);
|
||||
exp glowcolor b tablelookupbyrow("mp/splashTable.csv", splashrownum(0), 7);
|
||||
exp glowcolor a tablelookupbyrow("mp/splashTable.csv", splashrownum(0), 8);
|
||||
decodeEffect 100 3000 500
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "challenge_description"
|
||||
rect -580 80 200 20 10 8
|
||||
decoration
|
||||
visible when(FUNC_163() && (int(max(getplayerdata("challengeState", localvarstring("challengeRef")), 1)) - 1) > 0);
|
||||
textalign 2
|
||||
textscale 0.2916
|
||||
textstyle 3
|
||||
exp text getsplashdescription(0);
|
||||
decodeEffect 50 3000 500
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "challenge_title_tiered_ss"
|
||||
rect -580 60 200 20 10 8
|
||||
decoration
|
||||
visible when(FUNC_162() && (int(max(getplayerdata("challengeState", localvarstring("challengeRef")), 1)) - 1) > 0);
|
||||
textalign 2
|
||||
textscale 0.729165
|
||||
textstyle 3
|
||||
textfont 4
|
||||
exp text locstring("@CHALLENGE_PATCH_DAILY_CHALLENGE");
|
||||
exp glowcolor r tablelookupbyrow("mp/splashTable.csv", splashrownum(0), 5);
|
||||
exp glowcolor g tablelookupbyrow("mp/splashTable.csv", splashrownum(0), 6);
|
||||
exp glowcolor b tablelookupbyrow("mp/splashTable.csv", splashrownum(0), 7);
|
||||
exp glowcolor a tablelookupbyrow("mp/splashTable.csv", splashrownum(0), 8);
|
||||
decodeEffect 100 3000 500
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "challenge_description_ss"
|
||||
rect -580 80 200 20 10 8
|
||||
decoration
|
||||
visible when(FUNC_162() && (int(max(getplayerdata("challengeState", localvarstring("challengeRef")), 1)) - 1) > 0);
|
||||
textalign 2
|
||||
textscale 0.4583
|
||||
textstyle 3
|
||||
exp text getsplashdescription(0);
|
||||
decodeEffect 50 3000 500
|
||||
}
|
||||
}
|
||||
}
|
19
zone_raw/patch_mp/ui_mp/default_menu.menu
Normal file
19
zone_raw/patch_mp/ui_mp/default_menu.menu
Normal file
@ -0,0 +1,19 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "default_menu"
|
||||
rect 0 0 0 0 0 0
|
||||
itemDef
|
||||
{
|
||||
name "default"
|
||||
text "@MENU_MENU_COULDNT_BE_FOUND"
|
||||
rect 0 0 0 0 0 0
|
||||
type 1
|
||||
visible 1
|
||||
textaligny 14
|
||||
textscale 0.4583
|
||||
textfont 1
|
||||
forecolor 0.9 0.9 0.9 0.9
|
||||
}
|
||||
}
|
||||
}
|
64
zone_raw/patch_mp/ui_mp/defcon.menu
Normal file
64
zone_raw/patch_mp/ui_mp/defcon.menu
Normal file
@ -0,0 +1,64 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "defcon"
|
||||
decoration
|
||||
rect 0 0 640 1 1 0
|
||||
onOpen
|
||||
{
|
||||
lerp scale from 10 to 1 over "0.15";
|
||||
lerp alpha from 0 to 1 over "0.15";
|
||||
setLocalVarInt defcon_update_time (milliseconds() + 1000);
|
||||
setLocalVarString ui_defcon_splashMaterial getsplashmaterial(0);
|
||||
forceClose splash;
|
||||
forceClose challenge;
|
||||
forceClose daily_challenge;
|
||||
forceClose weekly_challenge;
|
||||
forceClose killstreak_pickup;
|
||||
forceClose killstreak;
|
||||
forceClose perk_challenge;
|
||||
}
|
||||
onRequestClose
|
||||
{
|
||||
lerp scale from 1 to 10 over "0.15";
|
||||
lerp alpha from 1 to 0 over "0.15";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "defcon_title"
|
||||
rect 0 -134 0 0 2 2
|
||||
decoration
|
||||
visible 1
|
||||
textalign 1
|
||||
textscale 0.5833
|
||||
textstyle 3
|
||||
textfont 9
|
||||
exp text getsplashtext(0);
|
||||
exp glowcolor r tablelookupbyrow("mp/splashTable.csv", splashrownum(0), 5);
|
||||
exp glowcolor g tablelookupbyrow("mp/splashTable.csv", splashrownum(0), 6);
|
||||
exp glowcolor b tablelookupbyrow("mp/splashTable.csv", splashrownum(0), 7);
|
||||
exp glowcolor a tablelookupbyrow("mp/splashTable.csv", splashrownum(0), 8);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "defcon_description"
|
||||
rect 0 -90 0 0 2 2
|
||||
decoration
|
||||
visible when(FUNC_163());
|
||||
textalign 1
|
||||
textscale 0.375
|
||||
textstyle 3
|
||||
exp text getsplashdescription(0);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "defcon_icon"
|
||||
rect -62.5 -130 125 14 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
exp material localvarstring("ui_defcon_splashMaterial");
|
||||
}
|
||||
}
|
||||
}
|
283
zone_raw/patch_mp/ui_mp/delete_all_segments_confirmation.menu
Normal file
283
zone_raw/patch_mp/ui_mp/delete_all_segments_confirmation.menu
Normal file
@ -0,0 +1,283 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "delete_all_segments_confirmation"
|
||||
rect 0 0 0 0 2 2
|
||||
focuscolor 1 1 1 1
|
||||
outOfBoundsClick
|
||||
popup
|
||||
legacySplitScreenScale
|
||||
exp rect X 0 - (260 * 0.5);
|
||||
exp rect Y 0 - ((((23 * 1) + (16.367 * 0)) + (2 * (20 + 2)) + 5) * 0.5);
|
||||
exp rect W 260;
|
||||
exp rect H (((23 * 1) + (16.367 * 0)) + (2 * (20 + 2)) + 5);
|
||||
onOpen
|
||||
{
|
||||
setLocalVarInt ui_buttonNavGroupOffset_popup 0;
|
||||
setLocalVarInt ui_buttonNavGroupCurrent_popup 0;
|
||||
setLocalVarString ui_buttonNavGroupName_popup "invalid";
|
||||
setLocalVarBool ui_swfSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfSelectionDisabled 0;
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled 0;
|
||||
setLocalVarString ui_swfPopupContext "invalid";
|
||||
setLocalVarBool ui_centerPopup 1;
|
||||
play tabs_slide;
|
||||
lerp x from - 460 to 0 over "0.05";
|
||||
focusfirst;
|
||||
setfocus SWF_COMMON_POPUP_NAME_1;
|
||||
focusfirst;
|
||||
}
|
||||
onClose
|
||||
{
|
||||
setLocalVarBool ui_centerPopup 0;
|
||||
play "";
|
||||
}
|
||||
onESC
|
||||
{
|
||||
close self;
|
||||
}
|
||||
execKeyInt 14
|
||||
{
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -1280 -480 2560 960 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(menuistopmost("delete_all_segments_confirmation"));
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0.8
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -131.333 -78.667 262.667 130.667 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0.3098 0.349 0.2745 1
|
||||
background "white"
|
||||
exp rect y 0 + "SWF_POPUP_GLOBAL_Y_OFFSET";
|
||||
exp rect h (((23 * 1) + (16.367 * 0)) + (2 * (20 + 2)) + 5) + 0;
|
||||
exp rect x 0 + "SWF_POPUP_GLOBAL_X_OFFSET";
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 260 1 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1 && 1);
|
||||
textscale 0.55
|
||||
forecolor 0.1569 0.1725 0.1608 1
|
||||
background "white"
|
||||
exp rect x 0;
|
||||
exp rect y 0;
|
||||
exp rect h (1 * 22) + (16.367 * 0) + 2;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 8.666 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1 && 1);
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar_shadow"
|
||||
exp rect x (0 + "X_OFFSET");
|
||||
exp rect y 0 + (1 * 22) + (16.367 * 0);
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 1 244 22 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when(1);
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 9
|
||||
exp text "@MENU_DEMO_DELETE_ALL_SEGMENTS_CONFIRMATION";
|
||||
exp rect x (0 + 8);
|
||||
exp rect y (0 + 4) - 4;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 260 1 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0.2118 0.2314 0.22 1
|
||||
background "white"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + (0 * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0)));
|
||||
exp rect h ((20 + 2) * 2) + 1;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 8.666 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfPopupSelectionBarVis") && (localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_POPUP_NAME") && (localvarstring("ui_swfPopupContext") == "SWF_COMMON_POPUP_NAME"));
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar_shadow"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + ((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0))) + (20 + 0.3333);
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 20 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfPopupSelectionBarVis") && (localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_POPUP_NAME") && (localvarstring("ui_swfPopupContext") == "SWF_COMMON_POPUP_NAME"));
|
||||
textscale 0.55
|
||||
forecolor 0.6 0.6314 0.6 0.2
|
||||
background "white"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + ((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0)));
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 20 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfPopupSelectionBarVis") && (localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_POPUP_NAME") && (localvarstring("ui_swfPopupContext") == "SWF_COMMON_POPUP_NAME"));
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + ((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0)));
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@PLATFORM_NAVBAR_BUTTON_FOCUSED_SELECTBUTTON"
|
||||
rect 0 0 20 20 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfPopupSelectionButtonVis") && (localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_POPUP_NAME") && (localvarstring("ui_swfPopupContext") == "SWF_COMMON_POPUP_NAME"));
|
||||
textalign 10
|
||||
textscale 0.30625
|
||||
textfont 3
|
||||
exp rect x (0 + (0 + 260 - 24));
|
||||
exp rect y (((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0))) - 1.167) - 1.8;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "SWF_COMMON_POPUP_NAME_0"
|
||||
rect 11.667 0 260 22 2 2
|
||||
style 3
|
||||
type 1
|
||||
visible when(1);
|
||||
disabled when(0);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0
|
||||
background "white"
|
||||
onFocus
|
||||
{
|
||||
setLocalVarString ui_swf_selection "SWF_POPUP_BUTTON_NAME(SWF_COMMON_POPUP_NAME,0)";
|
||||
setLocalVarInt ui_buttonNavGroupCurrent_popup 0;
|
||||
setLocalVarString ui_buttonNavGroupName_popup "SWF_COMMON_POPUP_NAME";
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis ((1) && !(0));
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis (1);
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled (0);
|
||||
setLocalVarString ui_swfPopupContext "SWF_COMMON_POPUP_NAME";
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
execNow cl_demo_deleteclip;
|
||||
close self;
|
||||
}
|
||||
exp rect y ((0 * (20 + 2)) + (0 + 4) + ((23 * 1) + (16.367 * 0))) + ((0 - 1.333));
|
||||
exp rect w 260 - 0;
|
||||
exp rect x (0 + (0 + 8));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 11.667 0 260 19.567 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when((1) && (1));
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 3
|
||||
exp text "@MENU_YES";
|
||||
exp rect y (((0 * (20 + 2)) + (0 + 4) + ((23 * 1) + (16.367 * 0))) + (0 - 1.333)) - 2.333;
|
||||
exp rect w 260;
|
||||
exp forecolor r select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_POPUP_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_POPUP_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_POPUP_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_POPUP_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor g select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_POPUP_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_POPUP_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_POPUP_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_POPUP_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor b select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_POPUP_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_POPUP_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_POPUP_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_POPUP_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp rect x (0 + (0 + 8));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "SWF_COMMON_POPUP_NAME_1"
|
||||
rect 11.667 0 260 22 2 2
|
||||
style 3
|
||||
type 1
|
||||
visible when(1);
|
||||
disabled when(0);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0
|
||||
background "white"
|
||||
onFocus
|
||||
{
|
||||
setLocalVarString ui_swf_selection "SWF_POPUP_BUTTON_NAME(SWF_COMMON_POPUP_NAME,1)";
|
||||
setLocalVarInt ui_buttonNavGroupCurrent_popup 1;
|
||||
setLocalVarString ui_buttonNavGroupName_popup "SWF_COMMON_POPUP_NAME";
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis ((1) && !(0));
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis (1);
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled (0);
|
||||
setLocalVarString ui_swfPopupContext "SWF_COMMON_POPUP_NAME";
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
close self;
|
||||
}
|
||||
exp rect y ((1 * (20 + 2)) + (0 + 4) + ((23 * 1) + (16.367 * 0))) + ((0 - 1.333));
|
||||
exp rect w 260 - 0;
|
||||
exp rect x (0 + (0 + 8));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 11.667 0 260 19.567 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when((1) && (1));
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 3
|
||||
exp text "@MENU_NO";
|
||||
exp rect y (((1 * (20 + 2)) + (0 + 4) + ((23 * 1) + (16.367 * 0))) + (0 - 1.333)) - 2.333;
|
||||
exp rect w 260;
|
||||
exp forecolor r select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_POPUP_NAME,1)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_POPUP_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_POPUP_NAME,1)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_POPUP_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor g select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_POPUP_NAME,1)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_POPUP_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_POPUP_NAME,1)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_POPUP_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor b select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_POPUP_NAME,1)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_POPUP_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_POPUP_NAME,1)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_POPUP_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp rect x (0 + (0 + 8));
|
||||
}
|
||||
}
|
||||
}
|
283
zone_raw/patch_mp/ui_mp/delete_segment_confirmation.menu
Normal file
283
zone_raw/patch_mp/ui_mp/delete_segment_confirmation.menu
Normal file
@ -0,0 +1,283 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "delete_segment_confirmation"
|
||||
rect 0 0 0 0 2 2
|
||||
focuscolor 1 1 1 1
|
||||
outOfBoundsClick
|
||||
popup
|
||||
legacySplitScreenScale
|
||||
exp rect X 0 - (260 * 0.5);
|
||||
exp rect Y 0 - ((((23 * 1) + (16.367 * 0)) + (2 * (20 + 2)) + 5) * 0.5);
|
||||
exp rect W 260;
|
||||
exp rect H (((23 * 1) + (16.367 * 0)) + (2 * (20 + 2)) + 5);
|
||||
onOpen
|
||||
{
|
||||
setLocalVarInt ui_buttonNavGroupOffset_popup 0;
|
||||
setLocalVarInt ui_buttonNavGroupCurrent_popup 0;
|
||||
setLocalVarString ui_buttonNavGroupName_popup "invalid";
|
||||
setLocalVarBool ui_swfSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfSelectionDisabled 0;
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled 0;
|
||||
setLocalVarString ui_swfPopupContext "invalid";
|
||||
setLocalVarBool ui_centerPopup 1;
|
||||
play tabs_slide;
|
||||
lerp x from - 460 to 0 over "0.05";
|
||||
focusfirst;
|
||||
setfocus SWF_COMMON_POPUP_NAME_1;
|
||||
focusfirst;
|
||||
}
|
||||
onClose
|
||||
{
|
||||
setLocalVarBool ui_centerPopup 0;
|
||||
play "";
|
||||
}
|
||||
onESC
|
||||
{
|
||||
close self;
|
||||
}
|
||||
execKeyInt 14
|
||||
{
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -1280 -480 2560 960 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(menuistopmost("delete_segment_confirmation"));
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0.8
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -131.333 -78.667 262.667 130.667 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0.3098 0.349 0.2745 1
|
||||
background "white"
|
||||
exp rect y 0 + "SWF_POPUP_GLOBAL_Y_OFFSET";
|
||||
exp rect h (((23 * 1) + (16.367 * 0)) + (2 * (20 + 2)) + 5) + 0;
|
||||
exp rect x 0 + "SWF_POPUP_GLOBAL_X_OFFSET";
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 260 1 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1 && 1);
|
||||
textscale 0.55
|
||||
forecolor 0.1569 0.1725 0.1608 1
|
||||
background "white"
|
||||
exp rect x 0;
|
||||
exp rect y 0;
|
||||
exp rect h (1 * 22) + (16.367 * 0) + 2;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 8.666 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1 && 1);
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar_shadow"
|
||||
exp rect x (0 + "X_OFFSET");
|
||||
exp rect y 0 + (1 * 22) + (16.367 * 0);
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 1 244 22 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when(1);
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 9
|
||||
exp text "@MENU_DEMO_DELETE_SEGMENT_CONFIRMATION";
|
||||
exp rect x (0 + 8);
|
||||
exp rect y (0 + 4) - 4;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 260 1 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0.2118 0.2314 0.22 1
|
||||
background "white"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + (0 * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0)));
|
||||
exp rect h ((20 + 2) * 2) + 1;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 8.666 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfPopupSelectionBarVis") && (localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_POPUP_NAME") && (localvarstring("ui_swfPopupContext") == "SWF_COMMON_POPUP_NAME"));
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar_shadow"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + ((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0))) + (20 + 0.3333);
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 20 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfPopupSelectionBarVis") && (localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_POPUP_NAME") && (localvarstring("ui_swfPopupContext") == "SWF_COMMON_POPUP_NAME"));
|
||||
textscale 0.55
|
||||
forecolor 0.6 0.6314 0.6 0.2
|
||||
background "white"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + ((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0)));
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 20 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfPopupSelectionBarVis") && (localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_POPUP_NAME") && (localvarstring("ui_swfPopupContext") == "SWF_COMMON_POPUP_NAME"));
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + ((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0)));
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@PLATFORM_NAVBAR_BUTTON_FOCUSED_SELECTBUTTON"
|
||||
rect 0 0 20 20 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfPopupSelectionButtonVis") && (localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_POPUP_NAME") && (localvarstring("ui_swfPopupContext") == "SWF_COMMON_POPUP_NAME"));
|
||||
textalign 10
|
||||
textscale 0.30625
|
||||
textfont 3
|
||||
exp rect x (0 + (0 + 260 - 24));
|
||||
exp rect y (((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0))) - 1.167) - 1.8;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "SWF_COMMON_POPUP_NAME_0"
|
||||
rect 11.667 0 260 22 2 2
|
||||
style 3
|
||||
type 1
|
||||
visible when(1);
|
||||
disabled when(0);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0
|
||||
background "white"
|
||||
onFocus
|
||||
{
|
||||
setLocalVarString ui_swf_selection "SWF_POPUP_BUTTON_NAME(SWF_COMMON_POPUP_NAME,0)";
|
||||
setLocalVarInt ui_buttonNavGroupCurrent_popup 0;
|
||||
setLocalVarString ui_buttonNavGroupName_popup "SWF_COMMON_POPUP_NAME";
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis ((1) && !(0));
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis (1);
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled (0);
|
||||
setLocalVarString ui_swfPopupContext "SWF_COMMON_POPUP_NAME";
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
uiScript DeleteSegment;
|
||||
close self;
|
||||
}
|
||||
exp rect y ((0 * (20 + 2)) + (0 + 4) + ((23 * 1) + (16.367 * 0))) + ((0 - 1.333));
|
||||
exp rect w 260 - 0;
|
||||
exp rect x (0 + (0 + 8));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 11.667 0 260 19.567 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when((1) && (1));
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 3
|
||||
exp text "@MENU_YES";
|
||||
exp rect y (((0 * (20 + 2)) + (0 + 4) + ((23 * 1) + (16.367 * 0))) + (0 - 1.333)) - 2.333;
|
||||
exp rect w 260;
|
||||
exp forecolor r select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_POPUP_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_POPUP_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_POPUP_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_POPUP_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor g select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_POPUP_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_POPUP_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_POPUP_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_POPUP_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor b select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_POPUP_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_POPUP_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_POPUP_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_POPUP_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp rect x (0 + (0 + 8));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "SWF_COMMON_POPUP_NAME_1"
|
||||
rect 11.667 0 260 22 2 2
|
||||
style 3
|
||||
type 1
|
||||
visible when(1);
|
||||
disabled when(0);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0
|
||||
background "white"
|
||||
onFocus
|
||||
{
|
||||
setLocalVarString ui_swf_selection "SWF_POPUP_BUTTON_NAME(SWF_COMMON_POPUP_NAME,1)";
|
||||
setLocalVarInt ui_buttonNavGroupCurrent_popup 1;
|
||||
setLocalVarString ui_buttonNavGroupName_popup "SWF_COMMON_POPUP_NAME";
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis ((1) && !(0));
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis (1);
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled (0);
|
||||
setLocalVarString ui_swfPopupContext "SWF_COMMON_POPUP_NAME";
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
close self;
|
||||
}
|
||||
exp rect y ((1 * (20 + 2)) + (0 + 4) + ((23 * 1) + (16.367 * 0))) + ((0 - 1.333));
|
||||
exp rect w 260 - 0;
|
||||
exp rect x (0 + (0 + 8));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 11.667 0 260 19.567 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when((1) && (1));
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 3
|
||||
exp text "@MENU_NO";
|
||||
exp rect y (((1 * (20 + 2)) + (0 + 4) + ((23 * 1) + (16.367 * 0))) + (0 - 1.333)) - 2.333;
|
||||
exp rect w 260;
|
||||
exp forecolor r select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_POPUP_NAME,1)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_POPUP_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_POPUP_NAME,1)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_POPUP_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor g select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_POPUP_NAME,1)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_POPUP_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_POPUP_NAME,1)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_POPUP_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor b select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_POPUP_NAME,1)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_POPUP_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_POPUP_NAME,1)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_POPUP_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp rect x (0 + (0 + 8));
|
||||
}
|
||||
}
|
||||
}
|
254
zone_raw/patch_mp/ui_mp/demo_error.menu
Normal file
254
zone_raw/patch_mp/ui_mp/demo_error.menu
Normal file
@ -0,0 +1,254 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "demo_error"
|
||||
rect 0 0 0 0 2 2
|
||||
focuscolor 1 1 1 1
|
||||
outOfBoundsClick
|
||||
popup
|
||||
legacySplitScreenScale
|
||||
exp rect X 0 - (260 * 0.5);
|
||||
exp rect Y 0 - ((localvarint("ui_swfPopupDescResizeHeight")) * 0.5);
|
||||
exp rect W 260;
|
||||
exp rect H (localvarint("ui_swfPopupDescResizeHeight"));
|
||||
onOpen
|
||||
{
|
||||
setLocalVarFloat ui_swfPopupDescResizeTextHeight (getwrappedtextheight(dvarstring(cl_demo_errormessage), (float((260 - 16))), 3, 0.375, 0, 0));
|
||||
setLocalVarInt ui_swfPopupDescResizeButtons (int((localvarfloat("ui_swfPopupDescResizeTextHeight") + ((20 + 2) / 2) + 5) / (20 + 2)) + 1);
|
||||
setLocalVarInt ui_swfPopupDescResizeHeight ((((23 * 1) + (16.367 * 0)) + ((localvarint("ui_swfPopupDescResizeButtons") + 0 + 1) * (20 + 2)) + 5));
|
||||
setLocalVarInt ui_swfPopupDescResizeButtonYOffset ((20 + 2) * (localvarint("ui_swfPopupDescResizeButtons") + 0));
|
||||
setLocalVarInt ui_buttonNavGroupOffset_popup 0;
|
||||
setLocalVarInt ui_buttonNavGroupCurrent_popup 0;
|
||||
setLocalVarString ui_buttonNavGroupName_popup "invalid";
|
||||
setLocalVarBool ui_swfSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfSelectionDisabled 0;
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled 0;
|
||||
setLocalVarString ui_swfPopupContext "invalid";
|
||||
setLocalVarBool ui_centerPopup 1;
|
||||
play tabs_slide;
|
||||
lerp x from - 460 to 0 over "0.05";
|
||||
focusfirst;
|
||||
setfocus SWF_COMMON_DESC_RESIZE_POPUP_1_NAME_0;
|
||||
focusfirst;
|
||||
}
|
||||
onClose
|
||||
{
|
||||
setLocalVarBool ui_centerPopup 0;
|
||||
play "";
|
||||
}
|
||||
onESC
|
||||
{
|
||||
close self;
|
||||
}
|
||||
onFocusDueToClose
|
||||
{
|
||||
setLocalVarFloat ui_swfPopupDescResizeTextHeight (getwrappedtextheight(dvarstring(cl_demo_errormessage), (float((260 - 16))), 3, 0.375, 0, 0));
|
||||
setLocalVarInt ui_swfPopupDescResizeButtons (int((localvarfloat("ui_swfPopupDescResizeTextHeight") + ((20 + 2) / 2) + 5) / (20 + 2)) + 1);
|
||||
setLocalVarInt ui_swfPopupDescResizeHeight ((((23 * 1) + (16.367 * 0)) + ((localvarint("ui_swfPopupDescResizeButtons") + 0 + 1) * (20 + 2)) + 5));
|
||||
setLocalVarInt ui_swfPopupDescResizeButtonYOffset ((20 + 2) * (localvarint("ui_swfPopupDescResizeButtons") + 0));
|
||||
}
|
||||
execKeyInt 27
|
||||
{
|
||||
focusFirst;
|
||||
close self;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -1280 -480 2560 960 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(menuistopmost("demo_error"));
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0.8
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -131.333 -78.667 262.667 130.667 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0.3098 0.349 0.2745 1
|
||||
background "white"
|
||||
exp rect y 0 + "SWF_POPUP_GLOBAL_Y_OFFSET";
|
||||
exp rect h (localvarint("ui_swfPopupDescResizeHeight")) + 0;
|
||||
exp rect x 0 + "SWF_POPUP_GLOBAL_X_OFFSET";
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 260 1 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1 && 1);
|
||||
textscale 0.55
|
||||
forecolor 0.1569 0.1725 0.1608 1
|
||||
background "white"
|
||||
exp rect x 0;
|
||||
exp rect y 0;
|
||||
exp rect h (1 * 22) + (16.367 * 0) + 2;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 8.666 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1 && 1);
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar_shadow"
|
||||
exp rect x (0 + "X_OFFSET");
|
||||
exp rect y 0 + (1 * 22) + (16.367 * 0);
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 1 244 22 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when(1);
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 9
|
||||
exp text dvarstring(cl_demo_errortitle);
|
||||
exp rect x (0 + 8);
|
||||
exp rect y (0 + 4) - 4;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 244 20 2 2
|
||||
style 1
|
||||
decoration
|
||||
autowrapped
|
||||
visible when(1);
|
||||
textalign 4
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
exp text dvarstring(cl_demo_errormessage);
|
||||
exp rect x ((0 + 8) + 0);
|
||||
exp rect y (0 + (0 * (20 + 2)) + (0 + 4) + ((23 * 1) + (16.367 * 0))) - 2.333;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 260 1 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0.2118 0.2314 0.22 1
|
||||
background "white"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + (0 * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0)));
|
||||
exp rect h ((20 + 2) * 1) + 1;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 8.666 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfPopupSelectionBarVis") && (localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME") && (localvarstring("ui_swfPopupContext") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME"));
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar_shadow"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + ((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0))) + (20 + 0.3333);
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 20 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfPopupSelectionBarVis") && (localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME") && (localvarstring("ui_swfPopupContext") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME"));
|
||||
textscale 0.55
|
||||
forecolor 0.6 0.6314 0.6 0.2
|
||||
background "white"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + ((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0)));
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 20 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfPopupSelectionBarVis") && (localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME") && (localvarstring("ui_swfPopupContext") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME"));
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + ((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0)));
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@PLATFORM_NAVBAR_BUTTON_FOCUSED_SELECTBUTTON"
|
||||
rect 0 0 20 20 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfPopupSelectionButtonVis") && (localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME") && (localvarstring("ui_swfPopupContext") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME"));
|
||||
textalign 10
|
||||
textscale 0.30625
|
||||
textfont 3
|
||||
exp rect x (0 + (0 + 260 - 24));
|
||||
exp rect y (((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + ((0 + 4) + ((23 * 1) + (16.367 * 0))) - 1.167) - 1.8;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME_0"
|
||||
rect 11.667 0 260 22 2 2
|
||||
style 3
|
||||
type 1
|
||||
visible when(1);
|
||||
disabled when(0);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0
|
||||
background "white"
|
||||
onFocus
|
||||
{
|
||||
setLocalVarString ui_swf_selection "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_1_NAME,0)";
|
||||
setLocalVarInt ui_buttonNavGroupCurrent_popup 0;
|
||||
setLocalVarString ui_buttonNavGroupName_popup "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME";
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis ((1) && !(0));
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis (1);
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled (0);
|
||||
setLocalVarString ui_swfPopupContext "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME";
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
close self;
|
||||
}
|
||||
exp rect y ((0 * (20 + 2)) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + (0 + 4) + ((23 * 1) + (16.367 * 0))) + ((0 - 1.333));
|
||||
exp rect w 260 - 0;
|
||||
exp rect x (0 + (0 + 8));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 11.667 0 260 19.567 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when((1) && (1));
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 3
|
||||
exp text "@MENU_OK";
|
||||
exp rect y (((0 * (20 + 2)) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + (0 + 4) + ((23 * 1) + (16.367 * 0))) + (0 - 1.333)) - 2.333;
|
||||
exp rect w 260;
|
||||
exp forecolor r select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_1_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_1_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor g select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_1_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_1_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor b select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_1_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_1_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp rect x (0 + (0 + 8));
|
||||
}
|
||||
}
|
||||
}
|
807
zone_raw/patch_mp/ui_mp/demo_ingame.menu
Normal file
807
zone_raw/patch_mp/ui_mp/demo_ingame.menu
Normal file
@ -0,0 +1,807 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "demo_ingame"
|
||||
rect 0 0 640 480 0 0
|
||||
focuscolor 1 1 1 1
|
||||
blurWorld 4.8
|
||||
onOpen
|
||||
{
|
||||
setLocalVarInt ui_buttonNavGroupOffset 0;
|
||||
setLocalVarInt ui_buttonNavGroupCurrent 0;
|
||||
setLocalVarString ui_buttonNavGroupName "invalid";
|
||||
setLocalVarBool ui_swfSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfSelectionDisabled 0;
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled 0;
|
||||
setLocalVarString ui_swfPopupContext "invalid";
|
||||
focusfirst;
|
||||
}
|
||||
onESC
|
||||
{
|
||||
close self;
|
||||
}
|
||||
onFocusDueToClose
|
||||
{
|
||||
setLocalVarString ui_hint_text "";
|
||||
focusfirst;
|
||||
}
|
||||
execKeyInt 14
|
||||
{
|
||||
close self;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 237.5 -36 301.5 480 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(dvarbool(widescreen) && localvarbool("ui_shelfEnabled"));
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0.4
|
||||
background "white"
|
||||
exp rect w localvarbool("ui_shelfEnabled") * select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 219.5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 219.5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 219.5));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 237.5 -236 13 680 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(dvarbool(widescreen));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.75
|
||||
background "navbar_edge"
|
||||
exp rect x ((0 - 64) + 301.5) + (localvarbool("ui_shelfEnabled") * (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 219.5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 219.5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 219.5))));
|
||||
exp forecolor r 0.596078;
|
||||
exp forecolor g 0.654902;
|
||||
exp forecolor b 0.603922;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 237.5 -236 13 680 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(dvarbool(widescreen) && localvarbool("ui_shelfEnabled"));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.75
|
||||
background "navbar_edge"
|
||||
exp rect x (0 - 64) + 301.5;
|
||||
exp forecolor r 0.596078;
|
||||
exp forecolor g 0.654902;
|
||||
exp forecolor b 0.603922;
|
||||
exp forecolor a localvarbool("ui_shelfEnabled") * (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 0.75), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0.75, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 0.75)));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -264 -236 501.5 680 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(dvarbool(widescreen));
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0.4
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 30 301.5 5.333 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
background "navbar_tick"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 3 276.667 24.233 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible when((1));
|
||||
textalign 10
|
||||
textscale 0.5
|
||||
textfont 9
|
||||
exp text "@MENU_DEMO_FILMS";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@PLATFORM_DEMO_CONTROL_OPTIONS"
|
||||
rect 232 0 364 28 1 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 5
|
||||
textscale 0.5
|
||||
textfont 9
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@PLATFORM_DEMO_CONTROLS_JUMP_BACK"
|
||||
rect 232 28 364 20 1 1
|
||||
decoration
|
||||
visible when(1);
|
||||
textalign 6
|
||||
textalignx -180
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@PLATFORM_DEMO_CONTROLS_JUMP_BACK_KEY"
|
||||
rect 610 28 364 20 1 1
|
||||
decoration
|
||||
visible when(1);
|
||||
textalign 4
|
||||
textalignx -180
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@PLATFORM_DEMO_CONTROLS_JUMP_FORWARD"
|
||||
rect 232 48 364 20 1 1
|
||||
decoration
|
||||
visible when(1);
|
||||
textalign 6
|
||||
textalignx -180
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@PLATFORM_DEMO_CONTROLS_JUMP_FORWARD_KEY"
|
||||
rect 610 48 364 20 1 1
|
||||
decoration
|
||||
visible when(1);
|
||||
textalign 4
|
||||
textalignx -180
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@PLATFORM_DEMO_CONTROLS_PREVIOUS_PLAYER"
|
||||
rect 232 68 364 20 1 1
|
||||
decoration
|
||||
visible when(1);
|
||||
textalign 6
|
||||
textalignx -180
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@PLATFORM_DEMO_CONTROLS_PREVIOUS_PLAYER_KEY"
|
||||
rect 610 68 364 20 1 1
|
||||
decoration
|
||||
visible when(1);
|
||||
textalign 4
|
||||
textalignx -180
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@PLATFORM_DEMO_CONTROLS_NEXT_PLAYER"
|
||||
rect 232 88 364 20 1 1
|
||||
decoration
|
||||
visible when(1);
|
||||
textalign 6
|
||||
textalignx -180
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@PLATFORM_DEMO_CONTROLS_NEXT_PLAYER_KEY"
|
||||
rect 610 88 364 20 1 1
|
||||
decoration
|
||||
visible when(1);
|
||||
textalign 4
|
||||
textalignx -180
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@PLATFORM_DEMO_CONTROLS_INCREASE_PLAYBACK_SPEED"
|
||||
rect 232 108 364 20 1 1
|
||||
decoration
|
||||
visible when(1);
|
||||
textalign 6
|
||||
textalignx -180
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@PLATFORM_DEMO_CONTROLS_INCREASE_PLAYBACK_SPEED_KEY"
|
||||
rect 610 108 364 20 1 1
|
||||
decoration
|
||||
visible when(1);
|
||||
textalign 4
|
||||
textalignx -180
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@PLATFORM_DEMO_CONTROLS_DECREASE_PLAYBACK_SPEED"
|
||||
rect 232 128 364 20 1 1
|
||||
decoration
|
||||
visible when(1);
|
||||
textalign 6
|
||||
textalignx -180
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@PLATFORM_DEMO_CONTROLS_DECREASE_PLAYBACK_SPEED_KEY"
|
||||
rect 610 128 364 20 1 1
|
||||
decoration
|
||||
visible when(1);
|
||||
textalign 4
|
||||
textalignx -180
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@PLATFORM_DEMO_CONTROLS_SPEED_1X"
|
||||
rect 232 148 364 20 1 1
|
||||
decoration
|
||||
visible when(1);
|
||||
textalign 6
|
||||
textalignx -180
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@PLATFORM_DEMO_CONTROLS_SPEED_1X_KEY"
|
||||
rect 610 148 364 20 1 1
|
||||
decoration
|
||||
visible when(1);
|
||||
textalign 4
|
||||
textalignx -180
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@PLATFORM_DEMO_CONTROLS_SPEED_NEG1X"
|
||||
rect 232 168 364 20 1 1
|
||||
decoration
|
||||
visible when(1);
|
||||
textalign 6
|
||||
textalignx -180
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@PLATFORM_DEMO_CONTROLS_SPEED_NEG1X_KEY"
|
||||
rect 610 168 364 20 1 1
|
||||
decoration
|
||||
visible when(1);
|
||||
textalign 4
|
||||
textalignx -180
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@PLATFORM_DEMO_CONTROLS_SWITCH_CAMERA"
|
||||
rect 232 188 364 20 1 1
|
||||
decoration
|
||||
visible when(1);
|
||||
textalign 6
|
||||
textalignx -180
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@PLATFORM_DEMO_CONTROLS_SWITCH_CAMERA_KEY"
|
||||
rect 610 188 364 20 1 1
|
||||
decoration
|
||||
visible when(1);
|
||||
textalign 4
|
||||
textalignx -180
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@PLATFORM_DEMO_CONTROLS_SCREENSHOT"
|
||||
rect 232 208 364 20 1 1
|
||||
decoration
|
||||
visible when(1);
|
||||
textalign 6
|
||||
textalignx -180
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@PLATFORM_DEMO_CONTROLS_SCREENSHOT_KEY"
|
||||
rect 610 208 364 20 1 1
|
||||
decoration
|
||||
visible when(1);
|
||||
textalign 4
|
||||
textalignx -180
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@PLATFORM_DEMO_CONTROLS_RECORD"
|
||||
rect 232 228 364 20 1 1
|
||||
decoration
|
||||
visible when(1);
|
||||
textalign 6
|
||||
textalignx -180
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@PLATFORM_DEMO_CONTROLS_RECORD_KEY"
|
||||
rect 610 228 364 20 1 1
|
||||
decoration
|
||||
visible when(1);
|
||||
textalign 4
|
||||
textalignx -180
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@PLATFORM_DEMO_CONTROLS_PLAY"
|
||||
rect 232 248 364 20 1 1
|
||||
decoration
|
||||
visible when(1);
|
||||
textalign 6
|
||||
textalignx -180
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@PLATFORM_DEMO_CONTROLS_PLAY_KEY"
|
||||
rect 610 248 364 20 1 1
|
||||
decoration
|
||||
visible when(1);
|
||||
textalign 4
|
||||
textalignx -180
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -88 34.667 325.333 17.333 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfSelectionBarVis") && (localvarstring("ui_buttonNavGroupName") == "DEMO_LIST"));
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar"
|
||||
exp rect y ((localvarint("ui_buttonNavGroupCurrent") - localvarint("ui_buttonNavGroupOffset")) * 20) + (34.667) + 0.667;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 213 34.667 21.333 16.5 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfSelectionButtonVis") && (localvarstring("ui_buttonNavGroupName") == "DEMO_LIST"));
|
||||
textalign 10
|
||||
textscale 0.30625
|
||||
textfont 3
|
||||
exp text "@PLATFORM_NAVBAR_BUTTON_FOCUSED_SELECTBUTTON";
|
||||
exp rect y ((localvarint("ui_buttonNavGroupCurrent") - localvarint("ui_buttonNavGroupOffset")) * 20) + (34.667) + (0.667);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "DEMO_LIST_0"
|
||||
rect -68 34.667 305.333 20 1 1
|
||||
style 3
|
||||
type 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0
|
||||
background "white"
|
||||
onFocus
|
||||
{
|
||||
setLocalVarString ui_swf_selection "DEMO_LIST_0";
|
||||
setLocalVarInt ui_buttonNavGroupCurrent 0;
|
||||
setLocalVarString ui_buttonNavGroupName "DEMO_LIST";
|
||||
setLocalVarBool ui_swfSelectionButtonVis ((1) && !((getdemosegmentcount() <= 0 || !canuseraccessonlinevault())));
|
||||
setLocalVarBool ui_swfSelectionBarVis (1);
|
||||
setLocalVarBool ui_swfSelectionDisabled ((getdemosegmentcount() <= 0 || !canuseraccessonlinevault()));
|
||||
if ((5 - 1) + localvarint("ui_buttonNavGroupOffset") < localvarint("ui_buttonNavGroupCurrent"))
|
||||
{
|
||||
setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent") - (5 - 1));
|
||||
}
|
||||
else
|
||||
{
|
||||
if (localvarint("ui_buttonNavGroupCurrent") < localvarint("ui_buttonNavGroupOffset"))
|
||||
{
|
||||
setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent"));
|
||||
}
|
||||
}
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarBool ui_swfSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfSelectionDisabled 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
if (!((getdemosegmentcount() <= 0 || !canuseraccessonlinevault())))
|
||||
{
|
||||
play mouse_click;
|
||||
open clip_save_screen;
|
||||
}
|
||||
}
|
||||
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 0))) + ((0 - 1.333));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 33.334 276.667 19.567 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible when((1));
|
||||
textalign 10
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 3
|
||||
exp text "@MENU_DEMO_UPLOAD_CLIP";
|
||||
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 0))) + ((0 - 1.333));
|
||||
exp forecolor r select((getdemosegmentcount() <= 0 || !canuseraccessonlinevault()), select(localvarstring("ui_swf_selection") == "DEMO_LIST_0" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEMO_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "DEMO_LIST_0" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEMO_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor g select((getdemosegmentcount() <= 0 || !canuseraccessonlinevault()), select(localvarstring("ui_swf_selection") == "DEMO_LIST_0" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEMO_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "DEMO_LIST_0" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEMO_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor b select((getdemosegmentcount() <= 0 || !canuseraccessonlinevault()), select(localvarstring("ui_swf_selection") == "DEMO_LIST_0" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEMO_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "DEMO_LIST_0" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEMO_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "DEMO_LIST_1"
|
||||
rect -68 54.667 305.333 20 1 1
|
||||
style 3
|
||||
type 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0
|
||||
background "white"
|
||||
onFocus
|
||||
{
|
||||
setLocalVarString ui_swf_selection "DEMO_LIST_1";
|
||||
setLocalVarInt ui_buttonNavGroupCurrent 1;
|
||||
setLocalVarString ui_buttonNavGroupName "DEMO_LIST";
|
||||
setLocalVarBool ui_swfSelectionButtonVis ((1) && !(getdemosegmentcount() <= 0));
|
||||
setLocalVarBool ui_swfSelectionBarVis (1);
|
||||
setLocalVarBool ui_swfSelectionDisabled (getdemosegmentcount() <= 0);
|
||||
if ((5 - 1) + localvarint("ui_buttonNavGroupOffset") < localvarint("ui_buttonNavGroupCurrent"))
|
||||
{
|
||||
setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent") - (5 - 1));
|
||||
}
|
||||
else
|
||||
{
|
||||
if (localvarint("ui_buttonNavGroupCurrent") < localvarint("ui_buttonNavGroupOffset"))
|
||||
{
|
||||
setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent"));
|
||||
}
|
||||
}
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarBool ui_swfSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfSelectionDisabled 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
if (!(getdemosegmentcount() <= 0))
|
||||
{
|
||||
play mouse_click;
|
||||
execNow "set cl_demo_ui_selected_segment -1";
|
||||
execNow "set cl_demo_ui_segment_position -1";
|
||||
open demo_manage_segments;
|
||||
close self;
|
||||
}
|
||||
}
|
||||
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 1))) + ((0 - 1.333));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 53.334 276.667 19.567 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible when((1));
|
||||
textalign 10
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 3
|
||||
exp text "@MENU_DEMO_MANAGE_SEGMENTS";
|
||||
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 1))) + ((0 - 1.333));
|
||||
exp forecolor r select(getdemosegmentcount() <= 0, select(localvarstring("ui_swf_selection") == "DEMO_LIST_1" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEMO_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "DEMO_LIST_1" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEMO_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor g select(getdemosegmentcount() <= 0, select(localvarstring("ui_swf_selection") == "DEMO_LIST_1" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEMO_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "DEMO_LIST_1" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEMO_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor b select(getdemosegmentcount() <= 0, select(localvarstring("ui_swf_selection") == "DEMO_LIST_1" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEMO_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "DEMO_LIST_1" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEMO_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "DEMO_LIST_2"
|
||||
rect -68 74.667 305.333 20 1 1
|
||||
style 3
|
||||
type 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0
|
||||
background "white"
|
||||
onFocus
|
||||
{
|
||||
setLocalVarString ui_swf_selection "DEMO_LIST_2";
|
||||
setLocalVarInt ui_buttonNavGroupCurrent 2;
|
||||
setLocalVarString ui_buttonNavGroupName "DEMO_LIST";
|
||||
setLocalVarBool ui_swfSelectionButtonVis ((1) && !(0));
|
||||
setLocalVarBool ui_swfSelectionBarVis (1);
|
||||
setLocalVarBool ui_swfSelectionDisabled (0);
|
||||
if ((5 - 1) + localvarint("ui_buttonNavGroupOffset") < localvarint("ui_buttonNavGroupCurrent"))
|
||||
{
|
||||
setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent") - (5 - 1));
|
||||
}
|
||||
else
|
||||
{
|
||||
if (localvarint("ui_buttonNavGroupCurrent") < localvarint("ui_buttonNavGroupOffset"))
|
||||
{
|
||||
setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent"));
|
||||
}
|
||||
}
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarBool ui_swfSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfSelectionDisabled 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
if (!(0))
|
||||
{
|
||||
play mouse_click;
|
||||
open pc_options_video_ingame;
|
||||
close self;
|
||||
}
|
||||
}
|
||||
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 2))) + ((0 - 1.333));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 73.334 276.667 19.567 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible when((1));
|
||||
textalign 10
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 3
|
||||
exp text "@MENU_OPTIONS";
|
||||
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 2))) + ((0 - 1.333));
|
||||
exp forecolor r select(0, select(localvarstring("ui_swf_selection") == "DEMO_LIST_2" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEMO_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "DEMO_LIST_2" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEMO_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor g select(0, select(localvarstring("ui_swf_selection") == "DEMO_LIST_2" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEMO_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "DEMO_LIST_2" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEMO_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor b select(0, select(localvarstring("ui_swf_selection") == "DEMO_LIST_2" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEMO_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "DEMO_LIST_2" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEMO_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "DEMO_LIST_3"
|
||||
rect -68 94.667 305.333 20 1 1
|
||||
style 3
|
||||
type 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0
|
||||
background "white"
|
||||
onFocus
|
||||
{
|
||||
setLocalVarString ui_swf_selection "DEMO_LIST_3";
|
||||
setLocalVarInt ui_buttonNavGroupCurrent 3;
|
||||
setLocalVarString ui_buttonNavGroupName "DEMO_LIST";
|
||||
setLocalVarBool ui_swfSelectionButtonVis ((1) && !(isdemocliprecording()));
|
||||
setLocalVarBool ui_swfSelectionBarVis (1);
|
||||
setLocalVarBool ui_swfSelectionDisabled (isdemocliprecording());
|
||||
if ((5 - 1) + localvarint("ui_buttonNavGroupOffset") < localvarint("ui_buttonNavGroupCurrent"))
|
||||
{
|
||||
setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent") - (5 - 1));
|
||||
}
|
||||
else
|
||||
{
|
||||
if (localvarint("ui_buttonNavGroupCurrent") < localvarint("ui_buttonNavGroupOffset"))
|
||||
{
|
||||
setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent"));
|
||||
}
|
||||
}
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarBool ui_swfSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfSelectionDisabled 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
if (!(isdemocliprecording()))
|
||||
{
|
||||
play mouse_click;
|
||||
exec cl_demo_jumptostart;
|
||||
close self;
|
||||
}
|
||||
}
|
||||
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 3))) + ((0 - 1.333));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 93.334 276.667 19.567 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible when((1));
|
||||
textalign 10
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 3
|
||||
exp text "@MENU_DEMO_JUMP_TO_START";
|
||||
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 3))) + ((0 - 1.333));
|
||||
exp forecolor r select(isdemocliprecording(), select(localvarstring("ui_swf_selection") == "DEMO_LIST_3" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEMO_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "DEMO_LIST_3" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEMO_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor g select(isdemocliprecording(), select(localvarstring("ui_swf_selection") == "DEMO_LIST_3" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEMO_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "DEMO_LIST_3" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEMO_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor b select(isdemocliprecording(), select(localvarstring("ui_swf_selection") == "DEMO_LIST_3" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEMO_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "DEMO_LIST_3" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEMO_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "DEMO_LIST_4"
|
||||
rect -68 114.667 305.333 20 1 1
|
||||
style 3
|
||||
type 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0
|
||||
background "white"
|
||||
onFocus
|
||||
{
|
||||
setLocalVarString ui_swf_selection "DEMO_LIST_4";
|
||||
setLocalVarInt ui_buttonNavGroupCurrent 4;
|
||||
setLocalVarString ui_buttonNavGroupName "DEMO_LIST";
|
||||
setLocalVarBool ui_swfSelectionButtonVis ((1) && !(0));
|
||||
setLocalVarBool ui_swfSelectionBarVis (1);
|
||||
setLocalVarBool ui_swfSelectionDisabled (0);
|
||||
if ((5 - 1) + localvarint("ui_buttonNavGroupOffset") < localvarint("ui_buttonNavGroupCurrent"))
|
||||
{
|
||||
setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent") - (5 - 1));
|
||||
}
|
||||
else
|
||||
{
|
||||
if (localvarint("ui_buttonNavGroupCurrent") < localvarint("ui_buttonNavGroupOffset"))
|
||||
{
|
||||
setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent"));
|
||||
}
|
||||
}
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarBool ui_swfSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfSelectionDisabled 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
if (!(0))
|
||||
{
|
||||
play mouse_click;
|
||||
if (isclipmodified())
|
||||
{
|
||||
open popup_enddemo_clipmodified;
|
||||
}
|
||||
else
|
||||
{
|
||||
open popup_enddemo_clipnotmodified;
|
||||
}
|
||||
}
|
||||
}
|
||||
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 4))) + ((0 - 1.333));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 113.334 276.667 19.567 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible when((1));
|
||||
textalign 10
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 3
|
||||
exp text "@MENU_DEMO_END_FILM";
|
||||
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 4))) + ((0 - 1.333));
|
||||
exp forecolor r select(0, select(localvarstring("ui_swf_selection") == "DEMO_LIST_4" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEMO_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "DEMO_LIST_4" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEMO_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor g select(0, select(localvarstring("ui_swf_selection") == "DEMO_LIST_4" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEMO_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "DEMO_LIST_4" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEMO_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor b select(0, select(localvarstring("ui_swf_selection") == "DEMO_LIST_4" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEMO_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "DEMO_LIST_4" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "DEMO_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -88 52 325.333 8.666 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfSelectionBarVis") && (localvarstring("ui_buttonNavGroupName") == "DEMO_LIST"));
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar_shadow"
|
||||
exp rect y ((localvarint("ui_buttonNavGroupCurrent") - localvarint("ui_buttonNavGroupOffset")) * 20) + (34.667) + 0.667 + 17.333;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 20 3 3
|
||||
type 1
|
||||
visible when(1);
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
onFocus
|
||||
{
|
||||
setLocalVarInt ui_ralign_index 1;
|
||||
setLocalVarString ui_ralign_group "demo_ingame";
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarInt ui_ralign_index - 1;
|
||||
setLocalVarString ui_ralign_group "";
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
uiscript simulateKeyPress 27;
|
||||
}
|
||||
exp rect x (0) - (0 * 5) - 20 - getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375);
|
||||
exp rect y ((0 - 20.667));
|
||||
exp rect w getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375) + 20;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 8.666 3 3
|
||||
style 3
|
||||
decoration
|
||||
visible when((1) && (!0) && (localvarint("ui_ralign_index") == 1 && localvarstring("ui_ralign_group") == "demo_ingame"));
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar_shadow"
|
||||
exp rect x (0) - (0 * 5) - (20) - getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375);
|
||||
exp rect y ((0 - 20.667)) + 20;
|
||||
exp rect w getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375) + 20;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 20 3 3
|
||||
style 1
|
||||
decoration
|
||||
visible when((1) && (localvarint("ui_ralign_index") == 1 && localvarstring("ui_ralign_group") == "demo_ingame"));
|
||||
textscale 0.55
|
||||
backcolor 0.6 0.6314 0.6 1
|
||||
exp rect x (0) - (0 * 5) - (20) - getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375);
|
||||
exp rect y ((0 - 20.667));
|
||||
exp rect w getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375) + 20;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 20 3 3
|
||||
decoration
|
||||
visible when(1);
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
exp text "@PLATFORM_BACK_SHORTCUT";
|
||||
exp rect x (0) - (0 * 5) - (20 / 2) - getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375);
|
||||
exp rect y ((0 - 20.667));
|
||||
exp rect w getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375);
|
||||
exp forecolor r select((localvarint("ui_ralign_index") == 1 && localvarstring("ui_ralign_group") == "demo_ingame"), select(isdemoplaying(), FUNC_36(), FUNC_35()), 1);
|
||||
exp forecolor g select((localvarint("ui_ralign_index") == 1 && localvarstring("ui_ralign_group") == "demo_ingame"), select(isdemoplaying(), FUNC_36(), FUNC_35()), 1);
|
||||
exp forecolor b select((localvarint("ui_ralign_index") == 1 && localvarstring("ui_ralign_group") == "demo_ingame"), select(isdemoplaying(), FUNC_36(), FUNC_35()), 1);
|
||||
}
|
||||
}
|
||||
}
|
3362
zone_raw/patch_mp/ui_mp/demo_manage_segments.menu
Normal file
3362
zone_raw/patch_mp/ui_mp/demo_manage_segments.menu
Normal file
File diff suppressed because it is too large
Load Diff
484
zone_raw/patch_mp/ui_mp/demo_playercard_hd.menu
Normal file
484
zone_raw/patch_mp/ui_mp/demo_playercard_hd.menu
Normal file
@ -0,0 +1,484 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "demo_playercard_hd"
|
||||
rect 0 0 640 480 4 4
|
||||
visible when(isdemoplaying() && !isdemofreecamera() && !isdemocapturingscreenshot() && FUNC_84());
|
||||
exp rect X (max((1 - (getplayercardinfo(9, 0, 6) / 150)), 0) * 240);
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 240 20 2 1
|
||||
style 1
|
||||
decoration
|
||||
visible when(0 && (getplayercardinfo(0, 7, 6) != 0) && FUNC_72());
|
||||
textalign 5
|
||||
textscale 0.375
|
||||
textstyle 8
|
||||
textfont 6
|
||||
glowcolor 1 0.8 0.6 1
|
||||
exp text "@MP_KILLED_BY";
|
||||
exp rect x ((0) - (240 / 2));
|
||||
exp rect y 30 - 20;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 240 20 2 1
|
||||
style 1
|
||||
decoration
|
||||
visible when(0 && (getplayercardinfo(0, 7, 6) != 0));
|
||||
textalign 5
|
||||
textscale 0.375
|
||||
textstyle 8
|
||||
textfont 6
|
||||
glowcolor 1 0.8 0.6 1
|
||||
exp text "@MP_YOU_KILLED";
|
||||
exp rect x ((0) - (240 / 2));
|
||||
exp rect y 30 - 20;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 240 40 2 1
|
||||
style 3
|
||||
decoration
|
||||
visible when((milliseconds() - dvarint(cl_demo_playercard_display_start_time) < 2500) && (getplayercardinfo(0, 7, 6) != 0));
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "white"
|
||||
exp rect x ((0) - (240 / 2));
|
||||
exp rect y (30);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 237.333 37.333 2 1
|
||||
style 3
|
||||
decoration
|
||||
visible when((milliseconds() - dvarint(cl_demo_playercard_display_start_time) < 2500) && (getplayercardinfo(0, 7, 6) != 0));
|
||||
textscale 0.55
|
||||
background "playercard_scanlines_512"
|
||||
exp rect x ((0) - (240 / 2)) + 1.333;
|
||||
exp rect y (30) + 1.333;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 35.3 35.3 2 1
|
||||
style 3
|
||||
decoration
|
||||
visible when((milliseconds() - dvarint(cl_demo_playercard_display_start_time) < 2500) && (getplayercardinfo(0, 7, 6) != 0));
|
||||
textscale 0.55
|
||||
exp material tablelookupbyrow("mp/cardIconTable.csv", getplayercardinfo(2, 7, 6), 1);
|
||||
exp rect x ((0) - (240 / 2)) + 2.533;
|
||||
exp rect y (30) + 2.567;
|
||||
exp forecolor a 1;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 156.667 31.333 2 1
|
||||
style 1
|
||||
decoration
|
||||
visible when((milliseconds() - dvarint(cl_demo_playercard_display_start_time) < 2500) && (getplayercardinfo(0, 7, 6) != 0));
|
||||
textscale 0.55
|
||||
backcolor 1 1 1 1
|
||||
exp material tablelookupbyrow("mp/cardTitleTable.csv", getplayercardinfo(1, 7, 6), 2);
|
||||
exp rect x ((0) - (240 / 2)) + 33.9;
|
||||
exp rect y (30) + (0 - 4.1);
|
||||
exp forecolor r tablelookupbyrow("mp/cardTitleTable.csv", getplayercardinfo(1, 7, 6), 3);
|
||||
exp forecolor g tablelookupbyrow("mp/cardTitleTable.csv", getplayercardinfo(1, 7, 6), 4);
|
||||
exp forecolor b tablelookupbyrow("mp/cardTitleTable.csv", getplayercardinfo(1, 7, 6), 5);
|
||||
exp backcolor a 1;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 28.8 28.8 2 1
|
||||
style 1
|
||||
decoration
|
||||
visible when((milliseconds() - dvarint(cl_demo_playercard_display_start_time) < 2500) && (getplayercardinfo(0, 7, 6) != 0) && (getplayercardinfo(20, 7, 6) > 0));
|
||||
textscale 0.55
|
||||
backcolor 1 1 1 1
|
||||
exp material "clanlvl_box";
|
||||
exp rect x ((0) - (240 / 2)) + 33.9 + ((156.667) - (28 * 0.9));
|
||||
exp rect y (30) + (0 - 4.1) - (11 * 0.9);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 14.4 14.4 2 1
|
||||
style 1
|
||||
decoration
|
||||
visible when((milliseconds() - dvarint(cl_demo_playercard_display_start_time) < 2500) && (getplayercardinfo(0, 7, 6) != 0) && (getplayercardinfo(20, 7, 6) > 0));
|
||||
textscale 0.55
|
||||
backcolor 1 1 1 1
|
||||
exp material getplayercardinfo(22, 7, 6);
|
||||
exp rect x ((0) - (240 / 2)) + 33.9 + ((156.667) - (25.5 * 0.9));
|
||||
exp rect y ((30) + (0 - 4.1)) - (3 * 0.9);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 14.4 14.4 2 1
|
||||
style 1
|
||||
decoration
|
||||
visible when((milliseconds() - dvarint(cl_demo_playercard_display_start_time) < 2500) && (getplayercardinfo(0, 7, 6) != 0) && (getplayercardinfo(20, 7, 6) > 0));
|
||||
textscale 0.55
|
||||
backcolor 1 1 1 1
|
||||
exp material getplayercardinfo(21, 7, 6);
|
||||
exp rect x ((0) - (240 / 2)) + 33.9 + ((156.667) - (13.5 * 0.9));
|
||||
exp rect y ((30) + (0 - 4.1)) - (3 * 0.9);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 156.667 31.333 2 1
|
||||
style 1
|
||||
decoration
|
||||
visible when((milliseconds() - dvarint(cl_demo_playercard_display_start_time) < 2500) && (getplayercardinfo(0, 7, 6) != 0));
|
||||
textalign 9
|
||||
textscale 0.375
|
||||
textstyle 8
|
||||
textfont 3
|
||||
exp text getplayercardinfo(14, 7, 6);
|
||||
exp rect x ((0) - (240 / 2)) + 33.9;
|
||||
exp rect y (30) + (0 - 4.1);
|
||||
exp forecolor r tablelookupbyrow("mp/cardTitleTable.csv", getplayercardinfo(1, 7, 6), 3);
|
||||
exp forecolor g tablelookupbyrow("mp/cardTitleTable.csv", getplayercardinfo(1, 7, 6), 4);
|
||||
exp forecolor b tablelookupbyrow("mp/cardTitleTable.csv", getplayercardinfo(1, 7, 6), 5);
|
||||
exp backcolor a 0;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 146.7 16.6 2 1
|
||||
style 1
|
||||
decoration
|
||||
visible when(((milliseconds() - dvarint(cl_demo_playercard_display_start_time) < 2500) && !0 && !0) && (getplayercardinfo(0, 7, 6) != 0));
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textstyle 8
|
||||
textfont 9
|
||||
exp text getplayercardinfo(11, 7, 6);
|
||||
exp rect x ((0) - (240 / 2)) + 40;
|
||||
exp rect y (30) + 21.5;
|
||||
exp forecolor r 0.941;
|
||||
exp forecolor g 0.773;
|
||||
exp forecolor b 0.361;
|
||||
exp forecolor a select((getTextWidth(getplayercardinfo(11, 7, 6), 9, 0.375) <= 142), 1, 0);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 146.7 16.6 2 1
|
||||
style 1
|
||||
decoration
|
||||
visible when(((milliseconds() - dvarint(cl_demo_playercard_display_start_time) < 2500) && !0 && !0) && (getplayercardinfo(0, 7, 6) != 0));
|
||||
textalign 8
|
||||
textscale 0.3
|
||||
textstyle 8
|
||||
textfont 9
|
||||
exp text getplayercardinfo(11, 7, 6);
|
||||
exp rect x ((0) - (240 / 2)) + 40;
|
||||
exp rect y (30) + 21.5;
|
||||
exp forecolor r 0.941;
|
||||
exp forecolor g 0.773;
|
||||
exp forecolor b 0.361;
|
||||
exp forecolor a select((getTextWidth(getplayercardinfo(11, 7, 6), 9, 0.375) > 142 && getTextWidth(getplayercardinfo(11, 7, 6), 9, 0.375) <= 180), 1, 0);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 146.7 16.6 2 1
|
||||
style 1
|
||||
decoration
|
||||
visible when(((milliseconds() - dvarint(cl_demo_playercard_display_start_time) < 2500) && !0 && !0) && (getplayercardinfo(0, 7, 6) != 0));
|
||||
textalign 8
|
||||
textscale 0.225
|
||||
textstyle 8
|
||||
textfont 9
|
||||
exp text truncateTextWithEllipsis(getplayercardinfo(11, 7, 6), 9, (0.375 * 0.6), 140);
|
||||
exp rect x ((0) - (240 / 2)) + 40;
|
||||
exp rect y (30) + 22;
|
||||
exp forecolor r 0.941;
|
||||
exp forecolor g 0.773;
|
||||
exp forecolor b 0.361;
|
||||
exp forecolor a select((getTextWidth(getplayercardinfo(11, 7, 6), 9, 0.375) > 180), 1, 0);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 146.7 16.6 2 1
|
||||
style 1
|
||||
decoration
|
||||
visible when(((milliseconds() - dvarint(cl_demo_playercard_display_start_time) < 2500) && 0 && FUNC_24()) && (getplayercardinfo(0, 7, 6) != 0));
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textstyle 8
|
||||
textfont 9
|
||||
exp text getplayercardinfo(11, 7, 6);
|
||||
exp rect x ((0) - (240 / 2)) + 40;
|
||||
exp rect y (30) + 21.5;
|
||||
exp forecolor r 0.6;
|
||||
exp forecolor g 0.8;
|
||||
exp forecolor b 0.6;
|
||||
exp forecolor a select((getTextWidth(getplayercardinfo(11, 7, 6), 9, 0.375) <= 142), 1, 0);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 146.7 16.6 2 1
|
||||
style 1
|
||||
decoration
|
||||
visible when(((milliseconds() - dvarint(cl_demo_playercard_display_start_time) < 2500) && 0 && FUNC_24()) && (getplayercardinfo(0, 7, 6) != 0));
|
||||
textalign 8
|
||||
textscale 0.3
|
||||
textstyle 8
|
||||
textfont 9
|
||||
exp text getplayercardinfo(11, 7, 6);
|
||||
exp rect x ((0) - (240 / 2)) + 40;
|
||||
exp rect y (30) + 21.5;
|
||||
exp forecolor r 0.6;
|
||||
exp forecolor g 0.8;
|
||||
exp forecolor b 0.6;
|
||||
exp forecolor a select((getTextWidth(getplayercardinfo(11, 7, 6), 9, 0.375) > 142 && getTextWidth(getplayercardinfo(11, 7, 6), 9, 0.375) <= 180), 1, 0);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 146.7 16.6 2 1
|
||||
style 1
|
||||
decoration
|
||||
visible when(((milliseconds() - dvarint(cl_demo_playercard_display_start_time) < 2500) && 0 && FUNC_24()) && (getplayercardinfo(0, 7, 6) != 0));
|
||||
textalign 8
|
||||
textscale 0.225
|
||||
textstyle 8
|
||||
textfont 9
|
||||
exp text truncateTextWithEllipsis(getplayercardinfo(11, 7, 6), 9, (0.375 * 0.6), 140);
|
||||
exp rect x ((0) - (240 / 2)) + 40;
|
||||
exp rect y (30) + 22;
|
||||
exp forecolor r 0.6;
|
||||
exp forecolor g 0.8;
|
||||
exp forecolor b 0.6;
|
||||
exp forecolor a select((getTextWidth(getplayercardinfo(11, 7, 6), 9, 0.375) > 180), 1, 0);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 146.7 16.6 2 1
|
||||
style 1
|
||||
decoration
|
||||
visible when(((milliseconds() - dvarint(cl_demo_playercard_display_start_time) < 2500) && 0 && FUNC_27()) && (getplayercardinfo(0, 7, 6) != 0));
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textstyle 8
|
||||
textfont 9
|
||||
exp text getplayercardinfo(11, 7, 6);
|
||||
exp rect x ((0) - (240 / 2)) + 40;
|
||||
exp rect y (30) + 21.5;
|
||||
exp forecolor r 0.8;
|
||||
exp forecolor g 0.35;
|
||||
exp forecolor b 0.4;
|
||||
exp forecolor a select((getTextWidth(getplayercardinfo(11, 7, 6), 9, 0.375) <= 142), 1, 0);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 146.7 16.6 2 1
|
||||
style 1
|
||||
decoration
|
||||
visible when(((milliseconds() - dvarint(cl_demo_playercard_display_start_time) < 2500) && 0 && FUNC_27()) && (getplayercardinfo(0, 7, 6) != 0));
|
||||
textalign 8
|
||||
textscale 0.3
|
||||
textstyle 8
|
||||
textfont 9
|
||||
exp text getplayercardinfo(11, 7, 6);
|
||||
exp rect x ((0) - (240 / 2)) + 40;
|
||||
exp rect y (30) + 21.5;
|
||||
exp forecolor r 0.8;
|
||||
exp forecolor g 0.35;
|
||||
exp forecolor b 0.4;
|
||||
exp forecolor a select((getTextWidth(getplayercardinfo(11, 7, 6), 9, 0.375) > 142 && getTextWidth(getplayercardinfo(11, 7, 6), 9, 0.375) <= 180), 1, 0);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 146.7 16.6 2 1
|
||||
style 1
|
||||
decoration
|
||||
visible when(((milliseconds() - dvarint(cl_demo_playercard_display_start_time) < 2500) && 0 && FUNC_27()) && (getplayercardinfo(0, 7, 6) != 0));
|
||||
textalign 8
|
||||
textscale 0.225
|
||||
textstyle 8
|
||||
textfont 9
|
||||
exp text truncateTextWithEllipsis(getplayercardinfo(11, 7, 6), 9, (0.375 * 0.6), 140);
|
||||
exp rect x ((0) - (240 / 2)) + 40;
|
||||
exp rect y (30) + 22;
|
||||
exp forecolor r 0.8;
|
||||
exp forecolor g 0.35;
|
||||
exp forecolor b 0.4;
|
||||
exp forecolor a select((getTextWidth(getplayercardinfo(11, 7, 6), 9, 0.375) > 180), 1, 0);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 146.7 16.6 2 1
|
||||
style 1
|
||||
decoration
|
||||
visible when(((milliseconds() - dvarint(cl_demo_playercard_display_start_time) < 2500) && 0 && FUNC_23()) && (getplayercardinfo(0, 7, 6) != 0));
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textstyle 8
|
||||
textfont 9
|
||||
exp text getplayercardinfo(11, 7, 6);
|
||||
exp rect x ((0) - (240 / 2)) + 40;
|
||||
exp rect y (30) + 21.5;
|
||||
exp forecolor r 0.6;
|
||||
exp forecolor g 0.8;
|
||||
exp forecolor b 0.6;
|
||||
exp forecolor a select((getTextWidth(getplayercardinfo(11, 7, 6), 9, 0.375) <= 142), 1, 0);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 146.7 16.6 2 1
|
||||
style 1
|
||||
decoration
|
||||
visible when(((milliseconds() - dvarint(cl_demo_playercard_display_start_time) < 2500) && 0 && FUNC_23()) && (getplayercardinfo(0, 7, 6) != 0));
|
||||
textalign 8
|
||||
textscale 0.3
|
||||
textstyle 8
|
||||
textfont 9
|
||||
exp text getplayercardinfo(11, 7, 6);
|
||||
exp rect x ((0) - (240 / 2)) + 40;
|
||||
exp rect y (30) + 21.5;
|
||||
exp forecolor r 0.6;
|
||||
exp forecolor g 0.8;
|
||||
exp forecolor b 0.6;
|
||||
exp forecolor a select((getTextWidth(getplayercardinfo(11, 7, 6), 9, 0.375) > 142 && getTextWidth(getplayercardinfo(11, 7, 6), 9, 0.375) <= 180), 1, 0);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 146.7 16.6 2 1
|
||||
style 1
|
||||
decoration
|
||||
visible when(((milliseconds() - dvarint(cl_demo_playercard_display_start_time) < 2500) && 0 && FUNC_23()) && (getplayercardinfo(0, 7, 6) != 0));
|
||||
textalign 8
|
||||
textscale 0.225
|
||||
textstyle 8
|
||||
textfont 9
|
||||
exp text truncateTextWithEllipsis(getplayercardinfo(11, 7, 6), 9, (0.375 * 0.6), 140);
|
||||
exp rect x ((0) - (240 / 2)) + 40;
|
||||
exp rect y (30) + 22;
|
||||
exp forecolor r 0.6;
|
||||
exp forecolor g 0.8;
|
||||
exp forecolor b 0.6;
|
||||
exp forecolor a select((getTextWidth(getplayercardinfo(11, 7, 6), 9, 0.375) > 180), 1, 0);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 146.7 16.6 2 1
|
||||
style 1
|
||||
decoration
|
||||
visible when(((milliseconds() - dvarint(cl_demo_playercard_display_start_time) < 2500) && 0 && FUNC_26()) && (getplayercardinfo(0, 7, 6) != 0));
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textstyle 8
|
||||
textfont 9
|
||||
exp text getplayercardinfo(11, 7, 6);
|
||||
exp rect x ((0) - (240 / 2)) + 40;
|
||||
exp rect y (30) + 21.5;
|
||||
exp forecolor r 0.8;
|
||||
exp forecolor g 0.35;
|
||||
exp forecolor b 0.4;
|
||||
exp forecolor a select((getTextWidth(getplayercardinfo(11, 7, 6), 9, 0.375) <= 142), 1, 0);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 146.7 16.6 2 1
|
||||
style 1
|
||||
decoration
|
||||
visible when(((milliseconds() - dvarint(cl_demo_playercard_display_start_time) < 2500) && 0 && FUNC_26()) && (getplayercardinfo(0, 7, 6) != 0));
|
||||
textalign 8
|
||||
textscale 0.3
|
||||
textstyle 8
|
||||
textfont 9
|
||||
exp text getplayercardinfo(11, 7, 6);
|
||||
exp rect x ((0) - (240 / 2)) + 40;
|
||||
exp rect y (30) + 21.5;
|
||||
exp forecolor r 0.8;
|
||||
exp forecolor g 0.35;
|
||||
exp forecolor b 0.4;
|
||||
exp forecolor a select((getTextWidth(getplayercardinfo(11, 7, 6), 9, 0.375) > 142 && getTextWidth(getplayercardinfo(11, 7, 6), 9, 0.375) <= 180), 1, 0);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 146.7 16.6 2 1
|
||||
style 1
|
||||
decoration
|
||||
visible when(((milliseconds() - dvarint(cl_demo_playercard_display_start_time) < 2500) && 0 && FUNC_26()) && (getplayercardinfo(0, 7, 6) != 0));
|
||||
textalign 8
|
||||
textscale 0.225
|
||||
textstyle 8
|
||||
textfont 9
|
||||
exp text truncateTextWithEllipsis(getplayercardinfo(11, 7, 6), 9, (0.375 * 0.6), 140);
|
||||
exp rect x ((0) - (240 / 2)) + 40;
|
||||
exp rect y (30) + 22;
|
||||
exp forecolor r 0.8;
|
||||
exp forecolor g 0.35;
|
||||
exp forecolor b 0.4;
|
||||
exp forecolor a select((getTextWidth(getplayercardinfo(11, 7, 6), 9, 0.375) > 180), 1, 0);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 51.333 18.033 2 1
|
||||
style 1
|
||||
decoration
|
||||
visible when((milliseconds() - dvarint(cl_demo_playercard_display_start_time) < 2500) && (getplayercardinfo(0, 7, 6) != 0) && getplayercardinfo(12, 7, 6) != "");
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textstyle 7
|
||||
textfont 3
|
||||
forecolor 0.941 0.773 0.361 1
|
||||
exp text "[" + getplayercardinfo(12, 7, 6) + "]";
|
||||
exp rect x ((0) - (240 / 2)) + 188;
|
||||
exp rect y (30) + 2.5;
|
||||
exp forecolor a 1;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 18.667 18.667 2 1
|
||||
style 3
|
||||
decoration
|
||||
visible when((milliseconds() - dvarint(cl_demo_playercard_display_start_time) < 2500) && (getplayercardinfo(0, 7, 6) != 0) && (getplayercardinfo(4, 7, 6) >= 0) && dvarstring(gameMode) == "mp");
|
||||
textscale 0.55
|
||||
exp material tablelookup("mp/rankIconTable.csv", 0, getplayercardinfo(4, 7, 6), (getplayercardinfo(5, 7, 6) + 1));
|
||||
exp rect x ((0) - (240 / 2)) + 192;
|
||||
exp rect y (30) + 18.9;
|
||||
exp forecolor a 1;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 22 18.033 2 1
|
||||
style 1
|
||||
decoration
|
||||
visible when((milliseconds() - dvarint(cl_demo_playercard_display_start_time) < 2500) && (getplayercardinfo(0, 7, 6) != 0) && (getplayercardinfo(4, 7, 6) >= 0) && dvarstring(gameMode) == "mp");
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textstyle 7
|
||||
textfont 3
|
||||
exp text tablelookup("mp/rankTable.csv", 0, getplayercardinfo(4, 7, 6), 14);
|
||||
exp rect x ((0) - (240 / 2)) + 212;
|
||||
exp rect y (30) + 19.167;
|
||||
exp forecolor a 1;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 18.667 18.667 2 1
|
||||
style 3
|
||||
decoration
|
||||
visible when((milliseconds() - dvarint(cl_demo_playercard_display_start_time) < 2500) && (getplayercardinfo(0, 7, 6) != 0) && (getplayercardinfo(6, 7, 6) >= 0) && dvarstring(gameMode) == "so");
|
||||
textscale 0.55
|
||||
exp material tablelookup("sp/rankTable.csv", 0, getplayercardinfo(6, 7, 6), 6);
|
||||
exp rect x ((0) - (240 / 2)) + 192;
|
||||
exp rect y (30) + 18.9;
|
||||
exp forecolor a 1;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 22 18.033 2 1
|
||||
style 1
|
||||
decoration
|
||||
visible when((milliseconds() - dvarint(cl_demo_playercard_display_start_time) < 2500) && (getplayercardinfo(0, 7, 6) != 0) && (getplayercardinfo(6, 7, 6) >= 0) && dvarstring(gameMode) == "so");
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textstyle 7
|
||||
textfont 3
|
||||
exp text tablelookup("sp/rankTable.csv", 0, getplayercardinfo(6, 7, 6), 14);
|
||||
exp rect x ((0) - (240 / 2)) + 212;
|
||||
exp rect y (30) + 19.167;
|
||||
exp forecolor a 1;
|
||||
}
|
||||
}
|
||||
}
|
484
zone_raw/patch_mp/ui_mp/demo_playercard_sd.menu
Normal file
484
zone_raw/patch_mp/ui_mp/demo_playercard_sd.menu
Normal file
@ -0,0 +1,484 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "demo_playercard_sd"
|
||||
rect 0 0 640 480 4 4
|
||||
visible when(isdemoplaying() && !isdemofreecamera() && !isdemocapturingscreenshot() && FUNC_84());
|
||||
exp rect X (max((1 - (getplayercardinfo(9, 0, 6) / 150)), 0) * 240);
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 240 20 2 1
|
||||
style 1
|
||||
decoration
|
||||
visible when(0 && (getplayercardinfo(0, 7, 6) != 0) && FUNC_72());
|
||||
textalign 5
|
||||
textscale 0.375
|
||||
textstyle 8
|
||||
textfont 6
|
||||
glowcolor 1 0.8 0.6 1
|
||||
exp text "@MP_KILLED_BY";
|
||||
exp rect x ((0) - (240 / 2));
|
||||
exp rect y 30 - 20;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 240 20 2 1
|
||||
style 1
|
||||
decoration
|
||||
visible when(0 && (getplayercardinfo(0, 7, 6) != 0));
|
||||
textalign 5
|
||||
textscale 0.375
|
||||
textstyle 8
|
||||
textfont 6
|
||||
glowcolor 1 0.8 0.6 1
|
||||
exp text "@MP_YOU_KILLED";
|
||||
exp rect x ((0) - (240 / 2));
|
||||
exp rect y 30 - 20;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 240 40 2 1
|
||||
style 3
|
||||
decoration
|
||||
visible when((milliseconds() - dvarint(cl_demo_playercard_display_start_time) < "DEMO_PLAYERCARD_DISPLAY_DURATION") && (getplayercardinfo(0, 7, 6) != 0));
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "white"
|
||||
exp rect x ((0) - (240 / 2));
|
||||
exp rect y (30);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 237.333 37.333 2 1
|
||||
style 3
|
||||
decoration
|
||||
visible when((milliseconds() - dvarint(cl_demo_playercard_display_start_time) < "DEMO_PLAYERCARD_DISPLAY_DURATION") && (getplayercardinfo(0, 7, 6) != 0));
|
||||
textscale 0.55
|
||||
background "playercard_scanlines_512"
|
||||
exp rect x ((0) - (240 / 2)) + 1.333;
|
||||
exp rect y (30) + 1.333;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 35.3 35.3 2 1
|
||||
style 3
|
||||
decoration
|
||||
visible when((milliseconds() - dvarint(cl_demo_playercard_display_start_time) < "DEMO_PLAYERCARD_DISPLAY_DURATION") && (getplayercardinfo(0, 7, 6) != 0));
|
||||
textscale 0.55
|
||||
exp material tablelookupbyrow("mp/cardIconTable.csv", getplayercardinfo(2, 7, 6), 1);
|
||||
exp rect x ((0) - (240 / 2)) + 2.533;
|
||||
exp rect y (30) + 2.567;
|
||||
exp forecolor a 1;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 156.667 31.333 2 1
|
||||
style 1
|
||||
decoration
|
||||
visible when((milliseconds() - dvarint(cl_demo_playercard_display_start_time) < "DEMO_PLAYERCARD_DISPLAY_DURATION") && (getplayercardinfo(0, 7, 6) != 0));
|
||||
textscale 0.55
|
||||
backcolor 1 1 1 1
|
||||
exp material tablelookupbyrow("mp/cardTitleTable.csv", getplayercardinfo(1, 7, 6), 2);
|
||||
exp rect x ((0) - (240 / 2)) + 33.9;
|
||||
exp rect y (30) + (0 - 4.1);
|
||||
exp forecolor r tablelookupbyrow("mp/cardTitleTable.csv", getplayercardinfo(1, 7, 6), 3);
|
||||
exp forecolor g tablelookupbyrow("mp/cardTitleTable.csv", getplayercardinfo(1, 7, 6), 4);
|
||||
exp forecolor b tablelookupbyrow("mp/cardTitleTable.csv", getplayercardinfo(1, 7, 6), 5);
|
||||
exp backcolor a 1;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 28.8 28.8 2 1
|
||||
style 1
|
||||
decoration
|
||||
visible when((milliseconds() - dvarint(cl_demo_playercard_display_start_time) < "DEMO_PLAYERCARD_DISPLAY_DURATION") && (getplayercardinfo(0, 7, 6) != 0) && (getplayercardinfo(20, 7, 6) > 0));
|
||||
textscale 0.55
|
||||
backcolor 1 1 1 1
|
||||
exp material "clanlvl_box";
|
||||
exp rect x ((0) - (240 / 2)) + 33.9 + ((156.667) - (28 * 0.9));
|
||||
exp rect y (30) + (0 - 4.1) - (11 * 0.9);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 14.4 14.4 2 1
|
||||
style 1
|
||||
decoration
|
||||
visible when((milliseconds() - dvarint(cl_demo_playercard_display_start_time) < "DEMO_PLAYERCARD_DISPLAY_DURATION") && (getplayercardinfo(0, 7, 6) != 0) && (getplayercardinfo(20, 7, 6) > 0));
|
||||
textscale 0.55
|
||||
backcolor 1 1 1 1
|
||||
exp material getplayercardinfo(22, 7, 6);
|
||||
exp rect x ((0) - (240 / 2)) + 33.9 + ((156.667) - (25.5 * 0.9));
|
||||
exp rect y ((30) + (0 - 4.1)) - (3 * 0.9);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 14.4 14.4 2 1
|
||||
style 1
|
||||
decoration
|
||||
visible when((milliseconds() - dvarint(cl_demo_playercard_display_start_time) < "DEMO_PLAYERCARD_DISPLAY_DURATION") && (getplayercardinfo(0, 7, 6) != 0) && (getplayercardinfo(20, 7, 6) > 0));
|
||||
textscale 0.55
|
||||
backcolor 1 1 1 1
|
||||
exp material getplayercardinfo(21, 7, 6);
|
||||
exp rect x ((0) - (240 / 2)) + 33.9 + ((156.667) - (13.5 * 0.9));
|
||||
exp rect y ((30) + (0 - 4.1)) - (3 * 0.9);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 156.667 31.333 2 1
|
||||
style 1
|
||||
decoration
|
||||
visible when((milliseconds() - dvarint(cl_demo_playercard_display_start_time) < "DEMO_PLAYERCARD_DISPLAY_DURATION") && (getplayercardinfo(0, 7, 6) != 0));
|
||||
textalign 9
|
||||
textscale 0.375
|
||||
textstyle 8
|
||||
textfont 3
|
||||
exp text getplayercardinfo(14, 7, 6);
|
||||
exp rect x ((0) - (240 / 2)) + 33.9;
|
||||
exp rect y (30) + (0 - 4.1);
|
||||
exp forecolor r tablelookupbyrow("mp/cardTitleTable.csv", getplayercardinfo(1, 7, 6), 3);
|
||||
exp forecolor g tablelookupbyrow("mp/cardTitleTable.csv", getplayercardinfo(1, 7, 6), 4);
|
||||
exp forecolor b tablelookupbyrow("mp/cardTitleTable.csv", getplayercardinfo(1, 7, 6), 5);
|
||||
exp backcolor a 0;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 146.7 16.6 2 1
|
||||
style 1
|
||||
decoration
|
||||
visible when(((milliseconds() - dvarint(cl_demo_playercard_display_start_time) < "DEMO_PLAYERCARD_DISPLAY_DURATION") && !0 && !0) && (getplayercardinfo(0, 7, 6) != 0));
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textstyle 8
|
||||
textfont 9
|
||||
exp text getplayercardinfo(11, 7, 6);
|
||||
exp rect x ((0) - (240 / 2)) + 40;
|
||||
exp rect y (30) + 21.5;
|
||||
exp forecolor r 0.941;
|
||||
exp forecolor g 0.773;
|
||||
exp forecolor b 0.361;
|
||||
exp forecolor a select((getTextWidth(getplayercardinfo(11, 7, 6), 9, 0.375) <= 142), 1, 0);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 146.7 16.6 2 1
|
||||
style 1
|
||||
decoration
|
||||
visible when(((milliseconds() - dvarint(cl_demo_playercard_display_start_time) < "DEMO_PLAYERCARD_DISPLAY_DURATION") && !0 && !0) && (getplayercardinfo(0, 7, 6) != 0));
|
||||
textalign 8
|
||||
textscale 0.3
|
||||
textstyle 8
|
||||
textfont 9
|
||||
exp text getplayercardinfo(11, 7, 6);
|
||||
exp rect x ((0) - (240 / 2)) + 40;
|
||||
exp rect y (30) + 21.5;
|
||||
exp forecolor r 0.941;
|
||||
exp forecolor g 0.773;
|
||||
exp forecolor b 0.361;
|
||||
exp forecolor a select((getTextWidth(getplayercardinfo(11, 7, 6), 9, 0.375) > 142 && getTextWidth(getplayercardinfo(11, 7, 6), 9, 0.375) <= 180), 1, 0);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 146.7 16.6 2 1
|
||||
style 1
|
||||
decoration
|
||||
visible when(((milliseconds() - dvarint(cl_demo_playercard_display_start_time) < "DEMO_PLAYERCARD_DISPLAY_DURATION") && !0 && !0) && (getplayercardinfo(0, 7, 6) != 0));
|
||||
textalign 8
|
||||
textscale 0.225
|
||||
textstyle 8
|
||||
textfont 9
|
||||
exp text truncateTextWithEllipsis(getplayercardinfo(11, 7, 6), 9, (0.375 * 0.6), 140);
|
||||
exp rect x ((0) - (240 / 2)) + 40;
|
||||
exp rect y (30) + 22;
|
||||
exp forecolor r 0.941;
|
||||
exp forecolor g 0.773;
|
||||
exp forecolor b 0.361;
|
||||
exp forecolor a select((getTextWidth(getplayercardinfo(11, 7, 6), 9, 0.375) > 180), 1, 0);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 146.7 16.6 2 1
|
||||
style 1
|
||||
decoration
|
||||
visible when(((milliseconds() - dvarint(cl_demo_playercard_display_start_time) < "DEMO_PLAYERCARD_DISPLAY_DURATION") && 0 && FUNC_24()) && (getplayercardinfo(0, 7, 6) != 0));
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textstyle 8
|
||||
textfont 9
|
||||
exp text getplayercardinfo(11, 7, 6);
|
||||
exp rect x ((0) - (240 / 2)) + 40;
|
||||
exp rect y (30) + 21.5;
|
||||
exp forecolor r 0.6;
|
||||
exp forecolor g 0.8;
|
||||
exp forecolor b 0.6;
|
||||
exp forecolor a select((getTextWidth(getplayercardinfo(11, 7, 6), 9, 0.375) <= 142), 1, 0);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 146.7 16.6 2 1
|
||||
style 1
|
||||
decoration
|
||||
visible when(((milliseconds() - dvarint(cl_demo_playercard_display_start_time) < "DEMO_PLAYERCARD_DISPLAY_DURATION") && 0 && FUNC_24()) && (getplayercardinfo(0, 7, 6) != 0));
|
||||
textalign 8
|
||||
textscale 0.3
|
||||
textstyle 8
|
||||
textfont 9
|
||||
exp text getplayercardinfo(11, 7, 6);
|
||||
exp rect x ((0) - (240 / 2)) + 40;
|
||||
exp rect y (30) + 21.5;
|
||||
exp forecolor r 0.6;
|
||||
exp forecolor g 0.8;
|
||||
exp forecolor b 0.6;
|
||||
exp forecolor a select((getTextWidth(getplayercardinfo(11, 7, 6), 9, 0.375) > 142 && getTextWidth(getplayercardinfo(11, 7, 6), 9, 0.375) <= 180), 1, 0);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 146.7 16.6 2 1
|
||||
style 1
|
||||
decoration
|
||||
visible when(((milliseconds() - dvarint(cl_demo_playercard_display_start_time) < "DEMO_PLAYERCARD_DISPLAY_DURATION") && 0 && FUNC_24()) && (getplayercardinfo(0, 7, 6) != 0));
|
||||
textalign 8
|
||||
textscale 0.225
|
||||
textstyle 8
|
||||
textfont 9
|
||||
exp text truncateTextWithEllipsis(getplayercardinfo(11, 7, 6), 9, (0.375 * 0.6), 140);
|
||||
exp rect x ((0) - (240 / 2)) + 40;
|
||||
exp rect y (30) + 22;
|
||||
exp forecolor r 0.6;
|
||||
exp forecolor g 0.8;
|
||||
exp forecolor b 0.6;
|
||||
exp forecolor a select((getTextWidth(getplayercardinfo(11, 7, 6), 9, 0.375) > 180), 1, 0);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 146.7 16.6 2 1
|
||||
style 1
|
||||
decoration
|
||||
visible when(((milliseconds() - dvarint(cl_demo_playercard_display_start_time) < "DEMO_PLAYERCARD_DISPLAY_DURATION") && 0 && FUNC_27()) && (getplayercardinfo(0, 7, 6) != 0));
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textstyle 8
|
||||
textfont 9
|
||||
exp text getplayercardinfo(11, 7, 6);
|
||||
exp rect x ((0) - (240 / 2)) + 40;
|
||||
exp rect y (30) + 21.5;
|
||||
exp forecolor r 0.8;
|
||||
exp forecolor g 0.35;
|
||||
exp forecolor b 0.4;
|
||||
exp forecolor a select((getTextWidth(getplayercardinfo(11, 7, 6), 9, 0.375) <= 142), 1, 0);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 146.7 16.6 2 1
|
||||
style 1
|
||||
decoration
|
||||
visible when(((milliseconds() - dvarint(cl_demo_playercard_display_start_time) < "DEMO_PLAYERCARD_DISPLAY_DURATION") && 0 && FUNC_27()) && (getplayercardinfo(0, 7, 6) != 0));
|
||||
textalign 8
|
||||
textscale 0.3
|
||||
textstyle 8
|
||||
textfont 9
|
||||
exp text getplayercardinfo(11, 7, 6);
|
||||
exp rect x ((0) - (240 / 2)) + 40;
|
||||
exp rect y (30) + 21.5;
|
||||
exp forecolor r 0.8;
|
||||
exp forecolor g 0.35;
|
||||
exp forecolor b 0.4;
|
||||
exp forecolor a select((getTextWidth(getplayercardinfo(11, 7, 6), 9, 0.375) > 142 && getTextWidth(getplayercardinfo(11, 7, 6), 9, 0.375) <= 180), 1, 0);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 146.7 16.6 2 1
|
||||
style 1
|
||||
decoration
|
||||
visible when(((milliseconds() - dvarint(cl_demo_playercard_display_start_time) < "DEMO_PLAYERCARD_DISPLAY_DURATION") && 0 && FUNC_27()) && (getplayercardinfo(0, 7, 6) != 0));
|
||||
textalign 8
|
||||
textscale 0.225
|
||||
textstyle 8
|
||||
textfont 9
|
||||
exp text truncateTextWithEllipsis(getplayercardinfo(11, 7, 6), 9, (0.375 * 0.6), 140);
|
||||
exp rect x ((0) - (240 / 2)) + 40;
|
||||
exp rect y (30) + 22;
|
||||
exp forecolor r 0.8;
|
||||
exp forecolor g 0.35;
|
||||
exp forecolor b 0.4;
|
||||
exp forecolor a select((getTextWidth(getplayercardinfo(11, 7, 6), 9, 0.375) > 180), 1, 0);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 146.7 16.6 2 1
|
||||
style 1
|
||||
decoration
|
||||
visible when(((milliseconds() - dvarint(cl_demo_playercard_display_start_time) < "DEMO_PLAYERCARD_DISPLAY_DURATION") && 0 && FUNC_23()) && (getplayercardinfo(0, 7, 6) != 0));
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textstyle 8
|
||||
textfont 9
|
||||
exp text getplayercardinfo(11, 7, 6);
|
||||
exp rect x ((0) - (240 / 2)) + 40;
|
||||
exp rect y (30) + 21.5;
|
||||
exp forecolor r 0.6;
|
||||
exp forecolor g 0.8;
|
||||
exp forecolor b 0.6;
|
||||
exp forecolor a select((getTextWidth(getplayercardinfo(11, 7, 6), 9, 0.375) <= 142), 1, 0);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 146.7 16.6 2 1
|
||||
style 1
|
||||
decoration
|
||||
visible when(((milliseconds() - dvarint(cl_demo_playercard_display_start_time) < "DEMO_PLAYERCARD_DISPLAY_DURATION") && 0 && FUNC_23()) && (getplayercardinfo(0, 7, 6) != 0));
|
||||
textalign 8
|
||||
textscale 0.3
|
||||
textstyle 8
|
||||
textfont 9
|
||||
exp text getplayercardinfo(11, 7, 6);
|
||||
exp rect x ((0) - (240 / 2)) + 40;
|
||||
exp rect y (30) + 21.5;
|
||||
exp forecolor r 0.6;
|
||||
exp forecolor g 0.8;
|
||||
exp forecolor b 0.6;
|
||||
exp forecolor a select((getTextWidth(getplayercardinfo(11, 7, 6), 9, 0.375) > 142 && getTextWidth(getplayercardinfo(11, 7, 6), 9, 0.375) <= 180), 1, 0);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 146.7 16.6 2 1
|
||||
style 1
|
||||
decoration
|
||||
visible when(((milliseconds() - dvarint(cl_demo_playercard_display_start_time) < "DEMO_PLAYERCARD_DISPLAY_DURATION") && 0 && FUNC_23()) && (getplayercardinfo(0, 7, 6) != 0));
|
||||
textalign 8
|
||||
textscale 0.225
|
||||
textstyle 8
|
||||
textfont 9
|
||||
exp text truncateTextWithEllipsis(getplayercardinfo(11, 7, 6), 9, (0.375 * 0.6), 140);
|
||||
exp rect x ((0) - (240 / 2)) + 40;
|
||||
exp rect y (30) + 22;
|
||||
exp forecolor r 0.6;
|
||||
exp forecolor g 0.8;
|
||||
exp forecolor b 0.6;
|
||||
exp forecolor a select((getTextWidth(getplayercardinfo(11, 7, 6), 9, 0.375) > 180), 1, 0);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 146.7 16.6 2 1
|
||||
style 1
|
||||
decoration
|
||||
visible when(((milliseconds() - dvarint(cl_demo_playercard_display_start_time) < "DEMO_PLAYERCARD_DISPLAY_DURATION") && 0 && FUNC_26()) && (getplayercardinfo(0, 7, 6) != 0));
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textstyle 8
|
||||
textfont 9
|
||||
exp text getplayercardinfo(11, 7, 6);
|
||||
exp rect x ((0) - (240 / 2)) + 40;
|
||||
exp rect y (30) + 21.5;
|
||||
exp forecolor r 0.8;
|
||||
exp forecolor g 0.35;
|
||||
exp forecolor b 0.4;
|
||||
exp forecolor a select((getTextWidth(getplayercardinfo(11, 7, 6), 9, 0.375) <= 142), 1, 0);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 146.7 16.6 2 1
|
||||
style 1
|
||||
decoration
|
||||
visible when(((milliseconds() - dvarint(cl_demo_playercard_display_start_time) < "DEMO_PLAYERCARD_DISPLAY_DURATION") && 0 && FUNC_26()) && (getplayercardinfo(0, 7, 6) != 0));
|
||||
textalign 8
|
||||
textscale 0.3
|
||||
textstyle 8
|
||||
textfont 9
|
||||
exp text getplayercardinfo(11, 7, 6);
|
||||
exp rect x ((0) - (240 / 2)) + 40;
|
||||
exp rect y (30) + 21.5;
|
||||
exp forecolor r 0.8;
|
||||
exp forecolor g 0.35;
|
||||
exp forecolor b 0.4;
|
||||
exp forecolor a select((getTextWidth(getplayercardinfo(11, 7, 6), 9, 0.375) > 142 && getTextWidth(getplayercardinfo(11, 7, 6), 9, 0.375) <= 180), 1, 0);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 146.7 16.6 2 1
|
||||
style 1
|
||||
decoration
|
||||
visible when(((milliseconds() - dvarint(cl_demo_playercard_display_start_time) < "DEMO_PLAYERCARD_DISPLAY_DURATION") && 0 && FUNC_26()) && (getplayercardinfo(0, 7, 6) != 0));
|
||||
textalign 8
|
||||
textscale 0.225
|
||||
textstyle 8
|
||||
textfont 9
|
||||
exp text truncateTextWithEllipsis(getplayercardinfo(11, 7, 6), 9, (0.375 * 0.6), 140);
|
||||
exp rect x ((0) - (240 / 2)) + 40;
|
||||
exp rect y (30) + 22;
|
||||
exp forecolor r 0.8;
|
||||
exp forecolor g 0.35;
|
||||
exp forecolor b 0.4;
|
||||
exp forecolor a select((getTextWidth(getplayercardinfo(11, 7, 6), 9, 0.375) > 180), 1, 0);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 51.333 18.033 2 1
|
||||
style 1
|
||||
decoration
|
||||
visible when((milliseconds() - dvarint(cl_demo_playercard_display_start_time) < "DEMO_PLAYERCARD_DISPLAY_DURATION") && (getplayercardinfo(0, 7, 6) != 0) && getplayercardinfo(12, 7, 6) != "");
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textstyle 7
|
||||
textfont 3
|
||||
forecolor 0.941 0.773 0.361 1
|
||||
exp text "[" + getplayercardinfo(12, 7, 6) + "]";
|
||||
exp rect x ((0) - (240 / 2)) + 188;
|
||||
exp rect y (30) + 2.5;
|
||||
exp forecolor a 1;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 18.667 18.667 2 1
|
||||
style 3
|
||||
decoration
|
||||
visible when((milliseconds() - dvarint(cl_demo_playercard_display_start_time) < "DEMO_PLAYERCARD_DISPLAY_DURATION") && (getplayercardinfo(0, 7, 6) != 0) && (getplayercardinfo(4, 7, 6) >= 0) && dvarstring(gameMode) == "mp");
|
||||
textscale 0.55
|
||||
exp material tablelookup("mp/rankIconTable.csv", 0, getplayercardinfo(4, 7, 6), (getplayercardinfo(5, 7, 6) + 1));
|
||||
exp rect x ((0) - (240 / 2)) + 192;
|
||||
exp rect y (30) + 18.9;
|
||||
exp forecolor a 1;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 22 18.033 2 1
|
||||
style 1
|
||||
decoration
|
||||
visible when((milliseconds() - dvarint(cl_demo_playercard_display_start_time) < "DEMO_PLAYERCARD_DISPLAY_DURATION") && (getplayercardinfo(0, 7, 6) != 0) && (getplayercardinfo(4, 7, 6) >= 0) && dvarstring(gameMode) == "mp");
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textstyle 7
|
||||
textfont 3
|
||||
exp text tablelookup("mp/rankTable.csv", 0, getplayercardinfo(4, 7, 6), 14);
|
||||
exp rect x ((0) - (240 / 2)) + 212;
|
||||
exp rect y (30) + 19.167;
|
||||
exp forecolor a 1;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 18.667 18.667 2 1
|
||||
style 3
|
||||
decoration
|
||||
visible when((milliseconds() - dvarint(cl_demo_playercard_display_start_time) < "DEMO_PLAYERCARD_DISPLAY_DURATION") && (getplayercardinfo(0, 7, 6) != 0) && (getplayercardinfo(6, 7, 6) >= 0) && dvarstring(gameMode) == "so");
|
||||
textscale 0.55
|
||||
exp material tablelookup("sp/rankTable.csv", 0, getplayercardinfo(6, 7, 6), 6);
|
||||
exp rect x ((0) - (240 / 2)) + 192;
|
||||
exp rect y (30) + 18.9;
|
||||
exp forecolor a 1;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 22 18.033 2 1
|
||||
style 1
|
||||
decoration
|
||||
visible when((milliseconds() - dvarint(cl_demo_playercard_display_start_time) < "DEMO_PLAYERCARD_DISPLAY_DURATION") && (getplayercardinfo(0, 7, 6) != 0) && (getplayercardinfo(6, 7, 6) >= 0) && dvarstring(gameMode) == "so");
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textstyle 7
|
||||
textfont 3
|
||||
exp text tablelookup("sp/rankTable.csv", 0, getplayercardinfo(6, 7, 6), 14);
|
||||
exp rect x ((0) - (240 / 2)) + 212;
|
||||
exp rect y (30) + 19.167;
|
||||
exp forecolor a 1;
|
||||
}
|
||||
}
|
||||
}
|
282
zone_raw/patch_mp/ui_mp/demo_save_screenshot.menu
Normal file
282
zone_raw/patch_mp/ui_mp/demo_save_screenshot.menu
Normal file
@ -0,0 +1,282 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "demo_save_screenshot"
|
||||
rect 0 0 0 0 2 2
|
||||
focuscolor 1 1 1 1
|
||||
outOfBoundsClick
|
||||
popup
|
||||
legacySplitScreenScale
|
||||
exp rect X 0 - (260 * 0.5);
|
||||
exp rect Y 0 - ((((23 * 1) + (16.367 * 0)) + (2 * (20 + 2)) + 5) * 0.5);
|
||||
exp rect W 260;
|
||||
exp rect H (((23 * 1) + (16.367 * 0)) + (2 * (20 + 2)) + 5);
|
||||
onOpen
|
||||
{
|
||||
setLocalVarInt ui_buttonNavGroupOffset_popup 0;
|
||||
setLocalVarInt ui_buttonNavGroupCurrent_popup 0;
|
||||
setLocalVarString ui_buttonNavGroupName_popup "invalid";
|
||||
setLocalVarBool ui_swfSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfSelectionDisabled 0;
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled 0;
|
||||
setLocalVarString ui_swfPopupContext "invalid";
|
||||
setLocalVarBool ui_centerPopup 1;
|
||||
play tabs_slide;
|
||||
lerp x from - 460 to 0 over "0.05";
|
||||
focusfirst;
|
||||
setfocus SWF_COMMON_POPUP_NAME_0;
|
||||
focusfirst;
|
||||
}
|
||||
onClose
|
||||
{
|
||||
setLocalVarBool ui_centerPopup 0;
|
||||
play "";
|
||||
}
|
||||
onESC
|
||||
{
|
||||
}
|
||||
execKeyInt 14
|
||||
{
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -1280 -480 2560 960 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(menuistopmost("demo_save_screenshot"));
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0.8
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -131.333 -78.667 262.667 130.667 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0.3098 0.349 0.2745 1
|
||||
background "white"
|
||||
exp rect y 0 + "SWF_POPUP_GLOBAL_Y_OFFSET";
|
||||
exp rect h (((23 * 1) + (16.367 * 0)) + (2 * (20 + 2)) + 5) + 0;
|
||||
exp rect x 0 + "SWF_POPUP_GLOBAL_X_OFFSET";
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 260 1 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1 && 1);
|
||||
textscale 0.55
|
||||
forecolor 0.1569 0.1725 0.1608 1
|
||||
background "white"
|
||||
exp rect x 0;
|
||||
exp rect y 0;
|
||||
exp rect h (1 * 22) + (16.367 * 0) + 2;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 8.666 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1 && 1);
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar_shadow"
|
||||
exp rect x (0 + "X_OFFSET");
|
||||
exp rect y 0 + (1 * 22) + (16.367 * 0);
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 1 244 22 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when(1);
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 9
|
||||
exp text "@MENU_DEMO_SAVE_SCREENSHOT";
|
||||
exp rect x (0 + 8);
|
||||
exp rect y (0 + 4) - 4;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 260 1 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0.2118 0.2314 0.22 1
|
||||
background "white"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + (0 * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0)));
|
||||
exp rect h ((20 + 2) * 2) + 1;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 8.666 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfPopupSelectionBarVis") && (localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_POPUP_NAME") && (localvarstring("ui_swfPopupContext") == "SWF_COMMON_POPUP_NAME"));
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar_shadow"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + ((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0))) + (20 + 0.3333);
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 20 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfPopupSelectionBarVis") && (localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_POPUP_NAME") && (localvarstring("ui_swfPopupContext") == "SWF_COMMON_POPUP_NAME"));
|
||||
textscale 0.55
|
||||
forecolor 0.6 0.6314 0.6 0.2
|
||||
background "white"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + ((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0)));
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 20 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfPopupSelectionBarVis") && (localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_POPUP_NAME") && (localvarstring("ui_swfPopupContext") == "SWF_COMMON_POPUP_NAME"));
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + ((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0)));
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@PLATFORM_NAVBAR_BUTTON_FOCUSED_SELECTBUTTON"
|
||||
rect 0 0 20 20 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfPopupSelectionButtonVis") && (localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_POPUP_NAME") && (localvarstring("ui_swfPopupContext") == "SWF_COMMON_POPUP_NAME"));
|
||||
textalign 10
|
||||
textscale 0.30625
|
||||
textfont 3
|
||||
exp rect x (0 + (0 + 260 - 24));
|
||||
exp rect y (((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0))) - 1.167) - 1.8;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "SWF_COMMON_POPUP_NAME_0"
|
||||
rect 11.667 0 260 22 2 2
|
||||
style 3
|
||||
type 1
|
||||
visible when(1);
|
||||
disabled when(0);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0
|
||||
background "white"
|
||||
onFocus
|
||||
{
|
||||
setLocalVarString ui_swf_selection "SWF_POPUP_BUTTON_NAME(SWF_COMMON_POPUP_NAME,0)";
|
||||
setLocalVarInt ui_buttonNavGroupCurrent_popup 0;
|
||||
setLocalVarString ui_buttonNavGroupName_popup "SWF_COMMON_POPUP_NAME";
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis ((1) && !(0));
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis (1);
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled (0);
|
||||
setLocalVarString ui_swfPopupContext "SWF_COMMON_POPUP_NAME";
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
open screenshot_save_screen;
|
||||
close self;
|
||||
}
|
||||
exp rect y ((0 * (20 + 2)) + (0 + 4) + ((23 * 1) + (16.367 * 0))) + ((0 - 1.333));
|
||||
exp rect w 260 - 0;
|
||||
exp rect x (0 + (0 + 8));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 11.667 0 260 19.567 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when((1) && (1));
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 3
|
||||
exp text "@MENU_SAVE";
|
||||
exp rect y (((0 * (20 + 2)) + (0 + 4) + ((23 * 1) + (16.367 * 0))) + (0 - 1.333)) - 2.333;
|
||||
exp rect w 260;
|
||||
exp forecolor r select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_POPUP_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_POPUP_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_POPUP_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_POPUP_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor g select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_POPUP_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_POPUP_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_POPUP_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_POPUP_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor b select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_POPUP_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_POPUP_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_POPUP_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_POPUP_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp rect x (0 + (0 + 8));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "SWF_COMMON_POPUP_NAME_1"
|
||||
rect 11.667 0 260 22 2 2
|
||||
style 3
|
||||
type 1
|
||||
visible when(1);
|
||||
disabled when(0);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0
|
||||
background "white"
|
||||
onFocus
|
||||
{
|
||||
setLocalVarString ui_swf_selection "SWF_POPUP_BUTTON_NAME(SWF_COMMON_POPUP_NAME,1)";
|
||||
setLocalVarInt ui_buttonNavGroupCurrent_popup 1;
|
||||
setLocalVarString ui_buttonNavGroupName_popup "SWF_COMMON_POPUP_NAME";
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis ((1) && !(0));
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis (1);
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled (0);
|
||||
setLocalVarString ui_swfPopupContext "SWF_COMMON_POPUP_NAME";
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
close self;
|
||||
}
|
||||
exp rect y ((1 * (20 + 2)) + (0 + 4) + ((23 * 1) + (16.367 * 0))) + ((0 - 1.333));
|
||||
exp rect w 260 - 0;
|
||||
exp rect x (0 + (0 + 8));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 11.667 0 260 19.567 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when((1) && (1));
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 3
|
||||
exp text "@MENU_DISCARD";
|
||||
exp rect y (((1 * (20 + 2)) + (0 + 4) + ((23 * 1) + (16.367 * 0))) + (0 - 1.333)) - 2.333;
|
||||
exp rect w 260;
|
||||
exp forecolor r select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_POPUP_NAME,1)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_POPUP_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_POPUP_NAME,1)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_POPUP_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor g select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_POPUP_NAME,1)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_POPUP_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_POPUP_NAME,1)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_POPUP_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor b select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_POPUP_NAME,1)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_POPUP_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_POPUP_NAME,1)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_POPUP_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp rect x (0 + (0 + 8));
|
||||
}
|
||||
}
|
||||
}
|
394
zone_raw/patch_mp/ui_mp/demo_save_segment.menu
Normal file
394
zone_raw/patch_mp/ui_mp/demo_save_segment.menu
Normal file
@ -0,0 +1,394 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "demo_save_segment"
|
||||
rect 0 0 0 0 2 2
|
||||
focuscolor 1 1 1 1
|
||||
outOfBoundsClick
|
||||
popup
|
||||
legacySplitScreenScale
|
||||
exp rect X 0 - (260 * 0.5);
|
||||
exp rect Y 0 - ((((23 * 1) + (16.367 * 0)) + (4 * (20 + 2)) + 5) * 0.5);
|
||||
exp rect W 260;
|
||||
exp rect H (((23 * 1) + (16.367 * 0)) + (4 * (20 + 2)) + 5);
|
||||
onOpen
|
||||
{
|
||||
setLocalVarInt ui_buttonNavGroupOffset_popup 0;
|
||||
setLocalVarInt ui_buttonNavGroupCurrent_popup 0;
|
||||
setLocalVarString ui_buttonNavGroupName_popup "invalid";
|
||||
setLocalVarBool ui_swfSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfSelectionDisabled 0;
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled 0;
|
||||
setLocalVarString ui_swfPopupContext "invalid";
|
||||
setLocalVarBool ui_centerPopup 1;
|
||||
play tabs_slide;
|
||||
lerp x from - 460 to 0 over "0.05";
|
||||
focusfirst;
|
||||
setfocus demo_save_segment_0;
|
||||
focusfirst;
|
||||
}
|
||||
onClose
|
||||
{
|
||||
setLocalVarBool ui_centerPopup 0;
|
||||
play "";
|
||||
}
|
||||
onESC
|
||||
{
|
||||
}
|
||||
execKeyInt 14
|
||||
{
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -1280 -480 2560 960 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(menuistopmost("demo_save_segment"));
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0.8
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -131.333 -78.667 262.667 130.667 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0.3098 0.349 0.2745 1
|
||||
background "white"
|
||||
exp rect y 0 + "SWF_POPUP_GLOBAL_Y_OFFSET";
|
||||
exp rect h (((23 * 1) + (16.367 * 0)) + (4 * (20 + 2)) + 5) + 0;
|
||||
exp rect x 0 + "SWF_POPUP_GLOBAL_X_OFFSET";
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 260 1 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0.2118 0.2314 0.22 1
|
||||
background "white"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + (0 * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0)));
|
||||
exp rect h ((20 + 2) * 4) + 1;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 8.666 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfPopupSelectionBarVis") && (localvarstring("ui_buttonNavGroupName_popup") == "demo_save_segment") && (localvarstring("ui_swfPopupContext") == "demo_save_segment"));
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar_shadow"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + ((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0))) + (20 + 0.3333);
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 20 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfPopupSelectionBarVis") && (localvarstring("ui_buttonNavGroupName_popup") == "demo_save_segment") && (localvarstring("ui_swfPopupContext") == "demo_save_segment"));
|
||||
textscale 0.55
|
||||
forecolor 0.6 0.6314 0.6 0.2
|
||||
background "white"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + ((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0)));
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 20 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfPopupSelectionBarVis") && (localvarstring("ui_buttonNavGroupName_popup") == "demo_save_segment") && (localvarstring("ui_swfPopupContext") == "demo_save_segment"));
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + ((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0)));
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@PLATFORM_NAVBAR_BUTTON_FOCUSED_SELECTBUTTON"
|
||||
rect 0 0 20 20 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfPopupSelectionButtonVis") && (localvarstring("ui_buttonNavGroupName_popup") == "demo_save_segment") && (localvarstring("ui_swfPopupContext") == "demo_save_segment"));
|
||||
textalign 10
|
||||
textscale 0.30625
|
||||
textfont 3
|
||||
exp rect x (0 + (0 + 260 - 24));
|
||||
exp rect y (((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0))) - 1.167) - 1.8;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 260 1 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1 && 1);
|
||||
textscale 0.55
|
||||
forecolor 0.1569 0.1725 0.1608 1
|
||||
background "white"
|
||||
exp rect x 0;
|
||||
exp rect y 0;
|
||||
exp rect h (1 * 22) + (16.367 * 0) + 2;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 8.666 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1 && 1);
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar_shadow"
|
||||
exp rect x (0 + "X_OFFSET");
|
||||
exp rect y 0 + (1 * 22) + (16.367 * 0);
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 1 244 22 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when(1);
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 9
|
||||
exp text "@MENU_DEMO_KEEP_SEGMENT";
|
||||
exp rect x (0 + 8);
|
||||
exp rect y (0 + 4) - 4;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "demo_save_segment_0"
|
||||
rect 11.667 0 260 22 2 2
|
||||
style 3
|
||||
type 1
|
||||
visible when(1);
|
||||
disabled when(0);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0
|
||||
background "white"
|
||||
onFocus
|
||||
{
|
||||
setLocalVarString ui_swf_selection "SWF_POPUP_BUTTON_NAME(demo_save_segment,0)";
|
||||
setLocalVarInt ui_buttonNavGroupCurrent_popup 0;
|
||||
setLocalVarString ui_buttonNavGroupName_popup "demo_save_segment";
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis ((1) && !(0));
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis (1);
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled (0);
|
||||
setLocalVarString ui_swfPopupContext "demo_save_segment";
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
exec "cl_demo_savesegment 0";
|
||||
close self;
|
||||
}
|
||||
exp rect y ((0 * (20 + 2)) + (0 + 4) + ((23 * 1) + (16.367 * 0))) + ((0 - 1.333));
|
||||
exp rect w 260 - 0;
|
||||
exp rect x (0 + (0 + 8));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 11.667 0 260 19.567 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when((1) && (1));
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 3
|
||||
exp text "@MENU_DEMO_AUTONAME_SEGMENT";
|
||||
exp rect y (((0 * (20 + 2)) + (0 + 4) + ((23 * 1) + (16.367 * 0))) + (0 - 1.333)) - 2.333;
|
||||
exp rect w 260;
|
||||
exp forecolor r select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(demo_save_segment,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "demo_save_segment", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(demo_save_segment,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "demo_save_segment", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor g select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(demo_save_segment,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "demo_save_segment", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(demo_save_segment,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "demo_save_segment", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor b select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(demo_save_segment,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "demo_save_segment", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(demo_save_segment,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "demo_save_segment", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp rect x (0 + (0 + 8));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "demo_save_segment_1"
|
||||
rect 11.667 0 260 22 2 2
|
||||
style 3
|
||||
type 1
|
||||
visible when(1);
|
||||
disabled when(0);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0
|
||||
background "white"
|
||||
onFocus
|
||||
{
|
||||
setLocalVarString ui_swf_selection "SWF_POPUP_BUTTON_NAME(demo_save_segment,1)";
|
||||
setLocalVarInt ui_buttonNavGroupCurrent_popup 1;
|
||||
setLocalVarString ui_buttonNavGroupName_popup "demo_save_segment";
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis ((1) && !(0));
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis (1);
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled (0);
|
||||
setLocalVarString ui_swfPopupContext "demo_save_segment";
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
exec "cl_demo_keyboard segmentName";
|
||||
}
|
||||
exp rect y ((1 * (20 + 2)) + (0 + 4) + ((23 * 1) + (16.367 * 0))) + ((0 - 1.333));
|
||||
exp rect w 260 - 0;
|
||||
exp rect x (0 + (0 + 8));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 11.667 0 260 19.567 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when((1) && (1));
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 3
|
||||
exp text "@MENU_DEMO_NAME_SEGMENT";
|
||||
exp rect y (((1 * (20 + 2)) + (0 + 4) + ((23 * 1) + (16.367 * 0))) + (0 - 1.333)) - 2.333;
|
||||
exp rect w 260;
|
||||
exp forecolor r select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(demo_save_segment,1)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "demo_save_segment", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(demo_save_segment,1)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "demo_save_segment", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor g select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(demo_save_segment,1)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "demo_save_segment", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(demo_save_segment,1)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "demo_save_segment", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor b select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(demo_save_segment,1)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "demo_save_segment", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(demo_save_segment,1)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "demo_save_segment", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp rect x (0 + (0 + 8));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "demo_save_segment_2"
|
||||
rect 11.667 0 260 22 2 2
|
||||
style 3
|
||||
type 1
|
||||
visible when(1);
|
||||
disabled when(0);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0
|
||||
background "white"
|
||||
onFocus
|
||||
{
|
||||
setLocalVarString ui_swf_selection "SWF_POPUP_BUTTON_NAME(demo_save_segment,2)";
|
||||
setLocalVarInt ui_buttonNavGroupCurrent_popup 2;
|
||||
setLocalVarString ui_buttonNavGroupName_popup "demo_save_segment";
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis ((1) && !(0));
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis (1);
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled (0);
|
||||
setLocalVarString ui_swfPopupContext "demo_save_segment";
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
exec cl_demo_previewsegment;
|
||||
close self;
|
||||
}
|
||||
exp rect y ((2 * (20 + 2)) + (0 + 4) + ((23 * 1) + (16.367 * 0))) + ((0 - 1.333));
|
||||
exp rect w 260 - 0;
|
||||
exp rect x (0 + (0 + 8));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 11.667 0 260 19.567 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when((1) && (1));
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 3
|
||||
exp text "@MENU_DEMO_PREVIEW_SEGMENT";
|
||||
exp rect y (((2 * (20 + 2)) + (0 + 4) + ((23 * 1) + (16.367 * 0))) + (0 - 1.333)) - 2.333;
|
||||
exp rect w 260;
|
||||
exp forecolor r select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(demo_save_segment,2)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "demo_save_segment", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(demo_save_segment,2)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "demo_save_segment", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor g select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(demo_save_segment,2)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "demo_save_segment", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(demo_save_segment,2)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "demo_save_segment", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor b select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(demo_save_segment,2)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "demo_save_segment", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(demo_save_segment,2)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "demo_save_segment", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp rect x (0 + (0 + 8));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "demo_save_segment_3"
|
||||
rect 11.667 0 260 22 2 2
|
||||
style 3
|
||||
type 1
|
||||
visible when(1);
|
||||
disabled when(0);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0
|
||||
background "white"
|
||||
onFocus
|
||||
{
|
||||
setLocalVarString ui_swf_selection "SWF_POPUP_BUTTON_NAME(demo_save_segment,3)";
|
||||
setLocalVarInt ui_buttonNavGroupCurrent_popup 3;
|
||||
setLocalVarString ui_buttonNavGroupName_popup "demo_save_segment";
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis ((1) && !(0));
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis (1);
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled (0);
|
||||
setLocalVarString ui_swfPopupContext "demo_save_segment";
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
exec "cl_demo_savesegment 1";
|
||||
close self;
|
||||
}
|
||||
exp rect y ((3 * (20 + 2)) + (0 + 4) + ((23 * 1) + (16.367 * 0))) + ((0 - 1.333));
|
||||
exp rect w 260 - 0;
|
||||
exp rect x (0 + (0 + 8));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 11.667 0 260 19.567 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when((1) && (1));
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 3
|
||||
exp text "@MENU_DEMO_DISCARD_SEGMENT";
|
||||
exp rect y (((3 * (20 + 2)) + (0 + 4) + ((23 * 1) + (16.367 * 0))) + (0 - 1.333)) - 2.333;
|
||||
exp rect w 260;
|
||||
exp forecolor r select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(demo_save_segment,3)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "demo_save_segment", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(demo_save_segment,3)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "demo_save_segment", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor g select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(demo_save_segment,3)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "demo_save_segment", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(demo_save_segment,3)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "demo_save_segment", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor b select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(demo_save_segment,3)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "demo_save_segment", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(demo_save_segment,3)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "demo_save_segment", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp rect x (0 + (0 + 8));
|
||||
}
|
||||
}
|
||||
}
|
20
zone_raw/patch_mp/ui_mp/democontrols_hd.menu
Normal file
20
zone_raw/patch_mp/ui_mp/democontrols_hd.menu
Normal file
@ -0,0 +1,20 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "democontrols_hd"
|
||||
rect 0 0 640 480 4 4
|
||||
visible when(isdemoplaying() && FUNC_84());
|
||||
itemDef
|
||||
{
|
||||
name "controls"
|
||||
rect -170 -80 340 70 2 10
|
||||
decoration
|
||||
type 8
|
||||
visible 1
|
||||
ownerdraw 211
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.65
|
||||
background "white"
|
||||
}
|
||||
}
|
||||
}
|
20
zone_raw/patch_mp/ui_mp/democontrols_sd.menu
Normal file
20
zone_raw/patch_mp/ui_mp/democontrols_sd.menu
Normal file
@ -0,0 +1,20 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "democontrols_sd"
|
||||
rect 0 0 640 480 4 4
|
||||
visible when(isdemoplaying() && FUNC_84());
|
||||
itemDef
|
||||
{
|
||||
name "controls"
|
||||
rect -170 -80 340 70 2 10
|
||||
decoration
|
||||
type 8
|
||||
visible 1
|
||||
ownerdraw 211
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.65
|
||||
background "white"
|
||||
}
|
||||
}
|
||||
}
|
38
zone_raw/patch_mp/ui_mp/dirt_effect_center.menu
Normal file
38
zone_raw/patch_mp/ui_mp/dirt_effect_center.menu
Normal file
@ -0,0 +1,38 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "dirt_effect_center"
|
||||
decoration
|
||||
rect 0 0 640 480 8 10
|
||||
onOpen
|
||||
{
|
||||
lerp alpha from 0 to 1 over "0.020";
|
||||
lerp scale from ".3" to 1 over "0.1";
|
||||
lerp y from 100 to 0 over "0.08";
|
||||
setLocalVarInt dirt_update_time (milliseconds() + 200);
|
||||
}
|
||||
onRequestClose
|
||||
{
|
||||
lerp alpha from 1 to 0 over "1.0";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -682.667 -341.333 1365.33 682.667 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
background "fullscreen_dirt_bottom"
|
||||
exp forecolor a min((localvarint("dirt_update_time") - milliseconds()) / 200, 1);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -682.667 -341.333 1365.33 682.667 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(milliseconds() > localvarint("dirt_update_time"));
|
||||
textscale 0.55
|
||||
background "fullscreen_dirt_bottom_b"
|
||||
}
|
||||
}
|
||||
}
|
27
zone_raw/patch_mp/ui_mp/dirt_effect_left.menu
Normal file
27
zone_raw/patch_mp/ui_mp/dirt_effect_left.menu
Normal file
@ -0,0 +1,27 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "dirt_effect_left"
|
||||
decoration
|
||||
rect 0 0 640 480 8 8
|
||||
onOpen
|
||||
{
|
||||
lerp alpha from 0 to 1 over "0.05";
|
||||
lerp scale from 0 to 1 over "0.05";
|
||||
lerp x from - 1000 to 0 over "0.05";
|
||||
}
|
||||
onRequestClose
|
||||
{
|
||||
lerp alpha from 1 to 0 over "1.0";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -682.667 -341.333 1365.33 682.667 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
background "fullscreen_dirt_left"
|
||||
}
|
||||
}
|
||||
}
|
27
zone_raw/patch_mp/ui_mp/dirt_effect_right.menu
Normal file
27
zone_raw/patch_mp/ui_mp/dirt_effect_right.menu
Normal file
@ -0,0 +1,27 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "dirt_effect_right"
|
||||
decoration
|
||||
rect 0 0 640 480 8 10
|
||||
onOpen
|
||||
{
|
||||
lerp alpha from 0 to 1 over "0.15";
|
||||
lerp scale from 0 to 1 over "0.1";
|
||||
lerp x from 300 to 0 over "0.1";
|
||||
}
|
||||
onRequestClose
|
||||
{
|
||||
lerp alpha from 1 to 0 over "1.0";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -682.667 -341.333 -1365.33 -682.667 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
background "fullscreen_dirt_left"
|
||||
}
|
||||
}
|
||||
}
|
34
zone_raw/patch_mp/ui_mp/dpad_hd.menu
Normal file
34
zone_raw/patch_mp/ui_mp/dpad_hd.menu
Normal file
@ -0,0 +1,34 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "dpad_hd"
|
||||
rect 0 -16 640 480 4 4
|
||||
visible when(FUNC_109() && !FUNC_103() && FUNC_94());
|
||||
itemDef
|
||||
{
|
||||
rect -61 -29 32 32 10 10
|
||||
type 8
|
||||
visible 1
|
||||
ownerdraw 173
|
||||
textalign 2
|
||||
textalignx -21
|
||||
textaligny -9
|
||||
textscale 0.3333
|
||||
textstyle 3
|
||||
textfont 10
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -61 -29 32 32 10 10
|
||||
decoration
|
||||
visible when(actionslotusable(3));
|
||||
textalign 1
|
||||
textaligny 35
|
||||
textscale 0.25
|
||||
textstyle 6
|
||||
textfont 6
|
||||
forecolor 1 1 0 1
|
||||
exp text "^3" + keybinding("+actionslot 3");
|
||||
}
|
||||
}
|
||||
}
|
596
zone_raw/patch_mp/ui_mp/elevator_floor_selector.menu
Normal file
596
zone_raw/patch_mp/ui_mp/elevator_floor_selector.menu
Normal file
@ -0,0 +1,596 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "elevator_floor_selector"
|
||||
rect -46 -64 92 128 2 2
|
||||
style 1
|
||||
border 5
|
||||
borderSize 2
|
||||
bordercolor 0.8 0.8 0.8 0.8
|
||||
focuscolor 1 1 1 1
|
||||
popup
|
||||
visible 1
|
||||
onOpen
|
||||
{
|
||||
setLocalVarBool ui_centerPopup 1;
|
||||
}
|
||||
onClose
|
||||
{
|
||||
play POPUP_AUDIO_ON_CLOSE;
|
||||
setLocalVarBool ui_centerPopup 0;
|
||||
}
|
||||
onESC
|
||||
{
|
||||
setLocalVarBool ui_centerPopup 0;
|
||||
close self;
|
||||
scriptmenuresponse none;
|
||||
}
|
||||
execKeyInt 14
|
||||
{
|
||||
scriptmenuresponse none;
|
||||
close elevator_floor_selector;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -600 -800 2000 2000 0 0
|
||||
type 1
|
||||
visible 1
|
||||
textscale 0.55
|
||||
textfont 1
|
||||
onFocus
|
||||
{
|
||||
setdvar ui_popup_close_icon 1;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setdvar ui_popup_close_icon 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
close self;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -4 -4 92 128 0 0
|
||||
type 1
|
||||
visible 1
|
||||
textscale 0.55
|
||||
textfont 1
|
||||
action
|
||||
{
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 88 124 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0.2 0.2 0.25 0.8
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 2 4 79.5 18 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(dvarint(player_current_floor) != 3);
|
||||
textscale 0.55
|
||||
forecolor 0.9 0.9 1 0.07
|
||||
exp material "gradient_fadein";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 81.5 4 4.5 18 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(dvarint(player_current_floor) != 3);
|
||||
textscale 0.55
|
||||
forecolor 0.9 0.9 1 0.07
|
||||
background "button_highlight_end"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 2 4 79.5 18 2 2
|
||||
style 3
|
||||
decoration
|
||||
borderSize 2
|
||||
visible when(localvarint("ui_highlight") == 1 && localvarstring("ui_choicegroup") == "popmenu");
|
||||
textscale 0.55
|
||||
forecolor 0.9 0.95 1 0.25
|
||||
bordercolor 0.8 0.95 1 0.4
|
||||
background "gradient_fadein"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 81.5 4 4.5 18 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarint("ui_highlight") == 1 && localvarstring("ui_choicegroup") == "popmenu");
|
||||
textscale 0.55
|
||||
forecolor 0.9 0.95 1 0.25
|
||||
background "button_highlight_end"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 2 4 84 18 2 2
|
||||
type 1
|
||||
visible when(dvarint(player_current_floor) != 3);
|
||||
textalign 10
|
||||
textalignx -6
|
||||
textscale 0.4
|
||||
textstyle 6
|
||||
textfont 1
|
||||
forecolor 0.69 0.69 0.69 1
|
||||
onFocus
|
||||
{
|
||||
play MENU_AUDIO_SUBMENU_FOCUS;
|
||||
setLocalVarInt ui_highlight 1;
|
||||
setLocalVarString ui_choicegroup "popmenu";
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarInt ui_highlight 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play MENU_AUDIO_ON_POSITIVE_ACTION;
|
||||
scriptmenuresponse 3;
|
||||
close elevator_floor_selector;
|
||||
}
|
||||
exp text "( 4 )";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 2 4 79.5 18 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(dvarint(player_current_floor) == 3);
|
||||
textscale 0.55
|
||||
forecolor 0.9 0.9 1 0.07
|
||||
exp material "gradient_fadein";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 81.5 4 4.5 18 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(dvarint(player_current_floor) == 3);
|
||||
textscale 0.55
|
||||
forecolor 0.9 0.9 1 0.07
|
||||
background "button_highlight_end"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 2 4 84 18 2 2
|
||||
decoration
|
||||
visible when(dvarint(player_current_floor) == 3);
|
||||
textalign 10
|
||||
textalignx -6
|
||||
textscale 0.4
|
||||
textstyle 6
|
||||
textfont 1
|
||||
forecolor 0.5 0.5 0.5 0.5
|
||||
exp text "( 4 )";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 2 24 79.5 18 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(dvarint(player_current_floor) != 2);
|
||||
textscale 0.55
|
||||
forecolor 0.9 0.9 1 0.07
|
||||
exp material "gradient_fadein";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 81.5 24 4.5 18 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(dvarint(player_current_floor) != 2);
|
||||
textscale 0.55
|
||||
forecolor 0.9 0.9 1 0.07
|
||||
background "button_highlight_end"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 2 24 79.5 18 2 2
|
||||
style 3
|
||||
decoration
|
||||
borderSize 2
|
||||
visible when(localvarint("ui_highlight") == 2 && localvarstring("ui_choicegroup") == "popmenu");
|
||||
textscale 0.55
|
||||
forecolor 0.9 0.95 1 0.25
|
||||
bordercolor 0.8 0.95 1 0.4
|
||||
background "gradient_fadein"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 81.5 24 4.5 18 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarint("ui_highlight") == 2 && localvarstring("ui_choicegroup") == "popmenu");
|
||||
textscale 0.55
|
||||
forecolor 0.9 0.95 1 0.25
|
||||
background "button_highlight_end"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 2 24 84 18 2 2
|
||||
type 1
|
||||
visible when(dvarint(player_current_floor) != 2);
|
||||
textalign 10
|
||||
textalignx -6
|
||||
textscale 0.4
|
||||
textstyle 6
|
||||
textfont 1
|
||||
forecolor 0.69 0.69 0.69 1
|
||||
onFocus
|
||||
{
|
||||
play MENU_AUDIO_SUBMENU_FOCUS;
|
||||
setLocalVarInt ui_highlight 2;
|
||||
setLocalVarString ui_choicegroup "popmenu";
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarInt ui_highlight 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play MENU_AUDIO_ON_POSITIVE_ACTION;
|
||||
scriptmenuresponse 2;
|
||||
close elevator_floor_selector;
|
||||
}
|
||||
exp text "( 3 )";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 2 24 79.5 18 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(dvarint(player_current_floor) == 2);
|
||||
textscale 0.55
|
||||
forecolor 0.9 0.9 1 0.07
|
||||
exp material "gradient_fadein";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 81.5 24 4.5 18 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(dvarint(player_current_floor) == 2);
|
||||
textscale 0.55
|
||||
forecolor 0.9 0.9 1 0.07
|
||||
background "button_highlight_end"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 2 24 84 18 2 2
|
||||
decoration
|
||||
visible when(dvarint(player_current_floor) == 2);
|
||||
textalign 10
|
||||
textalignx -6
|
||||
textscale 0.4
|
||||
textstyle 6
|
||||
textfont 1
|
||||
forecolor 0.5 0.5 0.5 0.5
|
||||
exp text "( 3 )";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 2 44 79.5 18 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(dvarint(player_current_floor) != 1);
|
||||
textscale 0.55
|
||||
forecolor 0.9 0.9 1 0.07
|
||||
exp material "gradient_fadein";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 81.5 44 4.5 18 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(dvarint(player_current_floor) != 1);
|
||||
textscale 0.55
|
||||
forecolor 0.9 0.9 1 0.07
|
||||
background "button_highlight_end"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 2 44 79.5 18 2 2
|
||||
style 3
|
||||
decoration
|
||||
borderSize 2
|
||||
visible when(localvarint("ui_highlight") == 3 && localvarstring("ui_choicegroup") == "popmenu");
|
||||
textscale 0.55
|
||||
forecolor 0.9 0.95 1 0.25
|
||||
bordercolor 0.8 0.95 1 0.4
|
||||
background "gradient_fadein"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 81.5 44 4.5 18 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarint("ui_highlight") == 3 && localvarstring("ui_choicegroup") == "popmenu");
|
||||
textscale 0.55
|
||||
forecolor 0.9 0.95 1 0.25
|
||||
background "button_highlight_end"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 2 44 84 18 2 2
|
||||
type 1
|
||||
visible when(dvarint(player_current_floor) != 1);
|
||||
textalign 10
|
||||
textalignx -6
|
||||
textscale 0.4
|
||||
textstyle 6
|
||||
textfont 1
|
||||
forecolor 0.69 0.69 0.69 1
|
||||
onFocus
|
||||
{
|
||||
play MENU_AUDIO_SUBMENU_FOCUS;
|
||||
setLocalVarInt ui_highlight 3;
|
||||
setLocalVarString ui_choicegroup "popmenu";
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarInt ui_highlight 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play MENU_AUDIO_ON_POSITIVE_ACTION;
|
||||
scriptmenuresponse 1;
|
||||
close elevator_floor_selector;
|
||||
}
|
||||
exp text "( 2 )";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 2 44 79.5 18 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(dvarint(player_current_floor) == 1);
|
||||
textscale 0.55
|
||||
forecolor 0.9 0.9 1 0.07
|
||||
exp material "gradient_fadein";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 81.5 44 4.5 18 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(dvarint(player_current_floor) == 1);
|
||||
textscale 0.55
|
||||
forecolor 0.9 0.9 1 0.07
|
||||
background "button_highlight_end"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 2 44 84 18 2 2
|
||||
decoration
|
||||
visible when(dvarint(player_current_floor) == 1);
|
||||
textalign 10
|
||||
textalignx -6
|
||||
textscale 0.4
|
||||
textstyle 6
|
||||
textfont 1
|
||||
forecolor 0.5 0.5 0.5 0.5
|
||||
exp text "( 2 )";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 2 64 79.5 18 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(dvarint(player_current_floor) != 0);
|
||||
textscale 0.55
|
||||
forecolor 0.9 0.9 1 0.07
|
||||
exp material "gradient_fadein";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 81.5 64 4.5 18 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(dvarint(player_current_floor) != 0);
|
||||
textscale 0.55
|
||||
forecolor 0.9 0.9 1 0.07
|
||||
background "button_highlight_end"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 2 64 79.5 18 2 2
|
||||
style 3
|
||||
decoration
|
||||
borderSize 2
|
||||
visible when(localvarint("ui_highlight") == 4 && localvarstring("ui_choicegroup") == "popmenu");
|
||||
textscale 0.55
|
||||
forecolor 0.9 0.95 1 0.25
|
||||
bordercolor 0.8 0.95 1 0.4
|
||||
background "gradient_fadein"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 81.5 64 4.5 18 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarint("ui_highlight") == 4 && localvarstring("ui_choicegroup") == "popmenu");
|
||||
textscale 0.55
|
||||
forecolor 0.9 0.95 1 0.25
|
||||
background "button_highlight_end"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 2 64 84 18 2 2
|
||||
type 1
|
||||
visible when(dvarint(player_current_floor) != 0);
|
||||
textalign 10
|
||||
textalignx -6
|
||||
textscale 0.4
|
||||
textstyle 6
|
||||
textfont 1
|
||||
forecolor 0.69 0.69 0.69 1
|
||||
onFocus
|
||||
{
|
||||
play MENU_AUDIO_SUBMENU_FOCUS;
|
||||
setLocalVarInt ui_highlight 4;
|
||||
setLocalVarString ui_choicegroup "popmenu";
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarInt ui_highlight 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play MENU_AUDIO_ON_POSITIVE_ACTION;
|
||||
scriptmenuresponse 0;
|
||||
close elevator_floor_selector;
|
||||
}
|
||||
exp text "( 1 )";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 2 64 79.5 18 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(dvarint(player_current_floor) == 0);
|
||||
textscale 0.55
|
||||
forecolor 0.9 0.9 1 0.07
|
||||
exp material "gradient_fadein";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 81.5 64 4.5 18 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(dvarint(player_current_floor) == 0);
|
||||
textscale 0.55
|
||||
forecolor 0.9 0.9 1 0.07
|
||||
background "button_highlight_end"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 2 64 84 18 2 2
|
||||
decoration
|
||||
visible when(dvarint(player_current_floor) == 0);
|
||||
textalign 10
|
||||
textalignx -6
|
||||
textscale 0.4
|
||||
textstyle 6
|
||||
textfont 1
|
||||
forecolor 0.5 0.5 0.5 0.5
|
||||
exp text "( 1 )";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 2 84 79.5 18 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0.9 0.9 1 0.07
|
||||
exp material "gradient_fadein";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 81.5 84 4.5 18 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0.9 0.9 1 0.07
|
||||
background "button_highlight_end"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 2 84 84 18 2 2
|
||||
decoration
|
||||
visible when(1);
|
||||
textalign 10
|
||||
textalignx -6
|
||||
textscale 0.4
|
||||
textstyle 6
|
||||
textfont 1
|
||||
forecolor 0.5 0.5 0.5 0.5
|
||||
exp text "( B1 )";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 2 104 79.5 18 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0.9 0.9 1 0.07
|
||||
exp material "gradient_fadein";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 81.5 104 4.5 18 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0.9 0.9 1 0.07
|
||||
background "button_highlight_end"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 2 104 79.5 18 2 2
|
||||
style 3
|
||||
decoration
|
||||
borderSize 2
|
||||
visible when(localvarint("ui_highlight") == 6 && localvarstring("ui_choicegroup") == "popmenu");
|
||||
textscale 0.55
|
||||
forecolor 0.9 0.95 1 0.25
|
||||
bordercolor 0.8 0.95 1 0.4
|
||||
background "gradient_fadein"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 81.5 104 4.5 18 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarint("ui_highlight") == 6 && localvarstring("ui_choicegroup") == "popmenu");
|
||||
textscale 0.55
|
||||
forecolor 0.9 0.95 1 0.25
|
||||
background "button_highlight_end"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 2 104 84 18 2 2
|
||||
type 1
|
||||
visible 1
|
||||
textalign 10
|
||||
textalignx -6
|
||||
textscale 0.4
|
||||
textstyle 6
|
||||
textfont 1
|
||||
forecolor 0.69 0.69 0.69 1
|
||||
onFocus
|
||||
{
|
||||
play MENU_AUDIO_SUBMENU_FOCUS;
|
||||
setLocalVarInt ui_highlight 6;
|
||||
setLocalVarString ui_choicegroup "popmenu";
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarInt ui_highlight 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play MENU_AUDIO_ON_POSITIVE_ACTION;
|
||||
scriptmenuresponse none;
|
||||
close elevator_floor_selector;
|
||||
close elevator_floor_selector;
|
||||
}
|
||||
exp text "Cancel";
|
||||
}
|
||||
}
|
||||
}
|
316
zone_raw/patch_mp/ui_mp/endgameupdate.menu
Normal file
316
zone_raw/patch_mp/ui_mp/endgameupdate.menu
Normal file
@ -0,0 +1,316 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "endgameupdate"
|
||||
rect 0 0 640 4 4 0
|
||||
popup
|
||||
onOpen
|
||||
{
|
||||
setLocalVarString ui_challenges_table "mp/allChallengesTable.csv";
|
||||
}
|
||||
onRequestClose
|
||||
{
|
||||
lerp alpha from 1 to 0 over "0.5";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -250 0 500 480 2 4
|
||||
style 3
|
||||
decoration
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 1
|
||||
background "line_horizontal_scorebar"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@RANK_PROMOTED"
|
||||
rect 0 0 0 0 2 1
|
||||
decoration
|
||||
visible when(dvarbool(ui_promotion));
|
||||
textalign 5
|
||||
textscale 0.48611
|
||||
textfont 6
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 20 0 0 2 1
|
||||
decoration
|
||||
visible when(dvarbool(ui_promotion));
|
||||
textalign 5
|
||||
textscale 0.48611
|
||||
textfont 6
|
||||
glowcolor 0.25 0.75 0.25 1
|
||||
exp text "@" + tablelookup("mp/ranktable.csv", 0, levelforexperiencemp(getplayerdata("experience")), 5);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -24 50 48 48 2 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(dvarbool(ui_promotion));
|
||||
textscale 0.55
|
||||
exp material tablelookup("mp/rankIconTable.csv", 0, levelforexperiencemp(getplayerdata("experience")), getplayerdata("prestige") + 1);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MP_CHALLENGE_COMPLETED"
|
||||
rect 0 130 0 0 2 1
|
||||
decoration
|
||||
visible when(dvarstring(ui_challenge_1_ref) != "" && dvarstring(ui_challenge_2_ref) == "");
|
||||
textalign 5
|
||||
textscale 0.48611
|
||||
textfont 6
|
||||
exp rect y dvarbool(ui_promotion) * 120;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MP_CHALLENGES_COMPLETED"
|
||||
rect 0 130 0 0 2 1
|
||||
decoration
|
||||
visible when(dvarstring(ui_challenge_1_ref) != "" && dvarstring(ui_challenge_2_ref) != "");
|
||||
textalign 5
|
||||
textscale 0.48611
|
||||
textfont 6
|
||||
exp rect y dvarbool(ui_promotion) * 120;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 0 2 1
|
||||
decoration
|
||||
visible when(dvarstring(ui_challenge_1_ref) != "" && 1);
|
||||
textalign 5
|
||||
textscale 0.48611
|
||||
textfont 6
|
||||
glowcolor 0.25 0.75 0.25 1
|
||||
exp text select((tablelookup("mp/dailyChallengesTable.csv", 0, dvarstring(ui_challenge_1_ref), 0) == dvarstring(ui_challenge_1_ref)), "@CHALLENGE_DAILY_CHALLENGE", select((tablelookup("mp/weeklyChallengesTable.csv", 0, dvarstring(ui_challenge_1_ref), 0) == dvarstring(ui_challenge_1_ref)), "@CHALLENGE_WEEKLY_CHALLENGE", locstring("@" + tablelookup("mp/allChallengesTable.csv", 0, dvarstring(ui_challenge_1_ref), 1)) + locstring("@" + tablelookup("mp/allChallengesTable.csv", 0, dvarstring(ui_challenge_1_ref), 3) + "_" + (int(max(getplayerdata("challengeState", dvarstring(ui_challenge_1_ref)), 1)) - 1))));
|
||||
exp rect y (50) + dvarbool(ui_promotion) * 100;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 0 2 1
|
||||
decoration
|
||||
visible when(dvarstring(ui_challenge_1_ref) != "" && select((tablelookup("mp/dailyChallengesTable.csv", 0, dvarstring(ui_challenge_1_ref), 0) == dvarstring(ui_challenge_1_ref)), "@" + tablelookup("mp/dailyChallengesTable.csv", 0, dvarstring(ui_challenge_1_ref), 3), select((tablelookup("mp/weeklyChallengesTable.csv", 0, dvarstring(ui_challenge_1_ref), 0) == dvarstring(ui_challenge_1_ref)), "@" + tablelookup("mp/weeklyChallengesTable.csv", 0, dvarstring(ui_challenge_1_ref), 3), "@" + tablelookup("mp/allChallengesTable.csv", 0, dvarstring(ui_challenge_1_ref), 3))) != "@CHALLENGE_BLANK" && 1);
|
||||
textalign 5
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
exp text locstring(select((tablelookup("mp/dailyChallengesTable.csv", 0, dvarstring(ui_challenge_1_ref), 0) == dvarstring(ui_challenge_1_ref)), "@" + tablelookup("mp/dailyChallengesTable.csv", 0, dvarstring(ui_challenge_1_ref), 2), select((tablelookup("mp/weeklyChallengesTable.csv", 0, dvarstring(ui_challenge_1_ref), 0) == dvarstring(ui_challenge_1_ref)), "@" + tablelookup("mp/weeklyChallengesTable.csv", 0, dvarstring(ui_challenge_1_ref), 2), "@" + tablelookup("mp/allChallengesTable.csv", 0, dvarstring(ui_challenge_1_ref), 2))), select((tablelookup("mp/dailyChallengesTable.csv", 0, dvarstring(ui_challenge_1_ref), 0) == dvarstring(ui_challenge_1_ref)), int(tablelookup("mp/dailyChallengesTable.csv", 0, dvarstring(ui_challenge_1_ref), 6)), select((tablelookup("mp/weeklyChallengesTable.csv", 0, dvarstring(ui_challenge_1_ref), 0) == dvarstring(ui_challenge_1_ref)), int(tablelookup("mp/weeklyChallengesTable.csv", 0, dvarstring(ui_challenge_1_ref), 6)), (int(getchallengedata(dvarstring(ui_challenge_1_ref), "target", select(((tablelookup("mp/dailyChallengesTable.csv", 0, dvarstring(ui_challenge_1_ref), 0) == dvarstring(ui_challenge_1_ref)) || (tablelookup("mp/weeklyChallengesTable.csv", 0, dvarstring(ui_challenge_1_ref), 0) == dvarstring(ui_challenge_1_ref))), 0, int(max(getplayerdata("challengeState", dvarstring(ui_challenge_1_ref)), 1)) - 1)))))));
|
||||
exp rect y (50) + 20 + dvarbool(ui_promotion) * 100;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 0 2 1
|
||||
decoration
|
||||
visible when(dvarstring(ui_challenge_1_ref) != "" && select((tablelookup("mp/dailyChallengesTable.csv", 0, dvarstring(ui_challenge_1_ref), 0) == dvarstring(ui_challenge_1_ref)), "@" + tablelookup("mp/dailyChallengesTable.csv", 0, dvarstring(ui_challenge_1_ref), 3), select((tablelookup("mp/weeklyChallengesTable.csv", 0, dvarstring(ui_challenge_1_ref), 0) == dvarstring(ui_challenge_1_ref)), "@" + tablelookup("mp/weeklyChallengesTable.csv", 0, dvarstring(ui_challenge_1_ref), 3), "@" + tablelookup("mp/allChallengesTable.csv", 0, dvarstring(ui_challenge_1_ref), 3))) == "@CHALLENGE_BLANK" && 1);
|
||||
textalign 5
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
exp text select((tablelookup("mp/dailyChallengesTable.csv", 0, dvarstring(ui_challenge_1_ref), 0) == dvarstring(ui_challenge_1_ref)), "@" + tablelookup("mp/dailyChallengesTable.csv", 0, dvarstring(ui_challenge_1_ref), 2), select((tablelookup("mp/weeklyChallengesTable.csv", 0, dvarstring(ui_challenge_1_ref), 0) == dvarstring(ui_challenge_1_ref)), "@" + tablelookup("mp/weeklyChallengesTable.csv", 0, dvarstring(ui_challenge_1_ref), 2), "@" + tablelookup("mp/allChallengesTable.csv", 0, dvarstring(ui_challenge_1_ref), 2)));
|
||||
exp rect y (50) + 20 + dvarbool(ui_promotion) * 100;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 0 2 1
|
||||
decoration
|
||||
visible when(dvarstring(ui_challenge_2_ref) != "" && 1);
|
||||
textalign 5
|
||||
textscale 0.48611
|
||||
textfont 6
|
||||
glowcolor 0.25 0.75 0.25 1
|
||||
exp text select((tablelookup("mp/dailyChallengesTable.csv", 0, dvarstring(ui_challenge_2_ref), 0) == dvarstring(ui_challenge_2_ref)), "@CHALLENGE_DAILY_CHALLENGE", select((tablelookup("mp/weeklyChallengesTable.csv", 0, dvarstring(ui_challenge_2_ref), 0) == dvarstring(ui_challenge_2_ref)), "@CHALLENGE_WEEKLY_CHALLENGE", locstring("@" + tablelookup("mp/allChallengesTable.csv", 0, dvarstring(ui_challenge_2_ref), 1)) + locstring("@" + tablelookup("mp/allChallengesTable.csv", 0, dvarstring(ui_challenge_2_ref), 3) + "_" + (int(max(getplayerdata("challengeState", dvarstring(ui_challenge_2_ref)), 1)) - 1))));
|
||||
exp rect y (100) + dvarbool(ui_promotion) * 100;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 0 2 1
|
||||
decoration
|
||||
visible when(dvarstring(ui_challenge_2_ref) != "" && select((tablelookup("mp/dailyChallengesTable.csv", 0, dvarstring(ui_challenge_2_ref), 0) == dvarstring(ui_challenge_2_ref)), "@" + tablelookup("mp/dailyChallengesTable.csv", 0, dvarstring(ui_challenge_2_ref), 3), select((tablelookup("mp/weeklyChallengesTable.csv", 0, dvarstring(ui_challenge_2_ref), 0) == dvarstring(ui_challenge_2_ref)), "@" + tablelookup("mp/weeklyChallengesTable.csv", 0, dvarstring(ui_challenge_2_ref), 3), "@" + tablelookup("mp/allChallengesTable.csv", 0, dvarstring(ui_challenge_2_ref), 3))) != "@CHALLENGE_BLANK" && 1);
|
||||
textalign 5
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
exp text locstring(select((tablelookup("mp/dailyChallengesTable.csv", 0, dvarstring(ui_challenge_2_ref), 0) == dvarstring(ui_challenge_2_ref)), "@" + tablelookup("mp/dailyChallengesTable.csv", 0, dvarstring(ui_challenge_2_ref), 2), select((tablelookup("mp/weeklyChallengesTable.csv", 0, dvarstring(ui_challenge_2_ref), 0) == dvarstring(ui_challenge_2_ref)), "@" + tablelookup("mp/weeklyChallengesTable.csv", 0, dvarstring(ui_challenge_2_ref), 2), "@" + tablelookup("mp/allChallengesTable.csv", 0, dvarstring(ui_challenge_2_ref), 2))), select((tablelookup("mp/dailyChallengesTable.csv", 0, dvarstring(ui_challenge_2_ref), 0) == dvarstring(ui_challenge_2_ref)), int(tablelookup("mp/dailyChallengesTable.csv", 0, dvarstring(ui_challenge_2_ref), 6)), select((tablelookup("mp/weeklyChallengesTable.csv", 0, dvarstring(ui_challenge_2_ref), 0) == dvarstring(ui_challenge_2_ref)), int(tablelookup("mp/weeklyChallengesTable.csv", 0, dvarstring(ui_challenge_2_ref), 6)), (int(getchallengedata(dvarstring(ui_challenge_2_ref), "target", select(((tablelookup("mp/dailyChallengesTable.csv", 0, dvarstring(ui_challenge_2_ref), 0) == dvarstring(ui_challenge_2_ref)) || (tablelookup("mp/weeklyChallengesTable.csv", 0, dvarstring(ui_challenge_2_ref), 0) == dvarstring(ui_challenge_2_ref))), 0, int(max(getplayerdata("challengeState", dvarstring(ui_challenge_2_ref)), 1)) - 1)))))));
|
||||
exp rect y (100) + 20 + dvarbool(ui_promotion) * 100;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 0 2 1
|
||||
decoration
|
||||
visible when(dvarstring(ui_challenge_2_ref) != "" && select((tablelookup("mp/dailyChallengesTable.csv", 0, dvarstring(ui_challenge_2_ref), 0) == dvarstring(ui_challenge_2_ref)), "@" + tablelookup("mp/dailyChallengesTable.csv", 0, dvarstring(ui_challenge_2_ref), 3), select((tablelookup("mp/weeklyChallengesTable.csv", 0, dvarstring(ui_challenge_2_ref), 0) == dvarstring(ui_challenge_2_ref)), "@" + tablelookup("mp/weeklyChallengesTable.csv", 0, dvarstring(ui_challenge_2_ref), 3), "@" + tablelookup("mp/allChallengesTable.csv", 0, dvarstring(ui_challenge_2_ref), 3))) == "@CHALLENGE_BLANK" && 1);
|
||||
textalign 5
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
exp text select((tablelookup("mp/dailyChallengesTable.csv", 0, dvarstring(ui_challenge_2_ref), 0) == dvarstring(ui_challenge_2_ref)), "@" + tablelookup("mp/dailyChallengesTable.csv", 0, dvarstring(ui_challenge_2_ref), 2), select((tablelookup("mp/weeklyChallengesTable.csv", 0, dvarstring(ui_challenge_2_ref), 0) == dvarstring(ui_challenge_2_ref)), "@" + tablelookup("mp/weeklyChallengesTable.csv", 0, dvarstring(ui_challenge_2_ref), 2), "@" + tablelookup("mp/allChallengesTable.csv", 0, dvarstring(ui_challenge_2_ref), 2)));
|
||||
exp rect y (100) + 20 + dvarbool(ui_promotion) * 100;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 0 2 1
|
||||
decoration
|
||||
visible when(dvarstring(ui_challenge_3_ref) != "" && 1);
|
||||
textalign 5
|
||||
textscale 0.48611
|
||||
textfont 6
|
||||
glowcolor 0.25 0.75 0.25 1
|
||||
exp text select((tablelookup("mp/dailyChallengesTable.csv", 0, dvarstring(ui_challenge_3_ref), 0) == dvarstring(ui_challenge_3_ref)), "@CHALLENGE_DAILY_CHALLENGE", select((tablelookup("mp/weeklyChallengesTable.csv", 0, dvarstring(ui_challenge_3_ref), 0) == dvarstring(ui_challenge_3_ref)), "@CHALLENGE_WEEKLY_CHALLENGE", locstring("@" + tablelookup("mp/allChallengesTable.csv", 0, dvarstring(ui_challenge_3_ref), 1)) + locstring("@" + tablelookup("mp/allChallengesTable.csv", 0, dvarstring(ui_challenge_3_ref), 3) + "_" + (int(max(getplayerdata("challengeState", dvarstring(ui_challenge_3_ref)), 1)) - 1))));
|
||||
exp rect y (150) + dvarbool(ui_promotion) * 100;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 0 2 1
|
||||
decoration
|
||||
visible when(dvarstring(ui_challenge_3_ref) != "" && select((tablelookup("mp/dailyChallengesTable.csv", 0, dvarstring(ui_challenge_3_ref), 0) == dvarstring(ui_challenge_3_ref)), "@" + tablelookup("mp/dailyChallengesTable.csv", 0, dvarstring(ui_challenge_3_ref), 3), select((tablelookup("mp/weeklyChallengesTable.csv", 0, dvarstring(ui_challenge_3_ref), 0) == dvarstring(ui_challenge_3_ref)), "@" + tablelookup("mp/weeklyChallengesTable.csv", 0, dvarstring(ui_challenge_3_ref), 3), "@" + tablelookup("mp/allChallengesTable.csv", 0, dvarstring(ui_challenge_3_ref), 3))) != "@CHALLENGE_BLANK" && 1);
|
||||
textalign 5
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
exp text locstring(select((tablelookup("mp/dailyChallengesTable.csv", 0, dvarstring(ui_challenge_3_ref), 0) == dvarstring(ui_challenge_3_ref)), "@" + tablelookup("mp/dailyChallengesTable.csv", 0, dvarstring(ui_challenge_3_ref), 2), select((tablelookup("mp/weeklyChallengesTable.csv", 0, dvarstring(ui_challenge_3_ref), 0) == dvarstring(ui_challenge_3_ref)), "@" + tablelookup("mp/weeklyChallengesTable.csv", 0, dvarstring(ui_challenge_3_ref), 2), "@" + tablelookup("mp/allChallengesTable.csv", 0, dvarstring(ui_challenge_3_ref), 2))), select((tablelookup("mp/dailyChallengesTable.csv", 0, dvarstring(ui_challenge_3_ref), 0) == dvarstring(ui_challenge_3_ref)), int(tablelookup("mp/dailyChallengesTable.csv", 0, dvarstring(ui_challenge_3_ref), 6)), select((tablelookup("mp/weeklyChallengesTable.csv", 0, dvarstring(ui_challenge_3_ref), 0) == dvarstring(ui_challenge_3_ref)), int(tablelookup("mp/weeklyChallengesTable.csv", 0, dvarstring(ui_challenge_3_ref), 6)), (int(getchallengedata(dvarstring(ui_challenge_3_ref), "target", select(((tablelookup("mp/dailyChallengesTable.csv", 0, dvarstring(ui_challenge_3_ref), 0) == dvarstring(ui_challenge_3_ref)) || (tablelookup("mp/weeklyChallengesTable.csv", 0, dvarstring(ui_challenge_3_ref), 0) == dvarstring(ui_challenge_3_ref))), 0, int(max(getplayerdata("challengeState", dvarstring(ui_challenge_3_ref)), 1)) - 1)))))));
|
||||
exp rect y (150) + 20 + dvarbool(ui_promotion) * 100;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 0 2 1
|
||||
decoration
|
||||
visible when(dvarstring(ui_challenge_3_ref) != "" && select((tablelookup("mp/dailyChallengesTable.csv", 0, dvarstring(ui_challenge_3_ref), 0) == dvarstring(ui_challenge_3_ref)), "@" + tablelookup("mp/dailyChallengesTable.csv", 0, dvarstring(ui_challenge_3_ref), 3), select((tablelookup("mp/weeklyChallengesTable.csv", 0, dvarstring(ui_challenge_3_ref), 0) == dvarstring(ui_challenge_3_ref)), "@" + tablelookup("mp/weeklyChallengesTable.csv", 0, dvarstring(ui_challenge_3_ref), 3), "@" + tablelookup("mp/allChallengesTable.csv", 0, dvarstring(ui_challenge_3_ref), 3))) == "@CHALLENGE_BLANK" && 1);
|
||||
textalign 5
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
exp text select((tablelookup("mp/dailyChallengesTable.csv", 0, dvarstring(ui_challenge_3_ref), 0) == dvarstring(ui_challenge_3_ref)), "@" + tablelookup("mp/dailyChallengesTable.csv", 0, dvarstring(ui_challenge_3_ref), 2), select((tablelookup("mp/weeklyChallengesTable.csv", 0, dvarstring(ui_challenge_3_ref), 0) == dvarstring(ui_challenge_3_ref)), "@" + tablelookup("mp/weeklyChallengesTable.csv", 0, dvarstring(ui_challenge_3_ref), 2), "@" + tablelookup("mp/allChallengesTable.csv", 0, dvarstring(ui_challenge_3_ref), 2)));
|
||||
exp rect y (150) + 20 + dvarbool(ui_promotion) * 100;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 0 2 1
|
||||
decoration
|
||||
visible when(dvarstring(ui_challenge_4_ref) != "" && 1);
|
||||
textalign 5
|
||||
textscale 0.48611
|
||||
textfont 6
|
||||
glowcolor 0.25 0.75 0.25 1
|
||||
exp text select((tablelookup("mp/dailyChallengesTable.csv", 0, dvarstring(ui_challenge_4_ref), 0) == dvarstring(ui_challenge_4_ref)), "@CHALLENGE_DAILY_CHALLENGE", select((tablelookup("mp/weeklyChallengesTable.csv", 0, dvarstring(ui_challenge_4_ref), 0) == dvarstring(ui_challenge_4_ref)), "@CHALLENGE_WEEKLY_CHALLENGE", locstring("@" + tablelookup("mp/allChallengesTable.csv", 0, dvarstring(ui_challenge_4_ref), 1)) + locstring("@" + tablelookup("mp/allChallengesTable.csv", 0, dvarstring(ui_challenge_4_ref), 3) + "_" + (int(max(getplayerdata("challengeState", dvarstring(ui_challenge_4_ref)), 1)) - 1))));
|
||||
exp rect y (200) + dvarbool(ui_promotion) * 100;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 0 2 1
|
||||
decoration
|
||||
visible when(dvarstring(ui_challenge_4_ref) != "" && select((tablelookup("mp/dailyChallengesTable.csv", 0, dvarstring(ui_challenge_4_ref), 0) == dvarstring(ui_challenge_4_ref)), "@" + tablelookup("mp/dailyChallengesTable.csv", 0, dvarstring(ui_challenge_4_ref), 3), select((tablelookup("mp/weeklyChallengesTable.csv", 0, dvarstring(ui_challenge_4_ref), 0) == dvarstring(ui_challenge_4_ref)), "@" + tablelookup("mp/weeklyChallengesTable.csv", 0, dvarstring(ui_challenge_4_ref), 3), "@" + tablelookup("mp/allChallengesTable.csv", 0, dvarstring(ui_challenge_4_ref), 3))) != "@CHALLENGE_BLANK" && 1);
|
||||
textalign 5
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
exp text locstring(select((tablelookup("mp/dailyChallengesTable.csv", 0, dvarstring(ui_challenge_4_ref), 0) == dvarstring(ui_challenge_4_ref)), "@" + tablelookup("mp/dailyChallengesTable.csv", 0, dvarstring(ui_challenge_4_ref), 2), select((tablelookup("mp/weeklyChallengesTable.csv", 0, dvarstring(ui_challenge_4_ref), 0) == dvarstring(ui_challenge_4_ref)), "@" + tablelookup("mp/weeklyChallengesTable.csv", 0, dvarstring(ui_challenge_4_ref), 2), "@" + tablelookup("mp/allChallengesTable.csv", 0, dvarstring(ui_challenge_4_ref), 2))), select((tablelookup("mp/dailyChallengesTable.csv", 0, dvarstring(ui_challenge_4_ref), 0) == dvarstring(ui_challenge_4_ref)), int(tablelookup("mp/dailyChallengesTable.csv", 0, dvarstring(ui_challenge_4_ref), 6)), select((tablelookup("mp/weeklyChallengesTable.csv", 0, dvarstring(ui_challenge_4_ref), 0) == dvarstring(ui_challenge_4_ref)), int(tablelookup("mp/weeklyChallengesTable.csv", 0, dvarstring(ui_challenge_4_ref), 6)), (int(getchallengedata(dvarstring(ui_challenge_4_ref), "target", select(((tablelookup("mp/dailyChallengesTable.csv", 0, dvarstring(ui_challenge_4_ref), 0) == dvarstring(ui_challenge_4_ref)) || (tablelookup("mp/weeklyChallengesTable.csv", 0, dvarstring(ui_challenge_4_ref), 0) == dvarstring(ui_challenge_4_ref))), 0, int(max(getplayerdata("challengeState", dvarstring(ui_challenge_4_ref)), 1)) - 1)))))));
|
||||
exp rect y (200) + 20 + dvarbool(ui_promotion) * 100;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 0 2 1
|
||||
decoration
|
||||
visible when(dvarstring(ui_challenge_4_ref) != "" && select((tablelookup("mp/dailyChallengesTable.csv", 0, dvarstring(ui_challenge_4_ref), 0) == dvarstring(ui_challenge_4_ref)), "@" + tablelookup("mp/dailyChallengesTable.csv", 0, dvarstring(ui_challenge_4_ref), 3), select((tablelookup("mp/weeklyChallengesTable.csv", 0, dvarstring(ui_challenge_4_ref), 0) == dvarstring(ui_challenge_4_ref)), "@" + tablelookup("mp/weeklyChallengesTable.csv", 0, dvarstring(ui_challenge_4_ref), 3), "@" + tablelookup("mp/allChallengesTable.csv", 0, dvarstring(ui_challenge_4_ref), 3))) == "@CHALLENGE_BLANK" && 1);
|
||||
textalign 5
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
exp text select((tablelookup("mp/dailyChallengesTable.csv", 0, dvarstring(ui_challenge_4_ref), 0) == dvarstring(ui_challenge_4_ref)), "@" + tablelookup("mp/dailyChallengesTable.csv", 0, dvarstring(ui_challenge_4_ref), 2), select((tablelookup("mp/weeklyChallengesTable.csv", 0, dvarstring(ui_challenge_4_ref), 0) == dvarstring(ui_challenge_4_ref)), "@" + tablelookup("mp/weeklyChallengesTable.csv", 0, dvarstring(ui_challenge_4_ref), 2), "@" + tablelookup("mp/allChallengesTable.csv", 0, dvarstring(ui_challenge_4_ref), 2)));
|
||||
exp rect y (200) + 20 + dvarbool(ui_promotion) * 100;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 0 2 1
|
||||
decoration
|
||||
visible when(dvarstring(ui_challenge_5_ref) != "" && 1);
|
||||
textalign 5
|
||||
textscale 0.48611
|
||||
textfont 6
|
||||
glowcolor 0.25 0.75 0.25 1
|
||||
exp text select((tablelookup("mp/dailyChallengesTable.csv", 0, dvarstring(ui_challenge_5_ref), 0) == dvarstring(ui_challenge_5_ref)), "@CHALLENGE_DAILY_CHALLENGE", select((tablelookup("mp/weeklyChallengesTable.csv", 0, dvarstring(ui_challenge_5_ref), 0) == dvarstring(ui_challenge_5_ref)), "@CHALLENGE_WEEKLY_CHALLENGE", locstring("@" + tablelookup("mp/allChallengesTable.csv", 0, dvarstring(ui_challenge_5_ref), 1)) + locstring("@" + tablelookup("mp/allChallengesTable.csv", 0, dvarstring(ui_challenge_5_ref), 3) + "_" + (int(max(getplayerdata("challengeState", dvarstring(ui_challenge_5_ref)), 1)) - 1))));
|
||||
exp rect y (250) + dvarbool(ui_promotion) * 100;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 0 2 1
|
||||
decoration
|
||||
visible when(dvarstring(ui_challenge_5_ref) != "" && select((tablelookup("mp/dailyChallengesTable.csv", 0, dvarstring(ui_challenge_5_ref), 0) == dvarstring(ui_challenge_5_ref)), "@" + tablelookup("mp/dailyChallengesTable.csv", 0, dvarstring(ui_challenge_5_ref), 3), select((tablelookup("mp/weeklyChallengesTable.csv", 0, dvarstring(ui_challenge_5_ref), 0) == dvarstring(ui_challenge_5_ref)), "@" + tablelookup("mp/weeklyChallengesTable.csv", 0, dvarstring(ui_challenge_5_ref), 3), "@" + tablelookup("mp/allChallengesTable.csv", 0, dvarstring(ui_challenge_5_ref), 3))) != "@CHALLENGE_BLANK" && 1);
|
||||
textalign 5
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
exp text locstring(select((tablelookup("mp/dailyChallengesTable.csv", 0, dvarstring(ui_challenge_5_ref), 0) == dvarstring(ui_challenge_5_ref)), "@" + tablelookup("mp/dailyChallengesTable.csv", 0, dvarstring(ui_challenge_5_ref), 2), select((tablelookup("mp/weeklyChallengesTable.csv", 0, dvarstring(ui_challenge_5_ref), 0) == dvarstring(ui_challenge_5_ref)), "@" + tablelookup("mp/weeklyChallengesTable.csv", 0, dvarstring(ui_challenge_5_ref), 2), "@" + tablelookup("mp/allChallengesTable.csv", 0, dvarstring(ui_challenge_5_ref), 2))), select((tablelookup("mp/dailyChallengesTable.csv", 0, dvarstring(ui_challenge_5_ref), 0) == dvarstring(ui_challenge_5_ref)), int(tablelookup("mp/dailyChallengesTable.csv", 0, dvarstring(ui_challenge_5_ref), 6)), select((tablelookup("mp/weeklyChallengesTable.csv", 0, dvarstring(ui_challenge_5_ref), 0) == dvarstring(ui_challenge_5_ref)), int(tablelookup("mp/weeklyChallengesTable.csv", 0, dvarstring(ui_challenge_5_ref), 6)), (int(getchallengedata(dvarstring(ui_challenge_5_ref), "target", select(((tablelookup("mp/dailyChallengesTable.csv", 0, dvarstring(ui_challenge_5_ref), 0) == dvarstring(ui_challenge_5_ref)) || (tablelookup("mp/weeklyChallengesTable.csv", 0, dvarstring(ui_challenge_5_ref), 0) == dvarstring(ui_challenge_5_ref))), 0, int(max(getplayerdata("challengeState", dvarstring(ui_challenge_5_ref)), 1)) - 1)))))));
|
||||
exp rect y (250) + 20 + dvarbool(ui_promotion) * 100;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 0 2 1
|
||||
decoration
|
||||
visible when(dvarstring(ui_challenge_5_ref) != "" && select((tablelookup("mp/dailyChallengesTable.csv", 0, dvarstring(ui_challenge_5_ref), 0) == dvarstring(ui_challenge_5_ref)), "@" + tablelookup("mp/dailyChallengesTable.csv", 0, dvarstring(ui_challenge_5_ref), 3), select((tablelookup("mp/weeklyChallengesTable.csv", 0, dvarstring(ui_challenge_5_ref), 0) == dvarstring(ui_challenge_5_ref)), "@" + tablelookup("mp/weeklyChallengesTable.csv", 0, dvarstring(ui_challenge_5_ref), 3), "@" + tablelookup("mp/allChallengesTable.csv", 0, dvarstring(ui_challenge_5_ref), 3))) == "@CHALLENGE_BLANK" && 1);
|
||||
textalign 5
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
exp text select((tablelookup("mp/dailyChallengesTable.csv", 0, dvarstring(ui_challenge_5_ref), 0) == dvarstring(ui_challenge_5_ref)), "@" + tablelookup("mp/dailyChallengesTable.csv", 0, dvarstring(ui_challenge_5_ref), 2), select((tablelookup("mp/weeklyChallengesTable.csv", 0, dvarstring(ui_challenge_5_ref), 0) == dvarstring(ui_challenge_5_ref)), "@" + tablelookup("mp/weeklyChallengesTable.csv", 0, dvarstring(ui_challenge_5_ref), 2), "@" + tablelookup("mp/allChallengesTable.csv", 0, dvarstring(ui_challenge_5_ref), 2)));
|
||||
exp rect y (250) + 20 + dvarbool(ui_promotion) * 100;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 0 2 1
|
||||
decoration
|
||||
visible when(dvarstring(ui_challenge_6_ref) != "" && !dvarbool(ui_promotion));
|
||||
textalign 5
|
||||
textscale 0.48611
|
||||
textfont 6
|
||||
glowcolor 0.25 0.75 0.25 1
|
||||
exp text select((tablelookup("mp/dailyChallengesTable.csv", 0, dvarstring(ui_challenge_6_ref), 0) == dvarstring(ui_challenge_6_ref)), "@CHALLENGE_DAILY_CHALLENGE", select((tablelookup("mp/weeklyChallengesTable.csv", 0, dvarstring(ui_challenge_6_ref), 0) == dvarstring(ui_challenge_6_ref)), "@CHALLENGE_WEEKLY_CHALLENGE", locstring("@" + tablelookup("mp/allChallengesTable.csv", 0, dvarstring(ui_challenge_6_ref), 1)) + locstring("@" + tablelookup("mp/allChallengesTable.csv", 0, dvarstring(ui_challenge_6_ref), 3) + "_" + (int(max(getplayerdata("challengeState", dvarstring(ui_challenge_6_ref)), 1)) - 1))));
|
||||
exp rect y (300) + dvarbool(ui_promotion) * 100;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 0 2 1
|
||||
decoration
|
||||
visible when(dvarstring(ui_challenge_6_ref) != "" && select((tablelookup("mp/dailyChallengesTable.csv", 0, dvarstring(ui_challenge_6_ref), 0) == dvarstring(ui_challenge_6_ref)), "@" + tablelookup("mp/dailyChallengesTable.csv", 0, dvarstring(ui_challenge_6_ref), 3), select((tablelookup("mp/weeklyChallengesTable.csv", 0, dvarstring(ui_challenge_6_ref), 0) == dvarstring(ui_challenge_6_ref)), "@" + tablelookup("mp/weeklyChallengesTable.csv", 0, dvarstring(ui_challenge_6_ref), 3), "@" + tablelookup("mp/allChallengesTable.csv", 0, dvarstring(ui_challenge_6_ref), 3))) != "@CHALLENGE_BLANK" && !dvarbool(ui_promotion));
|
||||
textalign 5
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
exp text locstring(select((tablelookup("mp/dailyChallengesTable.csv", 0, dvarstring(ui_challenge_6_ref), 0) == dvarstring(ui_challenge_6_ref)), "@" + tablelookup("mp/dailyChallengesTable.csv", 0, dvarstring(ui_challenge_6_ref), 2), select((tablelookup("mp/weeklyChallengesTable.csv", 0, dvarstring(ui_challenge_6_ref), 0) == dvarstring(ui_challenge_6_ref)), "@" + tablelookup("mp/weeklyChallengesTable.csv", 0, dvarstring(ui_challenge_6_ref), 2), "@" + tablelookup("mp/allChallengesTable.csv", 0, dvarstring(ui_challenge_6_ref), 2))), select((tablelookup("mp/dailyChallengesTable.csv", 0, dvarstring(ui_challenge_6_ref), 0) == dvarstring(ui_challenge_6_ref)), int(tablelookup("mp/dailyChallengesTable.csv", 0, dvarstring(ui_challenge_6_ref), 6)), select((tablelookup("mp/weeklyChallengesTable.csv", 0, dvarstring(ui_challenge_6_ref), 0) == dvarstring(ui_challenge_6_ref)), int(tablelookup("mp/weeklyChallengesTable.csv", 0, dvarstring(ui_challenge_6_ref), 6)), (int(getchallengedata(dvarstring(ui_challenge_6_ref), "target", select(((tablelookup("mp/dailyChallengesTable.csv", 0, dvarstring(ui_challenge_6_ref), 0) == dvarstring(ui_challenge_6_ref)) || (tablelookup("mp/weeklyChallengesTable.csv", 0, dvarstring(ui_challenge_6_ref), 0) == dvarstring(ui_challenge_6_ref))), 0, int(max(getplayerdata("challengeState", dvarstring(ui_challenge_6_ref)), 1)) - 1)))))));
|
||||
exp rect y (300) + 20 + dvarbool(ui_promotion) * 100;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 0 2 1
|
||||
decoration
|
||||
visible when(dvarstring(ui_challenge_6_ref) != "" && select((tablelookup("mp/dailyChallengesTable.csv", 0, dvarstring(ui_challenge_6_ref), 0) == dvarstring(ui_challenge_6_ref)), "@" + tablelookup("mp/dailyChallengesTable.csv", 0, dvarstring(ui_challenge_6_ref), 3), select((tablelookup("mp/weeklyChallengesTable.csv", 0, dvarstring(ui_challenge_6_ref), 0) == dvarstring(ui_challenge_6_ref)), "@" + tablelookup("mp/weeklyChallengesTable.csv", 0, dvarstring(ui_challenge_6_ref), 3), "@" + tablelookup("mp/allChallengesTable.csv", 0, dvarstring(ui_challenge_6_ref), 3))) == "@CHALLENGE_BLANK" && !dvarbool(ui_promotion));
|
||||
textalign 5
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
exp text select((tablelookup("mp/dailyChallengesTable.csv", 0, dvarstring(ui_challenge_6_ref), 0) == dvarstring(ui_challenge_6_ref)), "@" + tablelookup("mp/dailyChallengesTable.csv", 0, dvarstring(ui_challenge_6_ref), 2), select((tablelookup("mp/weeklyChallengesTable.csv", 0, dvarstring(ui_challenge_6_ref), 0) == dvarstring(ui_challenge_6_ref)), "@" + tablelookup("mp/weeklyChallengesTable.csv", 0, dvarstring(ui_challenge_6_ref), 2), "@" + tablelookup("mp/allChallengesTable.csv", 0, dvarstring(ui_challenge_6_ref), 2)));
|
||||
exp rect y (300) + 20 + dvarbool(ui_promotion) * 100;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 0 2 1
|
||||
decoration
|
||||
visible when(dvarstring(ui_challenge_7_ref) != "" && !dvarbool(ui_promotion));
|
||||
textalign 5
|
||||
textscale 0.48611
|
||||
textfont 6
|
||||
glowcolor 0.25 0.75 0.25 1
|
||||
exp text select((tablelookup("mp/dailyChallengesTable.csv", 0, dvarstring(ui_challenge_7_ref), 0) == dvarstring(ui_challenge_7_ref)), "@CHALLENGE_DAILY_CHALLENGE", select((tablelookup("mp/weeklyChallengesTable.csv", 0, dvarstring(ui_challenge_7_ref), 0) == dvarstring(ui_challenge_7_ref)), "@CHALLENGE_WEEKLY_CHALLENGE", locstring("@" + tablelookup("mp/allChallengesTable.csv", 0, dvarstring(ui_challenge_7_ref), 1)) + locstring("@" + tablelookup("mp/allChallengesTable.csv", 0, dvarstring(ui_challenge_7_ref), 3) + "_" + (int(max(getplayerdata("challengeState", dvarstring(ui_challenge_7_ref)), 1)) - 1))));
|
||||
exp rect y (350) + dvarbool(ui_promotion) * 100;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 0 2 1
|
||||
decoration
|
||||
visible when(dvarstring(ui_challenge_7_ref) != "" && select((tablelookup("mp/dailyChallengesTable.csv", 0, dvarstring(ui_challenge_7_ref), 0) == dvarstring(ui_challenge_7_ref)), "@" + tablelookup("mp/dailyChallengesTable.csv", 0, dvarstring(ui_challenge_7_ref), 3), select((tablelookup("mp/weeklyChallengesTable.csv", 0, dvarstring(ui_challenge_7_ref), 0) == dvarstring(ui_challenge_7_ref)), "@" + tablelookup("mp/weeklyChallengesTable.csv", 0, dvarstring(ui_challenge_7_ref), 3), "@" + tablelookup("mp/allChallengesTable.csv", 0, dvarstring(ui_challenge_7_ref), 3))) != "@CHALLENGE_BLANK" && !dvarbool(ui_promotion));
|
||||
textalign 5
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
exp text locstring(select((tablelookup("mp/dailyChallengesTable.csv", 0, dvarstring(ui_challenge_7_ref), 0) == dvarstring(ui_challenge_7_ref)), "@" + tablelookup("mp/dailyChallengesTable.csv", 0, dvarstring(ui_challenge_7_ref), 2), select((tablelookup("mp/weeklyChallengesTable.csv", 0, dvarstring(ui_challenge_7_ref), 0) == dvarstring(ui_challenge_7_ref)), "@" + tablelookup("mp/weeklyChallengesTable.csv", 0, dvarstring(ui_challenge_7_ref), 2), "@" + tablelookup("mp/allChallengesTable.csv", 0, dvarstring(ui_challenge_7_ref), 2))), select((tablelookup("mp/dailyChallengesTable.csv", 0, dvarstring(ui_challenge_7_ref), 0) == dvarstring(ui_challenge_7_ref)), int(tablelookup("mp/dailyChallengesTable.csv", 0, dvarstring(ui_challenge_7_ref), 6)), select((tablelookup("mp/weeklyChallengesTable.csv", 0, dvarstring(ui_challenge_7_ref), 0) == dvarstring(ui_challenge_7_ref)), int(tablelookup("mp/weeklyChallengesTable.csv", 0, dvarstring(ui_challenge_7_ref), 6)), (int(getchallengedata(dvarstring(ui_challenge_7_ref), "target", select(((tablelookup("mp/dailyChallengesTable.csv", 0, dvarstring(ui_challenge_7_ref), 0) == dvarstring(ui_challenge_7_ref)) || (tablelookup("mp/weeklyChallengesTable.csv", 0, dvarstring(ui_challenge_7_ref), 0) == dvarstring(ui_challenge_7_ref))), 0, int(max(getplayerdata("challengeState", dvarstring(ui_challenge_7_ref)), 1)) - 1)))))));
|
||||
exp rect y (350) + 20 + dvarbool(ui_promotion) * 100;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 0 2 1
|
||||
decoration
|
||||
visible when(dvarstring(ui_challenge_7_ref) != "" && select((tablelookup("mp/dailyChallengesTable.csv", 0, dvarstring(ui_challenge_7_ref), 0) == dvarstring(ui_challenge_7_ref)), "@" + tablelookup("mp/dailyChallengesTable.csv", 0, dvarstring(ui_challenge_7_ref), 3), select((tablelookup("mp/weeklyChallengesTable.csv", 0, dvarstring(ui_challenge_7_ref), 0) == dvarstring(ui_challenge_7_ref)), "@" + tablelookup("mp/weeklyChallengesTable.csv", 0, dvarstring(ui_challenge_7_ref), 3), "@" + tablelookup("mp/allChallengesTable.csv", 0, dvarstring(ui_challenge_7_ref), 3))) == "@CHALLENGE_BLANK" && !dvarbool(ui_promotion));
|
||||
textalign 5
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
exp text select((tablelookup("mp/dailyChallengesTable.csv", 0, dvarstring(ui_challenge_7_ref), 0) == dvarstring(ui_challenge_7_ref)), "@" + tablelookup("mp/dailyChallengesTable.csv", 0, dvarstring(ui_challenge_7_ref), 2), select((tablelookup("mp/weeklyChallengesTable.csv", 0, dvarstring(ui_challenge_7_ref), 0) == dvarstring(ui_challenge_7_ref)), "@" + tablelookup("mp/weeklyChallengesTable.csv", 0, dvarstring(ui_challenge_7_ref), 2), "@" + tablelookup("mp/allChallengesTable.csv", 0, dvarstring(ui_challenge_7_ref), 2)));
|
||||
exp rect y (350) + 20 + dvarbool(ui_promotion) * 100;
|
||||
}
|
||||
}
|
||||
}
|
254
zone_raw/patch_mp/ui_mp/error_popmenu.menu
Normal file
254
zone_raw/patch_mp/ui_mp/error_popmenu.menu
Normal file
@ -0,0 +1,254 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "error_popmenu"
|
||||
rect 0 0 0 0 2 2
|
||||
focuscolor 1 1 1 1
|
||||
outOfBoundsClick
|
||||
popup
|
||||
legacySplitScreenScale
|
||||
exp rect X 0 - (260 * 0.5);
|
||||
exp rect Y 0 - ((localvarint("ui_swfPopupDescResizeHeight")) * 0.5);
|
||||
exp rect W 260;
|
||||
exp rect H (localvarint("ui_swfPopupDescResizeHeight"));
|
||||
onOpen
|
||||
{
|
||||
setLocalVarFloat ui_swfPopupDescResizeTextHeight (getwrappedtextheight(dvarstring(com_errorMessage), (float((260 - 16))), 3, 0.375, 0, 0));
|
||||
setLocalVarInt ui_swfPopupDescResizeButtons (int((localvarfloat("ui_swfPopupDescResizeTextHeight") + ((20 + 2) / 2) + 5) / (20 + 2)) + 1);
|
||||
setLocalVarInt ui_swfPopupDescResizeHeight ((((23 * 1) + (16.367 * 0)) + ((localvarint("ui_swfPopupDescResizeButtons") + 0 + 1) * (20 + 2)) + 5));
|
||||
setLocalVarInt ui_swfPopupDescResizeButtonYOffset ((20 + 2) * (localvarint("ui_swfPopupDescResizeButtons") + 0));
|
||||
setLocalVarInt ui_buttonNavGroupOffset_popup 0;
|
||||
setLocalVarInt ui_buttonNavGroupCurrent_popup 0;
|
||||
setLocalVarString ui_buttonNavGroupName_popup "invalid";
|
||||
setLocalVarBool ui_swfSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfSelectionDisabled 0;
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled 0;
|
||||
setLocalVarString ui_swfPopupContext "invalid";
|
||||
setLocalVarBool ui_centerPopup 1;
|
||||
play tabs_slide;
|
||||
focusfirst;
|
||||
setfocus SWF_COMMON_DESC_RESIZE_POPUP_1_NAME_0;
|
||||
focusfirst;
|
||||
}
|
||||
onClose
|
||||
{
|
||||
setLocalVarBool ui_centerPopup 0;
|
||||
play "";
|
||||
uiScript clearError resolveError;
|
||||
}
|
||||
onESC
|
||||
{
|
||||
uiScript clearError;
|
||||
close self;
|
||||
open main;
|
||||
}
|
||||
onFocusDueToClose
|
||||
{
|
||||
setLocalVarFloat ui_swfPopupDescResizeTextHeight (getwrappedtextheight(dvarstring(com_errorMessage), (float((260 - 16))), 3, 0.375, 0, 0));
|
||||
setLocalVarInt ui_swfPopupDescResizeButtons (int((localvarfloat("ui_swfPopupDescResizeTextHeight") + ((20 + 2) / 2) + 5) / (20 + 2)) + 1);
|
||||
setLocalVarInt ui_swfPopupDescResizeHeight ((((23 * 1) + (16.367 * 0)) + ((localvarint("ui_swfPopupDescResizeButtons") + 0 + 1) * (20 + 2)) + 5));
|
||||
setLocalVarInt ui_swfPopupDescResizeButtonYOffset ((20 + 2) * (localvarint("ui_swfPopupDescResizeButtons") + 0));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -1280 -480 2560 960 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(menuistopmost("error_popmenu"));
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0.8
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -131.333 -78.667 262.667 130.667 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0.3098 0.349 0.2745 1
|
||||
background "white"
|
||||
exp rect y 0 + "SWF_POPUP_GLOBAL_Y_OFFSET";
|
||||
exp rect h (localvarint("ui_swfPopupDescResizeHeight")) + 0;
|
||||
exp rect x 0 + "SWF_POPUP_GLOBAL_X_OFFSET";
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 260 1 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1 && 1);
|
||||
textscale 0.55
|
||||
forecolor 0.1569 0.1725 0.1608 1
|
||||
background "white"
|
||||
exp rect x 0;
|
||||
exp rect y 0;
|
||||
exp rect h (1 * 22) + (16.367 * 0) + 2;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 8.666 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1 && 1);
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar_shadow"
|
||||
exp rect x (0 + "X_OFFSET");
|
||||
exp rect y 0 + (1 * 22) + (16.367 * 0);
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 1 244 22 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when(1);
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 9
|
||||
exp text dvarstring(com_errorTitle);
|
||||
exp rect x (0 + 8);
|
||||
exp rect y (0 + 4) - 4;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 244 20 2 2
|
||||
style 1
|
||||
decoration
|
||||
autowrapped
|
||||
visible when(1);
|
||||
textalign 4
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
exp text dvarstring(com_errorMessage);
|
||||
exp rect x ((0 + 8) + 0);
|
||||
exp rect y (0 + (0 * (20 + 2)) + (0 + 4) + ((23 * 1) + (16.367 * 0))) - 2.333;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 260 1 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0.2118 0.2314 0.22 1
|
||||
background "white"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + (0 * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0)));
|
||||
exp rect h ((20 + 2) * 1) + 1;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 8.666 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfPopupSelectionBarVis") && (localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME") && (localvarstring("ui_swfPopupContext") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME"));
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar_shadow"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + ((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0))) + (20 + 0.3333);
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 20 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfPopupSelectionBarVis") && (localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME") && (localvarstring("ui_swfPopupContext") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME"));
|
||||
textscale 0.55
|
||||
forecolor 0.6 0.6314 0.6 0.2
|
||||
background "white"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + ((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0)));
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 20 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfPopupSelectionBarVis") && (localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME") && (localvarstring("ui_swfPopupContext") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME"));
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + ((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0)));
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@PLATFORM_NAVBAR_BUTTON_FOCUSED_SELECTBUTTON"
|
||||
rect 0 0 20 20 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfPopupSelectionButtonVis") && (localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME") && (localvarstring("ui_swfPopupContext") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME"));
|
||||
textalign 10
|
||||
textscale 0.30625
|
||||
textfont 3
|
||||
exp rect x (0 + (0 + 260 - 24));
|
||||
exp rect y (((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + ((0 + 4) + ((23 * 1) + (16.367 * 0))) - 1.167) - 1.8;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME_0"
|
||||
rect 11.667 0 260 22 2 2
|
||||
style 3
|
||||
type 1
|
||||
visible when(1);
|
||||
disabled when(0);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0
|
||||
background "white"
|
||||
onFocus
|
||||
{
|
||||
setLocalVarString ui_swf_selection "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_1_NAME,0)";
|
||||
setLocalVarInt ui_buttonNavGroupCurrent_popup 0;
|
||||
setLocalVarString ui_buttonNavGroupName_popup "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME";
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis ((1) && !(0));
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis (1);
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled (0);
|
||||
setLocalVarString ui_swfPopupContext "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME";
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
uiScript clearError;
|
||||
resolveError;
|
||||
close self;
|
||||
open main;
|
||||
}
|
||||
exp rect y ((0 * (20 + 2)) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + (0 + 4) + ((23 * 1) + (16.367 * 0))) + ((0 - 1.333));
|
||||
exp rect w 260 - 0;
|
||||
exp rect x (0 + (0 + 8));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 11.667 0 260 19.567 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when((1) && (1));
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 3
|
||||
exp text "@MENU_EXIT";
|
||||
exp rect y (((0 * (20 + 2)) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + (0 + 4) + ((23 * 1) + (16.367 * 0))) + (0 - 1.333)) - 2.333;
|
||||
exp rect w 260;
|
||||
exp forecolor r select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_1_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_1_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor g select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_1_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_1_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor b select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_1_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_1_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp rect x (0 + (0 + 8));
|
||||
}
|
||||
}
|
||||
}
|
257
zone_raw/patch_mp/ui_mp/error_popmenu_lobby.menu
Normal file
257
zone_raw/patch_mp/ui_mp/error_popmenu_lobby.menu
Normal file
@ -0,0 +1,257 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "error_popmenu_lobby"
|
||||
rect 0 0 0 0 2 2
|
||||
focuscolor 1 1 1 1
|
||||
outOfBoundsClick
|
||||
popup
|
||||
legacySplitScreenScale
|
||||
exp rect X 0 - (260 * 0.5);
|
||||
exp rect Y 0 - ((localvarint("ui_swfPopupDescResizeHeight")) * 0.5);
|
||||
exp rect W 260;
|
||||
exp rect H (localvarint("ui_swfPopupDescResizeHeight"));
|
||||
onOpen
|
||||
{
|
||||
close popup_joinpassword;
|
||||
setLocalVarFloat ui_swfPopupDescResizeTextHeight (getwrappedtextheight(dvarstring(com_errorMessage), (float((260 - 16))), 3, 0.375, 0, 0));
|
||||
setLocalVarInt ui_swfPopupDescResizeButtons (int((localvarfloat("ui_swfPopupDescResizeTextHeight") + ((20 + 2) / 2) + 5) / (20 + 2)) + 1);
|
||||
setLocalVarInt ui_swfPopupDescResizeHeight ((((23 * 1) + (16.367 * 0)) + ((localvarint("ui_swfPopupDescResizeButtons") + 0 + 1) * (20 + 2)) + 5));
|
||||
setLocalVarInt ui_swfPopupDescResizeButtonYOffset ((20 + 2) * (localvarint("ui_swfPopupDescResizeButtons") + 0));
|
||||
setLocalVarInt ui_buttonNavGroupOffset_popup 0;
|
||||
setLocalVarInt ui_buttonNavGroupCurrent_popup 0;
|
||||
setLocalVarString ui_buttonNavGroupName_popup "invalid";
|
||||
setLocalVarBool ui_swfSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfSelectionDisabled 0;
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled 0;
|
||||
setLocalVarString ui_swfPopupContext "invalid";
|
||||
setLocalVarBool ui_centerPopup 1;
|
||||
play tabs_slide;
|
||||
lerp x from - 460 to 0 over "0.05";
|
||||
focusfirst;
|
||||
setfocus SWF_COMMON_DESC_RESIZE_POPUP_1_NAME_0;
|
||||
focusfirst;
|
||||
}
|
||||
onClose
|
||||
{
|
||||
uiScript clearError;
|
||||
resolveError;
|
||||
setLocalVarBool ui_centerPopup 0;
|
||||
play "";
|
||||
}
|
||||
onESC
|
||||
{
|
||||
close self;
|
||||
}
|
||||
onFocusDueToClose
|
||||
{
|
||||
setLocalVarFloat ui_swfPopupDescResizeTextHeight (getwrappedtextheight(dvarstring(com_errorMessage), (float((260 - 16))), 3, 0.375, 0, 0));
|
||||
setLocalVarInt ui_swfPopupDescResizeButtons (int((localvarfloat("ui_swfPopupDescResizeTextHeight") + ((20 + 2) / 2) + 5) / (20 + 2)) + 1);
|
||||
setLocalVarInt ui_swfPopupDescResizeHeight ((((23 * 1) + (16.367 * 0)) + ((localvarint("ui_swfPopupDescResizeButtons") + 0 + 1) * (20 + 2)) + 5));
|
||||
setLocalVarInt ui_swfPopupDescResizeButtonYOffset ((20 + 2) * (localvarint("ui_swfPopupDescResizeButtons") + 0));
|
||||
}
|
||||
execKeyInt 27
|
||||
{
|
||||
focusFirst;
|
||||
close self;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -1280 -480 2560 960 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(menuistopmost("error_popmenu_lobby"));
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0.8
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -131.333 -78.667 262.667 130.667 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0.3098 0.349 0.2745 1
|
||||
background "white"
|
||||
exp rect y 0 + "SWF_POPUP_GLOBAL_Y_OFFSET";
|
||||
exp rect h (localvarint("ui_swfPopupDescResizeHeight")) + 0;
|
||||
exp rect x 0 + "SWF_POPUP_GLOBAL_X_OFFSET";
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 260 1 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1 && 1);
|
||||
textscale 0.55
|
||||
forecolor 0.1569 0.1725 0.1608 1
|
||||
background "white"
|
||||
exp rect x 0;
|
||||
exp rect y 0;
|
||||
exp rect h (1 * 22) + (16.367 * 0) + 2;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 8.666 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1 && 1);
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar_shadow"
|
||||
exp rect x (0 + "X_OFFSET");
|
||||
exp rect y 0 + (1 * 22) + (16.367 * 0);
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 1 244 22 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when(1);
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 9
|
||||
exp text dvarstring(com_errorTitle);
|
||||
exp rect x (0 + 8);
|
||||
exp rect y (0 + 4) - 4;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 244 20 2 2
|
||||
style 1
|
||||
decoration
|
||||
autowrapped
|
||||
visible when(1);
|
||||
textalign 4
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
exp text dvarstring(com_errorMessage);
|
||||
exp rect x ((0 + 8) + 0);
|
||||
exp rect y (0 + (0 * (20 + 2)) + (0 + 4) + ((23 * 1) + (16.367 * 0))) - 2.333;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 260 1 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0.2118 0.2314 0.22 1
|
||||
background "white"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + (0 * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0)));
|
||||
exp rect h ((20 + 2) * 1) + 1;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 8.666 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfPopupSelectionBarVis") && (localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME") && (localvarstring("ui_swfPopupContext") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME"));
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar_shadow"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + ((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0))) + (20 + 0.3333);
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 20 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfPopupSelectionBarVis") && (localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME") && (localvarstring("ui_swfPopupContext") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME"));
|
||||
textscale 0.55
|
||||
forecolor 0.6 0.6314 0.6 0.2
|
||||
background "white"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + ((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0)));
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 20 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfPopupSelectionBarVis") && (localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME") && (localvarstring("ui_swfPopupContext") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME"));
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + ((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0)));
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@PLATFORM_NAVBAR_BUTTON_FOCUSED_SELECTBUTTON"
|
||||
rect 0 0 20 20 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfPopupSelectionButtonVis") && (localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME") && (localvarstring("ui_swfPopupContext") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME"));
|
||||
textalign 10
|
||||
textscale 0.30625
|
||||
textfont 3
|
||||
exp rect x (0 + (0 + 260 - 24));
|
||||
exp rect y (((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + ((0 + 4) + ((23 * 1) + (16.367 * 0))) - 1.167) - 1.8;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME_0"
|
||||
rect 11.667 0 260 22 2 2
|
||||
style 3
|
||||
type 1
|
||||
visible when(1);
|
||||
disabled when(0);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0
|
||||
background "white"
|
||||
onFocus
|
||||
{
|
||||
setLocalVarString ui_swf_selection "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_1_NAME,0)";
|
||||
setLocalVarInt ui_buttonNavGroupCurrent_popup 0;
|
||||
setLocalVarString ui_buttonNavGroupName_popup "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME";
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis ((1) && !(0));
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis (1);
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled (0);
|
||||
setLocalVarString ui_swfPopupContext "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME";
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
close self;
|
||||
}
|
||||
exp rect y ((0 * (20 + 2)) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + (0 + 4) + ((23 * 1) + (16.367 * 0))) + ((0 - 1.333));
|
||||
exp rect w 260 - 0;
|
||||
exp rect x (0 + (0 + 8));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 11.667 0 260 19.567 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when((1) && (1));
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 3
|
||||
exp text "@MENU_OK";
|
||||
exp rect y (((0 * (20 + 2)) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + (0 + 4) + ((23 * 1) + (16.367 * 0))) + (0 - 1.333)) - 2.333;
|
||||
exp rect w 260;
|
||||
exp forecolor r select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_1_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_1_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor g select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_1_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_1_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor b select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_1_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_1_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp rect x (0 + (0 + 8));
|
||||
}
|
||||
}
|
||||
}
|
257
zone_raw/patch_mp/ui_mp/error_popmenu_party.menu
Normal file
257
zone_raw/patch_mp/ui_mp/error_popmenu_party.menu
Normal file
@ -0,0 +1,257 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "error_popmenu_party"
|
||||
rect 0 0 0 0 2 2
|
||||
focuscolor 1 1 1 1
|
||||
outOfBoundsClick
|
||||
popup
|
||||
legacySplitScreenScale
|
||||
exp rect X 0 - (260 * 0.5);
|
||||
exp rect Y 0 - ((localvarint("ui_swfPopupDescResizeHeight")) * 0.5);
|
||||
exp rect W 260;
|
||||
exp rect H (localvarint("ui_swfPopupDescResizeHeight"));
|
||||
onOpen
|
||||
{
|
||||
close popup_joinpassword;
|
||||
setLocalVarFloat ui_swfPopupDescResizeTextHeight (getwrappedtextheight(dvarstring(com_errorMessage), (float((260 - 16))), 3, 0.375, 0, 0));
|
||||
setLocalVarInt ui_swfPopupDescResizeButtons (int((localvarfloat("ui_swfPopupDescResizeTextHeight") + ((20 + 2) / 2) + 5) / (20 + 2)) + 1);
|
||||
setLocalVarInt ui_swfPopupDescResizeHeight ((((23 * 1) + (16.367 * 0)) + ((localvarint("ui_swfPopupDescResizeButtons") + 0 + 1) * (20 + 2)) + 5));
|
||||
setLocalVarInt ui_swfPopupDescResizeButtonYOffset ((20 + 2) * (localvarint("ui_swfPopupDescResizeButtons") + 0));
|
||||
setLocalVarInt ui_buttonNavGroupOffset_popup 0;
|
||||
setLocalVarInt ui_buttonNavGroupCurrent_popup 0;
|
||||
setLocalVarString ui_buttonNavGroupName_popup "invalid";
|
||||
setLocalVarBool ui_swfSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfSelectionDisabled 0;
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled 0;
|
||||
setLocalVarString ui_swfPopupContext "invalid";
|
||||
setLocalVarBool ui_centerPopup 1;
|
||||
play tabs_slide;
|
||||
lerp x from - 460 to 0 over "0.05";
|
||||
focusfirst;
|
||||
setfocus SWF_COMMON_DESC_RESIZE_POPUP_1_NAME_0;
|
||||
focusfirst;
|
||||
}
|
||||
onClose
|
||||
{
|
||||
uiScript clearError;
|
||||
resolveError;
|
||||
setLocalVarBool ui_centerPopup 0;
|
||||
play "";
|
||||
}
|
||||
onESC
|
||||
{
|
||||
close self;
|
||||
}
|
||||
onFocusDueToClose
|
||||
{
|
||||
setLocalVarFloat ui_swfPopupDescResizeTextHeight (getwrappedtextheight(dvarstring(com_errorMessage), (float((260 - 16))), 3, 0.375, 0, 0));
|
||||
setLocalVarInt ui_swfPopupDescResizeButtons (int((localvarfloat("ui_swfPopupDescResizeTextHeight") + ((20 + 2) / 2) + 5) / (20 + 2)) + 1);
|
||||
setLocalVarInt ui_swfPopupDescResizeHeight ((((23 * 1) + (16.367 * 0)) + ((localvarint("ui_swfPopupDescResizeButtons") + 0 + 1) * (20 + 2)) + 5));
|
||||
setLocalVarInt ui_swfPopupDescResizeButtonYOffset ((20 + 2) * (localvarint("ui_swfPopupDescResizeButtons") + 0));
|
||||
}
|
||||
execKeyInt 27
|
||||
{
|
||||
focusFirst;
|
||||
close self;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -1280 -480 2560 960 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(menuistopmost("error_popmenu_party"));
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0.8
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -131.333 -78.667 262.667 130.667 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0.3098 0.349 0.2745 1
|
||||
background "white"
|
||||
exp rect y 0 + "SWF_POPUP_GLOBAL_Y_OFFSET";
|
||||
exp rect h (localvarint("ui_swfPopupDescResizeHeight")) + 0;
|
||||
exp rect x 0 + "SWF_POPUP_GLOBAL_X_OFFSET";
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 260 1 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1 && 1);
|
||||
textscale 0.55
|
||||
forecolor 0.1569 0.1725 0.1608 1
|
||||
background "white"
|
||||
exp rect x 0;
|
||||
exp rect y 0;
|
||||
exp rect h (1 * 22) + (16.367 * 0) + 2;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 8.666 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1 && 1);
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar_shadow"
|
||||
exp rect x (0 + "X_OFFSET");
|
||||
exp rect y 0 + (1 * 22) + (16.367 * 0);
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 1 244 22 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when(1);
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 9
|
||||
exp text dvarstring(com_errorTitle);
|
||||
exp rect x (0 + 8);
|
||||
exp rect y (0 + 4) - 4;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 244 20 2 2
|
||||
style 1
|
||||
decoration
|
||||
autowrapped
|
||||
visible when(1);
|
||||
textalign 4
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
exp text dvarstring(com_errorMessage);
|
||||
exp rect x ((0 + 8) + 0);
|
||||
exp rect y (0 + (0 * (20 + 2)) + (0 + 4) + ((23 * 1) + (16.367 * 0))) - 2.333;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 260 1 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0.2118 0.2314 0.22 1
|
||||
background "white"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + (0 * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0)));
|
||||
exp rect h ((20 + 2) * 1) + 1;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 8.666 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfPopupSelectionBarVis") && (localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME") && (localvarstring("ui_swfPopupContext") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME"));
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar_shadow"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + ((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0))) + (20 + 0.3333);
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 20 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfPopupSelectionBarVis") && (localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME") && (localvarstring("ui_swfPopupContext") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME"));
|
||||
textscale 0.55
|
||||
forecolor 0.6 0.6314 0.6 0.2
|
||||
background "white"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + ((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0)));
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 20 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfPopupSelectionBarVis") && (localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME") && (localvarstring("ui_swfPopupContext") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME"));
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + ((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0)));
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@PLATFORM_NAVBAR_BUTTON_FOCUSED_SELECTBUTTON"
|
||||
rect 0 0 20 20 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfPopupSelectionButtonVis") && (localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME") && (localvarstring("ui_swfPopupContext") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME"));
|
||||
textalign 10
|
||||
textscale 0.30625
|
||||
textfont 3
|
||||
exp rect x (0 + (0 + 260 - 24));
|
||||
exp rect y (((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + ((0 + 4) + ((23 * 1) + (16.367 * 0))) - 1.167) - 1.8;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME_0"
|
||||
rect 11.667 0 260 22 2 2
|
||||
style 3
|
||||
type 1
|
||||
visible when(1);
|
||||
disabled when(0);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0
|
||||
background "white"
|
||||
onFocus
|
||||
{
|
||||
setLocalVarString ui_swf_selection "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_1_NAME,0)";
|
||||
setLocalVarInt ui_buttonNavGroupCurrent_popup 0;
|
||||
setLocalVarString ui_buttonNavGroupName_popup "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME";
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis ((1) && !(0));
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis (1);
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled (0);
|
||||
setLocalVarString ui_swfPopupContext "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME";
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
close self;
|
||||
}
|
||||
exp rect y ((0 * (20 + 2)) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + (0 + 4) + ((23 * 1) + (16.367 * 0))) + ((0 - 1.333));
|
||||
exp rect w 260 - 0;
|
||||
exp rect x (0 + (0 + 8));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 11.667 0 260 19.567 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when((1) && (1));
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 3
|
||||
exp text "@MENU_OK";
|
||||
exp rect y (((0 * (20 + 2)) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + (0 + 4) + ((23 * 1) + (16.367 * 0))) + (0 - 1.333)) - 2.333;
|
||||
exp rect w 260;
|
||||
exp forecolor r select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_1_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_1_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor g select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_1_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_1_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor b select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_1_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_1_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp rect x (0 + (0 + 8));
|
||||
}
|
||||
}
|
||||
}
|
251
zone_raw/patch_mp/ui_mp/error_popmenu_submenu.menu
Normal file
251
zone_raw/patch_mp/ui_mp/error_popmenu_submenu.menu
Normal file
@ -0,0 +1,251 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "error_popmenu_submenu"
|
||||
rect 0 0 0 0 2 2
|
||||
focuscolor 1 1 1 1
|
||||
outOfBoundsClick
|
||||
popup
|
||||
legacySplitScreenScale
|
||||
exp rect X 0 - (260 * 0.5);
|
||||
exp rect Y 0 - ((localvarint("ui_swfPopupDescResizeHeight")) * 0.5);
|
||||
exp rect W 260;
|
||||
exp rect H (localvarint("ui_swfPopupDescResizeHeight"));
|
||||
onOpen
|
||||
{
|
||||
setLocalVarFloat ui_swfPopupDescResizeTextHeight (getwrappedtextheight(dvarstring(com_errorMessage), (float((260 - 16))), 3, 0.375, 0, 0));
|
||||
setLocalVarInt ui_swfPopupDescResizeButtons (int((localvarfloat("ui_swfPopupDescResizeTextHeight") + ((20 + 2) / 2) + 5) / (20 + 2)) + 1);
|
||||
setLocalVarInt ui_swfPopupDescResizeHeight ((((23 * 1) + (16.367 * 0)) + ((localvarint("ui_swfPopupDescResizeButtons") + 0 + 1) * (20 + 2)) + 5));
|
||||
setLocalVarInt ui_swfPopupDescResizeButtonYOffset ((20 + 2) * (localvarint("ui_swfPopupDescResizeButtons") + 0));
|
||||
setLocalVarInt ui_buttonNavGroupOffset_popup 0;
|
||||
setLocalVarInt ui_buttonNavGroupCurrent_popup 0;
|
||||
setLocalVarString ui_buttonNavGroupName_popup "invalid";
|
||||
setLocalVarBool ui_swfSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfSelectionDisabled 0;
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled 0;
|
||||
setLocalVarString ui_swfPopupContext "invalid";
|
||||
setLocalVarBool ui_centerPopup 1;
|
||||
play tabs_slide;
|
||||
focusfirst;
|
||||
setfocus SWF_COMMON_DESC_RESIZE_POPUP_1_NAME_0;
|
||||
focusfirst;
|
||||
}
|
||||
onClose
|
||||
{
|
||||
setLocalVarBool ui_centerPopup 0;
|
||||
play "";
|
||||
uiScript clearError resolveError;
|
||||
}
|
||||
onESC
|
||||
{
|
||||
uiScript clearError;
|
||||
close self;
|
||||
}
|
||||
onFocusDueToClose
|
||||
{
|
||||
setLocalVarFloat ui_swfPopupDescResizeTextHeight (getwrappedtextheight(dvarstring(com_errorMessage), (float((260 - 16))), 3, 0.375, 0, 0));
|
||||
setLocalVarInt ui_swfPopupDescResizeButtons (int((localvarfloat("ui_swfPopupDescResizeTextHeight") + ((20 + 2) / 2) + 5) / (20 + 2)) + 1);
|
||||
setLocalVarInt ui_swfPopupDescResizeHeight ((((23 * 1) + (16.367 * 0)) + ((localvarint("ui_swfPopupDescResizeButtons") + 0 + 1) * (20 + 2)) + 5));
|
||||
setLocalVarInt ui_swfPopupDescResizeButtonYOffset ((20 + 2) * (localvarint("ui_swfPopupDescResizeButtons") + 0));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -1280 -480 2560 960 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(menuistopmost("error_popmenu_submenu"));
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0.8
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -131.333 -78.667 262.667 130.667 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0.3098 0.349 0.2745 1
|
||||
background "white"
|
||||
exp rect y 0 + "SWF_POPUP_GLOBAL_Y_OFFSET";
|
||||
exp rect h (localvarint("ui_swfPopupDescResizeHeight")) + 0;
|
||||
exp rect x 0 + "SWF_POPUP_GLOBAL_X_OFFSET";
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 260 1 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1 && 1);
|
||||
textscale 0.55
|
||||
forecolor 0.1569 0.1725 0.1608 1
|
||||
background "white"
|
||||
exp rect x 0;
|
||||
exp rect y 0;
|
||||
exp rect h (1 * 22) + (16.367 * 0) + 2;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 8.666 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1 && 1);
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar_shadow"
|
||||
exp rect x (0 + "X_OFFSET");
|
||||
exp rect y 0 + (1 * 22) + (16.367 * 0);
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 1 244 22 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when(1);
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 9
|
||||
exp text dvarstring(com_errorTitle);
|
||||
exp rect x (0 + 8);
|
||||
exp rect y (0 + 4) - 4;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 244 20 2 2
|
||||
style 1
|
||||
decoration
|
||||
autowrapped
|
||||
visible when(1);
|
||||
textalign 4
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
exp text dvarstring(com_errorMessage);
|
||||
exp rect x ((0 + 8) + 0);
|
||||
exp rect y (0 + (0 * (20 + 2)) + (0 + 4) + ((23 * 1) + (16.367 * 0))) - 2.333;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 260 1 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0.2118 0.2314 0.22 1
|
||||
background "white"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + (0 * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0)));
|
||||
exp rect h ((20 + 2) * 1) + 1;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 8.666 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfPopupSelectionBarVis") && (localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME") && (localvarstring("ui_swfPopupContext") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME"));
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar_shadow"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + ((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0))) + (20 + 0.3333);
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 20 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfPopupSelectionBarVis") && (localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME") && (localvarstring("ui_swfPopupContext") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME"));
|
||||
textscale 0.55
|
||||
forecolor 0.6 0.6314 0.6 0.2
|
||||
background "white"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + ((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0)));
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 20 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfPopupSelectionBarVis") && (localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME") && (localvarstring("ui_swfPopupContext") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME"));
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + ((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0)));
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@PLATFORM_NAVBAR_BUTTON_FOCUSED_SELECTBUTTON"
|
||||
rect 0 0 20 20 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfPopupSelectionButtonVis") && (localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME") && (localvarstring("ui_swfPopupContext") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME"));
|
||||
textalign 10
|
||||
textscale 0.30625
|
||||
textfont 3
|
||||
exp rect x (0 + (0 + 260 - 24));
|
||||
exp rect y (((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + ((0 + 4) + ((23 * 1) + (16.367 * 0))) - 1.167) - 1.8;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME_0"
|
||||
rect 11.667 0 260 22 2 2
|
||||
style 3
|
||||
type 1
|
||||
visible when(1);
|
||||
disabled when(0);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0
|
||||
background "white"
|
||||
onFocus
|
||||
{
|
||||
setLocalVarString ui_swf_selection "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_1_NAME,0)";
|
||||
setLocalVarInt ui_buttonNavGroupCurrent_popup 0;
|
||||
setLocalVarString ui_buttonNavGroupName_popup "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME";
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis ((1) && !(0));
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis (1);
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled (0);
|
||||
setLocalVarString ui_swfPopupContext "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME";
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
uiScript clearError;
|
||||
close self;
|
||||
}
|
||||
exp rect y ((0 * (20 + 2)) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + (0 + 4) + ((23 * 1) + (16.367 * 0))) + ((0 - 1.333));
|
||||
exp rect w 260 - 0;
|
||||
exp rect x (0 + (0 + 8));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 11.667 0 260 19.567 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when((1) && (1));
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 3
|
||||
exp text "@MENU_EXIT";
|
||||
exp rect y (((0 * (20 + 2)) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + (0 + 4) + ((23 * 1) + (16.367 * 0))) + (0 - 1.333)) - 2.333;
|
||||
exp rect w 260;
|
||||
exp forecolor r select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_1_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_1_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor g select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_1_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_1_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor b select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_1_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_1_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp rect x (0 + (0 + 8));
|
||||
}
|
||||
}
|
||||
}
|
180
zone_raw/patch_mp/ui_mp/fileshare_slotselection_clip.menu
Normal file
180
zone_raw/patch_mp/ui_mp/fileshare_slotselection_clip.menu
Normal file
@ -0,0 +1,180 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "fileshare_slotselection_clip"
|
||||
rect 0 0 0 0 2 2
|
||||
focuscolor 1 1 1 1
|
||||
outOfBoundsClick
|
||||
popup
|
||||
legacySplitScreenScale
|
||||
exp rect X 0 - (300 * 0.5);
|
||||
exp rect Y 0 - ((((23 * 1) + (16.367 * 0)) + (6 * (20 + 2)) + 5) * 0.5);
|
||||
exp rect W 300;
|
||||
exp rect H (((23 * 1) + (16.367 * 0)) + (6 * (20 + 2)) + 5);
|
||||
onOpen
|
||||
{
|
||||
setfocus fileshare_list;
|
||||
}
|
||||
onClose
|
||||
{
|
||||
}
|
||||
onESC
|
||||
{
|
||||
uiScript onlinevault pop;
|
||||
open clip_save_screen;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -1280 -480 2560 960 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(menuistopmost("fileshare_slotselection_clip"));
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0.8
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -131.333 -78.667 262.667 130.667 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0.3098 0.349 0.2745 1
|
||||
background "white"
|
||||
exp rect y 0 + "SWF_POPUP_GLOBAL_Y_OFFSET";
|
||||
exp rect h (((23 * 1) + (16.367 * 0)) + (6 * (20 + 2)) + 5) + 0;
|
||||
exp rect x 0 + "SWF_POPUP_GLOBAL_X_OFFSET";
|
||||
exp rect w 300;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 300 1 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0.2118 0.2314 0.22 1
|
||||
background "white"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + (0 * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0)));
|
||||
exp rect h ((20 + 2) * 6) + 1;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 300 1 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1 && 1);
|
||||
textscale 0.55
|
||||
forecolor 0.1569 0.1725 0.1608 1
|
||||
background "white"
|
||||
exp rect x 0;
|
||||
exp rect y 0;
|
||||
exp rect h (1 * 22) + (16.367 * 0) + 2;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 8.666 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1 && 1);
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar_shadow"
|
||||
exp rect x (0 + "X_OFFSET");
|
||||
exp rect y 0 + (1 * 22) + (16.367 * 0);
|
||||
exp rect w 300;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 1 284 22 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when(1);
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 9
|
||||
exp text "@MENU_ONLINEVAULT_CHOOSE_SLOT";
|
||||
exp rect x (0 + 8);
|
||||
exp rect y (0 + 4) - 4;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 8.666 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfSelectionButtonVis") && (localvarstring("ui_buttonNavGroupName") == "INGAME_VAULT_BUTTON_LIST"));
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar_shadow"
|
||||
exp rect x 0;
|
||||
exp rect y (0 - 3.5) + (((getFeederData("fileshare_list", "selection") - getFeederData("fileshare_list", "start"))) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0))) + (20 + 0.3333);
|
||||
exp rect w 300;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 20 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfSelectionButtonVis") && (localvarstring("ui_buttonNavGroupName") == "INGAME_VAULT_BUTTON_LIST"));
|
||||
textscale 0.55
|
||||
forecolor 0.6 0.6314 0.6 0.2
|
||||
background "white"
|
||||
exp rect x 0;
|
||||
exp rect y (0 - 3.5) + (((getFeederData("fileshare_list", "selection") - getFeederData("fileshare_list", "start"))) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0)));
|
||||
exp rect w 300;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 20 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfSelectionButtonVis") && (localvarstring("ui_buttonNavGroupName") == "INGAME_VAULT_BUTTON_LIST"));
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar"
|
||||
exp rect x 0;
|
||||
exp rect y (0 - 3.5) + (((getFeederData("fileshare_list", "selection") - getFeederData("fileshare_list", "start"))) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0)));
|
||||
exp rect w 300;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "fileshare_list"
|
||||
rect 8 19.5 294 137 2 2
|
||||
type 6
|
||||
visible 1
|
||||
textscale 0.375
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
onFocus
|
||||
{
|
||||
setLocalVarString ui_buttonNavGroupName "INGAME_VAULT_BUTTON_LIST";
|
||||
setLocalVarBool ui_swfSelectionBarVis 1;
|
||||
setLocalVarBool ui_swfSelectionButtonVis 1;
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarBool ui_swfSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfSelectionButtonVis 0;
|
||||
}
|
||||
exp rect x (0 + 8) - 8;
|
||||
exp rect y (0 - 3.5) + (0 + 4) + ((23 * 1) + (16.367 * 0));
|
||||
exp rect w (300 - 6) + 8;
|
||||
exp rect h (22 * min(6, getFeederData("fileshare_list", "count"))) + 4;
|
||||
elementwidth 300
|
||||
elementheight 22
|
||||
feeder 36
|
||||
columns 3
|
||||
8 -5 20 0 20 0
|
||||
28 -5 130 0 100 0
|
||||
248 -2 20 0 20 0
|
||||
doubleclick
|
||||
{
|
||||
play mouse_click;
|
||||
if (!isContentServerTaskInProgress("writefile"))
|
||||
{
|
||||
uiScript onlinevault trysave;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
180
zone_raw/patch_mp/ui_mp/fileshare_slotselection_scr.menu
Normal file
180
zone_raw/patch_mp/ui_mp/fileshare_slotselection_scr.menu
Normal file
@ -0,0 +1,180 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "fileshare_slotselection_scr"
|
||||
rect 0 0 0 0 2 2
|
||||
focuscolor 1 1 1 1
|
||||
outOfBoundsClick
|
||||
popup
|
||||
legacySplitScreenScale
|
||||
exp rect X 0 - (300 * 0.5);
|
||||
exp rect Y 0 - ((((23 * 1) + (16.367 * 0)) + (6 * (20 + 2)) + 5) * 0.5);
|
||||
exp rect W 300;
|
||||
exp rect H (((23 * 1) + (16.367 * 0)) + (6 * (20 + 2)) + 5);
|
||||
onOpen
|
||||
{
|
||||
setfocus fileshare_list;
|
||||
}
|
||||
onClose
|
||||
{
|
||||
}
|
||||
onESC
|
||||
{
|
||||
uiScript onlinevault pop;
|
||||
open screenshot_save_screen;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -1280 -480 2560 960 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(menuistopmost("fileshare_slotselection_scr"));
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0.8
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -131.333 -78.667 262.667 130.667 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0.3098 0.349 0.2745 1
|
||||
background "white"
|
||||
exp rect y 0 + "SWF_POPUP_GLOBAL_Y_OFFSET";
|
||||
exp rect h (((23 * 1) + (16.367 * 0)) + (6 * (20 + 2)) + 5) + 0;
|
||||
exp rect x 0 + "SWF_POPUP_GLOBAL_X_OFFSET";
|
||||
exp rect w 300;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 300 1 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0.2118 0.2314 0.22 1
|
||||
background "white"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + (0 * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0)));
|
||||
exp rect h ((20 + 2) * 6) + 1;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 300 1 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1 && 1);
|
||||
textscale 0.55
|
||||
forecolor 0.1569 0.1725 0.1608 1
|
||||
background "white"
|
||||
exp rect x 0;
|
||||
exp rect y 0;
|
||||
exp rect h (1 * 22) + (16.367 * 0) + 2;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 8.666 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1 && 1);
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar_shadow"
|
||||
exp rect x (0 + "X_OFFSET");
|
||||
exp rect y 0 + (1 * 22) + (16.367 * 0);
|
||||
exp rect w 300;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 1 284 22 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when(1);
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 9
|
||||
exp text "@MENU_ONLINEVAULT_CHOOSE_SLOT";
|
||||
exp rect x (0 + 8);
|
||||
exp rect y (0 + 4) - 4;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 8.666 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfSelectionButtonVis") && (localvarstring("ui_buttonNavGroupName") == "INGAME_VAULT_BUTTON_LIST"));
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar_shadow"
|
||||
exp rect x 0;
|
||||
exp rect y (0 - 3.5) + (((getFeederData("fileshare_list", "selection") - getFeederData("fileshare_list", "start"))) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0))) + (20 + 0.3333);
|
||||
exp rect w 300;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 20 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfSelectionButtonVis") && (localvarstring("ui_buttonNavGroupName") == "INGAME_VAULT_BUTTON_LIST"));
|
||||
textscale 0.55
|
||||
forecolor 0.6 0.6314 0.6 0.2
|
||||
background "white"
|
||||
exp rect x 0;
|
||||
exp rect y (0 - 3.5) + (((getFeederData("fileshare_list", "selection") - getFeederData("fileshare_list", "start"))) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0)));
|
||||
exp rect w 300;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 20 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfSelectionButtonVis") && (localvarstring("ui_buttonNavGroupName") == "INGAME_VAULT_BUTTON_LIST"));
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar"
|
||||
exp rect x 0;
|
||||
exp rect y (0 - 3.5) + (((getFeederData("fileshare_list", "selection") - getFeederData("fileshare_list", "start"))) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0)));
|
||||
exp rect w 300;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "fileshare_list"
|
||||
rect 8 19.5 294 137 2 2
|
||||
type 6
|
||||
visible 1
|
||||
textscale 0.375
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
onFocus
|
||||
{
|
||||
setLocalVarString ui_buttonNavGroupName "INGAME_VAULT_BUTTON_LIST";
|
||||
setLocalVarBool ui_swfSelectionBarVis 1;
|
||||
setLocalVarBool ui_swfSelectionButtonVis 1;
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarBool ui_swfSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfSelectionButtonVis 0;
|
||||
}
|
||||
exp rect x (0 + 8) - 8;
|
||||
exp rect y (0 - 3.5) + (0 + 4) + ((23 * 1) + (16.367 * 0));
|
||||
exp rect w (300 - 6) + 8;
|
||||
exp rect h (22 * min(6, getFeederData("fileshare_list", "count"))) + 4;
|
||||
elementwidth 300
|
||||
elementheight 22
|
||||
feeder 36
|
||||
columns 3
|
||||
8 -5 20 0 20 0
|
||||
28 -5 130 0 100 0
|
||||
248 -2 20 0 20 0
|
||||
doubleclick
|
||||
{
|
||||
play mouse_click;
|
||||
if (!isContentServerTaskInProgress("writefile"))
|
||||
{
|
||||
uiScript onlinevault trysave;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
270
zone_raw/patch_mp/ui_mp/ingame_migration.menu
Normal file
270
zone_raw/patch_mp/ui_mp/ingame_migration.menu
Normal file
@ -0,0 +1,270 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "ingame_migration"
|
||||
rect 0 0 640 480 0 0
|
||||
focuscolor 1 1 1 1
|
||||
blurWorld 4.8
|
||||
onOpen
|
||||
{
|
||||
setdvar ui_SaveLoadVisible 0;
|
||||
setLocalVarInt migration_time_start milliseconds();
|
||||
setLocalVarBool ishost 0;
|
||||
focusFirst;
|
||||
}
|
||||
onClose
|
||||
{
|
||||
}
|
||||
onESC
|
||||
{
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0.4
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0
|
||||
background "mockup_bg_glow"
|
||||
exp forecolor a ((sin(milliseconds() / 1500) + 1) * 0.25) + 0.25;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 640 480 4 4
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0
|
||||
background "mockup_bg_glow"
|
||||
exp forecolor a ((sin(milliseconds() / 480) + 1) * 0.25) + 0.25;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -320 0 640 0 7 1
|
||||
style 1
|
||||
decoration
|
||||
visible when(!dvarbool(splitscreen));
|
||||
textalign 5
|
||||
textscale 0.5
|
||||
textstyle 3
|
||||
textfont 9
|
||||
exp text locstring("@MENU_HOST_MIGRATION");
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -320 -168.5 640 0 7 2
|
||||
style 1
|
||||
decoration
|
||||
visible when(dvarbool(splitscreen));
|
||||
textalign 5
|
||||
textscale 0.75
|
||||
textstyle 3
|
||||
textfont 9
|
||||
exp text locstring("@MENU_HOST_MIGRATION");
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -320 0 640 0 2 1
|
||||
decoration
|
||||
visible when(((sin(milliseconds() * 0.005) + 1) * 0.5 <= 0.25 && !localvarbool("ishost")) && !dvarbool(splitscreen));
|
||||
textalign 5
|
||||
textscale 0.375
|
||||
textstyle 3
|
||||
textfont 3
|
||||
exp text getmigrationstatus() + " ";
|
||||
exp rect y getTextHeight(9, 0.5);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -320 0 640 0 2 2
|
||||
decoration
|
||||
visible when(((sin(milliseconds() * 0.005) + 1) * 0.5 <= 0.25 && !localvarbool("ishost")) && dvarbool(splitscreen));
|
||||
textalign 5
|
||||
textscale 0.5625
|
||||
textstyle 3
|
||||
textfont 3
|
||||
exp text getmigrationstatus() + " ";
|
||||
exp rect y (0 - (337 / 2)) + getTextHeight(9, (0.5 * 1.5));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -320 0 640 0 2 1
|
||||
decoration
|
||||
visible when(((sin(milliseconds() * 0.005) + 1) * 0.5 > 0.25 && (sin(milliseconds() * 0.005) + 1) * 0.5 <= 0.5 && !localvarbool("ishost")) && !dvarbool(splitscreen));
|
||||
textalign 5
|
||||
textscale 0.375
|
||||
textstyle 3
|
||||
textfont 3
|
||||
exp text getmigrationstatus() + ". ";
|
||||
exp rect y getTextHeight(9, 0.5);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -320 0 640 0 2 2
|
||||
decoration
|
||||
visible when(((sin(milliseconds() * 0.005) + 1) * 0.5 > 0.25 && (sin(milliseconds() * 0.005) + 1) * 0.5 <= 0.5 && !localvarbool("ishost")) && dvarbool(splitscreen));
|
||||
textalign 5
|
||||
textscale 0.5625
|
||||
textstyle 3
|
||||
textfont 3
|
||||
exp text getmigrationstatus() + ". ";
|
||||
exp rect y (0 - (337 / 2)) + getTextHeight(9, (0.5 * 1.5));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -320 0 640 0 2 1
|
||||
decoration
|
||||
visible when(((sin(milliseconds() * 0.005) + 1) * 0.5 > 0.5 && (sin(milliseconds() * 0.005) + 1) * 0.5 <= 0.75 && !localvarbool("ishost")) && !dvarbool(splitscreen));
|
||||
textalign 5
|
||||
textscale 0.375
|
||||
textstyle 3
|
||||
textfont 3
|
||||
exp text getmigrationstatus() + ".. ";
|
||||
exp rect y getTextHeight(9, 0.5);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -320 0 640 0 2 2
|
||||
decoration
|
||||
visible when(((sin(milliseconds() * 0.005) + 1) * 0.5 > 0.5 && (sin(milliseconds() * 0.005) + 1) * 0.5 <= 0.75 && !localvarbool("ishost")) && dvarbool(splitscreen));
|
||||
textalign 5
|
||||
textscale 0.5625
|
||||
textstyle 3
|
||||
textfont 3
|
||||
exp text getmigrationstatus() + ".. ";
|
||||
exp rect y (0 - (337 / 2)) + getTextHeight(9, (0.5 * 1.5));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -320 0 640 0 2 1
|
||||
decoration
|
||||
visible when(((sin(milliseconds() * 0.005) + 1) * 0.5 > 0.75 && !localvarbool("ishost")) && !dvarbool(splitscreen));
|
||||
textalign 5
|
||||
textscale 0.375
|
||||
textstyle 3
|
||||
textfont 3
|
||||
exp text getmigrationstatus() + "...";
|
||||
exp rect y getTextHeight(9, 0.5);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -320 0 640 0 2 2
|
||||
decoration
|
||||
visible when(((sin(milliseconds() * 0.005) + 1) * 0.5 > 0.75 && !localvarbool("ishost")) && dvarbool(splitscreen));
|
||||
textalign 5
|
||||
textscale 0.5625
|
||||
textstyle 3
|
||||
textfont 3
|
||||
exp text getmigrationstatus() + "...";
|
||||
exp rect y (0 - (337 / 2)) + getTextHeight(9, (0.5 * 1.5));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -320 0 640 0 2 1
|
||||
decoration
|
||||
visible when(((sin(milliseconds() * 0.005) + 1) * 0.5 <= 0.25 && localvarbool("ishost")) && !dvarbool(splitscreen));
|
||||
textalign 5
|
||||
textscale 0.375
|
||||
textstyle 3
|
||||
textfont 3
|
||||
exp text locstring("@MENU_UPLOADING_STATS") + "...";
|
||||
exp rect y getTextHeight(9, 0.5);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -320 0 640 0 2 2
|
||||
decoration
|
||||
visible when(((sin(milliseconds() * 0.005) + 1) * 0.5 <= 0.25 && localvarbool("ishost")) && dvarbool(splitscreen));
|
||||
textalign 5
|
||||
textscale 0.5625
|
||||
textstyle 3
|
||||
textfont 3
|
||||
exp text locstring("@MENU_UPLOADING_STATS") + "...";
|
||||
exp rect y (0 - (337 / 2)) + getTextHeight(9, (0.5 * 1.5));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -320 0 640 0 2 1
|
||||
decoration
|
||||
visible when(((sin(milliseconds() * 0.005) + 1) * 0.5 > 0.25 && (sin(milliseconds() * 0.005) + 1) * 0.5 <= 0.5 && localvarbool("ishost")) && !dvarbool(splitscreen));
|
||||
textalign 5
|
||||
textscale 0.375
|
||||
textstyle 3
|
||||
textfont 3
|
||||
exp text locstring("@MENU_UPLOADING_STATS") + "...";
|
||||
exp rect y getTextHeight(9, 0.5);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -320 0 640 0 2 2
|
||||
decoration
|
||||
visible when(((sin(milliseconds() * 0.005) + 1) * 0.5 > 0.25 && (sin(milliseconds() * 0.005) + 1) * 0.5 <= 0.5 && localvarbool("ishost")) && dvarbool(splitscreen));
|
||||
textalign 5
|
||||
textscale 0.5625
|
||||
textstyle 3
|
||||
textfont 3
|
||||
exp text locstring("@MENU_UPLOADING_STATS") + "...";
|
||||
exp rect y (0 - (337 / 2)) + getTextHeight(9, (0.5 * 1.5));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -320 0 640 0 2 1
|
||||
decoration
|
||||
visible when(((sin(milliseconds() * 0.005) + 1) * 0.5 > 0.5 && (sin(milliseconds() * 0.005) + 1) * 0.5 <= 0.75 && localvarbool("ishost")) && !dvarbool(splitscreen));
|
||||
textalign 5
|
||||
textscale 0.375
|
||||
textstyle 3
|
||||
textfont 3
|
||||
exp text locstring("@MENU_UPLOADING_STATS") + "...";
|
||||
exp rect y getTextHeight(9, 0.5);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -320 0 640 0 2 2
|
||||
decoration
|
||||
visible when(((sin(milliseconds() * 0.005) + 1) * 0.5 > 0.5 && (sin(milliseconds() * 0.005) + 1) * 0.5 <= 0.75 && localvarbool("ishost")) && dvarbool(splitscreen));
|
||||
textalign 5
|
||||
textscale 0.5625
|
||||
textstyle 3
|
||||
textfont 3
|
||||
exp text locstring("@MENU_UPLOADING_STATS") + "...";
|
||||
exp rect y (0 - (337 / 2)) + getTextHeight(9, (0.5 * 1.5));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -320 0 640 0 2 1
|
||||
decoration
|
||||
visible when(((sin(milliseconds() * 0.005) + 1) * 0.5 > 0.75 && localvarbool("ishost")) && !dvarbool(splitscreen));
|
||||
textalign 5
|
||||
textscale 0.375
|
||||
textstyle 3
|
||||
textfont 3
|
||||
exp text locstring("@MENU_UPLOADING_STATS") + "...";
|
||||
exp rect y getTextHeight(9, 0.5);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -320 0 640 0 2 2
|
||||
decoration
|
||||
visible when(((sin(milliseconds() * 0.005) + 1) * 0.5 > 0.75 && localvarbool("ishost")) && dvarbool(splitscreen));
|
||||
textalign 5
|
||||
textscale 0.5625
|
||||
textstyle 3
|
||||
textfont 3
|
||||
exp text locstring("@MENU_UPLOADING_STATS") + "...";
|
||||
exp rect y (0 - (337 / 2)) + getTextHeight(9, (0.5 * 1.5));
|
||||
}
|
||||
}
|
||||
}
|
12
zone_raw/patch_mp/ui_mp/initteam_marines.menu
Normal file
12
zone_raw/patch_mp/ui_mp/initteam_marines.menu
Normal file
@ -0,0 +1,12 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "initteam_marines"
|
||||
rect 0 0 0 0 0 0
|
||||
onOpen
|
||||
{
|
||||
setLocalVarString ui_team "marines";
|
||||
close self;
|
||||
}
|
||||
}
|
||||
}
|
12
zone_raw/patch_mp/ui_mp/initteam_opfor.menu
Normal file
12
zone_raw/patch_mp/ui_mp/initteam_opfor.menu
Normal file
@ -0,0 +1,12 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "initteam_opfor"
|
||||
rect 0 0 0 0 0 0
|
||||
onOpen
|
||||
{
|
||||
setLocalVarString ui_team "opfor";
|
||||
close self;
|
||||
}
|
||||
}
|
||||
}
|
304
zone_raw/patch_mp/ui_mp/kickplayer.menu
Normal file
304
zone_raw/patch_mp/ui_mp/kickplayer.menu
Normal file
@ -0,0 +1,304 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "kickplayer"
|
||||
rect 0 0 640 480 0 0
|
||||
style 1
|
||||
focuscolor 1 1 1 1
|
||||
blurWorld 4.8
|
||||
onOpen
|
||||
{
|
||||
setLocalVarInt ui_buttonNavGroupOffset 0;
|
||||
setLocalVarInt ui_buttonNavGroupCurrent 0;
|
||||
setLocalVarString ui_buttonNavGroupName "invalid";
|
||||
setLocalVarBool ui_swfSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfSelectionDisabled 0;
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled 0;
|
||||
setLocalVarString ui_swfPopupContext "invalid";
|
||||
focusfirst;
|
||||
}
|
||||
onESC
|
||||
{
|
||||
scriptMenuResponse back;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 237.5 -36 301.5 480 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_shelfEnabled"));
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0.4
|
||||
background "white"
|
||||
exp rect w localvarbool("ui_shelfEnabled") * select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 219.5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 219.5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 219.5));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 237.5 -236 13 680 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.75
|
||||
background "navbar_edge"
|
||||
exp rect x ((0 - 64) + 301.5) + (localvarbool("ui_shelfEnabled") * (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 219.5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 219.5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 219.5))));
|
||||
exp forecolor r 0.596078;
|
||||
exp forecolor g 0.654902;
|
||||
exp forecolor b 0.603922;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 237.5 -236 13 680 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_shelfEnabled"));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.75
|
||||
background "navbar_edge"
|
||||
exp rect x (0 - 64) + 301.5;
|
||||
exp forecolor r 0.596078;
|
||||
exp forecolor g 0.654902;
|
||||
exp forecolor b 0.603922;
|
||||
exp forecolor a localvarbool("ui_shelfEnabled") * (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 0.75), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0.75, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 0.75)));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -264 -236 501.5 680 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0.4
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 30 301.5 5.333 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
background "navbar_tick"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 3 276.667 24.233 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible when((1));
|
||||
textalign 10
|
||||
textscale 0.5
|
||||
textfont 9
|
||||
exp text "@MPUI_KICK_PLAYER";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -272.733 3 266.667 23.633 3 1
|
||||
style 1
|
||||
decoration
|
||||
visible when(("UI_PAUSE_RHS_TITLE_VIS"));
|
||||
textalign 10
|
||||
textscale 0.5
|
||||
textfont 9
|
||||
exp text "UI_PAUSE_RHS_TITLE";
|
||||
exp rect x (0) + ((0 - 272.733)) + (0);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -68 52 305.333 8.666 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar_shadow"
|
||||
exp rect y 34.667 + ((int(getFeederData("maplist", "selection")) - int(getFeederData("maplist", "start"))) * 17) + 17 + 3;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -68 34.667 305.333 17.333 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar"
|
||||
exp rect y 34.667 + ((int(getFeederData("maplist", "selection")) - int(getFeederData("maplist", "start"))) * 17) + 3;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "maplist"
|
||||
rect -37 34.667 276.667 385 1 1
|
||||
type 6
|
||||
visible 1
|
||||
textalignx -27
|
||||
textaligny 1.91665
|
||||
textscale 0.375
|
||||
textfont 1
|
||||
elementwidth 20
|
||||
elementheight 17
|
||||
feeder 6
|
||||
columns 1
|
||||
0 0 276 0 64 2
|
||||
doubleclick
|
||||
{
|
||||
uiScript voteTempBan;
|
||||
close self;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 20 3 3
|
||||
type 1
|
||||
visible when(((isprofilesignedin() || anysplitscreenprofilesaresignedin()) && (isusersignedintolive() || isanyusersignedintolive()) && ((dvarbool(onlinegame) && (dvarbool(sv_running) || dvarbool(cl_ingame))) || (!dvarbool(cl_ingame) && !dvarbool(sv_running)))));
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
onFocus
|
||||
{
|
||||
setLocalVarInt ui_ralign_index 2;
|
||||
setLocalVarString ui_ralign_group "kickplayer";
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarInt ui_ralign_index - 1;
|
||||
setLocalVarString ui_ralign_group "";
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
uiscript simulateKeyPress 102;
|
||||
}
|
||||
exp rect x (0) - (0 * 5) - 20 - getTextWidth(locstring("@PLATFORM_FRIENDS_SHORTCUT"), 3, 0.375) - select((1), (20 + getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375) + 5), 0);
|
||||
exp rect y ((0 - 20.667));
|
||||
exp rect w getTextWidth(locstring("@PLATFORM_FRIENDS_SHORTCUT"), 3, 0.375) + 20;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 8.666 3 3
|
||||
style 3
|
||||
decoration
|
||||
visible when((((isprofilesignedin() || anysplitscreenprofilesaresignedin()) && (isusersignedintolive() || isanyusersignedintolive()) && ((dvarbool(onlinegame) && (dvarbool(sv_running) || dvarbool(cl_ingame))) || (!dvarbool(cl_ingame) && !dvarbool(sv_running))))) && (!0) && (localvarint("ui_ralign_index") == 2 && localvarstring("ui_ralign_group") == "kickplayer"));
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar_shadow"
|
||||
exp rect x (0) - (0 * 5) - (20) - getTextWidth(locstring("@PLATFORM_FRIENDS_SHORTCUT"), 3, 0.375) - select((1), (20 + getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375) + 5), 0);
|
||||
exp rect y ((0 - 20.667)) + 20;
|
||||
exp rect w getTextWidth(locstring("@PLATFORM_FRIENDS_SHORTCUT"), 3, 0.375) + 20;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 20 3 3
|
||||
style 1
|
||||
decoration
|
||||
visible when((((isprofilesignedin() || anysplitscreenprofilesaresignedin()) && (isusersignedintolive() || isanyusersignedintolive()) && ((dvarbool(onlinegame) && (dvarbool(sv_running) || dvarbool(cl_ingame))) || (!dvarbool(cl_ingame) && !dvarbool(sv_running))))) && (localvarint("ui_ralign_index") == 2 && localvarstring("ui_ralign_group") == "kickplayer"));
|
||||
textscale 0.55
|
||||
backcolor 0.6 0.6314 0.6 1
|
||||
exp rect x (0) - (0 * 5) - (20) - getTextWidth(locstring("@PLATFORM_FRIENDS_SHORTCUT"), 3, 0.375) - select((1), (20 + getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375) + 5), 0);
|
||||
exp rect y ((0 - 20.667));
|
||||
exp rect w getTextWidth(locstring("@PLATFORM_FRIENDS_SHORTCUT"), 3, 0.375) + 20;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 20 3 3
|
||||
decoration
|
||||
visible when(((isprofilesignedin() || anysplitscreenprofilesaresignedin()) && (isusersignedintolive() || isanyusersignedintolive()) && ((dvarbool(onlinegame) && (dvarbool(sv_running) || dvarbool(cl_ingame))) || (!dvarbool(cl_ingame) && !dvarbool(sv_running)))));
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
execKey "f"
|
||||
{
|
||||
if (((isprofilesignedin() || anysplitscreenprofilesaresignedin()) && (isusersignedintolive() || isanyusersignedintolive()) && ((dvarbool(onlinegame) && (dvarbool(sv_running) || dvarbool(cl_ingame))) || (!dvarbool(cl_ingame) && !dvarbool(sv_running)))))
|
||||
{
|
||||
setLocalVarBool ui_vault_browse 0;
|
||||
setLocalVarBool ui_vault_load 0;
|
||||
execnow "incnosplitscreencontrol popup_friends";
|
||||
if (isprofilesignedin() && isusersignedintolive())
|
||||
{
|
||||
open popup_friends;
|
||||
}
|
||||
else
|
||||
{
|
||||
execnow "decnosplitscreencontrol popup_friends";
|
||||
}
|
||||
}
|
||||
}
|
||||
exp text "@PLATFORM_FRIENDS_SHORTCUT";
|
||||
exp rect x (0) - (0 * 5) - (20 / 2) - getTextWidth(locstring("@PLATFORM_FRIENDS_SHORTCUT"), 3, 0.375) - select((1), (20 + getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375) + 5), 0);
|
||||
exp rect y ((0 - 20.667));
|
||||
exp rect w getTextWidth(locstring("@PLATFORM_FRIENDS_SHORTCUT"), 3, 0.375);
|
||||
exp forecolor r select((localvarint("ui_ralign_index") == 2 && localvarstring("ui_ralign_group") == "kickplayer"), select(isdemoplaying(), FUNC_36(), FUNC_35()), 1);
|
||||
exp forecolor g select((localvarint("ui_ralign_index") == 2 && localvarstring("ui_ralign_group") == "kickplayer"), select(isdemoplaying(), FUNC_36(), FUNC_35()), 1);
|
||||
exp forecolor b select((localvarint("ui_ralign_index") == 2 && localvarstring("ui_ralign_group") == "kickplayer"), select(isdemoplaying(), FUNC_36(), FUNC_35()), 1);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 20 3 3
|
||||
type 1
|
||||
visible when(1);
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
onFocus
|
||||
{
|
||||
setLocalVarInt ui_ralign_index 1;
|
||||
setLocalVarString ui_ralign_group "kickplayer";
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarInt ui_ralign_index - 1;
|
||||
setLocalVarString ui_ralign_group "";
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
uiscript simulateKeyPress 27;
|
||||
}
|
||||
exp rect x (0) - (0 * 5) - 20 - getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375);
|
||||
exp rect y ((0 - 20.667));
|
||||
exp rect w getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375) + 20;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 8.666 3 3
|
||||
style 3
|
||||
decoration
|
||||
visible when((1) && (!0) && (localvarint("ui_ralign_index") == 1 && localvarstring("ui_ralign_group") == "kickplayer"));
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar_shadow"
|
||||
exp rect x (0) - (0 * 5) - (20) - getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375);
|
||||
exp rect y ((0 - 20.667)) + 20;
|
||||
exp rect w getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375) + 20;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 20 3 3
|
||||
style 1
|
||||
decoration
|
||||
visible when((1) && (localvarint("ui_ralign_index") == 1 && localvarstring("ui_ralign_group") == "kickplayer"));
|
||||
textscale 0.55
|
||||
backcolor 0.6 0.6314 0.6 1
|
||||
exp rect x (0) - (0 * 5) - (20) - getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375);
|
||||
exp rect y ((0 - 20.667));
|
||||
exp rect w getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375) + 20;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 20 3 3
|
||||
decoration
|
||||
visible when(1);
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
exp text "@PLATFORM_BACK_SHORTCUT";
|
||||
exp rect x (0) - (0 * 5) - (20 / 2) - getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375);
|
||||
exp rect y ((0 - 20.667));
|
||||
exp rect w getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375);
|
||||
exp forecolor r select((localvarint("ui_ralign_index") == 1 && localvarstring("ui_ralign_group") == "kickplayer"), select(isdemoplaying(), FUNC_36(), FUNC_35()), 1);
|
||||
exp forecolor g select((localvarint("ui_ralign_index") == 1 && localvarstring("ui_ralign_group") == "kickplayer"), select(isdemoplaying(), FUNC_36(), FUNC_35()), 1);
|
||||
exp forecolor b select((localvarint("ui_ralign_index") == 1 && localvarstring("ui_ralign_group") == "kickplayer"), select(isdemoplaying(), FUNC_36(), FUNC_35()), 1);
|
||||
}
|
||||
}
|
||||
}
|
22
zone_raw/patch_mp/ui_mp/killedby_card_display.menu
Normal file
22
zone_raw/patch_mp/ui_mp/killedby_card_display.menu
Normal file
@ -0,0 +1,22 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "killedby_card_display"
|
||||
decoration
|
||||
rect 0 0 640 1 1 0
|
||||
onOpen
|
||||
{
|
||||
setLocalVarInt ui_show_killedBy (milliseconds());
|
||||
setLocalVarInt ui_show_youKilled 0;
|
||||
if (getperk("perk4") == "specialty_copycat")
|
||||
{
|
||||
setLocalVarInt ui_show_copyCat 1;
|
||||
}
|
||||
else
|
||||
{
|
||||
setLocalVarInt ui_show_copyCat 0;
|
||||
}
|
||||
close self;
|
||||
}
|
||||
}
|
||||
}
|
13
zone_raw/patch_mp/ui_mp/killedby_card_hide.menu
Normal file
13
zone_raw/patch_mp/ui_mp/killedby_card_hide.menu
Normal file
@ -0,0 +1,13 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "killedby_card_hide"
|
||||
decoration
|
||||
rect 0 0 640 1 1 0
|
||||
onOpen
|
||||
{
|
||||
setLocalVarInt ui_show_killedBy 0;
|
||||
close self;
|
||||
}
|
||||
}
|
||||
}
|
94
zone_raw/patch_mp/ui_mp/killstreak.menu
Normal file
94
zone_raw/patch_mp/ui_mp/killstreak.menu
Normal file
@ -0,0 +1,94 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "killstreak"
|
||||
decoration
|
||||
rect 0 0 640 480 1 1
|
||||
onOpen
|
||||
{
|
||||
lerp alpha from 0 to 1 over "0.15";
|
||||
lerp x from 0 to 0 over 0;
|
||||
lerp y from 0 to 0 over 0;
|
||||
lerp scale from 1 to 1 over 0;
|
||||
setLocalVarString tempName (tablelookupbyrow("mp/splashTable.csv", splashrownum(0), 0));
|
||||
setLocalVarString ui_ksHint localvarstring("tempName");
|
||||
forceClose splash;
|
||||
forceClose challenge;
|
||||
forceClose daily_challenge;
|
||||
forceClose weekly_challenge;
|
||||
forceClose defcon;
|
||||
forceClose killstreak_pickup;
|
||||
forceClose killstreak_minisplash;
|
||||
forceClose perk_challenge;
|
||||
forceClose promotion;
|
||||
}
|
||||
onRequestClose
|
||||
{
|
||||
lerp alpha from 1 to 0 over "0.15";
|
||||
lerp x from 0 to 500 over "0.15" lerp y from 0 to 400 over "0.15" lerp scale from 1 to "0.2" over "0.15";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "killstreak_description"
|
||||
rect 0 -130 0 0 2 2
|
||||
decoration
|
||||
visible when(FUNC_163());
|
||||
textalign 1
|
||||
textscale 0.375
|
||||
textstyle 3
|
||||
textfont 9
|
||||
exp text getsplashdescription(0);
|
||||
exp glowcolor r tablelookupbyrow("mp/splashTable.csv", splashrownum(0), 5);
|
||||
exp glowcolor g tablelookupbyrow("mp/splashTable.csv", splashrownum(0), 6);
|
||||
exp glowcolor b tablelookupbyrow("mp/splashTable.csv", splashrownum(0), 7);
|
||||
exp glowcolor a tablelookupbyrow("mp/splashTable.csv", splashrownum(0), 8);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "killstreak_title"
|
||||
rect 0 -115 0 0 2 2
|
||||
decoration
|
||||
visible when(FUNC_163());
|
||||
textalign 1
|
||||
textscale 0.375
|
||||
textstyle 3
|
||||
exp text getsplashtext(0);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "killstreak_icon"
|
||||
rect -24 -190 40 40 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_163() && FUNC_185() && FUNC_88());
|
||||
textscale 0.55
|
||||
exp material tablelookup("mp/killstreakTable.csv", 1, localvarstring("tempName"), 14);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "killstreak_title_ss"
|
||||
rect 0 -135 0 0 2 2
|
||||
decoration
|
||||
visible when(FUNC_162());
|
||||
textalign 1
|
||||
textscale 0.87495
|
||||
textstyle 3
|
||||
textfont 9
|
||||
exp text getsplashtext(0);
|
||||
exp glowcolor r tablelookupbyrow("mp/splashTable.csv", splashrownum(0), 5);
|
||||
exp glowcolor g tablelookupbyrow("mp/splashTable.csv", splashrownum(0), 6);
|
||||
exp glowcolor b tablelookupbyrow("mp/splashTable.csv", splashrownum(0), 7);
|
||||
exp glowcolor a tablelookupbyrow("mp/splashTable.csv", splashrownum(0), 8);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "killstreak_icon_ss"
|
||||
rect -20 -135 40 40 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_162() && FUNC_185() && FUNC_88());
|
||||
textscale 0.55
|
||||
exp material tablelookup("mp/killstreakTable.csv", 1, localvarstring("tempName"), 14);
|
||||
}
|
||||
}
|
||||
}
|
29
zone_raw/patch_mp/ui_mp/killstreak_hint.menu
Normal file
29
zone_raw/patch_mp/ui_mp/killstreak_hint.menu
Normal file
@ -0,0 +1,29 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "killstreak_hint"
|
||||
decoration
|
||||
rect 0 0 640 480 1 1
|
||||
onOpen
|
||||
{
|
||||
lerp alpha from 0 to 1 over "0.15";
|
||||
}
|
||||
onRequestClose
|
||||
{
|
||||
lerp x from 0 to 400 over "1.0";
|
||||
lerp y from 0 to 400 over "1.0";
|
||||
lerp alpha from 1 to 0 over "1.0";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "killstreak_icon"
|
||||
rect -24 -190 48 48 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_163() && FUNC_185() && FUNC_88() && !ui_active());
|
||||
textscale 0.55
|
||||
exp material tablelookup("mp/killstreakTable.csv", 1, localvarstring("ui_ksHint"), 16);
|
||||
exp rect y - 190 + (FUNC_184() * 40);
|
||||
}
|
||||
}
|
||||
}
|
53
zone_raw/patch_mp/ui_mp/killstreak_minisplash.menu
Normal file
53
zone_raw/patch_mp/ui_mp/killstreak_minisplash.menu
Normal file
@ -0,0 +1,53 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "killstreak_minisplash"
|
||||
decoration
|
||||
rect 0 0 640 480 8 8
|
||||
exp rect Y FUNC_184() * (0 - 40) * FUNC_163();
|
||||
onOpen
|
||||
{
|
||||
lerp alpha from 0 to 1 over "0.15";
|
||||
setLocalVarString tempName (tablelookupbyrow("mp/splashTable.csv", splashrownum(0), 0));
|
||||
setLocalVarString ui_ksHint localvarstring("tempName");
|
||||
forceClose splash;
|
||||
forceClose challenge;
|
||||
forceClose daily_challenge;
|
||||
forceClose weekly_challenge;
|
||||
forceClose defcon;
|
||||
forceClose killstreak;
|
||||
forceClose killstreak_pickup;
|
||||
forceClose perk_challenge;
|
||||
forceClose promotion;
|
||||
forceClose promotion_weapon;
|
||||
}
|
||||
onRequestClose
|
||||
{
|
||||
lerp alpha from 1 to 0 over "0.15";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "killstreak_description"
|
||||
rect -248 -58 200 20 10 10
|
||||
decoration
|
||||
visible when(FUNC_163() && FUNC_50());
|
||||
textalign 2
|
||||
textscale 0.3333
|
||||
textstyle 3
|
||||
textfont 10
|
||||
exp text getsplashdescription(0);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "killstreak_description"
|
||||
rect -291 -120 200 20 10 10
|
||||
decoration
|
||||
visible when(FUNC_162() && FUNC_50());
|
||||
textalign 2
|
||||
textscale 0.4583
|
||||
textstyle 3
|
||||
textfont 9
|
||||
exp text getsplashdescription(0);
|
||||
}
|
||||
}
|
||||
}
|
92
zone_raw/patch_mp/ui_mp/killstreak_pickup.menu
Normal file
92
zone_raw/patch_mp/ui_mp/killstreak_pickup.menu
Normal file
@ -0,0 +1,92 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "killstreak_pickup"
|
||||
decoration
|
||||
rect 0 0 640 480 1 1
|
||||
exp rect Y FUNC_184() * (0 - 40) * FUNC_163();
|
||||
onOpen
|
||||
{
|
||||
lerp alpha from 0 to 1 over "0.15";
|
||||
lerp y from 480 to 0 over "0.15";
|
||||
setLocalVarString tempName (tablelookupbyrow("mp/splashTable.csv", splashrownum(0), 0));
|
||||
forceClose splash;
|
||||
forceClose challenge;
|
||||
forceClose daily_challenge;
|
||||
forceClose weekly_challenge;
|
||||
forceClose defcon;
|
||||
forceClose killstreak_minisplash;
|
||||
forceClose killstreak;
|
||||
forceClose perk_challenge;
|
||||
forceClose promotion;
|
||||
}
|
||||
onRequestClose
|
||||
{
|
||||
lerp y from 0 to - 480 over "0.15";
|
||||
lerp alpha from 1 to 0 over "0.15";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "killstreak_title"
|
||||
rect 0 -110 0 0 2 2
|
||||
decoration
|
||||
visible when(FUNC_163());
|
||||
textalign 1
|
||||
textscale 0.5833
|
||||
textstyle 3
|
||||
textfont 9
|
||||
exp text getsplashtext(0);
|
||||
exp glowcolor r tablelookupbyrow("mp/splashTable.csv", splashrownum(0), 5);
|
||||
exp glowcolor g tablelookupbyrow("mp/splashTable.csv", splashrownum(0), 6);
|
||||
exp glowcolor b tablelookupbyrow("mp/splashTable.csv", splashrownum(0), 7);
|
||||
exp glowcolor a tablelookupbyrow("mp/splashTable.csv", splashrownum(0), 8);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "killstreak_description"
|
||||
rect 0 -90 0 0 2 2
|
||||
decoration
|
||||
visible when(FUNC_163());
|
||||
textalign 1
|
||||
textscale 0.375
|
||||
textstyle 3
|
||||
exp text getsplashdescription(0);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "killstreak_icon"
|
||||
rect -24 -190 48 48 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_163() && FUNC_185() && FUNC_88());
|
||||
textscale 0.55
|
||||
exp material getsplashmaterial(0);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "killstreak_title_ss"
|
||||
rect 0 -135 0 0 2 2
|
||||
decoration
|
||||
visible when(FUNC_162());
|
||||
textalign 1
|
||||
textscale 0.87495
|
||||
textstyle 3
|
||||
textfont 9
|
||||
exp text getsplashtext(0);
|
||||
exp glowcolor r tablelookupbyrow("mp/splashTable.csv", splashrownum(0), 5);
|
||||
exp glowcolor g tablelookupbyrow("mp/splashTable.csv", splashrownum(0), 6);
|
||||
exp glowcolor b tablelookupbyrow("mp/splashTable.csv", splashrownum(0), 7);
|
||||
exp glowcolor a tablelookupbyrow("mp/splashTable.csv", splashrownum(0), 8);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "killstreak_icon_ss"
|
||||
rect -30 -135 60 60 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_162() && FUNC_185() && FUNC_88());
|
||||
textscale 0.55
|
||||
exp material getsplashmaterial(0);
|
||||
}
|
||||
}
|
||||
}
|
838
zone_raw/patch_mp/ui_mp/killstreaks_480_splitquarter.menu
Normal file
838
zone_raw/patch_mp/ui_mp/killstreaks_480_splitquarter.menu
Normal file
@ -0,0 +1,838 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "killstreaks_480_splitquarter"
|
||||
rect 0 0 640 480 10 10
|
||||
fadeClamp 1
|
||||
fadeCycle 1
|
||||
fadeAmount 0.1
|
||||
legacySplitScreenScale
|
||||
visible when(FUNC_109() && !FUNC_103() && FUNC_96() && FUNC_88() && FUNC_99());
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -66.6667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 0) && (FUNC_273() < 1));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -66.6667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 0) && (FUNC_272() > 0));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -72 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 1) && (FUNC_273() < 2));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -72 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 1) && (FUNC_272() > 1));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -77.3333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 2) && (FUNC_273() < 3));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -77.3333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 2) && (FUNC_272() > 2));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -82.6667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 3) && (FUNC_273() < 4));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -82.6667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 3) && (FUNC_272() > 3));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -88 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 4) && (FUNC_273() < 5));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -88 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 4) && (FUNC_272() > 4));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -93.3333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 5) && (FUNC_273() < 6));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -93.3333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 5) && (FUNC_272() > 5));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -98.6667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 6) && (FUNC_273() < 7));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -98.6667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 6) && (FUNC_272() > 6));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -104 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 7) && (FUNC_273() < 8));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -104 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 7) && (FUNC_272() > 7));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -109.333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 8) && (FUNC_273() < 9));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -109.333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 8) && (FUNC_272() > 8));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -114.667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 9) && (FUNC_273() < 10));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -114.667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 9) && (FUNC_272() > 9));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -120 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 10) && (FUNC_273() < 11));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -120 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 10) && (FUNC_272() > 10));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -125.333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 11) && (FUNC_273() < 12));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -125.333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 11) && (FUNC_272() > 11));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -130.667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 12) && (FUNC_273() < 13));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -130.667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 12) && (FUNC_272() > 12));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -136 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 13) && (FUNC_273() < 14));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -136 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 13) && (FUNC_272() > 13));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -141.333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 14) && (FUNC_273() < 15));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -141.333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 14) && (FUNC_272() > 14));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -146.667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 15) && (FUNC_273() < 16));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -146.667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 15) && (FUNC_272() > 15));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -152 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 16) && (FUNC_273() < 17));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -152 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 16) && (FUNC_272() > 16));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -157.333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 17) && (FUNC_273() < 18));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -157.333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 17) && (FUNC_272() > 17));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -162.667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 18) && (FUNC_273() < 19));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -162.667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 18) && (FUNC_272() > 18));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -168 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 19) && (FUNC_273() < 20));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -168 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 19) && (FUNC_272() > 19));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -173.333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 20) && (FUNC_273() < 21));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -173.333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 20) && (FUNC_272() > 20));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -178.667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 21) && (FUNC_273() < 22));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -178.667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 21) && (FUNC_272() > 21));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -184 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 22) && (FUNC_273() < 23));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -184 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 22) && (FUNC_272() > 22));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -189.333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 23) && (FUNC_273() < 24));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -189.333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 23) && (FUNC_272() > 23));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -194.667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 24) && (FUNC_273() < 25));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -194.667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 24) && (FUNC_272() > 24));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 0 13.3333 0 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
background "hud_killstreak_frame_fade_top"
|
||||
exp rect h (FUNC_272()) * (9 * 0.666);
|
||||
exp rect y (- 65) - ((FUNC_272() - 1) * (9 * 0.666));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -42.6667 -80 20 20 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_274() == 1 && FUNC_272() > 0);
|
||||
textscale 0.55
|
||||
background "hud_killstreak_frame"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -42.6667 -100 20 20 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_274() == 2 && FUNC_272() > 0);
|
||||
textscale 0.55
|
||||
background "hud_killstreak_frame"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -42.6667 -120 20 20 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_274() == 3 && FUNC_272() > 0);
|
||||
textscale 0.55
|
||||
background "hud_killstreak_frame"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -23.3333 -74.6667 9.33333 9.33333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_274() == 1 && FUNC_272() > 0);
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bridge"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -23.3333 -94.6667 9.33333 9.33333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_274() == 2 && FUNC_272() > 0);
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bridge"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -23.3333 -114.667 9.33333 9.33333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_274() == 3 && FUNC_272() > 0);
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bridge"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -45.3333 -62.6667 25.3333 25.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_278());
|
||||
textscale 0.55
|
||||
background "hud_killstreak_highlight"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -45.3333 -82.6667 25.3333 25.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_280());
|
||||
textscale 0.55
|
||||
background "hud_killstreak_highlight"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -45.3333 -102.667 25.3333 25.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_282());
|
||||
textscale 0.55
|
||||
background "hud_killstreak_highlight"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -45.3333 -122.667 25.3333 25.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_284());
|
||||
textscale 0.55
|
||||
background "hud_killstreak_highlight"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -58.6667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_277() && FUNC_275() != 0);
|
||||
textscale 0.55
|
||||
exp material tablelookup("mp/killstreakTable.csv", 0, FUNC_286(), 14);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -58.6667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_278());
|
||||
textscale 0.55
|
||||
exp material tablelookup("mp/killstreakTable.csv", 0, FUNC_286(), 16);
|
||||
exp rect x (- 49 + ((sin(milliseconds() / 90)) * 0.65)) + 7;
|
||||
exp rect y (- 75 + ((sin(milliseconds() / 90)) * 0.65)) + 18;
|
||||
exp rect w (26 + ((sin(milliseconds() / 90)) * 0.65)) - 10;
|
||||
exp rect h (26 + ((sin(milliseconds() / 90)) * 0.65)) - 10;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -58.6667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(!FUNC_277() || !FUNC_278());
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "hud_iw5_killstreak_box"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -78.6667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(!FUNC_279() && FUNC_287() != 0);
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.35
|
||||
exp material tablelookup("mp/killstreakTable.csv", 0, FUNC_287(), 17);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -78.6667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_279() && FUNC_275() != 1 && FUNC_287() != 0);
|
||||
textscale 0.55
|
||||
exp material tablelookup("mp/killstreakTable.csv", 0, FUNC_287(), 14);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -78.6667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_280() && FUNC_287() != 0);
|
||||
textscale 0.55
|
||||
exp material tablelookup("mp/killstreakTable.csv", 0, FUNC_287(), 16);
|
||||
exp rect x (- 49 + ((sin(milliseconds() / 90)) * 0.65)) + 7;
|
||||
exp rect y ((- 75 + ((sin(milliseconds() / 90)) * 0.65)) - 0 - 26 - 4) + 28;
|
||||
exp rect w (26 + ((sin(milliseconds() / 90)) * 0.65)) - 10;
|
||||
exp rect h (26 + ((sin(milliseconds() / 90)) * 0.65)) - 10;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -78.6667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(!FUNC_279() || !FUNC_280());
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "hud_iw5_killstreak_box"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -98.6667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(!FUNC_281() && FUNC_288() != 0);
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.35
|
||||
exp material tablelookup("mp/killstreakTable.csv", 0, FUNC_288(), 17);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -98.6667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_281() && FUNC_275() != 2 && FUNC_288() != 0);
|
||||
textscale 0.55
|
||||
exp material tablelookup("mp/killstreakTable.csv", 0, FUNC_288(), 14);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -98.6667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_282() && FUNC_288() != 0);
|
||||
textscale 0.55
|
||||
exp material tablelookup("mp/killstreakTable.csv", 0, FUNC_288(), 16);
|
||||
exp rect x (- 49 + ((sin(milliseconds() / 90)) * 0.65)) + 7;
|
||||
exp rect y ((- 75 - 0 - 26 * 2 - 4 * 2) + ((sin(milliseconds() / 90)) * 0.65)) + 38;
|
||||
exp rect w (26 + ((sin(milliseconds() / 90)) * 0.65)) - 10;
|
||||
exp rect h (26 + ((sin(milliseconds() / 90)) * 0.65)) - 10;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -98.6667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(!FUNC_281() || !FUNC_282());
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "hud_iw5_killstreak_box"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -118.667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(!FUNC_283() && FUNC_289() != 0);
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.35
|
||||
exp material tablelookup("mp/killstreakTable.csv", 0, FUNC_289(), 17);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -118.667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_283() && FUNC_275() != 3 && FUNC_289() != 0);
|
||||
textscale 0.55
|
||||
exp material tablelookup("mp/killstreakTable.csv", 0, FUNC_289(), 14);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -118.667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_284() && FUNC_289() != 0);
|
||||
textscale 0.55
|
||||
exp material tablelookup("mp/killstreakTable.csv", 0, FUNC_289(), 16);
|
||||
exp rect x (- 49 + ((sin(milliseconds() / 90)) * 0.65)) + 7;
|
||||
exp rect y ((- 75 - 0 - 26 * 3 - 4 * 3) + ((sin(milliseconds() / 90)) * 0.65)) + 48;
|
||||
exp rect w (26 + ((sin(milliseconds() / 90)) * 0.65)) - 10;
|
||||
exp rect h (26 + ((sin(milliseconds() / 90)) * 0.65)) - 10;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -118.667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(!FUNC_283() || !FUNC_284());
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "hud_iw5_killstreak_box"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -138.667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_285());
|
||||
textscale 0.55
|
||||
background "specialty_perks_all"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -26.6667 -57 6.66667 14 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_277() && ((FUNC_290()) || (FUNC_275() == 0)));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_dpad_arrow_right"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -39.3333 -60.6667 13.3333 5.33333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_278() && FUNC_276());
|
||||
textscale 0.55
|
||||
background "hud_killstreak_dpad_arrow_up"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -39.3333 -44 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_278() && FUNC_276());
|
||||
textscale 0.55
|
||||
background "hud_killstreak_dpad_arrow_down"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -26.6667 -77 6.66667 14 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_280());
|
||||
textscale 0.55
|
||||
background "hud_killstreak_dpad_arrow_right"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -39.3333 -80.6667 13.3333 5.33333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_280() && FUNC_276());
|
||||
textscale 0.55
|
||||
background "hud_killstreak_dpad_arrow_up"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -39.3333 -64 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_280() && FUNC_276());
|
||||
textscale 0.55
|
||||
background "hud_killstreak_dpad_arrow_down"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -26.6667 -97 6.66667 14 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_282());
|
||||
textscale 0.55
|
||||
background "hud_killstreak_dpad_arrow_right"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -39.3333 -100.667 13.3333 5.33333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_282() && FUNC_276());
|
||||
textscale 0.55
|
||||
background "hud_killstreak_dpad_arrow_up"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -39.3333 -84 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_282() && FUNC_276());
|
||||
textscale 0.55
|
||||
background "hud_killstreak_dpad_arrow_down"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -26.6667 -117 6.66667 14 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_284());
|
||||
textscale 0.55
|
||||
background "hud_killstreak_dpad_arrow_right"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -39.3333 -120.667 13.3333 5.33333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_284() && FUNC_276());
|
||||
textscale 0.55
|
||||
background "hud_killstreak_dpad_arrow_up"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -39.3333 -104 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_284() && FUNC_276());
|
||||
textscale 0.55
|
||||
background "hud_killstreak_dpad_arrow_down"
|
||||
}
|
||||
}
|
||||
}
|
838
zone_raw/patch_mp/ui_mp/killstreaks_480_splitwide.menu
Normal file
838
zone_raw/patch_mp/ui_mp/killstreaks_480_splitwide.menu
Normal file
@ -0,0 +1,838 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "killstreaks_480_splitwide"
|
||||
rect 0 0 640 480 10 10
|
||||
fadeClamp 1
|
||||
fadeCycle 1
|
||||
fadeAmount 0.1
|
||||
legacySplitScreenScale
|
||||
visible when(FUNC_109() && !FUNC_103() && FUNC_96() && FUNC_88() && FUNC_99());
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -66.6667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 0) && (FUNC_273() < 1));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -66.6667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 0) && (FUNC_272() > 0));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -72 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 1) && (FUNC_273() < 2));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -72 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 1) && (FUNC_272() > 1));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -77.3333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 2) && (FUNC_273() < 3));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -77.3333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 2) && (FUNC_272() > 2));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -82.6667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 3) && (FUNC_273() < 4));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -82.6667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 3) && (FUNC_272() > 3));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -88 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 4) && (FUNC_273() < 5));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -88 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 4) && (FUNC_272() > 4));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -93.3333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 5) && (FUNC_273() < 6));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -93.3333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 5) && (FUNC_272() > 5));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -98.6667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 6) && (FUNC_273() < 7));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -98.6667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 6) && (FUNC_272() > 6));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -104 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 7) && (FUNC_273() < 8));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -104 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 7) && (FUNC_272() > 7));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -109.333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 8) && (FUNC_273() < 9));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -109.333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 8) && (FUNC_272() > 8));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -114.667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 9) && (FUNC_273() < 10));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -114.667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 9) && (FUNC_272() > 9));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -120 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 10) && (FUNC_273() < 11));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -120 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 10) && (FUNC_272() > 10));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -125.333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 11) && (FUNC_273() < 12));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -125.333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 11) && (FUNC_272() > 11));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -130.667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 12) && (FUNC_273() < 13));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -130.667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 12) && (FUNC_272() > 12));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -136 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 13) && (FUNC_273() < 14));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -136 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 13) && (FUNC_272() > 13));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -141.333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 14) && (FUNC_273() < 15));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -141.333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 14) && (FUNC_272() > 14));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -146.667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 15) && (FUNC_273() < 16));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -146.667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 15) && (FUNC_272() > 15));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -152 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 16) && (FUNC_273() < 17));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -152 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 16) && (FUNC_272() > 16));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -157.333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 17) && (FUNC_273() < 18));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -157.333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 17) && (FUNC_272() > 17));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -162.667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 18) && (FUNC_273() < 19));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -162.667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 18) && (FUNC_272() > 18));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -168 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 19) && (FUNC_273() < 20));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -168 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 19) && (FUNC_272() > 19));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -173.333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 20) && (FUNC_273() < 21));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -173.333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 20) && (FUNC_272() > 20));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -178.667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 21) && (FUNC_273() < 22));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -178.667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 21) && (FUNC_272() > 21));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -184 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 22) && (FUNC_273() < 23));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -184 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 22) && (FUNC_272() > 22));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -189.333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 23) && (FUNC_273() < 24));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -189.333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 23) && (FUNC_272() > 23));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -194.667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 24) && (FUNC_273() < 25));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -194.667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 24) && (FUNC_272() > 24));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 0 13.3333 0 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
background "hud_killstreak_frame_fade_top"
|
||||
exp rect h (FUNC_272()) * (9 * 0.666);
|
||||
exp rect y (- 65) - ((FUNC_272() - 1) * (9 * 0.666));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -42.6667 -80 20 20 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_274() == 1 && FUNC_272() > 0);
|
||||
textscale 0.55
|
||||
background "hud_killstreak_frame"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -42.6667 -100 20 20 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_274() == 2 && FUNC_272() > 0);
|
||||
textscale 0.55
|
||||
background "hud_killstreak_frame"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -42.6667 -120 20 20 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_274() == 3 && FUNC_272() > 0);
|
||||
textscale 0.55
|
||||
background "hud_killstreak_frame"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -23.3333 -74.6667 9.33333 9.33333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_274() == 1 && FUNC_272() > 0);
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bridge"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -23.3333 -94.6667 9.33333 9.33333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_274() == 2 && FUNC_272() > 0);
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bridge"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -23.3333 -114.667 9.33333 9.33333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_274() == 3 && FUNC_272() > 0);
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bridge"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -45.3333 -62.6667 25.3333 25.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_278());
|
||||
textscale 0.55
|
||||
background "hud_killstreak_highlight"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -45.3333 -82.6667 25.3333 25.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_280());
|
||||
textscale 0.55
|
||||
background "hud_killstreak_highlight"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -45.3333 -102.667 25.3333 25.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_282());
|
||||
textscale 0.55
|
||||
background "hud_killstreak_highlight"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -45.3333 -122.667 25.3333 25.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_284());
|
||||
textscale 0.55
|
||||
background "hud_killstreak_highlight"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -58.6667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_277() && FUNC_275() != 0);
|
||||
textscale 0.55
|
||||
exp material tablelookup("mp/killstreakTable.csv", 0, FUNC_286(), 14);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -58.6667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_278());
|
||||
textscale 0.55
|
||||
exp material tablelookup("mp/killstreakTable.csv", 0, FUNC_286(), 16);
|
||||
exp rect x (- 49 + ((sin(milliseconds() / 90)) * 0.65)) + 7;
|
||||
exp rect y (- 75 + ((sin(milliseconds() / 90)) * 0.65)) + 18;
|
||||
exp rect w (26 + ((sin(milliseconds() / 90)) * 0.65)) - 10;
|
||||
exp rect h (26 + ((sin(milliseconds() / 90)) * 0.65)) - 10;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -58.6667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(!FUNC_277() || !FUNC_278());
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "hud_iw5_killstreak_box"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -78.6667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(!FUNC_279() && FUNC_287() != 0);
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.35
|
||||
exp material tablelookup("mp/killstreakTable.csv", 0, FUNC_287(), 17);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -78.6667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_279() && FUNC_275() != 1 && FUNC_287() != 0);
|
||||
textscale 0.55
|
||||
exp material tablelookup("mp/killstreakTable.csv", 0, FUNC_287(), 14);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -78.6667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_280() && FUNC_287() != 0);
|
||||
textscale 0.55
|
||||
exp material tablelookup("mp/killstreakTable.csv", 0, FUNC_287(), 16);
|
||||
exp rect x (- 49 + ((sin(milliseconds() / 90)) * 0.65)) + 7;
|
||||
exp rect y ((- 75 + ((sin(milliseconds() / 90)) * 0.65)) - 0 - 26 - 4) + 28;
|
||||
exp rect w (26 + ((sin(milliseconds() / 90)) * 0.65)) - 10;
|
||||
exp rect h (26 + ((sin(milliseconds() / 90)) * 0.65)) - 10;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -78.6667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(!FUNC_279() || !FUNC_280());
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "hud_iw5_killstreak_box"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -98.6667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(!FUNC_281() && FUNC_288() != 0);
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.35
|
||||
exp material tablelookup("mp/killstreakTable.csv", 0, FUNC_288(), 17);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -98.6667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_281() && FUNC_275() != 2 && FUNC_288() != 0);
|
||||
textscale 0.55
|
||||
exp material tablelookup("mp/killstreakTable.csv", 0, FUNC_288(), 14);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -98.6667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_282() && FUNC_288() != 0);
|
||||
textscale 0.55
|
||||
exp material tablelookup("mp/killstreakTable.csv", 0, FUNC_288(), 16);
|
||||
exp rect x (- 49 + ((sin(milliseconds() / 90)) * 0.65)) + 7;
|
||||
exp rect y ((- 75 - 0 - 26 * 2 - 4 * 2) + ((sin(milliseconds() / 90)) * 0.65)) + 38;
|
||||
exp rect w (26 + ((sin(milliseconds() / 90)) * 0.65)) - 10;
|
||||
exp rect h (26 + ((sin(milliseconds() / 90)) * 0.65)) - 10;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -98.6667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(!FUNC_281() || !FUNC_282());
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "hud_iw5_killstreak_box"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -118.667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(!FUNC_283() && FUNC_289() != 0);
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.35
|
||||
exp material tablelookup("mp/killstreakTable.csv", 0, FUNC_289(), 17);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -118.667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_283() && FUNC_275() != 3 && FUNC_289() != 0);
|
||||
textscale 0.55
|
||||
exp material tablelookup("mp/killstreakTable.csv", 0, FUNC_289(), 14);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -118.667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_284() && FUNC_289() != 0);
|
||||
textscale 0.55
|
||||
exp material tablelookup("mp/killstreakTable.csv", 0, FUNC_289(), 16);
|
||||
exp rect x (- 49 + ((sin(milliseconds() / 90)) * 0.65)) + 7;
|
||||
exp rect y ((- 75 - 0 - 26 * 3 - 4 * 3) + ((sin(milliseconds() / 90)) * 0.65)) + 48;
|
||||
exp rect w (26 + ((sin(milliseconds() / 90)) * 0.65)) - 10;
|
||||
exp rect h (26 + ((sin(milliseconds() / 90)) * 0.65)) - 10;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -118.667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(!FUNC_283() || !FUNC_284());
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "hud_iw5_killstreak_box"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -138.667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_285());
|
||||
textscale 0.55
|
||||
background "specialty_perks_all"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -26.6667 -57 6.66667 14 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_277() && ((FUNC_290()) || (FUNC_275() == 0)));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_dpad_arrow_right"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -39.3333 -60.6667 13.3333 5.33333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_278() && FUNC_276());
|
||||
textscale 0.55
|
||||
background "hud_killstreak_dpad_arrow_up"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -39.3333 -44 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_278() && FUNC_276());
|
||||
textscale 0.55
|
||||
background "hud_killstreak_dpad_arrow_down"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -26.6667 -77 6.66667 14 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_280());
|
||||
textscale 0.55
|
||||
background "hud_killstreak_dpad_arrow_right"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -39.3333 -80.6667 13.3333 5.33333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_280() && FUNC_276());
|
||||
textscale 0.55
|
||||
background "hud_killstreak_dpad_arrow_up"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -39.3333 -64 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_280() && FUNC_276());
|
||||
textscale 0.55
|
||||
background "hud_killstreak_dpad_arrow_down"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -26.6667 -97 6.66667 14 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_282());
|
||||
textscale 0.55
|
||||
background "hud_killstreak_dpad_arrow_right"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -39.3333 -100.667 13.3333 5.33333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_282() && FUNC_276());
|
||||
textscale 0.55
|
||||
background "hud_killstreak_dpad_arrow_up"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -39.3333 -84 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_282() && FUNC_276());
|
||||
textscale 0.55
|
||||
background "hud_killstreak_dpad_arrow_down"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -26.6667 -117 6.66667 14 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_284());
|
||||
textscale 0.55
|
||||
background "hud_killstreak_dpad_arrow_right"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -39.3333 -120.667 13.3333 5.33333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_284() && FUNC_276());
|
||||
textscale 0.55
|
||||
background "hud_killstreak_dpad_arrow_up"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -39.3333 -104 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_284() && FUNC_276());
|
||||
textscale 0.55
|
||||
background "hud_killstreak_dpad_arrow_down"
|
||||
}
|
||||
}
|
||||
}
|
838
zone_raw/patch_mp/ui_mp/killstreaks_720_splitquarter.menu
Normal file
838
zone_raw/patch_mp/ui_mp/killstreaks_720_splitquarter.menu
Normal file
@ -0,0 +1,838 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "killstreaks_720_splitquarter"
|
||||
rect 0 0 640 480 10 10
|
||||
fadeClamp 1
|
||||
fadeCycle 1
|
||||
fadeAmount 0.1
|
||||
legacySplitScreenScale
|
||||
visible when(FUNC_109() && !FUNC_103() && FUNC_96() && FUNC_88() && FUNC_99());
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -66.6667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 0) && (FUNC_273() < 1));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -66.6667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 0) && (FUNC_272() > 0));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -72 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 1) && (FUNC_273() < 2));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -72 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 1) && (FUNC_272() > 1));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -77.3333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 2) && (FUNC_273() < 3));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -77.3333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 2) && (FUNC_272() > 2));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -82.6667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 3) && (FUNC_273() < 4));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -82.6667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 3) && (FUNC_272() > 3));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -88 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 4) && (FUNC_273() < 5));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -88 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 4) && (FUNC_272() > 4));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -93.3333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 5) && (FUNC_273() < 6));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -93.3333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 5) && (FUNC_272() > 5));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -98.6667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 6) && (FUNC_273() < 7));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -98.6667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 6) && (FUNC_272() > 6));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -104 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 7) && (FUNC_273() < 8));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -104 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 7) && (FUNC_272() > 7));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -109.333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 8) && (FUNC_273() < 9));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -109.333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 8) && (FUNC_272() > 8));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -114.667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 9) && (FUNC_273() < 10));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -114.667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 9) && (FUNC_272() > 9));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -120 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 10) && (FUNC_273() < 11));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -120 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 10) && (FUNC_272() > 10));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -125.333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 11) && (FUNC_273() < 12));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -125.333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 11) && (FUNC_272() > 11));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -130.667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 12) && (FUNC_273() < 13));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -130.667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 12) && (FUNC_272() > 12));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -136 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 13) && (FUNC_273() < 14));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -136 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 13) && (FUNC_272() > 13));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -141.333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 14) && (FUNC_273() < 15));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -141.333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 14) && (FUNC_272() > 14));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -146.667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 15) && (FUNC_273() < 16));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -146.667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 15) && (FUNC_272() > 15));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -152 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 16) && (FUNC_273() < 17));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -152 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 16) && (FUNC_272() > 16));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -157.333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 17) && (FUNC_273() < 18));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -157.333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 17) && (FUNC_272() > 17));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -162.667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 18) && (FUNC_273() < 19));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -162.667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 18) && (FUNC_272() > 18));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -168 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 19) && (FUNC_273() < 20));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -168 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 19) && (FUNC_272() > 19));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -173.333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 20) && (FUNC_273() < 21));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -173.333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 20) && (FUNC_272() > 20));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -178.667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 21) && (FUNC_273() < 22));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -178.667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 21) && (FUNC_272() > 21));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -184 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 22) && (FUNC_273() < 23));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -184 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 22) && (FUNC_272() > 22));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -189.333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 23) && (FUNC_273() < 24));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -189.333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 23) && (FUNC_272() > 23));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -194.667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 24) && (FUNC_273() < 25));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -194.667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 24) && (FUNC_272() > 24));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 0 13.3333 0 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
background "hud_killstreak_frame_fade_top"
|
||||
exp rect h (FUNC_272()) * (9 * 0.666);
|
||||
exp rect y (- 65) - ((FUNC_272() - 1) * (9 * 0.666));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -42.6667 -80 20 20 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_274() == 1 && FUNC_272() > 0);
|
||||
textscale 0.55
|
||||
background "hud_killstreak_frame"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -42.6667 -100 20 20 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_274() == 2 && FUNC_272() > 0);
|
||||
textscale 0.55
|
||||
background "hud_killstreak_frame"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -42.6667 -120 20 20 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_274() == 3 && FUNC_272() > 0);
|
||||
textscale 0.55
|
||||
background "hud_killstreak_frame"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -23.3333 -74.6667 9.33333 9.33333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_274() == 1 && FUNC_272() > 0);
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bridge"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -23.3333 -94.6667 9.33333 9.33333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_274() == 2 && FUNC_272() > 0);
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bridge"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -23.3333 -114.667 9.33333 9.33333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_274() == 3 && FUNC_272() > 0);
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bridge"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -45.3333 -62.6667 25.3333 25.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_278());
|
||||
textscale 0.55
|
||||
background "hud_killstreak_highlight"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -45.3333 -82.6667 25.3333 25.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_280());
|
||||
textscale 0.55
|
||||
background "hud_killstreak_highlight"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -45.3333 -102.667 25.3333 25.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_282());
|
||||
textscale 0.55
|
||||
background "hud_killstreak_highlight"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -45.3333 -122.667 25.3333 25.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_284());
|
||||
textscale 0.55
|
||||
background "hud_killstreak_highlight"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -58.6667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_277() && FUNC_275() != 0);
|
||||
textscale 0.55
|
||||
exp material tablelookup("mp/killstreakTable.csv", 0, FUNC_286(), 14);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -58.6667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_278());
|
||||
textscale 0.55
|
||||
exp material tablelookup("mp/killstreakTable.csv", 0, FUNC_286(), 16);
|
||||
exp rect x (- 49 + ((sin(milliseconds() / 90)) * 0.65)) + 7;
|
||||
exp rect y (- 75 + ((sin(milliseconds() / 90)) * 0.65)) + 18;
|
||||
exp rect w (26 + ((sin(milliseconds() / 90)) * 0.65)) - 10;
|
||||
exp rect h (26 + ((sin(milliseconds() / 90)) * 0.65)) - 10;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -58.6667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(!FUNC_277() || !FUNC_278());
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "hud_iw5_killstreak_box"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -78.6667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(!FUNC_279() && FUNC_287() != 0);
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.35
|
||||
exp material tablelookup("mp/killstreakTable.csv", 0, FUNC_287(), 17);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -78.6667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_279() && FUNC_275() != 1 && FUNC_287() != 0);
|
||||
textscale 0.55
|
||||
exp material tablelookup("mp/killstreakTable.csv", 0, FUNC_287(), 14);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -78.6667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_280() && FUNC_287() != 0);
|
||||
textscale 0.55
|
||||
exp material tablelookup("mp/killstreakTable.csv", 0, FUNC_287(), 16);
|
||||
exp rect x (- 49 + ((sin(milliseconds() / 90)) * 0.65)) + 7;
|
||||
exp rect y ((- 75 + ((sin(milliseconds() / 90)) * 0.65)) - 0 - 26 - 4) + 28;
|
||||
exp rect w (26 + ((sin(milliseconds() / 90)) * 0.65)) - 10;
|
||||
exp rect h (26 + ((sin(milliseconds() / 90)) * 0.65)) - 10;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -78.6667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(!FUNC_279() || !FUNC_280());
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "hud_iw5_killstreak_box"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -98.6667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(!FUNC_281() && FUNC_288() != 0);
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.35
|
||||
exp material tablelookup("mp/killstreakTable.csv", 0, FUNC_288(), 17);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -98.6667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_281() && FUNC_275() != 2 && FUNC_288() != 0);
|
||||
textscale 0.55
|
||||
exp material tablelookup("mp/killstreakTable.csv", 0, FUNC_288(), 14);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -98.6667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_282() && FUNC_288() != 0);
|
||||
textscale 0.55
|
||||
exp material tablelookup("mp/killstreakTable.csv", 0, FUNC_288(), 16);
|
||||
exp rect x (- 49 + ((sin(milliseconds() / 90)) * 0.65)) + 7;
|
||||
exp rect y ((- 75 - 0 - 26 * 2 - 4 * 2) + ((sin(milliseconds() / 90)) * 0.65)) + 38;
|
||||
exp rect w (26 + ((sin(milliseconds() / 90)) * 0.65)) - 10;
|
||||
exp rect h (26 + ((sin(milliseconds() / 90)) * 0.65)) - 10;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -98.6667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(!FUNC_281() || !FUNC_282());
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "hud_iw5_killstreak_box"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -118.667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(!FUNC_283() && FUNC_289() != 0);
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.35
|
||||
exp material tablelookup("mp/killstreakTable.csv", 0, FUNC_289(), 17);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -118.667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_283() && FUNC_275() != 3 && FUNC_289() != 0);
|
||||
textscale 0.55
|
||||
exp material tablelookup("mp/killstreakTable.csv", 0, FUNC_289(), 14);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -118.667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_284() && FUNC_289() != 0);
|
||||
textscale 0.55
|
||||
exp material tablelookup("mp/killstreakTable.csv", 0, FUNC_289(), 16);
|
||||
exp rect x (- 49 + ((sin(milliseconds() / 90)) * 0.65)) + 7;
|
||||
exp rect y ((- 75 - 0 - 26 * 3 - 4 * 3) + ((sin(milliseconds() / 90)) * 0.65)) + 48;
|
||||
exp rect w (26 + ((sin(milliseconds() / 90)) * 0.65)) - 10;
|
||||
exp rect h (26 + ((sin(milliseconds() / 90)) * 0.65)) - 10;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -118.667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(!FUNC_283() || !FUNC_284());
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "hud_iw5_killstreak_box"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -138.667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_285());
|
||||
textscale 0.55
|
||||
background "specialty_perks_all"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -26.6667 -57 6.66667 14 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_277() && ((FUNC_290()) || (FUNC_275() == 0)));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_dpad_arrow_right"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -39.3333 -60.6667 13.3333 5.33333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_278() && FUNC_276());
|
||||
textscale 0.55
|
||||
background "hud_killstreak_dpad_arrow_up"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -39.3333 -44 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_278() && FUNC_276());
|
||||
textscale 0.55
|
||||
background "hud_killstreak_dpad_arrow_down"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -26.6667 -77 6.66667 14 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_280());
|
||||
textscale 0.55
|
||||
background "hud_killstreak_dpad_arrow_right"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -39.3333 -80.6667 13.3333 5.33333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_280() && FUNC_276());
|
||||
textscale 0.55
|
||||
background "hud_killstreak_dpad_arrow_up"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -39.3333 -64 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_280() && FUNC_276());
|
||||
textscale 0.55
|
||||
background "hud_killstreak_dpad_arrow_down"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -26.6667 -97 6.66667 14 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_282());
|
||||
textscale 0.55
|
||||
background "hud_killstreak_dpad_arrow_right"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -39.3333 -100.667 13.3333 5.33333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_282() && FUNC_276());
|
||||
textscale 0.55
|
||||
background "hud_killstreak_dpad_arrow_up"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -39.3333 -84 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_282() && FUNC_276());
|
||||
textscale 0.55
|
||||
background "hud_killstreak_dpad_arrow_down"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -26.6667 -117 6.66667 14 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_284());
|
||||
textscale 0.55
|
||||
background "hud_killstreak_dpad_arrow_right"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -39.3333 -120.667 13.3333 5.33333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_284() && FUNC_276());
|
||||
textscale 0.55
|
||||
background "hud_killstreak_dpad_arrow_up"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -39.3333 -104 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_284() && FUNC_276());
|
||||
textscale 0.55
|
||||
background "hud_killstreak_dpad_arrow_down"
|
||||
}
|
||||
}
|
||||
}
|
838
zone_raw/patch_mp/ui_mp/killstreaks_720_splitwide.menu
Normal file
838
zone_raw/patch_mp/ui_mp/killstreaks_720_splitwide.menu
Normal file
@ -0,0 +1,838 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "killstreaks_720_splitwide"
|
||||
rect 0 0 640 480 10 10
|
||||
fadeClamp 1
|
||||
fadeCycle 1
|
||||
fadeAmount 0.1
|
||||
legacySplitScreenScale
|
||||
visible when(FUNC_109() && !FUNC_103() && FUNC_96() && FUNC_88() && FUNC_99());
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -66.6667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 0) && (FUNC_273() < 1));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -66.6667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 0) && (FUNC_272() > 0));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -72 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 1) && (FUNC_273() < 2));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -72 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 1) && (FUNC_272() > 1));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -77.3333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 2) && (FUNC_273() < 3));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -77.3333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 2) && (FUNC_272() > 2));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -82.6667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 3) && (FUNC_273() < 4));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -82.6667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 3) && (FUNC_272() > 3));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -88 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 4) && (FUNC_273() < 5));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -88 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 4) && (FUNC_272() > 4));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -93.3333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 5) && (FUNC_273() < 6));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -93.3333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 5) && (FUNC_272() > 5));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -98.6667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 6) && (FUNC_273() < 7));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -98.6667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 6) && (FUNC_272() > 6));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -104 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 7) && (FUNC_273() < 8));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -104 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 7) && (FUNC_272() > 7));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -109.333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 8) && (FUNC_273() < 9));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -109.333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 8) && (FUNC_272() > 8));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -114.667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 9) && (FUNC_273() < 10));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -114.667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 9) && (FUNC_272() > 9));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -120 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 10) && (FUNC_273() < 11));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -120 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 10) && (FUNC_272() > 10));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -125.333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 11) && (FUNC_273() < 12));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -125.333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 11) && (FUNC_272() > 11));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -130.667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 12) && (FUNC_273() < 13));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -130.667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 12) && (FUNC_272() > 12));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -136 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 13) && (FUNC_273() < 14));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -136 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 13) && (FUNC_272() > 13));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -141.333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 14) && (FUNC_273() < 15));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -141.333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 14) && (FUNC_272() > 14));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -146.667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 15) && (FUNC_273() < 16));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -146.667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 15) && (FUNC_272() > 15));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -152 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 16) && (FUNC_273() < 17));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -152 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 16) && (FUNC_272() > 16));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -157.333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 17) && (FUNC_273() < 18));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -157.333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 17) && (FUNC_272() > 17));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -162.667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 18) && (FUNC_273() < 19));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -162.667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 18) && (FUNC_272() > 18));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -168 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 19) && (FUNC_273() < 20));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -168 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 19) && (FUNC_272() > 19));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -173.333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 20) && (FUNC_273() < 21));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -173.333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 20) && (FUNC_272() > 20));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -178.667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 21) && (FUNC_273() < 22));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -178.667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 21) && (FUNC_272() > 21));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -184 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 22) && (FUNC_273() < 23));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -184 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 22) && (FUNC_272() > 22));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -189.333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 23) && (FUNC_273() < 24));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -189.333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 23) && (FUNC_272() > 23));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -194.667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 24) && (FUNC_273() < 25));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -194.667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 24) && (FUNC_272() > 24));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 0 13.3333 0 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
background "hud_killstreak_frame_fade_top"
|
||||
exp rect h (FUNC_272()) * (9 * 0.666);
|
||||
exp rect y (- 65) - ((FUNC_272() - 1) * (9 * 0.666));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -42.6667 -80 20 20 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_274() == 1 && FUNC_272() > 0);
|
||||
textscale 0.55
|
||||
background "hud_killstreak_frame"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -42.6667 -100 20 20 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_274() == 2 && FUNC_272() > 0);
|
||||
textscale 0.55
|
||||
background "hud_killstreak_frame"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -42.6667 -120 20 20 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_274() == 3 && FUNC_272() > 0);
|
||||
textscale 0.55
|
||||
background "hud_killstreak_frame"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -23.3333 -74.6667 9.33333 9.33333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_274() == 1 && FUNC_272() > 0);
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bridge"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -23.3333 -94.6667 9.33333 9.33333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_274() == 2 && FUNC_272() > 0);
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bridge"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -23.3333 -114.667 9.33333 9.33333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_274() == 3 && FUNC_272() > 0);
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bridge"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -45.3333 -62.6667 25.3333 25.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_278());
|
||||
textscale 0.55
|
||||
background "hud_killstreak_highlight"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -45.3333 -82.6667 25.3333 25.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_280());
|
||||
textscale 0.55
|
||||
background "hud_killstreak_highlight"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -45.3333 -102.667 25.3333 25.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_282());
|
||||
textscale 0.55
|
||||
background "hud_killstreak_highlight"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -45.3333 -122.667 25.3333 25.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_284());
|
||||
textscale 0.55
|
||||
background "hud_killstreak_highlight"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -58.6667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_277() && FUNC_275() != 0);
|
||||
textscale 0.55
|
||||
exp material tablelookup("mp/killstreakTable.csv", 0, FUNC_286(), 14);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -58.6667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_278());
|
||||
textscale 0.55
|
||||
exp material tablelookup("mp/killstreakTable.csv", 0, FUNC_286(), 16);
|
||||
exp rect x (- 49 + ((sin(milliseconds() / 90)) * 0.65)) + 7;
|
||||
exp rect y (- 75 + ((sin(milliseconds() / 90)) * 0.65)) + 18;
|
||||
exp rect w (26 + ((sin(milliseconds() / 90)) * 0.65)) - 10;
|
||||
exp rect h (26 + ((sin(milliseconds() / 90)) * 0.65)) - 10;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -58.6667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(!FUNC_277() || !FUNC_278());
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "hud_iw5_killstreak_box"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -78.6667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(!FUNC_279() && FUNC_287() != 0);
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.35
|
||||
exp material tablelookup("mp/killstreakTable.csv", 0, FUNC_287(), 17);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -78.6667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_279() && FUNC_275() != 1 && FUNC_287() != 0);
|
||||
textscale 0.55
|
||||
exp material tablelookup("mp/killstreakTable.csv", 0, FUNC_287(), 14);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -78.6667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_280() && FUNC_287() != 0);
|
||||
textscale 0.55
|
||||
exp material tablelookup("mp/killstreakTable.csv", 0, FUNC_287(), 16);
|
||||
exp rect x (- 49 + ((sin(milliseconds() / 90)) * 0.65)) + 7;
|
||||
exp rect y ((- 75 + ((sin(milliseconds() / 90)) * 0.65)) - 0 - 26 - 4) + 28;
|
||||
exp rect w (26 + ((sin(milliseconds() / 90)) * 0.65)) - 10;
|
||||
exp rect h (26 + ((sin(milliseconds() / 90)) * 0.65)) - 10;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -78.6667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(!FUNC_279() || !FUNC_280());
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "hud_iw5_killstreak_box"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -98.6667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(!FUNC_281() && FUNC_288() != 0);
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.35
|
||||
exp material tablelookup("mp/killstreakTable.csv", 0, FUNC_288(), 17);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -98.6667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_281() && FUNC_275() != 2 && FUNC_288() != 0);
|
||||
textscale 0.55
|
||||
exp material tablelookup("mp/killstreakTable.csv", 0, FUNC_288(), 14);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -98.6667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_282() && FUNC_288() != 0);
|
||||
textscale 0.55
|
||||
exp material tablelookup("mp/killstreakTable.csv", 0, FUNC_288(), 16);
|
||||
exp rect x (- 49 + ((sin(milliseconds() / 90)) * 0.65)) + 7;
|
||||
exp rect y ((- 75 - 0 - 26 * 2 - 4 * 2) + ((sin(milliseconds() / 90)) * 0.65)) + 38;
|
||||
exp rect w (26 + ((sin(milliseconds() / 90)) * 0.65)) - 10;
|
||||
exp rect h (26 + ((sin(milliseconds() / 90)) * 0.65)) - 10;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -98.6667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(!FUNC_281() || !FUNC_282());
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "hud_iw5_killstreak_box"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -118.667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(!FUNC_283() && FUNC_289() != 0);
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.35
|
||||
exp material tablelookup("mp/killstreakTable.csv", 0, FUNC_289(), 17);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -118.667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_283() && FUNC_275() != 3 && FUNC_289() != 0);
|
||||
textscale 0.55
|
||||
exp material tablelookup("mp/killstreakTable.csv", 0, FUNC_289(), 14);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -118.667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_284() && FUNC_289() != 0);
|
||||
textscale 0.55
|
||||
exp material tablelookup("mp/killstreakTable.csv", 0, FUNC_289(), 16);
|
||||
exp rect x (- 49 + ((sin(milliseconds() / 90)) * 0.65)) + 7;
|
||||
exp rect y ((- 75 - 0 - 26 * 3 - 4 * 3) + ((sin(milliseconds() / 90)) * 0.65)) + 48;
|
||||
exp rect w (26 + ((sin(milliseconds() / 90)) * 0.65)) - 10;
|
||||
exp rect h (26 + ((sin(milliseconds() / 90)) * 0.65)) - 10;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -118.667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(!FUNC_283() || !FUNC_284());
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "hud_iw5_killstreak_box"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -138.667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_285());
|
||||
textscale 0.55
|
||||
background "specialty_perks_all"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -26.6667 -57 6.66667 14 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_277() && ((FUNC_290()) || (FUNC_275() == 0)));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_dpad_arrow_right"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -39.3333 -60.6667 13.3333 5.33333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_278() && FUNC_276());
|
||||
textscale 0.55
|
||||
background "hud_killstreak_dpad_arrow_up"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -39.3333 -44 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_278() && FUNC_276());
|
||||
textscale 0.55
|
||||
background "hud_killstreak_dpad_arrow_down"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -26.6667 -77 6.66667 14 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_280());
|
||||
textscale 0.55
|
||||
background "hud_killstreak_dpad_arrow_right"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -39.3333 -80.6667 13.3333 5.33333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_280() && FUNC_276());
|
||||
textscale 0.55
|
||||
background "hud_killstreak_dpad_arrow_up"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -39.3333 -64 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_280() && FUNC_276());
|
||||
textscale 0.55
|
||||
background "hud_killstreak_dpad_arrow_down"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -26.6667 -97 6.66667 14 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_282());
|
||||
textscale 0.55
|
||||
background "hud_killstreak_dpad_arrow_right"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -39.3333 -100.667 13.3333 5.33333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_282() && FUNC_276());
|
||||
textscale 0.55
|
||||
background "hud_killstreak_dpad_arrow_up"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -39.3333 -84 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_282() && FUNC_276());
|
||||
textscale 0.55
|
||||
background "hud_killstreak_dpad_arrow_down"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -26.6667 -117 6.66667 14 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_284());
|
||||
textscale 0.55
|
||||
background "hud_killstreak_dpad_arrow_right"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -39.3333 -120.667 13.3333 5.33333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_284() && FUNC_276());
|
||||
textscale 0.55
|
||||
background "hud_killstreak_dpad_arrow_up"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -39.3333 -104 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_284() && FUNC_276());
|
||||
textscale 0.55
|
||||
background "hud_killstreak_dpad_arrow_down"
|
||||
}
|
||||
}
|
||||
}
|
773
zone_raw/patch_mp/ui_mp/killstreaks_hd.menu
Normal file
773
zone_raw/patch_mp/ui_mp/killstreaks_hd.menu
Normal file
@ -0,0 +1,773 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "killstreaks_hd"
|
||||
rect 0 0 640 480 10 10
|
||||
visible when(FUNC_109() && !FUNC_103() && FUNC_96() && FUNC_88() && FUNC_99());
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -66.6667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 0) && (FUNC_273() < 1));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -66.6667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 0) && (FUNC_272() > 0));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -72 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 1) && (FUNC_273() < 2));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -72 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 1) && (FUNC_272() > 1));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -77.3333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 2) && (FUNC_273() < 3));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -77.3333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 2) && (FUNC_272() > 2));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -82.6667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 3) && (FUNC_273() < 4));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -82.6667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 3) && (FUNC_272() > 3));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -88 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 4) && (FUNC_273() < 5));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -88 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 4) && (FUNC_272() > 4));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -93.3333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 5) && (FUNC_273() < 6));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -93.3333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 5) && (FUNC_272() > 5));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -98.6667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 6) && (FUNC_273() < 7));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -98.6667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 6) && (FUNC_272() > 6));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -104 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 7) && (FUNC_273() < 8));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -104 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 7) && (FUNC_272() > 7));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -109.333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 8) && (FUNC_273() < 9));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -109.333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 8) && (FUNC_272() > 8));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -114.667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 9) && (FUNC_273() < 10));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -114.667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 9) && (FUNC_272() > 9));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -120 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 10) && (FUNC_273() < 11));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -120 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 10) && (FUNC_272() > 10));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -125.333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 11) && (FUNC_273() < 12));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -125.333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 11) && (FUNC_272() > 11));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -130.667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 12) && (FUNC_273() < 13));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -130.667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 12) && (FUNC_272() > 12));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -136 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 13) && (FUNC_273() < 14));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -136 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 13) && (FUNC_272() > 13));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -141.333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 14) && (FUNC_273() < 15));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -141.333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 14) && (FUNC_272() > 14));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -146.667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 15) && (FUNC_273() < 16));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -146.667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 15) && (FUNC_272() > 15));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -152 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 16) && (FUNC_273() < 17));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -152 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 16) && (FUNC_272() > 16));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -157.333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 17) && (FUNC_273() < 18));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -157.333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 17) && (FUNC_272() > 17));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -162.667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 18) && (FUNC_273() < 19));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -162.667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 18) && (FUNC_272() > 18));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -168 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 19) && (FUNC_273() < 20));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -168 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 19) && (FUNC_272() > 19));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -173.333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 20) && (FUNC_273() < 21));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -173.333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 20) && (FUNC_272() > 20));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -178.667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 21) && (FUNC_273() < 22));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -178.667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 21) && (FUNC_272() > 21));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -184 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 22) && (FUNC_273() < 23));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -184 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 22) && (FUNC_272() > 22));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -189.333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 23) && (FUNC_273() < 24));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -189.333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 23) && (FUNC_272() > 23));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -194.667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 24) && (FUNC_273() < 25));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -194.667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 24) && (FUNC_272() > 24));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 0 13.3333 0 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
background "hud_killstreak_frame_fade_top"
|
||||
exp rect h (FUNC_272()) * (9 * 0.666);
|
||||
exp rect y (- 65) - ((FUNC_272() - 1) * (9 * 0.666));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -42.6667 -80 20 20 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_274() == 1 && FUNC_272() > 0);
|
||||
textscale 0.55
|
||||
background "hud_killstreak_frame"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -42.6667 -100 20 20 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_274() == 2 && FUNC_272() > 0);
|
||||
textscale 0.55
|
||||
background "hud_killstreak_frame"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -42.6667 -120 20 20 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_274() == 3 && FUNC_272() > 0);
|
||||
textscale 0.55
|
||||
background "hud_killstreak_frame"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -23.3333 -74.6667 9.33333 9.33333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_274() == 1 && FUNC_272() > 0);
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bridge"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -23.3333 -94.6667 9.33333 9.33333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_274() == 2 && FUNC_272() > 0);
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bridge"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -23.3333 -114.667 9.33333 9.33333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_274() == 3 && FUNC_272() > 0);
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bridge"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -45.3333 -62.6667 25.3333 25.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_277());
|
||||
textscale 0.55
|
||||
background "hud_killstreak_highlight"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -45.3333 -82.6667 25.3333 25.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_279());
|
||||
textscale 0.55
|
||||
background "hud_killstreak_highlight"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -45.3333 -102.667 25.3333 25.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_281());
|
||||
textscale 0.55
|
||||
background "hud_killstreak_highlight"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -45.3333 -122.667 25.3333 25.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_283());
|
||||
textscale 0.55
|
||||
background "hud_killstreak_highlight"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -58.6667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_277());
|
||||
textscale 0.55
|
||||
exp material tablelookup("mp/killstreakTable.csv", 0, FUNC_286(), 16);
|
||||
exp rect x (- 49 + ((sin(milliseconds() / 90)) * 0.65)) + 7;
|
||||
exp rect y (- 75 + ((sin(milliseconds() / 90)) * 0.65)) + 18;
|
||||
exp rect w (26 + ((sin(milliseconds() / 90)) * 0.65)) - 10;
|
||||
exp rect h (26 + ((sin(milliseconds() / 90)) * 0.65)) - 10;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -58.6667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(!FUNC_277());
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "hud_iw5_killstreak_box"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -78.6667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(!FUNC_279() && FUNC_287() != 0);
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.35
|
||||
exp material tablelookup("mp/killstreakTable.csv", 0, FUNC_287(), 17);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -78.6667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_279() && FUNC_287() != 0 && !FUNC_290());
|
||||
textscale 0.55
|
||||
exp material tablelookup("mp/killstreakTable.csv", 0, FUNC_287(), 16);
|
||||
exp rect x (- 49 + ((sin(milliseconds() / 90)) * 0.65)) + 7;
|
||||
exp rect y ((- 75 + ((sin(milliseconds() / 90)) * 0.65)) - 0 - 26 - 4) + 28;
|
||||
exp rect w (26 + ((sin(milliseconds() / 90)) * 0.65)) - 10;
|
||||
exp rect h (26 + ((sin(milliseconds() / 90)) * 0.65)) - 10;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -78.6667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_279() && FUNC_287() != 0 && FUNC_290());
|
||||
textscale 0.55
|
||||
exp material tablelookup("mp/killstreakTable.csv", 0, FUNC_287(), 14);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -78.6667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(!FUNC_279());
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "hud_iw5_killstreak_box"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -98.6667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(!FUNC_281() && FUNC_288() != 0);
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.35
|
||||
exp material tablelookup("mp/killstreakTable.csv", 0, FUNC_288(), 17);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -98.6667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_281() && FUNC_288() != 0 && !FUNC_290());
|
||||
textscale 0.55
|
||||
exp material tablelookup("mp/killstreakTable.csv", 0, FUNC_288(), 16);
|
||||
exp rect x (- 49 + ((sin(milliseconds() / 90)) * 0.65)) + 7;
|
||||
exp rect y ((- 75 - 0 - 26 * 2 - 4 * 2) + ((sin(milliseconds() / 90)) * 0.65)) + 38;
|
||||
exp rect w (26 + ((sin(milliseconds() / 90)) * 0.65)) - 10;
|
||||
exp rect h (26 + ((sin(milliseconds() / 90)) * 0.65)) - 10;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -98.6667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_281() && FUNC_288() != 0 && FUNC_290());
|
||||
textscale 0.55
|
||||
exp material tablelookup("mp/killstreakTable.csv", 0, FUNC_288(), 14);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -98.6667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(!FUNC_281());
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "hud_iw5_killstreak_box"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -118.667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(!FUNC_283() && FUNC_289() != 0);
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.35
|
||||
exp material tablelookup("mp/killstreakTable.csv", 0, FUNC_289(), 17);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -118.667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_283() && FUNC_289() != 0 && !FUNC_290());
|
||||
textscale 0.55
|
||||
exp material tablelookup("mp/killstreakTable.csv", 0, FUNC_289(), 16);
|
||||
exp rect x (- 49 + ((sin(milliseconds() / 90)) * 0.65)) + 7;
|
||||
exp rect y ((- 75 - 0 - 26 * 3 - 4 * 3) + ((sin(milliseconds() / 90)) * 0.65)) + 48;
|
||||
exp rect w (26 + ((sin(milliseconds() / 90)) * 0.65)) - 10;
|
||||
exp rect h (26 + ((sin(milliseconds() / 90)) * 0.65)) - 10;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -118.667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_283() && FUNC_289() != 0 && FUNC_290());
|
||||
textscale 0.55
|
||||
exp material tablelookup("mp/killstreakTable.csv", 0, FUNC_289(), 14);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -118.667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(!FUNC_283());
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "hud_iw5_killstreak_box"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -138.667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_285());
|
||||
textscale 0.55
|
||||
background "specialty_perks_all"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -26.6667 -57 6.66667 14 10 10
|
||||
decoration
|
||||
visible when(FUNC_277());
|
||||
textalign 2
|
||||
textalignx -5
|
||||
textaligny 15
|
||||
textscale 0.25
|
||||
textstyle 6
|
||||
textfont 6
|
||||
forecolor 1 1 0 1
|
||||
exp text "^3" + keybinding("+actionslot 4");
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -26.6667 -77 6.66667 14 10 10
|
||||
decoration
|
||||
visible when(FUNC_279() && !FUNC_290());
|
||||
textalign 2
|
||||
textalignx -5
|
||||
textaligny 15
|
||||
textscale 0.25
|
||||
textstyle 6
|
||||
textfont 6
|
||||
forecolor 1 1 0 1
|
||||
exp text "^3" + keybinding("+actionslot 5");
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -26.6667 -97 6.66667 14 10 10
|
||||
decoration
|
||||
visible when(FUNC_281() && !FUNC_290());
|
||||
textalign 2
|
||||
textalignx -5
|
||||
textaligny 15
|
||||
textscale 0.25
|
||||
textstyle 6
|
||||
textfont 6
|
||||
forecolor 1 1 0 1
|
||||
exp text "^3" + keybinding("+actionslot 6");
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -26.6667 -117 6.66667 14 10 10
|
||||
decoration
|
||||
visible when(FUNC_283() && !FUNC_290());
|
||||
textalign 2
|
||||
textalignx -5
|
||||
textaligny 15
|
||||
textscale 0.25
|
||||
textstyle 6
|
||||
textfont 6
|
||||
forecolor 1 1 0 1
|
||||
exp text "^3" + keybinding("+actionslot 7");
|
||||
}
|
||||
}
|
||||
}
|
834
zone_raw/patch_mp/ui_mp/killstreaks_sd.menu
Normal file
834
zone_raw/patch_mp/ui_mp/killstreaks_sd.menu
Normal file
@ -0,0 +1,834 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "killstreaks_sd"
|
||||
rect 0 0 640 480 10 10
|
||||
visible when(FUNC_109() && !FUNC_103() && FUNC_96() && FUNC_88() && FUNC_99());
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -66.6667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 0) && (FUNC_273() < 1));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -66.6667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 0) && (FUNC_272() > 0));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -72 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 1) && (FUNC_273() < 2));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -72 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 1) && (FUNC_272() > 1));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -77.3333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 2) && (FUNC_273() < 3));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -77.3333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 2) && (FUNC_272() > 2));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -82.6667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 3) && (FUNC_273() < 4));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -82.6667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 3) && (FUNC_272() > 3));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -88 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 4) && (FUNC_273() < 5));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -88 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 4) && (FUNC_272() > 4));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -93.3333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 5) && (FUNC_273() < 6));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -93.3333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 5) && (FUNC_272() > 5));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -98.6667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 6) && (FUNC_273() < 7));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -98.6667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 6) && (FUNC_272() > 6));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -104 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 7) && (FUNC_273() < 8));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -104 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 7) && (FUNC_272() > 7));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -109.333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 8) && (FUNC_273() < 9));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -109.333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 8) && (FUNC_272() > 8));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -114.667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 9) && (FUNC_273() < 10));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -114.667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 9) && (FUNC_272() > 9));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -120 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 10) && (FUNC_273() < 11));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -120 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 10) && (FUNC_272() > 10));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -125.333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 11) && (FUNC_273() < 12));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -125.333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 11) && (FUNC_272() > 11));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -130.667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 12) && (FUNC_273() < 13));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -130.667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 12) && (FUNC_272() > 12));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -136 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 13) && (FUNC_273() < 14));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -136 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 13) && (FUNC_272() > 13));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -141.333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 14) && (FUNC_273() < 15));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -141.333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 14) && (FUNC_272() > 14));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -146.667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 15) && (FUNC_273() < 16));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -146.667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 15) && (FUNC_272() > 15));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -152 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 16) && (FUNC_273() < 17));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -152 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 16) && (FUNC_272() > 16));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -157.333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 17) && (FUNC_273() < 18));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -157.333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 17) && (FUNC_272() > 17));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -162.667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 18) && (FUNC_273() < 19));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -162.667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 18) && (FUNC_272() > 18));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -168 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 19) && (FUNC_273() < 20));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -168 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 19) && (FUNC_272() > 19));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -173.333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 20) && (FUNC_273() < 21));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -173.333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 20) && (FUNC_272() > 20));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -178.667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 21) && (FUNC_273() < 22));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -178.667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 21) && (FUNC_272() > 21));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -184 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 22) && (FUNC_273() < 23));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -184 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 22) && (FUNC_272() > 22));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -189.333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 23) && (FUNC_273() < 24));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -189.333 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 23) && (FUNC_272() > 23));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -194.667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_272() > 24) && (FUNC_273() < 25));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_empty"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 -194.667 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when((FUNC_273() > 24) && (FUNC_272() > 24));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bar_full"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -14.6667 0 13.3333 0 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
background "hud_killstreak_frame_fade_top"
|
||||
exp rect h (FUNC_272()) * (9 * 0.666);
|
||||
exp rect y (- 65) - ((FUNC_272() - 1) * (9 * 0.666));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -42.6667 -80 20 20 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_274() == 1 && FUNC_272() > 0);
|
||||
textscale 0.55
|
||||
background "hud_killstreak_frame"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -42.6667 -100 20 20 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_274() == 2 && FUNC_272() > 0);
|
||||
textscale 0.55
|
||||
background "hud_killstreak_frame"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -42.6667 -120 20 20 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_274() == 3 && FUNC_272() > 0);
|
||||
textscale 0.55
|
||||
background "hud_killstreak_frame"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -23.3333 -74.6667 9.33333 9.33333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_274() == 1 && FUNC_272() > 0);
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bridge"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -23.3333 -94.6667 9.33333 9.33333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_274() == 2 && FUNC_272() > 0);
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bridge"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -23.3333 -114.667 9.33333 9.33333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_274() == 3 && FUNC_272() > 0);
|
||||
textscale 0.55
|
||||
background "hud_killstreak_bridge"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -45.3333 -62.6667 25.3333 25.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_278());
|
||||
textscale 0.55
|
||||
background "hud_killstreak_highlight"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -45.3333 -82.6667 25.3333 25.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_280());
|
||||
textscale 0.55
|
||||
background "hud_killstreak_highlight"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -45.3333 -102.667 25.3333 25.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_282());
|
||||
textscale 0.55
|
||||
background "hud_killstreak_highlight"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -45.3333 -122.667 25.3333 25.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_284());
|
||||
textscale 0.55
|
||||
background "hud_killstreak_highlight"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -58.6667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_277() && FUNC_275() != 0);
|
||||
textscale 0.55
|
||||
exp material tablelookup("mp/killstreakTable.csv", 0, FUNC_286(), 14);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -58.6667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_278());
|
||||
textscale 0.55
|
||||
exp material tablelookup("mp/killstreakTable.csv", 0, FUNC_286(), 16);
|
||||
exp rect x (- 49 + ((sin(milliseconds() / 90)) * 0.65)) + 7;
|
||||
exp rect y (- 75 + ((sin(milliseconds() / 90)) * 0.65)) + 18;
|
||||
exp rect w (26 + ((sin(milliseconds() / 90)) * 0.65)) - 10;
|
||||
exp rect h (26 + ((sin(milliseconds() / 90)) * 0.65)) - 10;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -58.6667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(!FUNC_277() || !FUNC_278());
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "hud_iw5_killstreak_box"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -78.6667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(!FUNC_279() && FUNC_287() != 0);
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.35
|
||||
exp material tablelookup("mp/killstreakTable.csv", 0, FUNC_287(), 17);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -78.6667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_279() && FUNC_275() != 1 && FUNC_287() != 0);
|
||||
textscale 0.55
|
||||
exp material tablelookup("mp/killstreakTable.csv", 0, FUNC_287(), 14);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -78.6667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_280() && FUNC_287() != 0);
|
||||
textscale 0.55
|
||||
exp material tablelookup("mp/killstreakTable.csv", 0, FUNC_287(), 16);
|
||||
exp rect x (- 49 + ((sin(milliseconds() / 90)) * 0.65)) + 7;
|
||||
exp rect y ((- 75 + ((sin(milliseconds() / 90)) * 0.65)) - 0 - 26 - 4) + 28;
|
||||
exp rect w (26 + ((sin(milliseconds() / 90)) * 0.65)) - 10;
|
||||
exp rect h (26 + ((sin(milliseconds() / 90)) * 0.65)) - 10;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -78.6667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(!FUNC_279() || !FUNC_280());
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "hud_iw5_killstreak_box"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -98.6667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(!FUNC_281() && FUNC_288() != 0);
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.35
|
||||
exp material tablelookup("mp/killstreakTable.csv", 0, FUNC_288(), 17);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -98.6667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_281() && FUNC_275() != 2 && FUNC_288() != 0);
|
||||
textscale 0.55
|
||||
exp material tablelookup("mp/killstreakTable.csv", 0, FUNC_288(), 14);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -98.6667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_282() && FUNC_288() != 0);
|
||||
textscale 0.55
|
||||
exp material tablelookup("mp/killstreakTable.csv", 0, FUNC_288(), 16);
|
||||
exp rect x (- 49 + ((sin(milliseconds() / 90)) * 0.65)) + 7;
|
||||
exp rect y ((- 75 - 0 - 26 * 2 - 4 * 2) + ((sin(milliseconds() / 90)) * 0.65)) + 38;
|
||||
exp rect w (26 + ((sin(milliseconds() / 90)) * 0.65)) - 10;
|
||||
exp rect h (26 + ((sin(milliseconds() / 90)) * 0.65)) - 10;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -98.6667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(!FUNC_281() || !FUNC_282());
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "hud_iw5_killstreak_box"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -118.667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(!FUNC_283() && FUNC_289() != 0);
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.35
|
||||
exp material tablelookup("mp/killstreakTable.csv", 0, FUNC_289(), 17);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -118.667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_283() && FUNC_275() != 3 && FUNC_289() != 0);
|
||||
textscale 0.55
|
||||
exp material tablelookup("mp/killstreakTable.csv", 0, FUNC_289(), 14);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -118.667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_284() && FUNC_289() != 0);
|
||||
textscale 0.55
|
||||
exp material tablelookup("mp/killstreakTable.csv", 0, FUNC_289(), 16);
|
||||
exp rect x (- 49 + ((sin(milliseconds() / 90)) * 0.65)) + 7;
|
||||
exp rect y ((- 75 - 0 - 26 * 3 - 4 * 3) + ((sin(milliseconds() / 90)) * 0.65)) + 48;
|
||||
exp rect w (26 + ((sin(milliseconds() / 90)) * 0.65)) - 10;
|
||||
exp rect h (26 + ((sin(milliseconds() / 90)) * 0.65)) - 10;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -118.667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(!FUNC_283() || !FUNC_284());
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.5
|
||||
background "hud_iw5_killstreak_box"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -41.3333 -138.667 17.3333 17.3333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_285());
|
||||
textscale 0.55
|
||||
background "specialty_perks_all"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -26.6667 -57 6.66667 14 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_277() && ((FUNC_290()) || (FUNC_275() == 0)));
|
||||
textscale 0.55
|
||||
background "hud_killstreak_dpad_arrow_right"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -39.3333 -60.6667 13.3333 5.33333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_278() && FUNC_276());
|
||||
textscale 0.55
|
||||
background "hud_killstreak_dpad_arrow_up"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -39.3333 -44 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_278() && FUNC_276());
|
||||
textscale 0.55
|
||||
background "hud_killstreak_dpad_arrow_down"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -26.6667 -77 6.66667 14 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_280());
|
||||
textscale 0.55
|
||||
background "hud_killstreak_dpad_arrow_right"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -39.3333 -80.6667 13.3333 5.33333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_280() && FUNC_276());
|
||||
textscale 0.55
|
||||
background "hud_killstreak_dpad_arrow_up"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -39.3333 -64 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_280() && FUNC_276());
|
||||
textscale 0.55
|
||||
background "hud_killstreak_dpad_arrow_down"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -26.6667 -97 6.66667 14 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_282());
|
||||
textscale 0.55
|
||||
background "hud_killstreak_dpad_arrow_right"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -39.3333 -100.667 13.3333 5.33333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_282() && FUNC_276());
|
||||
textscale 0.55
|
||||
background "hud_killstreak_dpad_arrow_up"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -39.3333 -84 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_282() && FUNC_276());
|
||||
textscale 0.55
|
||||
background "hud_killstreak_dpad_arrow_down"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -26.6667 -117 6.66667 14 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_284());
|
||||
textscale 0.55
|
||||
background "hud_killstreak_dpad_arrow_right"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -39.3333 -120.667 13.3333 5.33333 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_284() && FUNC_276());
|
||||
textscale 0.55
|
||||
background "hud_killstreak_dpad_arrow_up"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -39.3333 -104 13.3333 6.66667 10 10
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_284() && FUNC_276());
|
||||
textscale 0.55
|
||||
background "hud_killstreak_dpad_arrow_down"
|
||||
}
|
||||
}
|
||||
}
|
308
zone_raw/patch_mp/ui_mp/menu_resetstats_warning.menu
Normal file
308
zone_raw/patch_mp/ui_mp/menu_resetstats_warning.menu
Normal file
@ -0,0 +1,308 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "menu_resetstats_warning"
|
||||
rect 0 0 0 0 2 2
|
||||
focuscolor 1 1 1 1
|
||||
outOfBoundsClick
|
||||
popup
|
||||
legacySplitScreenScale
|
||||
exp rect X 0 - (260 * 0.5);
|
||||
exp rect Y 0 - ((localvarint("ui_swfPopupDescResizeHeight")) * 0.5);
|
||||
exp rect W 260;
|
||||
exp rect H (localvarint("ui_swfPopupDescResizeHeight"));
|
||||
onOpen
|
||||
{
|
||||
setLocalVarFloat ui_swfPopupDescResizeTextHeight (getwrappedtextheight(dvarstring(com_errorMessage), (float((260 - 16))), 3, 0.375, 0, 0));
|
||||
setLocalVarInt ui_swfPopupDescResizeButtons (int((localvarfloat("ui_swfPopupDescResizeTextHeight") + ((20 + 2) / 2) + 5) / (20 + 2)) + 1);
|
||||
setLocalVarInt ui_swfPopupDescResizeHeight ((((23 * 1) + (16.367 * 0)) + ((localvarint("ui_swfPopupDescResizeButtons") + 0 + 2) * (20 + 2)) + 5));
|
||||
setLocalVarInt ui_swfPopupDescResizeButtonYOffset ((20 + 2) * (localvarint("ui_swfPopupDescResizeButtons") + 0));
|
||||
setLocalVarInt ui_buttonNavGroupOffset_popup 0;
|
||||
setLocalVarInt ui_buttonNavGroupCurrent_popup 0;
|
||||
setLocalVarString ui_buttonNavGroupName_popup "invalid";
|
||||
setLocalVarBool ui_swfSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfSelectionDisabled 0;
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled 0;
|
||||
setLocalVarString ui_swfPopupContext "invalid";
|
||||
setLocalVarBool ui_centerPopup 1;
|
||||
play tabs_slide;
|
||||
lerp x from - 460 to 0 over "0.05";
|
||||
focusfirst;
|
||||
setfocus SWF_COMMON_DESC_RESIZE_POPUP_NAME_1;
|
||||
focusfirst;
|
||||
}
|
||||
onClose
|
||||
{
|
||||
uiScript clearError;
|
||||
setLocalVarBool ui_centerPopup 0;
|
||||
play "";
|
||||
}
|
||||
onESC
|
||||
{
|
||||
resetStatsCancel;
|
||||
close self;
|
||||
}
|
||||
onFocusDueToClose
|
||||
{
|
||||
setLocalVarFloat ui_swfPopupDescResizeTextHeight (getwrappedtextheight(dvarstring(com_errorMessage), (float((260 - 16))), 3, 0.375, 0, 0));
|
||||
setLocalVarInt ui_swfPopupDescResizeButtons (int((localvarfloat("ui_swfPopupDescResizeTextHeight") + ((20 + 2) / 2) + 5) / (20 + 2)) + 1);
|
||||
setLocalVarInt ui_swfPopupDescResizeHeight ((((23 * 1) + (16.367 * 0)) + ((localvarint("ui_swfPopupDescResizeButtons") + 0 + 2) * (20 + 2)) + 5));
|
||||
setLocalVarInt ui_swfPopupDescResizeButtonYOffset ((20 + 2) * (localvarint("ui_swfPopupDescResizeButtons") + 0));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -1280 -480 2560 960 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(menuistopmost("menu_resetstats_warning"));
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0.8
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -131.333 -78.667 262.667 130.667 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0.3098 0.349 0.2745 1
|
||||
background "white"
|
||||
exp rect y 0 + "SWF_POPUP_GLOBAL_Y_OFFSET";
|
||||
exp rect h (localvarint("ui_swfPopupDescResizeHeight")) + 0;
|
||||
exp rect x 0 + "SWF_POPUP_GLOBAL_X_OFFSET";
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 260 1 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1 && 1);
|
||||
textscale 0.55
|
||||
forecolor 0.1569 0.1725 0.1608 1
|
||||
background "white"
|
||||
exp rect x 0;
|
||||
exp rect y 0;
|
||||
exp rect h (1 * 22) + (16.367 * 0) + 2;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 8.666 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1 && 1);
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar_shadow"
|
||||
exp rect x (0 + "X_OFFSET");
|
||||
exp rect y 0 + (1 * 22) + (16.367 * 0);
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 1 244 22 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when(1);
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 9
|
||||
exp text dvarstring(com_errorTitle);
|
||||
exp rect x (0 + 8);
|
||||
exp rect y (0 + 4) - 4;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 244 20 2 2
|
||||
style 1
|
||||
decoration
|
||||
autowrapped
|
||||
visible when(1);
|
||||
textalign 4
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
exp text dvarstring(com_errorMessage);
|
||||
exp rect x ((0 + 8) + 0);
|
||||
exp rect y (0 + (0 * (20 + 2)) + (0 + 4) + ((23 * 1) + (16.367 * 0))) - 2.333;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 260 1 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0.2118 0.2314 0.22 1
|
||||
background "white"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + (0 * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0)));
|
||||
exp rect h ((20 + 2) * 2) + 1;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 8.666 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfPopupSelectionBarVis") && (localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_NAME") && (localvarstring("ui_swfPopupContext") == "SWF_COMMON_DESC_RESIZE_POPUP_NAME"));
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar_shadow"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + ((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0))) + (20 + 0.3333);
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 20 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfPopupSelectionBarVis") && (localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_NAME") && (localvarstring("ui_swfPopupContext") == "SWF_COMMON_DESC_RESIZE_POPUP_NAME"));
|
||||
textscale 0.55
|
||||
forecolor 0.6 0.6314 0.6 0.2
|
||||
background "white"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + ((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0)));
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 20 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfPopupSelectionBarVis") && (localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_NAME") && (localvarstring("ui_swfPopupContext") == "SWF_COMMON_DESC_RESIZE_POPUP_NAME"));
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + ((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0)));
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@PLATFORM_NAVBAR_BUTTON_FOCUSED_SELECTBUTTON"
|
||||
rect 0 0 20 20 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfPopupSelectionButtonVis") && (localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_NAME") && (localvarstring("ui_swfPopupContext") == "SWF_COMMON_DESC_RESIZE_POPUP_NAME"));
|
||||
textalign 10
|
||||
textscale 0.30625
|
||||
textfont 3
|
||||
exp rect x (0 + (0 + 260 - 24));
|
||||
exp rect y (((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + ((0 + 4) + ((23 * 1) + (16.367 * 0))) - 1.167) - 1.8;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "SWF_COMMON_DESC_RESIZE_POPUP_NAME_0"
|
||||
rect 11.667 0 260 22 2 2
|
||||
style 3
|
||||
type 1
|
||||
visible when(1);
|
||||
disabled when(0);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0
|
||||
background "white"
|
||||
onFocus
|
||||
{
|
||||
setLocalVarString ui_swf_selection "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_NAME,0)";
|
||||
setLocalVarInt ui_buttonNavGroupCurrent_popup 0;
|
||||
setLocalVarString ui_buttonNavGroupName_popup "SWF_COMMON_DESC_RESIZE_POPUP_NAME";
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis ((1) && !(0));
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis (1);
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled (0);
|
||||
setLocalVarString ui_swfPopupContext "SWF_COMMON_DESC_RESIZE_POPUP_NAME";
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
close self;
|
||||
resetStatsConfirm;
|
||||
}
|
||||
exp rect y ((0 * (20 + 2)) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + (0 + 4) + ((23 * 1) + (16.367 * 0))) + ((0 - 1.333));
|
||||
exp rect w 260 - 0;
|
||||
exp rect x (0 + (0 + 8));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 11.667 0 260 19.567 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when((1) && (1));
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 3
|
||||
exp text "@MENU_STATS_RESET_YES";
|
||||
exp rect y (((0 * (20 + 2)) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + (0 + 4) + ((23 * 1) + (16.367 * 0))) + (0 - 1.333)) - 2.333;
|
||||
exp rect w 260;
|
||||
exp forecolor r select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor g select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor b select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp rect x (0 + (0 + 8));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "SWF_COMMON_DESC_RESIZE_POPUP_NAME_1"
|
||||
rect 11.667 0 260 22 2 2
|
||||
style 3
|
||||
type 1
|
||||
visible when(1);
|
||||
disabled when(0);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0
|
||||
background "white"
|
||||
onFocus
|
||||
{
|
||||
setLocalVarString ui_swf_selection "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_NAME,1)";
|
||||
setLocalVarInt ui_buttonNavGroupCurrent_popup 1;
|
||||
setLocalVarString ui_buttonNavGroupName_popup "SWF_COMMON_DESC_RESIZE_POPUP_NAME";
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis ((1) && !(0));
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis (1);
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled (0);
|
||||
setLocalVarString ui_swfPopupContext "SWF_COMMON_DESC_RESIZE_POPUP_NAME";
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
resetStatsCancel;
|
||||
close self;
|
||||
}
|
||||
exp rect y ((1 * (20 + 2)) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + (0 + 4) + ((23 * 1) + (16.367 * 0))) + ((0 - 1.333));
|
||||
exp rect w 260 - 0;
|
||||
exp rect x (0 + (0 + 8));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 11.667 0 260 19.567 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when((1) && (1));
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 3
|
||||
exp text "@MENU_STATS_RESET_NO";
|
||||
exp rect y (((1 * (20 + 2)) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + (0 + 4) + ((23 * 1) + (16.367 * 0))) + (0 - 1.333)) - 2.333;
|
||||
exp rect w 260;
|
||||
exp forecolor r select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_NAME,1)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_NAME,1)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor g select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_NAME,1)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_NAME,1)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor b select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_NAME,1)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_NAME,1)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp rect x (0 + (0 + 8));
|
||||
}
|
||||
}
|
||||
}
|
219
zone_raw/patch_mp/ui_mp/minimap_480_splitquarter.menu
Normal file
219
zone_raw/patch_mp/ui_mp/minimap_480_splitquarter.menu
Normal file
@ -0,0 +1,219 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "minimap_480_splitquarter"
|
||||
rect 0 3 150 150 8 8
|
||||
fadeClamp 1
|
||||
fadeCycle 1
|
||||
fadeAmount 0.1
|
||||
hiddenDuringScope
|
||||
hiddenDuringFlashbang
|
||||
visible when(FUNC_113() && FUNC_99() && FUNC_104() && FUNC_94());
|
||||
itemDef
|
||||
{
|
||||
name "minimap_border"
|
||||
rect 0 18 150 150 0 0
|
||||
border 1
|
||||
borderSize 1.5
|
||||
visible 1
|
||||
textscale 0.55
|
||||
bordercolor 1 1 1 0.35
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 18 150 150 0 0
|
||||
style 3
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0.89 0.98 0.95 0.05
|
||||
background "minimap_scanlines"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "minimap_map"
|
||||
rect 0 12 100 100 0 0
|
||||
type 8
|
||||
visible 1
|
||||
ownerdraw 159
|
||||
textscale 0.55
|
||||
background "compass_map_default"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "minimap_friendlies"
|
||||
rect 0 12 100 100 0 0
|
||||
type 8
|
||||
visible 1
|
||||
ownerdraw 158
|
||||
textscale 0.55
|
||||
exp forecolor a 1 - radarjamintensity();
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "minimap_objectives"
|
||||
rect 0 12 100 100 0 0
|
||||
type 8
|
||||
visible 1
|
||||
ownerdraw 152
|
||||
textscale 0.55
|
||||
background "objective_line"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "minimap_enemies"
|
||||
rect 0 12 100 100 0 0
|
||||
type 8
|
||||
visible 1
|
||||
ownerdraw 175
|
||||
textscale 0.55
|
||||
exp forecolor a 1 - radarjamintensity();
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "minimap_vehicles"
|
||||
rect 0 12 100 100 0 0
|
||||
type 8
|
||||
visible 1
|
||||
ownerdraw 155
|
||||
textscale 0.55
|
||||
exp forecolor a 1 - radarjamintensity();
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "minimap_planes"
|
||||
rect 0 12 100 100 0 0
|
||||
type 8
|
||||
visible 1
|
||||
ownerdraw 156
|
||||
textscale 0.55
|
||||
exp forecolor a 1 - radarjamintensity();
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "minimap_sentries"
|
||||
rect 0 12 100 100 0 0
|
||||
type 8
|
||||
visible 1
|
||||
ownerdraw 165
|
||||
textscale 0.55
|
||||
exp forecolor a 1 - radarjamintensity();
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "minimap_portable_radars"
|
||||
rect 0 12 100 100 0 0
|
||||
type 8
|
||||
visible 1
|
||||
ownerdraw 157
|
||||
textscale 0.55
|
||||
exp forecolor a 1 - radarjamintensity();
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "minimap_trophy_systems"
|
||||
rect 0 12 100 100 0 0
|
||||
type 8
|
||||
visible 1
|
||||
ownerdraw 167
|
||||
textscale 0.55
|
||||
exp forecolor a 1 - radarjamintensity();
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "minimap_scramblers"
|
||||
rect 0 12 100 100 0 0
|
||||
type 8
|
||||
visible 1
|
||||
ownerdraw 168
|
||||
textscale 0.55
|
||||
exp forecolor a 1 - radarjamintensity();
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "minimap_player"
|
||||
rect 0 12 100 100 0 0
|
||||
type 8
|
||||
visible 1
|
||||
ownerdraw 150
|
||||
textscale 0.55
|
||||
background "compassping_player"
|
||||
exp forecolor a 1 - radarjamintensity();
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 18 150 150 0 0
|
||||
style 3
|
||||
visible when(radarisjammed());
|
||||
textscale 0.55
|
||||
forecolor 0.64 0.74 0.71 1
|
||||
background "white"
|
||||
exp forecolor a radarjamintensity();
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 18 150 150 0 0
|
||||
style 3
|
||||
visible when(radarisjammed());
|
||||
textscale 0.55
|
||||
forecolor 0.89 0.98 0.95 1
|
||||
background "ac130_overlay_grain"
|
||||
exp forecolor a radarjamintensity();
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 18 150 150 0 0
|
||||
style 3
|
||||
visible 1
|
||||
textscale 0.55
|
||||
background "stencil_base"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 18 150 150 0 0
|
||||
style 3
|
||||
visible 1
|
||||
textscale 0.55
|
||||
background "scanlines_stencil"
|
||||
exp rect y ((0 * 0.5) + (12 * 1.5) - (100 * 1.5)) + (((100 * 1.5) * 2) * FUNC_49());
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 18 150 150 0 0
|
||||
style 3
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0.89 0.98 0.95 1
|
||||
background "stencil_fill"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "minimap_ticker_background"
|
||||
rect 0 0 100 0 0 0
|
||||
style 3
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0.5
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "minimap_ticker"
|
||||
rect 0 10 100 9 0 0
|
||||
type 8
|
||||
visible 1
|
||||
ownerdraw 146
|
||||
textscale 0.55
|
||||
background "minimap_tickertape_mp"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "minimap_ticker_foreground"
|
||||
rect 0 0 100 0 0 0
|
||||
style 3
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0.65
|
||||
background "gradient_center"
|
||||
}
|
||||
}
|
||||
}
|
216
zone_raw/patch_mp/ui_mp/minimap_fullscreen.menu
Normal file
216
zone_raw/patch_mp/ui_mp/minimap_fullscreen.menu
Normal file
@ -0,0 +1,216 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "minimap_fullscreen"
|
||||
rect 6 6 0 0 8 8
|
||||
hiddenDuringScope
|
||||
hiddenDuringFlashbang
|
||||
visible when(FUNC_113() && FUNC_99() && FUNC_104() && FUNC_94());
|
||||
itemDef
|
||||
{
|
||||
name "minimap_border"
|
||||
rect 0 0 100 100 0 0
|
||||
border 1
|
||||
borderSize 0.666667
|
||||
visible 1
|
||||
textscale 0.55
|
||||
bordercolor 1 1 1 0.35
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 100 100 0 0
|
||||
style 3
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0.89 0.98 0.95 0.05
|
||||
background "minimap_scanlines"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "minimap_map"
|
||||
rect 0 0 100 100 0 0
|
||||
type 8
|
||||
visible 1
|
||||
ownerdraw 159
|
||||
textscale 0.55
|
||||
background "compass_map_default"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "minimap_friendlies"
|
||||
rect 0 0 100 100 0 0
|
||||
type 8
|
||||
visible 1
|
||||
ownerdraw 158
|
||||
textscale 0.55
|
||||
exp forecolor a 1 - radarjamintensity();
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "minimap_objectives"
|
||||
rect 0 0 100 100 0 0
|
||||
type 8
|
||||
visible 1
|
||||
ownerdraw 152
|
||||
textscale 0.55
|
||||
background "objective_line"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "minimap_enemies"
|
||||
rect 0 0 100 100 0 0
|
||||
type 8
|
||||
visible 1
|
||||
ownerdraw 175
|
||||
textscale 0.55
|
||||
exp forecolor a 1 - radarjamintensity();
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "minimap_vehicles"
|
||||
rect 0 0 100 100 0 0
|
||||
type 8
|
||||
visible 1
|
||||
ownerdraw 155
|
||||
textscale 0.55
|
||||
exp forecolor a 1 - radarjamintensity();
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "minimap_planes"
|
||||
rect 0 0 100 100 0 0
|
||||
type 8
|
||||
visible 1
|
||||
ownerdraw 156
|
||||
textscale 0.55
|
||||
exp forecolor a 1 - radarjamintensity();
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "minimap_sentries"
|
||||
rect 0 0 100 100 0 0
|
||||
type 8
|
||||
visible 1
|
||||
ownerdraw 165
|
||||
textscale 0.55
|
||||
exp forecolor a 1 - radarjamintensity();
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "minimap_portable_radars"
|
||||
rect 0 0 100 100 0 0
|
||||
type 8
|
||||
visible 1
|
||||
ownerdraw 157
|
||||
textscale 0.55
|
||||
exp forecolor a 1 - radarjamintensity();
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "minimap_trophy_systems"
|
||||
rect 0 0 100 100 0 0
|
||||
type 8
|
||||
visible 1
|
||||
ownerdraw 167
|
||||
textscale 0.55
|
||||
exp forecolor a 1 - radarjamintensity();
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "minimap_scramblers"
|
||||
rect 0 0 100 100 0 0
|
||||
type 8
|
||||
visible 1
|
||||
ownerdraw 168
|
||||
textscale 0.55
|
||||
exp forecolor a 1 - radarjamintensity();
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "minimap_player"
|
||||
rect 0 0 100 100 0 0
|
||||
type 8
|
||||
visible 1
|
||||
ownerdraw 150
|
||||
textscale 0.55
|
||||
background "compassping_player"
|
||||
exp forecolor a 1 - radarjamintensity();
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 100 100 0 0
|
||||
style 3
|
||||
visible when(radarisjammed());
|
||||
textscale 0.55
|
||||
forecolor 0.64 0.74 0.71 1
|
||||
background "white"
|
||||
exp forecolor a radarjamintensity();
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 100 100 0 0
|
||||
style 3
|
||||
visible when(radarisjammed());
|
||||
textscale 0.55
|
||||
forecolor 0.89 0.98 0.95 1
|
||||
background "ac130_overlay_grain"
|
||||
exp forecolor a radarjamintensity();
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 100 100 0 0
|
||||
style 3
|
||||
visible 1
|
||||
textscale 0.55
|
||||
background "stencil_base"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 100 100 0 0
|
||||
style 3
|
||||
visible 1
|
||||
textscale 0.55
|
||||
background "scanlines_stencil"
|
||||
exp rect y (0 - 100) + ((100 * 2) * FUNC_49());
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 100 100 0 0
|
||||
style 3
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0.89 0.98 0.95 1
|
||||
background "stencil_fill"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "minimap_ticker_background"
|
||||
rect 0 0 100 0 0 0
|
||||
style 3
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0.5
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "minimap_ticker"
|
||||
rect 0 0 100 9 0 0
|
||||
type 8
|
||||
visible 1
|
||||
ownerdraw 146
|
||||
textscale 0.55
|
||||
background "minimap_tickertape_mp"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "minimap_ticker_foreground"
|
||||
rect 0 0 100 0 0 0
|
||||
style 3
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0.65
|
||||
background "gradient_center"
|
||||
}
|
||||
}
|
||||
}
|
219
zone_raw/patch_mp/ui_mp/minimap_splitscreen.menu
Normal file
219
zone_raw/patch_mp/ui_mp/minimap_splitscreen.menu
Normal file
@ -0,0 +1,219 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "minimap_splitscreen"
|
||||
rect 0 3 150 150 8 8
|
||||
fadeClamp 1
|
||||
fadeCycle 1
|
||||
fadeAmount 0.1
|
||||
hiddenDuringScope
|
||||
hiddenDuringFlashbang
|
||||
visible when(FUNC_113() && FUNC_99() && FUNC_104() && FUNC_94());
|
||||
itemDef
|
||||
{
|
||||
name "minimap_border"
|
||||
rect 0 0 150 150 0 0
|
||||
border 1
|
||||
borderSize 1.5
|
||||
visible 1
|
||||
textscale 0.55
|
||||
bordercolor 1 1 1 0.35
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 150 150 0 0
|
||||
style 3
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0.89 0.98 0.95 0.05
|
||||
background "minimap_scanlines"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "minimap_map"
|
||||
rect 0 0 100 100 0 0
|
||||
type 8
|
||||
visible 1
|
||||
ownerdraw 159
|
||||
textscale 0.55
|
||||
background "compass_map_default"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "minimap_friendlies"
|
||||
rect 0 0 100 100 0 0
|
||||
type 8
|
||||
visible 1
|
||||
ownerdraw 158
|
||||
textscale 0.55
|
||||
exp forecolor a 1 - radarjamintensity();
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "minimap_objectives"
|
||||
rect 0 0 100 100 0 0
|
||||
type 8
|
||||
visible 1
|
||||
ownerdraw 152
|
||||
textscale 0.55
|
||||
background "objective_line"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "minimap_enemies"
|
||||
rect 0 0 100 100 0 0
|
||||
type 8
|
||||
visible 1
|
||||
ownerdraw 175
|
||||
textscale 0.55
|
||||
exp forecolor a 1 - radarjamintensity();
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "minimap_vehicles"
|
||||
rect 0 0 100 100 0 0
|
||||
type 8
|
||||
visible 1
|
||||
ownerdraw 155
|
||||
textscale 0.55
|
||||
exp forecolor a 1 - radarjamintensity();
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "minimap_planes"
|
||||
rect 0 0 100 100 0 0
|
||||
type 8
|
||||
visible 1
|
||||
ownerdraw 156
|
||||
textscale 0.55
|
||||
exp forecolor a 1 - radarjamintensity();
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "minimap_sentries"
|
||||
rect 0 0 100 100 0 0
|
||||
type 8
|
||||
visible 1
|
||||
ownerdraw 165
|
||||
textscale 0.55
|
||||
exp forecolor a 1 - radarjamintensity();
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "minimap_portable_radars"
|
||||
rect 0 0 100 100 0 0
|
||||
type 8
|
||||
visible 1
|
||||
ownerdraw 157
|
||||
textscale 0.55
|
||||
exp forecolor a 1 - radarjamintensity();
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "minimap_trophy_systems"
|
||||
rect 0 0 100 100 0 0
|
||||
type 8
|
||||
visible 1
|
||||
ownerdraw 167
|
||||
textscale 0.55
|
||||
exp forecolor a 1 - radarjamintensity();
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "minimap_scramblers"
|
||||
rect 0 0 100 100 0 0
|
||||
type 8
|
||||
visible 1
|
||||
ownerdraw 168
|
||||
textscale 0.55
|
||||
exp forecolor a 1 - radarjamintensity();
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "minimap_player"
|
||||
rect 0 0 100 100 0 0
|
||||
type 8
|
||||
visible 1
|
||||
ownerdraw 150
|
||||
textscale 0.55
|
||||
background "compassping_player"
|
||||
exp forecolor a 1 - radarjamintensity();
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 150 150 0 0
|
||||
style 3
|
||||
visible when(radarisjammed());
|
||||
textscale 0.55
|
||||
forecolor 0.64 0.74 0.71 1
|
||||
background "white"
|
||||
exp forecolor a radarjamintensity();
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 150 150 0 0
|
||||
style 3
|
||||
visible when(radarisjammed());
|
||||
textscale 0.55
|
||||
forecolor 0.89 0.98 0.95 1
|
||||
background "ac130_overlay_grain"
|
||||
exp forecolor a radarjamintensity();
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 150 150 0 0
|
||||
style 3
|
||||
visible 1
|
||||
textscale 0.55
|
||||
background "stencil_base"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 150 150 0 0
|
||||
style 3
|
||||
visible 1
|
||||
textscale 0.55
|
||||
background "scanlines_stencil"
|
||||
exp rect y ((0 * 0.5) - (100 * 1.5)) + (((100 * 1.5) * 2) * FUNC_49());
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 150 150 0 0
|
||||
style 3
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0.89 0.98 0.95 1
|
||||
background "stencil_fill"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "minimap_ticker_background"
|
||||
rect 0 0 100 0 0 0
|
||||
style 3
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0.5
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "minimap_ticker"
|
||||
rect 0 0 100 9 0 0
|
||||
type 8
|
||||
visible 1
|
||||
ownerdraw 146
|
||||
textscale 0.55
|
||||
background "minimap_tickertape_mp"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "minimap_ticker_foreground"
|
||||
rect 0 0 100 0 0 0
|
||||
style 3
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0.65
|
||||
background "gradient_center"
|
||||
}
|
||||
}
|
||||
}
|
249
zone_raw/patch_mp/ui_mp/mp_vid_restart_popmenu_listen.menu
Normal file
249
zone_raw/patch_mp/ui_mp/mp_vid_restart_popmenu_listen.menu
Normal file
@ -0,0 +1,249 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "mp_vid_restart_popmenu_listen"
|
||||
rect 0 0 0 0 2 2
|
||||
focuscolor 1 1 1 1
|
||||
outOfBoundsClick
|
||||
popup
|
||||
legacySplitScreenScale
|
||||
exp rect X 0 - (260 * 0.5);
|
||||
exp rect Y 0 - ((localvarint("ui_swfPopupDescResizeHeight")) * 0.5);
|
||||
exp rect W 260;
|
||||
exp rect H (localvarint("ui_swfPopupDescResizeHeight"));
|
||||
onOpen
|
||||
{
|
||||
setLocalVarFloat ui_swfPopupDescResizeTextHeight (getwrappedtextheight("@MENU_UNABLE_TO_APPLY", (float((260 - 16))), 3, 0.375, 0, 0));
|
||||
setLocalVarInt ui_swfPopupDescResizeButtons (int((localvarfloat("ui_swfPopupDescResizeTextHeight") + ((20 + 2) / 2) + 5) / (20 + 2)) + 1);
|
||||
setLocalVarInt ui_swfPopupDescResizeHeight ((((23 * 1) + (16.367 * 0)) + ((localvarint("ui_swfPopupDescResizeButtons") + 0 + 1) * (20 + 2)) + 5));
|
||||
setLocalVarInt ui_swfPopupDescResizeButtonYOffset ((20 + 2) * (localvarint("ui_swfPopupDescResizeButtons") + 0));
|
||||
setLocalVarInt ui_buttonNavGroupOffset_popup 0;
|
||||
setLocalVarInt ui_buttonNavGroupCurrent_popup 0;
|
||||
setLocalVarString ui_buttonNavGroupName_popup "invalid";
|
||||
setLocalVarBool ui_swfSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfSelectionDisabled 0;
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled 0;
|
||||
setLocalVarString ui_swfPopupContext "invalid";
|
||||
setLocalVarBool ui_centerPopup 1;
|
||||
play tabs_slide;
|
||||
lerp x from - 460 to 0 over "0.05";
|
||||
focusfirst;
|
||||
setfocus SWF_COMMON_DESC_RESIZE_POPUP_1_NAME_0;
|
||||
focusfirst;
|
||||
}
|
||||
onClose
|
||||
{
|
||||
setLocalVarBool ui_centerPopup 0;
|
||||
play "";
|
||||
}
|
||||
onESC
|
||||
{
|
||||
close self;
|
||||
}
|
||||
onFocusDueToClose
|
||||
{
|
||||
setLocalVarFloat ui_swfPopupDescResizeTextHeight (getwrappedtextheight("@MENU_UNABLE_TO_APPLY", (float((260 - 16))), 3, 0.375, 0, 0));
|
||||
setLocalVarInt ui_swfPopupDescResizeButtons (int((localvarfloat("ui_swfPopupDescResizeTextHeight") + ((20 + 2) / 2) + 5) / (20 + 2)) + 1);
|
||||
setLocalVarInt ui_swfPopupDescResizeHeight ((((23 * 1) + (16.367 * 0)) + ((localvarint("ui_swfPopupDescResizeButtons") + 0 + 1) * (20 + 2)) + 5));
|
||||
setLocalVarInt ui_swfPopupDescResizeButtonYOffset ((20 + 2) * (localvarint("ui_swfPopupDescResizeButtons") + 0));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -1280 -480 2560 960 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(menuistopmost("mp_vid_restart_popmenu_listen"));
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0.8
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -131.333 -78.667 262.667 130.667 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0.3098 0.349 0.2745 1
|
||||
background "white"
|
||||
exp rect y 0 + "SWF_POPUP_GLOBAL_Y_OFFSET";
|
||||
exp rect h (localvarint("ui_swfPopupDescResizeHeight")) + 0;
|
||||
exp rect x 0 + "SWF_POPUP_GLOBAL_X_OFFSET";
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 260 1 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1 && 1);
|
||||
textscale 0.55
|
||||
forecolor 0.1569 0.1725 0.1608 1
|
||||
background "white"
|
||||
exp rect x 0;
|
||||
exp rect y 0;
|
||||
exp rect h (1 * 22) + (16.367 * 0) + 2;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 8.666 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1 && 1);
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar_shadow"
|
||||
exp rect x (0 + "X_OFFSET");
|
||||
exp rect y 0 + (1 * 22) + (16.367 * 0);
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 1 244 22 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when(1);
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 9
|
||||
exp text "@MENU_APPLY_SETTINGS";
|
||||
exp rect x (0 + 8);
|
||||
exp rect y (0 + 4) - 4;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 244 20 2 2
|
||||
style 1
|
||||
decoration
|
||||
autowrapped
|
||||
visible when(1);
|
||||
textalign 4
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
exp text "@MENU_UNABLE_TO_APPLY";
|
||||
exp rect x ((0 + 8) + 0);
|
||||
exp rect y (0 + (0 * (20 + 2)) + (0 + 4) + ((23 * 1) + (16.367 * 0))) - 2.333;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 260 1 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0.2118 0.2314 0.22 1
|
||||
background "white"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + (0 * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0)));
|
||||
exp rect h ((20 + 2) * 1) + 1;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 8.666 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfPopupSelectionBarVis") && (localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME") && (localvarstring("ui_swfPopupContext") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME"));
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar_shadow"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + ((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0))) + (20 + 0.3333);
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 20 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfPopupSelectionBarVis") && (localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME") && (localvarstring("ui_swfPopupContext") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME"));
|
||||
textscale 0.55
|
||||
forecolor 0.6 0.6314 0.6 0.2
|
||||
background "white"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + ((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0)));
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 20 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfPopupSelectionBarVis") && (localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME") && (localvarstring("ui_swfPopupContext") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME"));
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + ((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0)));
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@PLATFORM_NAVBAR_BUTTON_FOCUSED_SELECTBUTTON"
|
||||
rect 0 0 20 20 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfPopupSelectionButtonVis") && (localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME") && (localvarstring("ui_swfPopupContext") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME"));
|
||||
textalign 10
|
||||
textscale 0.30625
|
||||
textfont 3
|
||||
exp rect x (0 + (0 + 260 - 24));
|
||||
exp rect y (((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + ((0 + 4) + ((23 * 1) + (16.367 * 0))) - 1.167) - 1.8;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME_0"
|
||||
rect 11.667 0 260 22 2 2
|
||||
style 3
|
||||
type 1
|
||||
visible when(1);
|
||||
disabled when(0);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0
|
||||
background "white"
|
||||
onFocus
|
||||
{
|
||||
setLocalVarString ui_swf_selection "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_1_NAME,0)";
|
||||
setLocalVarInt ui_buttonNavGroupCurrent_popup 0;
|
||||
setLocalVarString ui_buttonNavGroupName_popup "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME";
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis ((1) && !(0));
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis (1);
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled (0);
|
||||
setLocalVarString ui_swfPopupContext "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME";
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
close self;
|
||||
}
|
||||
exp rect y ((0 * (20 + 2)) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + (0 + 4) + ((23 * 1) + (16.367 * 0))) + ((0 - 1.333));
|
||||
exp rect w 260 - 0;
|
||||
exp rect x (0 + (0 + 8));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 11.667 0 260 19.567 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when((1) && (1));
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 3
|
||||
exp text "@MENU_OK";
|
||||
exp rect y (((0 * (20 + 2)) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + (0 + 4) + ((23 * 1) + (16.367 * 0))) + (0 - 1.333)) - 2.333;
|
||||
exp rect w 260;
|
||||
exp forecolor r select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_1_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_1_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor g select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_1_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_1_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor b select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_1_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_1_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp rect x (0 + (0 + 8));
|
||||
}
|
||||
}
|
||||
}
|
138
zone_raw/patch_mp/ui_mp/muteplayer.menu
Normal file
138
zone_raw/patch_mp/ui_mp/muteplayer.menu
Normal file
@ -0,0 +1,138 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "muteplayer"
|
||||
rect 0 0 640 480 0 0
|
||||
focuscolor 1 1 1 1
|
||||
blurWorld 4.8
|
||||
onESC
|
||||
{
|
||||
close self;
|
||||
open class;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -427 -240 854 480 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_30() && (dvarstring(gameMode) == "mp" || (dvarstring(gameMode) == "so" && !dvarbool(solo_play))));
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0.4
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MPUI_MUTEPLAYERS"
|
||||
rect 0 0 272 28 1 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 6
|
||||
textalignx -60
|
||||
textscale 0.5
|
||||
textfont 9
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "playermutelist"
|
||||
rect -160 80 320 288 2 1
|
||||
style 1
|
||||
type 6
|
||||
border 1
|
||||
borderSize 1
|
||||
visible 1
|
||||
textalignx 6
|
||||
textscale 0.4
|
||||
textstyle 3
|
||||
bordercolor 1 1 1 0.15
|
||||
outlinecolor 1 1 1 0.2
|
||||
mouseEnter
|
||||
{
|
||||
setitemcolor maplist bordercolor 1 1 1 "0.55";
|
||||
}
|
||||
mouseExit
|
||||
{
|
||||
setitemcolor maplist bordercolor 1 1 1 "0.15";
|
||||
}
|
||||
exp rect h 24 * min(12, getFeederData("playermutelist", "count")) + 2;
|
||||
elementwidth 120
|
||||
elementheight 24
|
||||
feeder 19
|
||||
columns 2
|
||||
2 0 62 0 10 0
|
||||
64 0 172 0 25 0
|
||||
doubleclick
|
||||
{
|
||||
play mouse_click;
|
||||
uiScript mutePlayer;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 20 3 3
|
||||
type 1
|
||||
visible when(1);
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
onFocus
|
||||
{
|
||||
setLocalVarInt ui_ralign_index 1;
|
||||
setLocalVarString ui_ralign_group "muteplayers";
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarInt ui_ralign_index - 1;
|
||||
setLocalVarString ui_ralign_group "";
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
uiscript simulateKeyPress 27;
|
||||
}
|
||||
exp rect x (0) - (0 * 5) - 20 - getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375);
|
||||
exp rect y ((0 - 20.667));
|
||||
exp rect w getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375) + 20;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 8.666 3 3
|
||||
style 3
|
||||
decoration
|
||||
visible when((1) && (!0) && (localvarint("ui_ralign_index") == 1 && localvarstring("ui_ralign_group") == "muteplayers"));
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar_shadow"
|
||||
exp rect x (0) - (0 * 5) - (20) - getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375);
|
||||
exp rect y ((0 - 20.667)) + 20;
|
||||
exp rect w getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375) + 20;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 20 3 3
|
||||
style 1
|
||||
decoration
|
||||
visible when((1) && (localvarint("ui_ralign_index") == 1 && localvarstring("ui_ralign_group") == "muteplayers"));
|
||||
textscale 0.55
|
||||
backcolor 0.6 0.6314 0.6 1
|
||||
exp rect x (0) - (0 * 5) - (20) - getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375);
|
||||
exp rect y ((0 - 20.667));
|
||||
exp rect w getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375) + 20;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 20 3 3
|
||||
decoration
|
||||
visible when(1);
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
exp text "@PLATFORM_BACK_SHORTCUT";
|
||||
exp rect x (0) - (0 * 5) - (20 / 2) - getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375);
|
||||
exp rect y ((0 - 20.667));
|
||||
exp rect w getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375);
|
||||
exp forecolor r select((localvarint("ui_ralign_index") == 1 && localvarstring("ui_ralign_group") == "muteplayers"), select(isdemoplaying(), FUNC_36(), FUNC_35()), 1);
|
||||
exp forecolor g select((localvarint("ui_ralign_index") == 1 && localvarstring("ui_ralign_group") == "muteplayers"), select(isdemoplaying(), FUNC_36(), FUNC_35()), 1);
|
||||
exp forecolor b select((localvarint("ui_ralign_index") == 1 && localvarstring("ui_ralign_group") == "muteplayers"), select(isdemoplaying(), FUNC_36(), FUNC_35()), 1);
|
||||
}
|
||||
}
|
||||
}
|
312
zone_raw/patch_mp/ui_mp/options_control_defaults.menu
Normal file
312
zone_raw/patch_mp/ui_mp/options_control_defaults.menu
Normal file
@ -0,0 +1,312 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "options_control_defaults"
|
||||
rect 0 0 0 0 2 2
|
||||
focuscolor 1 1 1 1
|
||||
outOfBoundsClick
|
||||
popup
|
||||
legacySplitScreenScale
|
||||
exp rect X 0 - (260 * 0.5);
|
||||
exp rect Y 0 - ((localvarint("ui_swfPopupDescResizeHeight")) * 0.5);
|
||||
exp rect W 260;
|
||||
exp rect H (localvarint("ui_swfPopupDescResizeHeight"));
|
||||
onOpen
|
||||
{
|
||||
setLocalVarFloat ui_swfPopupDescResizeTextHeight (getwrappedtextheight("@MENU_RESTORE_EACH_SETTING", (float((260 - 16))), 3, 0.375, 0, 0));
|
||||
setLocalVarInt ui_swfPopupDescResizeButtons (int((localvarfloat("ui_swfPopupDescResizeTextHeight") + ((20 + 2) / 2) + 5) / (20 + 2)) + 1);
|
||||
setLocalVarInt ui_swfPopupDescResizeHeight ((((23 * 1) + (16.367 * 0)) + ((localvarint("ui_swfPopupDescResizeButtons") + 0 + 2) * (20 + 2)) + 5));
|
||||
setLocalVarInt ui_swfPopupDescResizeButtonYOffset ((20 + 2) * (localvarint("ui_swfPopupDescResizeButtons") + 0));
|
||||
setLocalVarInt ui_buttonNavGroupOffset_popup 0;
|
||||
setLocalVarInt ui_buttonNavGroupCurrent_popup 0;
|
||||
setLocalVarString ui_buttonNavGroupName_popup "invalid";
|
||||
setLocalVarBool ui_swfSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfSelectionDisabled 0;
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled 0;
|
||||
setLocalVarString ui_swfPopupContext "invalid";
|
||||
setLocalVarBool ui_centerPopup 1;
|
||||
play tabs_slide;
|
||||
lerp x from - 460 to 0 over "0.05";
|
||||
focusfirst;
|
||||
setfocus SWF_COMMON_DESC_RESIZE_POPUP_NAME_1;
|
||||
focusfirst;
|
||||
}
|
||||
onClose
|
||||
{
|
||||
setLocalVarBool ui_centerPopup 0;
|
||||
play "";
|
||||
}
|
||||
onESC
|
||||
{
|
||||
close self;
|
||||
}
|
||||
onFocusDueToClose
|
||||
{
|
||||
setLocalVarFloat ui_swfPopupDescResizeTextHeight (getwrappedtextheight("@MENU_RESTORE_EACH_SETTING", (float((260 - 16))), 3, 0.375, 0, 0));
|
||||
setLocalVarInt ui_swfPopupDescResizeButtons (int((localvarfloat("ui_swfPopupDescResizeTextHeight") + ((20 + 2) / 2) + 5) / (20 + 2)) + 1);
|
||||
setLocalVarInt ui_swfPopupDescResizeHeight ((((23 * 1) + (16.367 * 0)) + ((localvarint("ui_swfPopupDescResizeButtons") + 0 + 2) * (20 + 2)) + 5));
|
||||
setLocalVarInt ui_swfPopupDescResizeButtonYOffset ((20 + 2) * (localvarint("ui_swfPopupDescResizeButtons") + 0));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -1280 -480 2560 960 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(menuistopmost("options_control_defaults"));
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0.8
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -131.333 -78.667 262.667 130.667 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0.3098 0.349 0.2745 1
|
||||
background "white"
|
||||
exp rect y 0 + "SWF_POPUP_GLOBAL_Y_OFFSET";
|
||||
exp rect h (localvarint("ui_swfPopupDescResizeHeight")) + 0;
|
||||
exp rect x 0 + "SWF_POPUP_GLOBAL_X_OFFSET";
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 260 1 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1 && 1);
|
||||
textscale 0.55
|
||||
forecolor 0.1569 0.1725 0.1608 1
|
||||
background "white"
|
||||
exp rect x 0;
|
||||
exp rect y 0;
|
||||
exp rect h (1 * 22) + (16.367 * 0) + 2;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 8.666 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1 && 1);
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar_shadow"
|
||||
exp rect x (0 + "X_OFFSET");
|
||||
exp rect y 0 + (1 * 22) + (16.367 * 0);
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 1 244 22 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when(1);
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 9
|
||||
exp text "@MENU_SET_DEFAULT_CONTROLS";
|
||||
exp rect x (0 + 8);
|
||||
exp rect y (0 + 4) - 4;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 244 20 2 2
|
||||
style 1
|
||||
decoration
|
||||
autowrapped
|
||||
visible when(1);
|
||||
textalign 4
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
exp text "@MENU_RESTORE_EACH_SETTING";
|
||||
exp rect x ((0 + 8) + 0);
|
||||
exp rect y (0 + (0 * (20 + 2)) + (0 + 4) + ((23 * 1) + (16.367 * 0))) - 2.333;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 260 1 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0.2118 0.2314 0.22 1
|
||||
background "white"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + (0 * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0)));
|
||||
exp rect h ((20 + 2) * 2) + 1;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 8.666 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfPopupSelectionBarVis") && (localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_NAME") && (localvarstring("ui_swfPopupContext") == "SWF_COMMON_DESC_RESIZE_POPUP_NAME"));
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar_shadow"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + ((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0))) + (20 + 0.3333);
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 20 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfPopupSelectionBarVis") && (localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_NAME") && (localvarstring("ui_swfPopupContext") == "SWF_COMMON_DESC_RESIZE_POPUP_NAME"));
|
||||
textscale 0.55
|
||||
forecolor 0.6 0.6314 0.6 0.2
|
||||
background "white"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + ((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0)));
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 20 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfPopupSelectionBarVis") && (localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_NAME") && (localvarstring("ui_swfPopupContext") == "SWF_COMMON_DESC_RESIZE_POPUP_NAME"));
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + ((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0)));
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@PLATFORM_NAVBAR_BUTTON_FOCUSED_SELECTBUTTON"
|
||||
rect 0 0 20 20 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfPopupSelectionButtonVis") && (localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_NAME") && (localvarstring("ui_swfPopupContext") == "SWF_COMMON_DESC_RESIZE_POPUP_NAME"));
|
||||
textalign 10
|
||||
textscale 0.30625
|
||||
textfont 3
|
||||
exp rect x (0 + (0 + 260 - 24));
|
||||
exp rect y (((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + ((0 + 4) + ((23 * 1) + (16.367 * 0))) - 1.167) - 1.8;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "SWF_COMMON_DESC_RESIZE_POPUP_NAME_0"
|
||||
rect 11.667 0 260 22 2 2
|
||||
style 3
|
||||
type 1
|
||||
visible when(1);
|
||||
disabled when(0);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0
|
||||
background "white"
|
||||
onFocus
|
||||
{
|
||||
setLocalVarString ui_swf_selection "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_NAME,0)";
|
||||
setLocalVarInt ui_buttonNavGroupCurrent_popup 0;
|
||||
setLocalVarString ui_buttonNavGroupName_popup "SWF_COMMON_DESC_RESIZE_POPUP_NAME";
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis ((1) && !(0));
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis (1);
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled (0);
|
||||
setLocalVarString ui_swfPopupContext "SWF_COMMON_DESC_RESIZE_POPUP_NAME";
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
if (dvarint(ui_multiplayer) == 1)
|
||||
{
|
||||
exec "exec default_mp_controls.cfg";
|
||||
}
|
||||
else
|
||||
{
|
||||
exec "exec default.cfg";
|
||||
}
|
||||
close self;
|
||||
}
|
||||
exp rect y ((0 * (20 + 2)) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + (0 + 4) + ((23 * 1) + (16.367 * 0))) + ((0 - 1.333));
|
||||
exp rect w 260 - 0;
|
||||
exp rect x (0 + (0 + 8));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 11.667 0 260 19.567 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when((1) && (1));
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 3
|
||||
exp text "@MENU_YES";
|
||||
exp rect y (((0 * (20 + 2)) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + (0 + 4) + ((23 * 1) + (16.367 * 0))) + (0 - 1.333)) - 2.333;
|
||||
exp rect w 260;
|
||||
exp forecolor r select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor g select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor b select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp rect x (0 + (0 + 8));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "SWF_COMMON_DESC_RESIZE_POPUP_NAME_1"
|
||||
rect 11.667 0 260 22 2 2
|
||||
style 3
|
||||
type 1
|
||||
visible when(1);
|
||||
disabled when(0);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0
|
||||
background "white"
|
||||
onFocus
|
||||
{
|
||||
setLocalVarString ui_swf_selection "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_NAME,1)";
|
||||
setLocalVarInt ui_buttonNavGroupCurrent_popup 1;
|
||||
setLocalVarString ui_buttonNavGroupName_popup "SWF_COMMON_DESC_RESIZE_POPUP_NAME";
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis ((1) && !(0));
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis (1);
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled (0);
|
||||
setLocalVarString ui_swfPopupContext "SWF_COMMON_DESC_RESIZE_POPUP_NAME";
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
close self;
|
||||
}
|
||||
exp rect y ((1 * (20 + 2)) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + (0 + 4) + ((23 * 1) + (16.367 * 0))) + ((0 - 1.333));
|
||||
exp rect w 260 - 0;
|
||||
exp rect x (0 + (0 + 8));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 11.667 0 260 19.567 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when((1) && (1));
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 3
|
||||
exp text "@MENU_NO";
|
||||
exp rect y (((1 * (20 + 2)) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + (0 + 4) + ((23 * 1) + (16.367 * 0))) + (0 - 1.333)) - 2.333;
|
||||
exp rect w 260;
|
||||
exp forecolor r select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_NAME,1)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_NAME,1)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor g select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_NAME,1)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_NAME,1)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor b select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_NAME,1)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_NAME,1)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp rect x (0 + (0 + 8));
|
||||
}
|
||||
}
|
||||
}
|
958
zone_raw/patch_mp/ui_mp/options_graphics.menu
Normal file
958
zone_raw/patch_mp/ui_mp/options_graphics.menu
Normal file
@ -0,0 +1,958 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "options_graphics"
|
||||
rect 0 0 640 480 0 0
|
||||
focuscolor 1 1 1 1
|
||||
onOpen
|
||||
{
|
||||
ExecNow "profile_menuDvarsSetup; resetViewport";
|
||||
close options_look;
|
||||
close options_move;
|
||||
close options_shoot;
|
||||
close options_misc;
|
||||
close options_sound;
|
||||
close options_game;
|
||||
close options_view;
|
||||
close options_defaults;
|
||||
close options_driverinfo;
|
||||
close options_credits;
|
||||
close options_graphics_defaults;
|
||||
close options_graphics_texture;
|
||||
close options_control_defaults;
|
||||
setLocalVarBool ui_showApply 0;
|
||||
setLocalVarBool ui_hideBack 1;
|
||||
exec "exec options_graphics.cfg";
|
||||
execOnDvarFloatValue r_zfeather 0 "set ui_zfeather 0";
|
||||
execOnDvarFloatValue r_zfeather 1 "set ui_zfeather 1";
|
||||
execOnDvarFloatValue r_depthPrepassModels 1 "set ui_zfeather 2";
|
||||
ExecNow "profile_menuDvarsSetup; resetViewport";
|
||||
if (isfacebookallowed(1) && !dvarbool(cl_ingame) && !dvarbool(sv_running))
|
||||
{
|
||||
if (dvarfloat(facebook_delay) < 0)
|
||||
{
|
||||
exec startfacebook;
|
||||
}
|
||||
}
|
||||
}
|
||||
onClose
|
||||
{
|
||||
ExecNow "profile_menuDvarsFinish; resetViewport";
|
||||
setLocalVarBool ui_hideBack 0;
|
||||
execOnDvarIntValue ui_zfeather 0 "set r_zfeather 0;set r_depthPrepassModels 0";
|
||||
execOnDvarIntValue ui_zfeather 1 "set r_zfeather 1;set r_depthPrepassModels 0";
|
||||
execondvarintvalue r_lodScaleRigid 2 "set r_lodScaleSkinned 4; set r_lodBiasSkinned -200; set r_lodBiasRigid -100";
|
||||
execondvarintvalue r_lodScaleRigid 1 "set r_lodScaleSkinned 1; set r_lodBiasSkinned 0; set r_lodBiasRigid 0";
|
||||
}
|
||||
onESC
|
||||
{
|
||||
close self;
|
||||
if (!(menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video") || menuisopen("pc_options_audio") || menuisopen("pc_options_controls") || menuisopen("pc_options_voice")) && localvarbool("ui_showPicApply") && !localvarbool("ui_showApply") && !localvarbool("ui_showAudioApply"))
|
||||
{
|
||||
execnow "setfromdvar r_picmip ui_r_picmip";
|
||||
execnow "setfromdvar r_picmip_bump ui_r_picmip_bump";
|
||||
execnow "setfromdvar r_picmip_spec ui_r_picmip_spec";
|
||||
execnow "setfromdvar r_picmip_manual ui_r_picmip_manual";
|
||||
exec "wait; wait; r_applyPicmip";
|
||||
setLocalVarBool ui_showPicApply 0;
|
||||
}
|
||||
if (!(menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video") || menuisopen("pc_options_audio") || menuisopen("pc_options_controls") || menuisopen("pc_options_voice")) && localvarbool("ui_showApply") || localvarbool("ui_showAudioApply"))
|
||||
{
|
||||
open all_restart_popmenu;
|
||||
}
|
||||
ExecNow "profile_menuDvarsFinish; updategamerprofile; resetViewport";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -426.667 -240 853.333 480 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when((dvarbool(ui_multiplayer) || (dvarstring(gameMode) == "so" && !menuistopmost("main_specops"))));
|
||||
textscale 0.55
|
||||
background "background_image_blur_less"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -426.667 -240 853.333 480 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(!(dvarbool(ui_multiplayer) || (dvarstring(gameMode) == "so" && !menuistopmost("main_specops"))));
|
||||
textscale 0.55
|
||||
background "background_image"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1708 480 0 0
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0.35 0.35 0.35 1
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 -1708 -480 0 0
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0.35 0.35 0.35 1
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x (- 107 + 854) + ((float(milliseconds() % 50000) / 50000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 237.5 -36 301.5 480 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_shelfEnabled"));
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0.4
|
||||
background "white"
|
||||
exp rect w localvarbool("ui_shelfEnabled") * select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 219.5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 219.5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 219.5));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 237.5 -236 13 680 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.75
|
||||
background "navbar_edge"
|
||||
exp rect x ((0 - 64) + 301.5) + (localvarbool("ui_shelfEnabled") * (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 219.5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 219.5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 219.5))));
|
||||
exp forecolor r 0.596078;
|
||||
exp forecolor g 0.654902;
|
||||
exp forecolor b 0.603922;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 237.5 -236 13 680 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_shelfEnabled"));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.75
|
||||
background "navbar_edge"
|
||||
exp rect x (0 - 64) + 301.5;
|
||||
exp forecolor r 0.596078;
|
||||
exp forecolor g 0.654902;
|
||||
exp forecolor b 0.603922;
|
||||
exp forecolor a localvarbool("ui_shelfEnabled") * (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 0.75), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0.75, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 0.75)));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -264 -236 501.5 680 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0.4
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 30 301.5 5.333 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
background "navbar_tick"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 3 276.667 24.233 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible when((1));
|
||||
textalign 10
|
||||
textscale 0.5
|
||||
textstyle 9
|
||||
textfont 9
|
||||
exp text "@MENU_OPTIONS_UPPER_CASE";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -88 34.667 325.333 17.333 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfSelectionBarVis") && (localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST"));
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar"
|
||||
exp rect y ((localvarint("ui_buttonNavGroupCurrent") - localvarint("ui_buttonNavGroupOffset")) * 20) + (34.667) + 0.667;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 213 34.667 21.333 16.5 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfSelectionButtonVis") && (localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST"));
|
||||
textalign 10
|
||||
textscale 0.30625
|
||||
textfont 3
|
||||
exp text "@PLATFORM_NAVBAR_BUTTON_FOCUSED_SELECTBUTTON";
|
||||
exp rect y ((localvarint("ui_buttonNavGroupCurrent") - localvarint("ui_buttonNavGroupOffset")) * 20) + (34.667) + (0.667);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "OPTIONS_LIST_0"
|
||||
rect -68 34.667 305.333 20 1 1
|
||||
style 3
|
||||
type 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0
|
||||
background "white"
|
||||
onFocus
|
||||
{
|
||||
setLocalVarString ui_swf_selection "OPTIONS_LIST_0";
|
||||
setLocalVarInt ui_buttonNavGroupCurrent 0;
|
||||
setLocalVarString ui_buttonNavGroupName "OPTIONS_LIST";
|
||||
setLocalVarBool ui_swfSelectionButtonVis ((1) && !(0));
|
||||
setLocalVarBool ui_swfSelectionBarVis (1);
|
||||
setLocalVarBool ui_swfSelectionDisabled (0);
|
||||
if ((20 - 1) + localvarint("ui_buttonNavGroupOffset") < localvarint("ui_buttonNavGroupCurrent"))
|
||||
{
|
||||
setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent") - (20 - 1));
|
||||
}
|
||||
else
|
||||
{
|
||||
if (localvarint("ui_buttonNavGroupCurrent") < localvarint("ui_buttonNavGroupOffset"))
|
||||
{
|
||||
setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent"));
|
||||
}
|
||||
}
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarBool ui_swfSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfSelectionDisabled 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
if (!(0))
|
||||
{
|
||||
play mouse_click;
|
||||
close pc_options_video;
|
||||
close pc_options_voice;
|
||||
close PC_OPTIONS_ADANCED_VIDEO_NAME;
|
||||
close options_texture_quality;
|
||||
close pc_options_audio;
|
||||
close PC_OPTIONS_MOVEMENT_NAME;
|
||||
close pc_options_controls;
|
||||
close options_look;
|
||||
close options_move;
|
||||
close options_shoot;
|
||||
close options_misc;
|
||||
close options_graphics;
|
||||
close options_sound;
|
||||
close options_game;
|
||||
close options_view;
|
||||
close options_defaults;
|
||||
close options_driverinfo;
|
||||
close options_credits;
|
||||
close options_graphics_defaults;
|
||||
close options_graphics_texture;
|
||||
close options_control_defaults;
|
||||
close options_voice;
|
||||
close controls_multi;
|
||||
close main_options;
|
||||
close main_controls;
|
||||
open pc_options_video;
|
||||
}
|
||||
}
|
||||
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 0))) + ((0 - 1.333));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 33.334 276.667 19.567 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible when((1) && (((localvarint("ui_buttonNavGroupOffset") + (20 - 1)) >= (0) && (((0) - localvarint("ui_buttonNavGroupOffset")) >= 0))));
|
||||
textalign 10
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 3
|
||||
exp text "@MENU_VIDEO";
|
||||
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 0))) + ((0 - 1.333));
|
||||
exp forecolor r select(0, select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_0" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_0" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor g select(0, select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_0" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_0" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor b select(0, select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_0" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_0" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "OPTIONS_LIST_1"
|
||||
rect -68 54.667 305.333 20 1 1
|
||||
style 3
|
||||
type 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0
|
||||
background "white"
|
||||
onFocus
|
||||
{
|
||||
setLocalVarString ui_swf_selection "OPTIONS_LIST_1";
|
||||
setLocalVarInt ui_buttonNavGroupCurrent 1;
|
||||
setLocalVarString ui_buttonNavGroupName "OPTIONS_LIST";
|
||||
setLocalVarBool ui_swfSelectionButtonVis ((1) && !(0));
|
||||
setLocalVarBool ui_swfSelectionBarVis (1);
|
||||
setLocalVarBool ui_swfSelectionDisabled (0);
|
||||
if ((20 - 1) + localvarint("ui_buttonNavGroupOffset") < localvarint("ui_buttonNavGroupCurrent"))
|
||||
{
|
||||
setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent") - (20 - 1));
|
||||
}
|
||||
else
|
||||
{
|
||||
if (localvarint("ui_buttonNavGroupCurrent") < localvarint("ui_buttonNavGroupOffset"))
|
||||
{
|
||||
setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent"));
|
||||
}
|
||||
}
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarBool ui_swfSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfSelectionDisabled 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
if (!(0))
|
||||
{
|
||||
play mouse_click;
|
||||
close pc_options_video;
|
||||
close pc_options_voice;
|
||||
close PC_OPTIONS_ADANCED_VIDEO_NAME;
|
||||
close options_texture_quality;
|
||||
close pc_options_audio;
|
||||
close PC_OPTIONS_MOVEMENT_NAME;
|
||||
close pc_options_controls;
|
||||
close options_look;
|
||||
close options_move;
|
||||
close options_shoot;
|
||||
close options_misc;
|
||||
close options_graphics;
|
||||
close options_sound;
|
||||
close options_game;
|
||||
close options_view;
|
||||
close options_defaults;
|
||||
close options_driverinfo;
|
||||
close options_credits;
|
||||
close options_graphics_defaults;
|
||||
close options_graphics_texture;
|
||||
close options_control_defaults;
|
||||
close options_voice;
|
||||
close controls_multi;
|
||||
close main_options;
|
||||
close main_controls;
|
||||
open pc_options_audio;
|
||||
}
|
||||
}
|
||||
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 1))) + ((0 - 1.333));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 53.334 276.667 19.567 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible when((1) && (((localvarint("ui_buttonNavGroupOffset") + (20 - 1)) >= (1) && (((1) - localvarint("ui_buttonNavGroupOffset")) >= 0))));
|
||||
textalign 10
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 3
|
||||
exp text "@MENU_AUDIO";
|
||||
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 1))) + ((0 - 1.333));
|
||||
exp forecolor r select(0, select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_1" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_1" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor g select(0, select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_1" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_1" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor b select(0, select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_1" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_1" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "OPTIONS_LIST_2"
|
||||
rect -68 74.667 305.333 20 1 1
|
||||
style 3
|
||||
type 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0
|
||||
background "white"
|
||||
onFocus
|
||||
{
|
||||
setLocalVarString ui_swf_selection "OPTIONS_LIST_2";
|
||||
setLocalVarInt ui_buttonNavGroupCurrent 2;
|
||||
setLocalVarString ui_buttonNavGroupName "OPTIONS_LIST";
|
||||
setLocalVarBool ui_swfSelectionButtonVis ((1) && !(0));
|
||||
setLocalVarBool ui_swfSelectionBarVis (1);
|
||||
setLocalVarBool ui_swfSelectionDisabled (0);
|
||||
if ((20 - 1) + localvarint("ui_buttonNavGroupOffset") < localvarint("ui_buttonNavGroupCurrent"))
|
||||
{
|
||||
setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent") - (20 - 1));
|
||||
}
|
||||
else
|
||||
{
|
||||
if (localvarint("ui_buttonNavGroupCurrent") < localvarint("ui_buttonNavGroupOffset"))
|
||||
{
|
||||
setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent"));
|
||||
}
|
||||
}
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarBool ui_swfSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfSelectionDisabled 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
if (!(0))
|
||||
{
|
||||
play mouse_click;
|
||||
close pc_options_video;
|
||||
close pc_options_voice;
|
||||
close PC_OPTIONS_ADANCED_VIDEO_NAME;
|
||||
close options_texture_quality;
|
||||
close pc_options_audio;
|
||||
close PC_OPTIONS_MOVEMENT_NAME;
|
||||
close pc_options_controls;
|
||||
close options_look;
|
||||
close options_move;
|
||||
close options_shoot;
|
||||
close options_misc;
|
||||
close options_graphics;
|
||||
close options_sound;
|
||||
close options_game;
|
||||
close options_view;
|
||||
close options_defaults;
|
||||
close options_driverinfo;
|
||||
close options_credits;
|
||||
close options_graphics_defaults;
|
||||
close options_graphics_texture;
|
||||
close options_control_defaults;
|
||||
close options_voice;
|
||||
close controls_multi;
|
||||
close main_options;
|
||||
close main_controls;
|
||||
open pc_options_controls;
|
||||
}
|
||||
}
|
||||
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 2))) + ((0 - 1.333));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 73.334 276.667 19.567 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible when((1) && (((localvarint("ui_buttonNavGroupOffset") + (20 - 1)) >= (2) && (((2) - localvarint("ui_buttonNavGroupOffset")) >= 0))));
|
||||
textalign 10
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 3
|
||||
exp text "@MENU_CONTROLS";
|
||||
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 2))) + ((0 - 1.333));
|
||||
exp forecolor r select(0, select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_2" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_2" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor g select(0, select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_2" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_2" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor b select(0, select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_2" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_2" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "OPTIONS_LIST_3"
|
||||
rect -68 94.667 305.333 20 1 1
|
||||
style 3
|
||||
type 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0
|
||||
background "white"
|
||||
onFocus
|
||||
{
|
||||
setLocalVarString ui_swf_selection "OPTIONS_LIST_3";
|
||||
setLocalVarInt ui_buttonNavGroupCurrent 3;
|
||||
setLocalVarString ui_buttonNavGroupName "OPTIONS_LIST";
|
||||
setLocalVarBool ui_swfSelectionButtonVis ((1) && !(dvarstring(gameMode) == "sp" || dvarstring(gameMode) == "so"));
|
||||
setLocalVarBool ui_swfSelectionBarVis (1);
|
||||
setLocalVarBool ui_swfSelectionDisabled (dvarstring(gameMode) == "sp" || dvarstring(gameMode) == "so");
|
||||
if ((20 - 1) + localvarint("ui_buttonNavGroupOffset") < localvarint("ui_buttonNavGroupCurrent"))
|
||||
{
|
||||
setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent") - (20 - 1));
|
||||
}
|
||||
else
|
||||
{
|
||||
if (localvarint("ui_buttonNavGroupCurrent") < localvarint("ui_buttonNavGroupOffset"))
|
||||
{
|
||||
setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent"));
|
||||
}
|
||||
}
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarBool ui_swfSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfSelectionDisabled 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
if (!(dvarstring(gameMode) == "sp" || dvarstring(gameMode) == "so"))
|
||||
{
|
||||
play mouse_click;
|
||||
close pc_options_video;
|
||||
close pc_options_voice;
|
||||
close PC_OPTIONS_ADANCED_VIDEO_NAME;
|
||||
close options_texture_quality;
|
||||
close pc_options_audio;
|
||||
close PC_OPTIONS_MOVEMENT_NAME;
|
||||
close pc_options_controls;
|
||||
close options_look;
|
||||
close options_move;
|
||||
close options_shoot;
|
||||
close options_misc;
|
||||
close options_graphics;
|
||||
close options_sound;
|
||||
close options_game;
|
||||
close options_view;
|
||||
close options_defaults;
|
||||
close options_driverinfo;
|
||||
close options_credits;
|
||||
close options_graphics_defaults;
|
||||
close options_graphics_texture;
|
||||
close options_control_defaults;
|
||||
close options_voice;
|
||||
close controls_multi;
|
||||
close main_options;
|
||||
close main_controls;
|
||||
open pc_options_voice;
|
||||
}
|
||||
}
|
||||
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 3))) + ((0 - 1.333));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 93.334 276.667 19.567 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible when((1) && (((localvarint("ui_buttonNavGroupOffset") + (20 - 1)) >= (3) && (((3) - localvarint("ui_buttonNavGroupOffset")) >= 0))));
|
||||
textalign 10
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 3
|
||||
exp text "@MENU_VOICE";
|
||||
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 3))) + ((0 - 1.333));
|
||||
exp forecolor r select(dvarstring(gameMode) == "sp" || dvarstring(gameMode) == "so", select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_3" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_3" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor g select(dvarstring(gameMode) == "sp" || dvarstring(gameMode) == "so", select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_3" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_3" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor b select(dvarstring(gameMode) == "sp" || dvarstring(gameMode) == "so", select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_3" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_3" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "OPTIONS_LIST_4"
|
||||
rect -68 114.667 305.333 20 1 1
|
||||
style 3
|
||||
type 1
|
||||
visible when((dvarbool(kill_dedicatedserver) == 0));
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0
|
||||
background "white"
|
||||
onFocus
|
||||
{
|
||||
setLocalVarString ui_swf_selection "OPTIONS_LIST_4";
|
||||
setLocalVarInt ui_buttonNavGroupCurrent 4;
|
||||
setLocalVarString ui_buttonNavGroupName "OPTIONS_LIST";
|
||||
setLocalVarBool ui_swfSelectionButtonVis (((dvarbool(kill_dedicatedserver) == 0)) && !(dvarstring(gameMode) == "sp" || dvarstring(gameMode) == "so" || FUNC_32()));
|
||||
setLocalVarBool ui_swfSelectionBarVis ((dvarbool(kill_dedicatedserver) == 0));
|
||||
setLocalVarBool ui_swfSelectionDisabled (dvarstring(gameMode) == "sp" || dvarstring(gameMode) == "so" || FUNC_32());
|
||||
if ((20 - 1) + localvarint("ui_buttonNavGroupOffset") < localvarint("ui_buttonNavGroupCurrent"))
|
||||
{
|
||||
setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent") - (20 - 1));
|
||||
}
|
||||
else
|
||||
{
|
||||
if (localvarint("ui_buttonNavGroupCurrent") < localvarint("ui_buttonNavGroupOffset"))
|
||||
{
|
||||
setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent"));
|
||||
}
|
||||
}
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarBool ui_swfSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfSelectionDisabled 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
if (!(dvarstring(gameMode) == "sp" || dvarstring(gameMode) == "so" || FUNC_32()))
|
||||
{
|
||||
play mouse_click;
|
||||
close pc_options_video;
|
||||
close pc_options_voice;
|
||||
close PC_OPTIONS_ADANCED_VIDEO_NAME;
|
||||
close options_texture_quality;
|
||||
close pc_options_audio;
|
||||
close PC_OPTIONS_MOVEMENT_NAME;
|
||||
close pc_options_controls;
|
||||
close options_look;
|
||||
close options_move;
|
||||
close options_shoot;
|
||||
close options_misc;
|
||||
close options_graphics;
|
||||
close options_sound;
|
||||
close options_game;
|
||||
close options_view;
|
||||
close options_defaults;
|
||||
close options_driverinfo;
|
||||
close options_credits;
|
||||
close options_graphics_defaults;
|
||||
close options_graphics_texture;
|
||||
close options_control_defaults;
|
||||
close options_voice;
|
||||
close controls_multi;
|
||||
close main_options;
|
||||
close main_controls;
|
||||
open pc_options_dedicateserver;
|
||||
}
|
||||
}
|
||||
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 4))) + ((0 - 1.333));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 113.334 276.667 19.567 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible when(((dvarbool(kill_dedicatedserver) == 0)) && (((localvarint("ui_buttonNavGroupOffset") + (20 - 1)) >= (4) && (((4) - localvarint("ui_buttonNavGroupOffset")) >= 0))));
|
||||
textalign 10
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 3
|
||||
exp text "@MENU_DEDICATED_SERVER";
|
||||
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 4))) + ((0 - 1.333));
|
||||
exp forecolor r select(dvarstring(gameMode) == "sp" || dvarstring(gameMode) == "so" || FUNC_32(), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_4" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_4" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor g select(dvarstring(gameMode) == "sp" || dvarstring(gameMode) == "so" || FUNC_32(), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_4" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_4" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor b select(dvarstring(gameMode) == "sp" || dvarstring(gameMode) == "so" || FUNC_32(), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_4" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_4" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 133.334 16 16 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(((isfacebookallowed(1) && !dvarbool(cl_ingame) && !dvarbool(sv_running))) && ("LOCK_VIS_ARG") && (((localvarint("ui_buttonNavGroupOffset") + (20 - 1)) >= (5) && (((5) - localvarint("ui_buttonNavGroupOffset")) >= 0))));
|
||||
textscale 0.55
|
||||
background "facebook"
|
||||
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 5))) + ((0 - 1.333)) - ((16 - 21) * 0.5);
|
||||
exp rect x ((253 - getTextWidthModCase(getfacebookstatustext(), 3, 0.375, 9))) + (((0 - 64) + 0)) - ((16 - 21) * 0.5);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "OPTIONS_LIST_5"
|
||||
rect -68 134.667 305.333 20 1 1
|
||||
style 3
|
||||
type 1
|
||||
visible when((isfacebookallowed(1) && !dvarbool(cl_ingame) && !dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0
|
||||
background "white"
|
||||
onFocus
|
||||
{
|
||||
setLocalVarString ui_swf_selection "OPTIONS_LIST_5";
|
||||
setLocalVarInt ui_buttonNavGroupCurrent 5;
|
||||
setLocalVarString ui_buttonNavGroupName "OPTIONS_LIST";
|
||||
setLocalVarBool ui_swfSelectionButtonVis (((isfacebookallowed(1) && !dvarbool(cl_ingame) && !dvarbool(sv_running))) && !(isfacebookchecking()));
|
||||
setLocalVarBool ui_swfSelectionBarVis ((isfacebookallowed(1) && !dvarbool(cl_ingame) && !dvarbool(sv_running)));
|
||||
setLocalVarBool ui_swfSelectionDisabled (isfacebookchecking());
|
||||
if ((20 - 1) + localvarint("ui_buttonNavGroupOffset") < localvarint("ui_buttonNavGroupCurrent"))
|
||||
{
|
||||
setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent") - (20 - 1));
|
||||
}
|
||||
else
|
||||
{
|
||||
if (localvarint("ui_buttonNavGroupCurrent") < localvarint("ui_buttonNavGroupOffset"))
|
||||
{
|
||||
setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent"));
|
||||
}
|
||||
}
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarBool ui_swfSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfSelectionDisabled 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
if (!(isfacebookchecking()))
|
||||
{
|
||||
play mouse_click;
|
||||
if (isfacebookloggedin())
|
||||
{
|
||||
open popup_facebook_unregister;
|
||||
}
|
||||
else
|
||||
{
|
||||
open popup_facebook_legal;
|
||||
}
|
||||
}
|
||||
}
|
||||
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 5))) + ((0 - 1.333));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 133.334 276.667 19.567 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible when(((isfacebookallowed(1) && !dvarbool(cl_ingame) && !dvarbool(sv_running))) && (((localvarint("ui_buttonNavGroupOffset") + (20 - 1)) >= (5) && (((5) - localvarint("ui_buttonNavGroupOffset")) >= 0))));
|
||||
textalign 10
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 3
|
||||
exp text getfacebookstatustext();
|
||||
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 5))) + ((0 - 1.333));
|
||||
exp forecolor r select(isfacebookchecking(), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_5" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_5" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor g select(isfacebookchecking(), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_5" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_5" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor b select(isfacebookchecking(), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_5" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_5" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -46.5 133.334 283.333 3.333 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when((1) && (((localvarint("ui_buttonNavGroupOffset") + (20 - 1)) >= (5) && (((5) - localvarint("ui_buttonNavGroupOffset")) >= 0))));
|
||||
textscale 0.55
|
||||
background "navbar_tick"
|
||||
exp rect x (0) + (((0 - 64) + 0)) + 0.667 + 17.5;
|
||||
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 5))) + ((0 - 2.3333));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "OPTIONS_LIST_6"
|
||||
rect -68 154.667 305.333 20 1 1
|
||||
style 3
|
||||
type 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0
|
||||
background "white"
|
||||
onFocus
|
||||
{
|
||||
setLocalVarString ui_swf_selection "OPTIONS_LIST_6";
|
||||
setLocalVarInt ui_buttonNavGroupCurrent 6;
|
||||
setLocalVarString ui_buttonNavGroupName "OPTIONS_LIST";
|
||||
setLocalVarBool ui_swfSelectionButtonVis ((1) && !(FUNC_32()));
|
||||
setLocalVarBool ui_swfSelectionBarVis (1);
|
||||
setLocalVarBool ui_swfSelectionDisabled (FUNC_32());
|
||||
if ((20 - 1) + localvarint("ui_buttonNavGroupOffset") < localvarint("ui_buttonNavGroupCurrent"))
|
||||
{
|
||||
setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent") - (20 - 1));
|
||||
}
|
||||
else
|
||||
{
|
||||
if (localvarint("ui_buttonNavGroupCurrent") < localvarint("ui_buttonNavGroupOffset"))
|
||||
{
|
||||
setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent"));
|
||||
}
|
||||
}
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarBool ui_swfSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfSelectionDisabled 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
if (!(FUNC_32()))
|
||||
{
|
||||
play mouse_click;
|
||||
open options_graphics_defaults;
|
||||
}
|
||||
}
|
||||
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 6))) + ((0 - 1.333));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 153.334 276.667 19.567 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible when((1) && (((localvarint("ui_buttonNavGroupOffset") + (20 - 1)) >= (6) && (((6) - localvarint("ui_buttonNavGroupOffset")) >= 0))));
|
||||
textalign 10
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 3
|
||||
exp text "@MENU_RESET_SYSTEM_DEFAULTS";
|
||||
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 6))) + ((0 - 1.333));
|
||||
exp forecolor r select(FUNC_32(), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_6" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_6" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor g select(FUNC_32(), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_6" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_6" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor b select(FUNC_32(), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_6" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_6" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -46.5 173.334 283.333 3.333 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when((1) && (((localvarint("ui_buttonNavGroupOffset") + (20 - 1)) >= (7) && (((7) - localvarint("ui_buttonNavGroupOffset")) >= 0))));
|
||||
textscale 0.55
|
||||
background "navbar_tick"
|
||||
exp rect x (0) + (((0 - 64) + 0)) + 0.667 + 17.5;
|
||||
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 7))) + ((0 - 2.3333));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 173.334 200.667 19.567 1 1
|
||||
style 1
|
||||
decoration
|
||||
autowrapped
|
||||
visible when((1) && (((localvarint("ui_buttonNavGroupOffset") + (20 - 1)) >= (7) && (((7) - localvarint("ui_buttonNavGroupOffset")) >= 0))) && (0));
|
||||
textalign 10
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
exp text localvarstring("ui_options_hint_text");
|
||||
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 7))) + ((0 - 1.333));
|
||||
exp rect x ((276.667 * 0.25)) + (((0 - 64) + 0));
|
||||
exp forecolor r select(0, select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_7" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_7" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0.882 * select(isdemoplaying(), FUNC_36(), FUNC_35()), 0.882));
|
||||
exp forecolor g select(0, select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_7" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_7" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0.655 * select(isdemoplaying(), FUNC_36(), FUNC_35()), 0.655));
|
||||
exp forecolor b select(0, select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_7" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_7" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0.173 * select(isdemoplaying(), FUNC_36(), FUNC_35()), 0.173));
|
||||
exp rect w 276.667 * 0.75;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 173.334 200.667 19.567 1 1
|
||||
style 1
|
||||
decoration
|
||||
autowrapped
|
||||
visible when((1) && (((localvarint("ui_buttonNavGroupOffset") + (20 - 1)) >= (7) && (((7) - localvarint("ui_buttonNavGroupOffset")) >= 0))) && !(0));
|
||||
textalign 10
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
exp text localvarstring("ui_options_hint_text");
|
||||
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 7))) + ((0 - 1.333));
|
||||
exp rect x ((276.667 * 0.25)) + (((0 - 64) + 0));
|
||||
exp forecolor r select(0, select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_7" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_7" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor g select(0, select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_7" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_7" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor b select(0, select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_7" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_7" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp rect w 276.667 * 0.75;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -88 52 325.333 8.666 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfSelectionBarVis") && (localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST"));
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar_shadow"
|
||||
exp rect y ((localvarint("ui_buttonNavGroupCurrent") - localvarint("ui_buttonNavGroupOffset")) * 20) + (34.667) + 0.667 + 17.333;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 20 3 3
|
||||
type 1
|
||||
visible when(1);
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
onFocus
|
||||
{
|
||||
setLocalVarInt ui_ralign_index 1;
|
||||
setLocalVarString ui_ralign_group "leftside_options";
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarInt ui_ralign_index - 1;
|
||||
setLocalVarString ui_ralign_group "";
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
escape self;
|
||||
if (!(menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video") || menuisopen("pc_options_audio") || menuisopen("pc_options_controls") || menuisopen("pc_options_voice")))
|
||||
{
|
||||
if (localvarbool("ui_showPicApply") && !localvarbool("ui_showApply"))
|
||||
{
|
||||
execnow "setfromdvar r_picmip ui_r_picmip";
|
||||
execnow "setfromdvar r_picmip_bump ui_r_picmip_bump";
|
||||
execnow "setfromdvar r_picmip_spec ui_r_picmip_spec";
|
||||
execnow "setfromdvar r_picmip_manual ui_r_picmip_manual";
|
||||
exec "wait; wait; r_applyPicmip";
|
||||
setLocalVarBool ui_showPicApply 0;
|
||||
}
|
||||
if (localvarbool("ui_showApply") || localvarbool("ui_showAudioApply"))
|
||||
{
|
||||
open all_restart_popmenu;
|
||||
}
|
||||
}
|
||||
}
|
||||
exp rect x (0) - (0 * 5) - 20 - getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375);
|
||||
exp rect y ((0 - 20.667));
|
||||
exp rect w getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375) + 20;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 8.666 3 3
|
||||
style 3
|
||||
decoration
|
||||
visible when((1) && (!0) && (localvarint("ui_ralign_index") == 1 && localvarstring("ui_ralign_group") == "leftside_options"));
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar_shadow"
|
||||
exp rect x (0) - (0 * 5) - (20) - getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375);
|
||||
exp rect y ((0 - 20.667)) + 20;
|
||||
exp rect w getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375) + 20;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 20 3 3
|
||||
style 1
|
||||
decoration
|
||||
visible when((1) && (localvarint("ui_ralign_index") == 1 && localvarstring("ui_ralign_group") == "leftside_options"));
|
||||
textscale 0.55
|
||||
backcolor 0.6 0.6314 0.6 1
|
||||
exp rect x (0) - (0 * 5) - (20) - getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375);
|
||||
exp rect y ((0 - 20.667));
|
||||
exp rect w getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375) + 20;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 20 3 3
|
||||
decoration
|
||||
visible when(1);
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
exp text "@PLATFORM_BACK_SHORTCUT";
|
||||
exp rect x (0) - (0 * 5) - (20 / 2) - getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375);
|
||||
exp rect y ((0 - 20.667));
|
||||
exp rect w getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375);
|
||||
exp forecolor r select((localvarint("ui_ralign_index") == 1 && localvarstring("ui_ralign_group") == "leftside_options"), select(isdemoplaying(), FUNC_36(), FUNC_35()), 1);
|
||||
exp forecolor g select((localvarint("ui_ralign_index") == 1 && localvarstring("ui_ralign_group") == "leftside_options"), select(isdemoplaying(), FUNC_36(), FUNC_35()), 1);
|
||||
exp forecolor b select((localvarint("ui_ralign_index") == 1 && localvarstring("ui_ralign_group") == "leftside_options"), select(isdemoplaying(), FUNC_36(), FUNC_35()), 1);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_GRAPHICS"
|
||||
rect 253.5 5 344 34 1 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 4
|
||||
textscale 0.45
|
||||
textstyle 9
|
||||
textfont 9
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "graphic_warning"
|
||||
text "@MENU_GRAPHICS_WARNING"
|
||||
rect 10 -160 206 240 1 3
|
||||
style 1
|
||||
decoration
|
||||
autowrapped
|
||||
type 1
|
||||
visible 1
|
||||
textscale 0.375
|
||||
}
|
||||
}
|
||||
}
|
306
zone_raw/patch_mp/ui_mp/options_graphics_defaults.menu
Normal file
306
zone_raw/patch_mp/ui_mp/options_graphics_defaults.menu
Normal file
@ -0,0 +1,306 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "options_graphics_defaults"
|
||||
rect 0 0 0 0 2 2
|
||||
focuscolor 1 1 1 1
|
||||
outOfBoundsClick
|
||||
popup
|
||||
legacySplitScreenScale
|
||||
exp rect X 0 - (260 * 0.5);
|
||||
exp rect Y 0 - ((localvarint("ui_swfPopupDescResizeHeight")) * 0.5);
|
||||
exp rect W 260;
|
||||
exp rect H (localvarint("ui_swfPopupDescResizeHeight"));
|
||||
onOpen
|
||||
{
|
||||
setLocalVarFloat ui_swfPopupDescResizeTextHeight (getwrappedtextheight("@MENU_RESTORE_DEFAULTS", (float((260 - 16))), 3, 0.375, 0, 0));
|
||||
setLocalVarInt ui_swfPopupDescResizeButtons (int((localvarfloat("ui_swfPopupDescResizeTextHeight") + ((20 + 2) / 2) + 5) / (20 + 2)) + 1);
|
||||
setLocalVarInt ui_swfPopupDescResizeHeight ((((23 * 1) + (16.367 * 0)) + ((localvarint("ui_swfPopupDescResizeButtons") + 0 + 2) * (20 + 2)) + 5));
|
||||
setLocalVarInt ui_swfPopupDescResizeButtonYOffset ((20 + 2) * (localvarint("ui_swfPopupDescResizeButtons") + 0));
|
||||
setLocalVarInt ui_buttonNavGroupOffset_popup 0;
|
||||
setLocalVarInt ui_buttonNavGroupCurrent_popup 0;
|
||||
setLocalVarString ui_buttonNavGroupName_popup "invalid";
|
||||
setLocalVarBool ui_swfSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfSelectionDisabled 0;
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled 0;
|
||||
setLocalVarString ui_swfPopupContext "invalid";
|
||||
setLocalVarBool ui_centerPopup 1;
|
||||
play tabs_slide;
|
||||
lerp x from - 460 to 0 over "0.05";
|
||||
focusfirst;
|
||||
setfocus SWF_COMMON_DESC_RESIZE_POPUP_NAME_1;
|
||||
focusfirst;
|
||||
}
|
||||
onClose
|
||||
{
|
||||
setLocalVarBool ui_centerPopup 0;
|
||||
play "";
|
||||
}
|
||||
onESC
|
||||
{
|
||||
close self;
|
||||
}
|
||||
onFocusDueToClose
|
||||
{
|
||||
setLocalVarFloat ui_swfPopupDescResizeTextHeight (getwrappedtextheight("@MENU_RESTORE_DEFAULTS", (float((260 - 16))), 3, 0.375, 0, 0));
|
||||
setLocalVarInt ui_swfPopupDescResizeButtons (int((localvarfloat("ui_swfPopupDescResizeTextHeight") + ((20 + 2) / 2) + 5) / (20 + 2)) + 1);
|
||||
setLocalVarInt ui_swfPopupDescResizeHeight ((((23 * 1) + (16.367 * 0)) + ((localvarint("ui_swfPopupDescResizeButtons") + 0 + 2) * (20 + 2)) + 5));
|
||||
setLocalVarInt ui_swfPopupDescResizeButtonYOffset ((20 + 2) * (localvarint("ui_swfPopupDescResizeButtons") + 0));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -1280 -480 2560 960 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(menuistopmost("options_graphics_defaults"));
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0.8
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -131.333 -78.667 262.667 130.667 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0.3098 0.349 0.2745 1
|
||||
background "white"
|
||||
exp rect y 0 + "SWF_POPUP_GLOBAL_Y_OFFSET";
|
||||
exp rect h (localvarint("ui_swfPopupDescResizeHeight")) + 0;
|
||||
exp rect x 0 + "SWF_POPUP_GLOBAL_X_OFFSET";
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 260 1 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1 && 1);
|
||||
textscale 0.55
|
||||
forecolor 0.1569 0.1725 0.1608 1
|
||||
background "white"
|
||||
exp rect x 0;
|
||||
exp rect y 0;
|
||||
exp rect h (1 * 22) + (16.367 * 0) + 2;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 8.666 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1 && 1);
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar_shadow"
|
||||
exp rect x (0 + "X_OFFSET");
|
||||
exp rect y 0 + (1 * 22) + (16.367 * 0);
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 1 244 22 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when(1);
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 9
|
||||
exp text "@MENU_RESET_SYSTEM_DEFAULTS";
|
||||
exp rect x (0 + 8);
|
||||
exp rect y (0 + 4) - 4;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 244 20 2 2
|
||||
style 1
|
||||
decoration
|
||||
autowrapped
|
||||
visible when(1);
|
||||
textalign 4
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
exp text "@MENU_RESTORE_DEFAULTS";
|
||||
exp rect x ((0 + 8) + 0);
|
||||
exp rect y (0 + (0 * (20 + 2)) + (0 + 4) + ((23 * 1) + (16.367 * 0))) - 2.333;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 260 1 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0.2118 0.2314 0.22 1
|
||||
background "white"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + (0 * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0)));
|
||||
exp rect h ((20 + 2) * 2) + 1;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 8.666 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfPopupSelectionBarVis") && (localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_NAME") && (localvarstring("ui_swfPopupContext") == "SWF_COMMON_DESC_RESIZE_POPUP_NAME"));
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar_shadow"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + ((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0))) + (20 + 0.3333);
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 20 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfPopupSelectionBarVis") && (localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_NAME") && (localvarstring("ui_swfPopupContext") == "SWF_COMMON_DESC_RESIZE_POPUP_NAME"));
|
||||
textscale 0.55
|
||||
forecolor 0.6 0.6314 0.6 0.2
|
||||
background "white"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + ((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0)));
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 20 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfPopupSelectionBarVis") && (localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_NAME") && (localvarstring("ui_swfPopupContext") == "SWF_COMMON_DESC_RESIZE_POPUP_NAME"));
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + ((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0)));
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@PLATFORM_NAVBAR_BUTTON_FOCUSED_SELECTBUTTON"
|
||||
rect 0 0 20 20 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfPopupSelectionButtonVis") && (localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_NAME") && (localvarstring("ui_swfPopupContext") == "SWF_COMMON_DESC_RESIZE_POPUP_NAME"));
|
||||
textalign 10
|
||||
textscale 0.30625
|
||||
textfont 3
|
||||
exp rect x (0 + (0 + 260 - 24));
|
||||
exp rect y (((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + ((0 + 4) + ((23 * 1) + (16.367 * 0))) - 1.167) - 1.8;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "SWF_COMMON_DESC_RESIZE_POPUP_NAME_0"
|
||||
rect 11.667 0 260 22 2 2
|
||||
style 3
|
||||
type 1
|
||||
visible when(1);
|
||||
disabled when(0);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0
|
||||
background "white"
|
||||
onFocus
|
||||
{
|
||||
setLocalVarString ui_swf_selection "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_NAME,0)";
|
||||
setLocalVarInt ui_buttonNavGroupCurrent_popup 0;
|
||||
setLocalVarString ui_buttonNavGroupName_popup "SWF_COMMON_DESC_RESIZE_POPUP_NAME";
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis ((1) && !(0));
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis (1);
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled (0);
|
||||
setLocalVarString ui_swfPopupContext "SWF_COMMON_DESC_RESIZE_POPUP_NAME";
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
uiScript setRecommended;
|
||||
exec "wait; wait; r_applyPicmip;";
|
||||
close self;
|
||||
}
|
||||
exp rect y ((0 * (20 + 2)) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + (0 + 4) + ((23 * 1) + (16.367 * 0))) + ((0 - 1.333));
|
||||
exp rect w 260 - 0;
|
||||
exp rect x (0 + (0 + 8));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 11.667 0 260 19.567 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when((1) && (1));
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 3
|
||||
exp text "@MENU_YES";
|
||||
exp rect y (((0 * (20 + 2)) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + (0 + 4) + ((23 * 1) + (16.367 * 0))) + (0 - 1.333)) - 2.333;
|
||||
exp rect w 260;
|
||||
exp forecolor r select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor g select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor b select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp rect x (0 + (0 + 8));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "SWF_COMMON_DESC_RESIZE_POPUP_NAME_1"
|
||||
rect 11.667 0 260 22 2 2
|
||||
style 3
|
||||
type 1
|
||||
visible when(1);
|
||||
disabled when(0);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0
|
||||
background "white"
|
||||
onFocus
|
||||
{
|
||||
setLocalVarString ui_swf_selection "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_NAME,1)";
|
||||
setLocalVarInt ui_buttonNavGroupCurrent_popup 1;
|
||||
setLocalVarString ui_buttonNavGroupName_popup "SWF_COMMON_DESC_RESIZE_POPUP_NAME";
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis ((1) && !(0));
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis (1);
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled (0);
|
||||
setLocalVarString ui_swfPopupContext "SWF_COMMON_DESC_RESIZE_POPUP_NAME";
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
close self;
|
||||
}
|
||||
exp rect y ((1 * (20 + 2)) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + (0 + 4) + ((23 * 1) + (16.367 * 0))) + ((0 - 1.333));
|
||||
exp rect w 260 - 0;
|
||||
exp rect x (0 + (0 + 8));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 11.667 0 260 19.567 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when((1) && (1));
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 3
|
||||
exp text "@MENU_NO";
|
||||
exp rect y (((1 * (20 + 2)) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + (0 + 4) + ((23 * 1) + (16.367 * 0))) + (0 - 1.333)) - 2.333;
|
||||
exp rect w 260;
|
||||
exp forecolor r select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_NAME,1)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_NAME,1)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor g select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_NAME,1)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_NAME,1)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor b select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_NAME,1)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_NAME,1)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp rect x (0 + (0 + 8));
|
||||
}
|
||||
}
|
||||
}
|
943
zone_raw/patch_mp/ui_mp/options_graphics_texture.menu
Normal file
943
zone_raw/patch_mp/ui_mp/options_graphics_texture.menu
Normal file
@ -0,0 +1,943 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "options_graphics_texture"
|
||||
rect 0 0 640 480 0 0
|
||||
focuscolor 1 1 1 1
|
||||
onOpen
|
||||
{
|
||||
setLocalVarBool ui_hideBack 1;
|
||||
setLocalVarBool ui_showApply 0;
|
||||
exec "setfromdvar ui_r_picmip r_picmip";
|
||||
exec "setfromdvar ui_r_picmip_bump r_picmip_bump";
|
||||
exec "setfromdvar ui_r_picmip_spec r_picmip_spec";
|
||||
exec "setfromdvar ui_r_picmip_manual r_picmip_manual";
|
||||
ExecNow "profile_menuDvarsSetup; resetViewport";
|
||||
if (isfacebookallowed(1) && !dvarbool(cl_ingame) && !dvarbool(sv_running))
|
||||
{
|
||||
if (dvarfloat(facebook_delay) < 0)
|
||||
{
|
||||
exec startfacebook;
|
||||
}
|
||||
}
|
||||
}
|
||||
onClose
|
||||
{
|
||||
setLocalVarBool ui_hideBack 0;
|
||||
}
|
||||
onESC
|
||||
{
|
||||
close self;
|
||||
if (!(menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video") || menuisopen("pc_options_audio") || menuisopen("pc_options_controls") || menuisopen("pc_options_voice")) && localvarbool("ui_showPicApply") && !localvarbool("ui_showApply") && !localvarbool("ui_showAudioApply"))
|
||||
{
|
||||
execnow "setfromdvar r_picmip ui_r_picmip";
|
||||
execnow "setfromdvar r_picmip_bump ui_r_picmip_bump";
|
||||
execnow "setfromdvar r_picmip_spec ui_r_picmip_spec";
|
||||
execnow "setfromdvar r_picmip_manual ui_r_picmip_manual";
|
||||
exec "wait; wait; r_applyPicmip";
|
||||
setLocalVarBool ui_showPicApply 0;
|
||||
}
|
||||
if (!(menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video") || menuisopen("pc_options_audio") || menuisopen("pc_options_controls") || menuisopen("pc_options_voice")) && localvarbool("ui_showApply") || localvarbool("ui_showAudioApply"))
|
||||
{
|
||||
open all_restart_popmenu;
|
||||
}
|
||||
ExecNow "profile_menuDvarsFinish; updategamerprofile; resetViewport";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -426.667 -240 853.333 480 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when((dvarbool(ui_multiplayer) || (dvarstring(gameMode) == "so" && !menuistopmost("main_specops"))));
|
||||
textscale 0.55
|
||||
background "background_image_blur_less"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -426.667 -240 853.333 480 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(!(dvarbool(ui_multiplayer) || (dvarstring(gameMode) == "so" && !menuistopmost("main_specops"))));
|
||||
textscale 0.55
|
||||
background "background_image"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1708 480 0 0
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0.35 0.35 0.35 1
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x (0 - 107) - ((float(milliseconds() % 60000) / 60000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 -1708 -480 0 0
|
||||
style 3
|
||||
decoration
|
||||
visible 1
|
||||
textscale 0.55
|
||||
forecolor 0.35 0.35 0.35 1
|
||||
background "mw2_main_cloud_overlay"
|
||||
exp rect x (- 107 + 854) + ((float(milliseconds() % 50000) / 50000) * (854));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 237.5 -36 301.5 480 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_shelfEnabled"));
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0.4
|
||||
background "white"
|
||||
exp rect w localvarbool("ui_shelfEnabled") * select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 219.5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 219.5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 219.5));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 237.5 -236 13 680 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.75
|
||||
background "navbar_edge"
|
||||
exp rect x ((0 - 64) + 301.5) + (localvarbool("ui_shelfEnabled") * (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 219.5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 219.5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 219.5))));
|
||||
exp forecolor r 0.596078;
|
||||
exp forecolor g 0.654902;
|
||||
exp forecolor b 0.603922;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 237.5 -236 13 680 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_shelfEnabled"));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.75
|
||||
background "navbar_edge"
|
||||
exp rect x (0 - 64) + 301.5;
|
||||
exp forecolor r 0.596078;
|
||||
exp forecolor g 0.654902;
|
||||
exp forecolor b 0.603922;
|
||||
exp forecolor a localvarbool("ui_shelfEnabled") * (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 0.75), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0.75, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 0.75)));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -264 -236 501.5 680 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0.4
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 30 301.5 5.333 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
background "navbar_tick"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 3 276.667 24.233 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible when((1));
|
||||
textalign 10
|
||||
textscale 0.5
|
||||
textstyle 9
|
||||
textfont 9
|
||||
exp text "@MENU_OPTIONS_UPPER_CASE";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -88 34.667 325.333 17.333 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfSelectionBarVis") && (localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST"));
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar"
|
||||
exp rect y ((localvarint("ui_buttonNavGroupCurrent") - localvarint("ui_buttonNavGroupOffset")) * 20) + (34.667) + 0.667;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 213 34.667 21.333 16.5 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfSelectionButtonVis") && (localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST"));
|
||||
textalign 10
|
||||
textscale 0.30625
|
||||
textfont 3
|
||||
exp text "@PLATFORM_NAVBAR_BUTTON_FOCUSED_SELECTBUTTON";
|
||||
exp rect y ((localvarint("ui_buttonNavGroupCurrent") - localvarint("ui_buttonNavGroupOffset")) * 20) + (34.667) + (0.667);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "OPTIONS_LIST_0"
|
||||
rect -68 34.667 305.333 20 1 1
|
||||
style 3
|
||||
type 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0
|
||||
background "white"
|
||||
onFocus
|
||||
{
|
||||
setLocalVarString ui_swf_selection "OPTIONS_LIST_0";
|
||||
setLocalVarInt ui_buttonNavGroupCurrent 0;
|
||||
setLocalVarString ui_buttonNavGroupName "OPTIONS_LIST";
|
||||
setLocalVarBool ui_swfSelectionButtonVis ((1) && !(0));
|
||||
setLocalVarBool ui_swfSelectionBarVis (1);
|
||||
setLocalVarBool ui_swfSelectionDisabled (0);
|
||||
if ((20 - 1) + localvarint("ui_buttonNavGroupOffset") < localvarint("ui_buttonNavGroupCurrent"))
|
||||
{
|
||||
setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent") - (20 - 1));
|
||||
}
|
||||
else
|
||||
{
|
||||
if (localvarint("ui_buttonNavGroupCurrent") < localvarint("ui_buttonNavGroupOffset"))
|
||||
{
|
||||
setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent"));
|
||||
}
|
||||
}
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarBool ui_swfSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfSelectionDisabled 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
if (!(0))
|
||||
{
|
||||
play mouse_click;
|
||||
close pc_options_video;
|
||||
close pc_options_voice;
|
||||
close PC_OPTIONS_ADANCED_VIDEO_NAME;
|
||||
close options_texture_quality;
|
||||
close pc_options_audio;
|
||||
close PC_OPTIONS_MOVEMENT_NAME;
|
||||
close pc_options_controls;
|
||||
close options_look;
|
||||
close options_move;
|
||||
close options_shoot;
|
||||
close options_misc;
|
||||
close options_graphics;
|
||||
close options_sound;
|
||||
close options_game;
|
||||
close options_view;
|
||||
close options_defaults;
|
||||
close options_driverinfo;
|
||||
close options_credits;
|
||||
close options_graphics_defaults;
|
||||
close options_graphics_texture;
|
||||
close options_control_defaults;
|
||||
close options_voice;
|
||||
close controls_multi;
|
||||
close main_options;
|
||||
close main_controls;
|
||||
open pc_options_video;
|
||||
}
|
||||
}
|
||||
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 0))) + ((0 - 1.333));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 33.334 276.667 19.567 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible when((1) && (((localvarint("ui_buttonNavGroupOffset") + (20 - 1)) >= (0) && (((0) - localvarint("ui_buttonNavGroupOffset")) >= 0))));
|
||||
textalign 10
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 3
|
||||
exp text "@MENU_VIDEO";
|
||||
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 0))) + ((0 - 1.333));
|
||||
exp forecolor r select(0, select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_0" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_0" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor g select(0, select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_0" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_0" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor b select(0, select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_0" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_0" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "OPTIONS_LIST_1"
|
||||
rect -68 54.667 305.333 20 1 1
|
||||
style 3
|
||||
type 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0
|
||||
background "white"
|
||||
onFocus
|
||||
{
|
||||
setLocalVarString ui_swf_selection "OPTIONS_LIST_1";
|
||||
setLocalVarInt ui_buttonNavGroupCurrent 1;
|
||||
setLocalVarString ui_buttonNavGroupName "OPTIONS_LIST";
|
||||
setLocalVarBool ui_swfSelectionButtonVis ((1) && !(0));
|
||||
setLocalVarBool ui_swfSelectionBarVis (1);
|
||||
setLocalVarBool ui_swfSelectionDisabled (0);
|
||||
if ((20 - 1) + localvarint("ui_buttonNavGroupOffset") < localvarint("ui_buttonNavGroupCurrent"))
|
||||
{
|
||||
setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent") - (20 - 1));
|
||||
}
|
||||
else
|
||||
{
|
||||
if (localvarint("ui_buttonNavGroupCurrent") < localvarint("ui_buttonNavGroupOffset"))
|
||||
{
|
||||
setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent"));
|
||||
}
|
||||
}
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarBool ui_swfSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfSelectionDisabled 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
if (!(0))
|
||||
{
|
||||
play mouse_click;
|
||||
close pc_options_video;
|
||||
close pc_options_voice;
|
||||
close PC_OPTIONS_ADANCED_VIDEO_NAME;
|
||||
close options_texture_quality;
|
||||
close pc_options_audio;
|
||||
close PC_OPTIONS_MOVEMENT_NAME;
|
||||
close pc_options_controls;
|
||||
close options_look;
|
||||
close options_move;
|
||||
close options_shoot;
|
||||
close options_misc;
|
||||
close options_graphics;
|
||||
close options_sound;
|
||||
close options_game;
|
||||
close options_view;
|
||||
close options_defaults;
|
||||
close options_driverinfo;
|
||||
close options_credits;
|
||||
close options_graphics_defaults;
|
||||
close options_graphics_texture;
|
||||
close options_control_defaults;
|
||||
close options_voice;
|
||||
close controls_multi;
|
||||
close main_options;
|
||||
close main_controls;
|
||||
open pc_options_audio;
|
||||
}
|
||||
}
|
||||
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 1))) + ((0 - 1.333));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 53.334 276.667 19.567 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible when((1) && (((localvarint("ui_buttonNavGroupOffset") + (20 - 1)) >= (1) && (((1) - localvarint("ui_buttonNavGroupOffset")) >= 0))));
|
||||
textalign 10
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 3
|
||||
exp text "@MENU_AUDIO";
|
||||
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 1))) + ((0 - 1.333));
|
||||
exp forecolor r select(0, select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_1" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_1" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor g select(0, select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_1" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_1" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor b select(0, select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_1" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_1" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "OPTIONS_LIST_2"
|
||||
rect -68 74.667 305.333 20 1 1
|
||||
style 3
|
||||
type 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0
|
||||
background "white"
|
||||
onFocus
|
||||
{
|
||||
setLocalVarString ui_swf_selection "OPTIONS_LIST_2";
|
||||
setLocalVarInt ui_buttonNavGroupCurrent 2;
|
||||
setLocalVarString ui_buttonNavGroupName "OPTIONS_LIST";
|
||||
setLocalVarBool ui_swfSelectionButtonVis ((1) && !(0));
|
||||
setLocalVarBool ui_swfSelectionBarVis (1);
|
||||
setLocalVarBool ui_swfSelectionDisabled (0);
|
||||
if ((20 - 1) + localvarint("ui_buttonNavGroupOffset") < localvarint("ui_buttonNavGroupCurrent"))
|
||||
{
|
||||
setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent") - (20 - 1));
|
||||
}
|
||||
else
|
||||
{
|
||||
if (localvarint("ui_buttonNavGroupCurrent") < localvarint("ui_buttonNavGroupOffset"))
|
||||
{
|
||||
setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent"));
|
||||
}
|
||||
}
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarBool ui_swfSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfSelectionDisabled 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
if (!(0))
|
||||
{
|
||||
play mouse_click;
|
||||
close pc_options_video;
|
||||
close pc_options_voice;
|
||||
close PC_OPTIONS_ADANCED_VIDEO_NAME;
|
||||
close options_texture_quality;
|
||||
close pc_options_audio;
|
||||
close PC_OPTIONS_MOVEMENT_NAME;
|
||||
close pc_options_controls;
|
||||
close options_look;
|
||||
close options_move;
|
||||
close options_shoot;
|
||||
close options_misc;
|
||||
close options_graphics;
|
||||
close options_sound;
|
||||
close options_game;
|
||||
close options_view;
|
||||
close options_defaults;
|
||||
close options_driverinfo;
|
||||
close options_credits;
|
||||
close options_graphics_defaults;
|
||||
close options_graphics_texture;
|
||||
close options_control_defaults;
|
||||
close options_voice;
|
||||
close controls_multi;
|
||||
close main_options;
|
||||
close main_controls;
|
||||
open pc_options_controls;
|
||||
}
|
||||
}
|
||||
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 2))) + ((0 - 1.333));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 73.334 276.667 19.567 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible when((1) && (((localvarint("ui_buttonNavGroupOffset") + (20 - 1)) >= (2) && (((2) - localvarint("ui_buttonNavGroupOffset")) >= 0))));
|
||||
textalign 10
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 3
|
||||
exp text "@MENU_CONTROLS";
|
||||
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 2))) + ((0 - 1.333));
|
||||
exp forecolor r select(0, select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_2" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_2" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor g select(0, select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_2" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_2" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor b select(0, select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_2" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_2" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "OPTIONS_LIST_3"
|
||||
rect -68 94.667 305.333 20 1 1
|
||||
style 3
|
||||
type 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0
|
||||
background "white"
|
||||
onFocus
|
||||
{
|
||||
setLocalVarString ui_swf_selection "OPTIONS_LIST_3";
|
||||
setLocalVarInt ui_buttonNavGroupCurrent 3;
|
||||
setLocalVarString ui_buttonNavGroupName "OPTIONS_LIST";
|
||||
setLocalVarBool ui_swfSelectionButtonVis ((1) && !(dvarstring(gameMode) == "sp" || dvarstring(gameMode) == "so"));
|
||||
setLocalVarBool ui_swfSelectionBarVis (1);
|
||||
setLocalVarBool ui_swfSelectionDisabled (dvarstring(gameMode) == "sp" || dvarstring(gameMode) == "so");
|
||||
if ((20 - 1) + localvarint("ui_buttonNavGroupOffset") < localvarint("ui_buttonNavGroupCurrent"))
|
||||
{
|
||||
setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent") - (20 - 1));
|
||||
}
|
||||
else
|
||||
{
|
||||
if (localvarint("ui_buttonNavGroupCurrent") < localvarint("ui_buttonNavGroupOffset"))
|
||||
{
|
||||
setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent"));
|
||||
}
|
||||
}
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarBool ui_swfSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfSelectionDisabled 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
if (!(dvarstring(gameMode) == "sp" || dvarstring(gameMode) == "so"))
|
||||
{
|
||||
play mouse_click;
|
||||
close pc_options_video;
|
||||
close pc_options_voice;
|
||||
close PC_OPTIONS_ADANCED_VIDEO_NAME;
|
||||
close options_texture_quality;
|
||||
close pc_options_audio;
|
||||
close PC_OPTIONS_MOVEMENT_NAME;
|
||||
close pc_options_controls;
|
||||
close options_look;
|
||||
close options_move;
|
||||
close options_shoot;
|
||||
close options_misc;
|
||||
close options_graphics;
|
||||
close options_sound;
|
||||
close options_game;
|
||||
close options_view;
|
||||
close options_defaults;
|
||||
close options_driverinfo;
|
||||
close options_credits;
|
||||
close options_graphics_defaults;
|
||||
close options_graphics_texture;
|
||||
close options_control_defaults;
|
||||
close options_voice;
|
||||
close controls_multi;
|
||||
close main_options;
|
||||
close main_controls;
|
||||
open pc_options_voice;
|
||||
}
|
||||
}
|
||||
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 3))) + ((0 - 1.333));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 93.334 276.667 19.567 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible when((1) && (((localvarint("ui_buttonNavGroupOffset") + (20 - 1)) >= (3) && (((3) - localvarint("ui_buttonNavGroupOffset")) >= 0))));
|
||||
textalign 10
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 3
|
||||
exp text "@MENU_VOICE";
|
||||
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 3))) + ((0 - 1.333));
|
||||
exp forecolor r select(dvarstring(gameMode) == "sp" || dvarstring(gameMode) == "so", select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_3" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_3" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor g select(dvarstring(gameMode) == "sp" || dvarstring(gameMode) == "so", select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_3" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_3" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor b select(dvarstring(gameMode) == "sp" || dvarstring(gameMode) == "so", select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_3" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_3" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "OPTIONS_LIST_4"
|
||||
rect -68 114.667 305.333 20 1 1
|
||||
style 3
|
||||
type 1
|
||||
visible when((dvarbool(kill_dedicatedserver) == 0));
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0
|
||||
background "white"
|
||||
onFocus
|
||||
{
|
||||
setLocalVarString ui_swf_selection "OPTIONS_LIST_4";
|
||||
setLocalVarInt ui_buttonNavGroupCurrent 4;
|
||||
setLocalVarString ui_buttonNavGroupName "OPTIONS_LIST";
|
||||
setLocalVarBool ui_swfSelectionButtonVis (((dvarbool(kill_dedicatedserver) == 0)) && !(dvarstring(gameMode) == "sp" || dvarstring(gameMode) == "so" || FUNC_32()));
|
||||
setLocalVarBool ui_swfSelectionBarVis ((dvarbool(kill_dedicatedserver) == 0));
|
||||
setLocalVarBool ui_swfSelectionDisabled (dvarstring(gameMode) == "sp" || dvarstring(gameMode) == "so" || FUNC_32());
|
||||
if ((20 - 1) + localvarint("ui_buttonNavGroupOffset") < localvarint("ui_buttonNavGroupCurrent"))
|
||||
{
|
||||
setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent") - (20 - 1));
|
||||
}
|
||||
else
|
||||
{
|
||||
if (localvarint("ui_buttonNavGroupCurrent") < localvarint("ui_buttonNavGroupOffset"))
|
||||
{
|
||||
setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent"));
|
||||
}
|
||||
}
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarBool ui_swfSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfSelectionDisabled 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
if (!(dvarstring(gameMode) == "sp" || dvarstring(gameMode) == "so" || FUNC_32()))
|
||||
{
|
||||
play mouse_click;
|
||||
close pc_options_video;
|
||||
close pc_options_voice;
|
||||
close PC_OPTIONS_ADANCED_VIDEO_NAME;
|
||||
close options_texture_quality;
|
||||
close pc_options_audio;
|
||||
close PC_OPTIONS_MOVEMENT_NAME;
|
||||
close pc_options_controls;
|
||||
close options_look;
|
||||
close options_move;
|
||||
close options_shoot;
|
||||
close options_misc;
|
||||
close options_graphics;
|
||||
close options_sound;
|
||||
close options_game;
|
||||
close options_view;
|
||||
close options_defaults;
|
||||
close options_driverinfo;
|
||||
close options_credits;
|
||||
close options_graphics_defaults;
|
||||
close options_graphics_texture;
|
||||
close options_control_defaults;
|
||||
close options_voice;
|
||||
close controls_multi;
|
||||
close main_options;
|
||||
close main_controls;
|
||||
open pc_options_dedicateserver;
|
||||
}
|
||||
}
|
||||
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 4))) + ((0 - 1.333));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 113.334 276.667 19.567 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible when(((dvarbool(kill_dedicatedserver) == 0)) && (((localvarint("ui_buttonNavGroupOffset") + (20 - 1)) >= (4) && (((4) - localvarint("ui_buttonNavGroupOffset")) >= 0))));
|
||||
textalign 10
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 3
|
||||
exp text "@MENU_DEDICATED_SERVER";
|
||||
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 4))) + ((0 - 1.333));
|
||||
exp forecolor r select(dvarstring(gameMode) == "sp" || dvarstring(gameMode) == "so" || FUNC_32(), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_4" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_4" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor g select(dvarstring(gameMode) == "sp" || dvarstring(gameMode) == "so" || FUNC_32(), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_4" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_4" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor b select(dvarstring(gameMode) == "sp" || dvarstring(gameMode) == "so" || FUNC_32(), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_4" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_4" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 133.334 16 16 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(((isfacebookallowed(1) && !dvarbool(cl_ingame) && !dvarbool(sv_running))) && ("LOCK_VIS_ARG") && (((localvarint("ui_buttonNavGroupOffset") + (20 - 1)) >= (5) && (((5) - localvarint("ui_buttonNavGroupOffset")) >= 0))));
|
||||
textscale 0.55
|
||||
background "facebook"
|
||||
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 5))) + ((0 - 1.333)) - ((16 - 21) * 0.5);
|
||||
exp rect x ((253 - getTextWidthModCase(getfacebookstatustext(), 3, 0.375, 9))) + (((0 - 64) + 0)) - ((16 - 21) * 0.5);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "OPTIONS_LIST_5"
|
||||
rect -68 134.667 305.333 20 1 1
|
||||
style 3
|
||||
type 1
|
||||
visible when((isfacebookallowed(1) && !dvarbool(cl_ingame) && !dvarbool(sv_running)));
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0
|
||||
background "white"
|
||||
onFocus
|
||||
{
|
||||
setLocalVarString ui_swf_selection "OPTIONS_LIST_5";
|
||||
setLocalVarInt ui_buttonNavGroupCurrent 5;
|
||||
setLocalVarString ui_buttonNavGroupName "OPTIONS_LIST";
|
||||
setLocalVarBool ui_swfSelectionButtonVis (((isfacebookallowed(1) && !dvarbool(cl_ingame) && !dvarbool(sv_running))) && !(isfacebookchecking()));
|
||||
setLocalVarBool ui_swfSelectionBarVis ((isfacebookallowed(1) && !dvarbool(cl_ingame) && !dvarbool(sv_running)));
|
||||
setLocalVarBool ui_swfSelectionDisabled (isfacebookchecking());
|
||||
if ((20 - 1) + localvarint("ui_buttonNavGroupOffset") < localvarint("ui_buttonNavGroupCurrent"))
|
||||
{
|
||||
setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent") - (20 - 1));
|
||||
}
|
||||
else
|
||||
{
|
||||
if (localvarint("ui_buttonNavGroupCurrent") < localvarint("ui_buttonNavGroupOffset"))
|
||||
{
|
||||
setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent"));
|
||||
}
|
||||
}
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarBool ui_swfSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfSelectionDisabled 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
if (!(isfacebookchecking()))
|
||||
{
|
||||
play mouse_click;
|
||||
if (isfacebookloggedin())
|
||||
{
|
||||
open popup_facebook_unregister;
|
||||
}
|
||||
else
|
||||
{
|
||||
open popup_facebook_legal;
|
||||
}
|
||||
}
|
||||
}
|
||||
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 5))) + ((0 - 1.333));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 133.334 276.667 19.567 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible when(((isfacebookallowed(1) && !dvarbool(cl_ingame) && !dvarbool(sv_running))) && (((localvarint("ui_buttonNavGroupOffset") + (20 - 1)) >= (5) && (((5) - localvarint("ui_buttonNavGroupOffset")) >= 0))));
|
||||
textalign 10
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 3
|
||||
exp text getfacebookstatustext();
|
||||
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 5))) + ((0 - 1.333));
|
||||
exp forecolor r select(isfacebookchecking(), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_5" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_5" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor g select(isfacebookchecking(), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_5" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_5" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor b select(isfacebookchecking(), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_5" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_5" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -46.5 133.334 283.333 3.333 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when((1) && (((localvarint("ui_buttonNavGroupOffset") + (20 - 1)) >= (5) && (((5) - localvarint("ui_buttonNavGroupOffset")) >= 0))));
|
||||
textscale 0.55
|
||||
background "navbar_tick"
|
||||
exp rect x (0) + (((0 - 64) + 0)) + 0.667 + 17.5;
|
||||
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 5))) + ((0 - 2.3333));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "OPTIONS_LIST_6"
|
||||
rect -68 154.667 305.333 20 1 1
|
||||
style 3
|
||||
type 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0
|
||||
background "white"
|
||||
onFocus
|
||||
{
|
||||
setLocalVarString ui_swf_selection "OPTIONS_LIST_6";
|
||||
setLocalVarInt ui_buttonNavGroupCurrent 6;
|
||||
setLocalVarString ui_buttonNavGroupName "OPTIONS_LIST";
|
||||
setLocalVarBool ui_swfSelectionButtonVis ((1) && !(FUNC_32()));
|
||||
setLocalVarBool ui_swfSelectionBarVis (1);
|
||||
setLocalVarBool ui_swfSelectionDisabled (FUNC_32());
|
||||
if ((20 - 1) + localvarint("ui_buttonNavGroupOffset") < localvarint("ui_buttonNavGroupCurrent"))
|
||||
{
|
||||
setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent") - (20 - 1));
|
||||
}
|
||||
else
|
||||
{
|
||||
if (localvarint("ui_buttonNavGroupCurrent") < localvarint("ui_buttonNavGroupOffset"))
|
||||
{
|
||||
setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent"));
|
||||
}
|
||||
}
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarBool ui_swfSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfSelectionDisabled 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
if (!(FUNC_32()))
|
||||
{
|
||||
play mouse_click;
|
||||
open options_graphics_defaults;
|
||||
}
|
||||
}
|
||||
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 6))) + ((0 - 1.333));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 153.334 276.667 19.567 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible when((1) && (((localvarint("ui_buttonNavGroupOffset") + (20 - 1)) >= (6) && (((6) - localvarint("ui_buttonNavGroupOffset")) >= 0))));
|
||||
textalign 10
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 3
|
||||
exp text "@MENU_RESET_SYSTEM_DEFAULTS";
|
||||
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 6))) + ((0 - 1.333));
|
||||
exp forecolor r select(FUNC_32(), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_6" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_6" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor g select(FUNC_32(), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_6" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_6" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor b select(FUNC_32(), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_6" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_6" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -46.5 173.334 283.333 3.333 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when((1) && (((localvarint("ui_buttonNavGroupOffset") + (20 - 1)) >= (7) && (((7) - localvarint("ui_buttonNavGroupOffset")) >= 0))));
|
||||
textscale 0.55
|
||||
background "navbar_tick"
|
||||
exp rect x (0) + (((0 - 64) + 0)) + 0.667 + 17.5;
|
||||
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 7))) + ((0 - 2.3333));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 173.334 200.667 19.567 1 1
|
||||
style 1
|
||||
decoration
|
||||
autowrapped
|
||||
visible when((1) && (((localvarint("ui_buttonNavGroupOffset") + (20 - 1)) >= (7) && (((7) - localvarint("ui_buttonNavGroupOffset")) >= 0))) && (0));
|
||||
textalign 10
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
exp text localvarstring("ui_options_hint_text");
|
||||
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 7))) + ((0 - 1.333));
|
||||
exp rect x ((276.667 * 0.25)) + (((0 - 64) + 0));
|
||||
exp forecolor r select(0, select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_7" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_7" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0.882 * select(isdemoplaying(), FUNC_36(), FUNC_35()), 0.882));
|
||||
exp forecolor g select(0, select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_7" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_7" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0.655 * select(isdemoplaying(), FUNC_36(), FUNC_35()), 0.655));
|
||||
exp forecolor b select(0, select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_7" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_7" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0.173 * select(isdemoplaying(), FUNC_36(), FUNC_35()), 0.173));
|
||||
exp rect w 276.667 * 0.75;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 173.334 200.667 19.567 1 1
|
||||
style 1
|
||||
decoration
|
||||
autowrapped
|
||||
visible when((1) && (((localvarint("ui_buttonNavGroupOffset") + (20 - 1)) >= (7) && (((7) - localvarint("ui_buttonNavGroupOffset")) >= 0))) && !(0));
|
||||
textalign 10
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
exp text localvarstring("ui_options_hint_text");
|
||||
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 7))) + ((0 - 1.333));
|
||||
exp rect x ((276.667 * 0.25)) + (((0 - 64) + 0));
|
||||
exp forecolor r select(0, select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_7" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_7" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor g select(0, select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_7" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_7" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor b select(0, select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_7" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_7" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp rect w 276.667 * 0.75;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -88 52 325.333 8.666 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfSelectionBarVis") && (localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST"));
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar_shadow"
|
||||
exp rect y ((localvarint("ui_buttonNavGroupCurrent") - localvarint("ui_buttonNavGroupOffset")) * 20) + (34.667) + 0.667 + 17.333;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 20 3 3
|
||||
type 1
|
||||
visible when(1);
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
onFocus
|
||||
{
|
||||
setLocalVarInt ui_ralign_index 1;
|
||||
setLocalVarString ui_ralign_group "leftside_options";
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarInt ui_ralign_index - 1;
|
||||
setLocalVarString ui_ralign_group "";
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
escape self;
|
||||
if (!(menuisopen("pc_options_advanced_video") || menuisopen("pc_options_video") || menuisopen("pc_options_audio") || menuisopen("pc_options_controls") || menuisopen("pc_options_voice")))
|
||||
{
|
||||
if (localvarbool("ui_showPicApply") && !localvarbool("ui_showApply"))
|
||||
{
|
||||
execnow "setfromdvar r_picmip ui_r_picmip";
|
||||
execnow "setfromdvar r_picmip_bump ui_r_picmip_bump";
|
||||
execnow "setfromdvar r_picmip_spec ui_r_picmip_spec";
|
||||
execnow "setfromdvar r_picmip_manual ui_r_picmip_manual";
|
||||
exec "wait; wait; r_applyPicmip";
|
||||
setLocalVarBool ui_showPicApply 0;
|
||||
}
|
||||
if (localvarbool("ui_showApply") || localvarbool("ui_showAudioApply"))
|
||||
{
|
||||
open all_restart_popmenu;
|
||||
}
|
||||
}
|
||||
}
|
||||
exp rect x (0) - (0 * 5) - 20 - getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375);
|
||||
exp rect y ((0 - 20.667));
|
||||
exp rect w getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375) + 20;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 8.666 3 3
|
||||
style 3
|
||||
decoration
|
||||
visible when((1) && (!0) && (localvarint("ui_ralign_index") == 1 && localvarstring("ui_ralign_group") == "leftside_options"));
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar_shadow"
|
||||
exp rect x (0) - (0 * 5) - (20) - getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375);
|
||||
exp rect y ((0 - 20.667)) + 20;
|
||||
exp rect w getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375) + 20;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 20 3 3
|
||||
style 1
|
||||
decoration
|
||||
visible when((1) && (localvarint("ui_ralign_index") == 1 && localvarstring("ui_ralign_group") == "leftside_options"));
|
||||
textscale 0.55
|
||||
backcolor 0.6 0.6314 0.6 1
|
||||
exp rect x (0) - (0 * 5) - (20) - getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375);
|
||||
exp rect y ((0 - 20.667));
|
||||
exp rect w getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375) + 20;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 20 3 3
|
||||
decoration
|
||||
visible when(1);
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
exp text "@PLATFORM_BACK_SHORTCUT";
|
||||
exp rect x (0) - (0 * 5) - (20 / 2) - getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375);
|
||||
exp rect y ((0 - 20.667));
|
||||
exp rect w getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375);
|
||||
exp forecolor r select((localvarint("ui_ralign_index") == 1 && localvarstring("ui_ralign_group") == "leftside_options"), select(isdemoplaying(), FUNC_36(), FUNC_35()), 1);
|
||||
exp forecolor g select((localvarint("ui_ralign_index") == 1 && localvarstring("ui_ralign_group") == "leftside_options"), select(isdemoplaying(), FUNC_36(), FUNC_35()), 1);
|
||||
exp forecolor b select((localvarint("ui_ralign_index") == 1 && localvarstring("ui_ralign_group") == "leftside_options"), select(isdemoplaying(), FUNC_36(), FUNC_35()), 1);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_TEXTURE_SETTINGS"
|
||||
rect 253.5 5 344 34 1 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 4
|
||||
textscale 0.45
|
||||
textstyle 9
|
||||
textfont 9
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "graphic_warning"
|
||||
text "@MENU_GRAPHICS_WARNING"
|
||||
rect 10 -160 206 240 1 3
|
||||
style 1
|
||||
decoration
|
||||
autowrapped
|
||||
type 1
|
||||
visible 1
|
||||
textscale 0.375
|
||||
mouseEnter
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
841
zone_raw/patch_mp/ui_mp/options_voice.menu
Normal file
841
zone_raw/patch_mp/ui_mp/options_voice.menu
Normal file
@ -0,0 +1,841 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "options_voice"
|
||||
rect 0 0 640 480 0 0
|
||||
focuscolor 1 1 1 1
|
||||
blurWorld 4.8
|
||||
onOpen
|
||||
{
|
||||
setLocalVarBool ui_hideBack 1;
|
||||
ExecNow "profile_menuDvarsSetup; resetViewport";
|
||||
if (isfacebookallowed(1) && !dvarbool(cl_ingame) && !dvarbool(sv_running))
|
||||
{
|
||||
if (dvarfloat(facebook_delay) < 0)
|
||||
{
|
||||
exec startfacebook;
|
||||
}
|
||||
}
|
||||
}
|
||||
onClose
|
||||
{
|
||||
setLocalVarBool ui_hideBack 0;
|
||||
}
|
||||
onESC
|
||||
{
|
||||
close self;
|
||||
if (!(menuisopen("pc_options_advanced_video_ingame") || menuisopen("pc_options_video_ingame") || menuisopen("pc_options_audio_ingame") || menuisopen("pc_options_controls_ingame") || menuisopen("pc_options_voice_ingame")) && localvarbool("ui_showPicApply") && !localvarbool("ui_showApply") && !localvarbool("ui_showAudioApply"))
|
||||
{
|
||||
execnow "setfromdvar r_picmip ui_r_picmip";
|
||||
execnow "setfromdvar r_picmip_bump ui_r_picmip_bump";
|
||||
execnow "setfromdvar r_picmip_spec ui_r_picmip_spec";
|
||||
execnow "setfromdvar r_picmip_manual ui_r_picmip_manual";
|
||||
exec "wait; wait; r_applyPicmip";
|
||||
setLocalVarBool ui_showPicApply 0;
|
||||
}
|
||||
if (!(menuisopen("pc_options_advanced_video_ingame") || menuisopen("pc_options_video_ingame") || menuisopen("pc_options_audio_ingame") || menuisopen("pc_options_controls_ingame") || menuisopen("pc_options_voice_ingame")) && localvarbool("ui_showApply") || localvarbool("ui_showAudioApply"))
|
||||
{
|
||||
open all_restart_popmenu;
|
||||
}
|
||||
ExecNow "profile_menuDvarsFinish; updategamerprofile; resetViewport";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 237.5 -36 301.5 480 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_shelfEnabled"));
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0.4
|
||||
background "white"
|
||||
exp rect w localvarbool("ui_shelfEnabled") * select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 219.5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 219.5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 219.5));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 237.5 -236 13 680 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.75
|
||||
background "navbar_edge"
|
||||
exp rect x (((0 - 64) + 0) + 301.5) + (localvarbool("ui_shelfEnabled") * (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 219.5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 219.5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 219.5))));
|
||||
exp forecolor r 0.596078;
|
||||
exp forecolor g 0.654902;
|
||||
exp forecolor b 0.603922;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 237.5 -236 13 680 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_shelfEnabled"));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.75
|
||||
background "navbar_edge"
|
||||
exp rect x ((0 - 64) + 0) + 301.5;
|
||||
exp forecolor r 0.596078;
|
||||
exp forecolor g 0.654902;
|
||||
exp forecolor b 0.603922;
|
||||
exp forecolor a localvarbool("ui_shelfEnabled") * (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 0.75), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0.75, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 0.75)));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -264 -236 501.5 680 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0.4
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 30 301.5 5.333 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
background "navbar_tick"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 3 276.667 24.233 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible when((1));
|
||||
textalign 10
|
||||
textscale 0.5
|
||||
textstyle 9
|
||||
textfont 9
|
||||
exp text "@MENU_OPTIONS_UPPER_CASE";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -88 34.667 325.333 17.333 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfSelectionBarVis") && (localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST"));
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar"
|
||||
exp rect y ((localvarint("ui_buttonNavGroupCurrent") - localvarint("ui_buttonNavGroupOffset")) * 20) + (34.667) + 0.667;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 213 34.667 21.333 16.5 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfSelectionButtonVis") && (localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST"));
|
||||
textalign 10
|
||||
textscale 0.30625
|
||||
textfont 3
|
||||
exp text "@PLATFORM_NAVBAR_BUTTON_FOCUSED_SELECTBUTTON";
|
||||
exp rect y ((localvarint("ui_buttonNavGroupCurrent") - localvarint("ui_buttonNavGroupOffset")) * 20) + (34.667) + (0.667);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "OPTIONS_LIST_0"
|
||||
rect -68 34.667 305.333 20 1 1
|
||||
style 3
|
||||
type 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0
|
||||
background "white"
|
||||
onFocus
|
||||
{
|
||||
setLocalVarString ui_swf_selection "OPTIONS_LIST_0";
|
||||
setLocalVarInt ui_buttonNavGroupCurrent 0;
|
||||
setLocalVarString ui_buttonNavGroupName "OPTIONS_LIST";
|
||||
setLocalVarBool ui_swfSelectionButtonVis ((1) && !(0));
|
||||
setLocalVarBool ui_swfSelectionBarVis (1);
|
||||
setLocalVarBool ui_swfSelectionDisabled (0);
|
||||
if ((20 - 1) + localvarint("ui_buttonNavGroupOffset") < localvarint("ui_buttonNavGroupCurrent"))
|
||||
{
|
||||
setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent") - (20 - 1));
|
||||
}
|
||||
else
|
||||
{
|
||||
if (localvarint("ui_buttonNavGroupCurrent") < localvarint("ui_buttonNavGroupOffset"))
|
||||
{
|
||||
setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent"));
|
||||
}
|
||||
}
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarBool ui_swfSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfSelectionDisabled 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
if (!(0))
|
||||
{
|
||||
play mouse_click;
|
||||
close pc_options_video_ingame;
|
||||
close pc_options_voice_ingame;
|
||||
close PC_OPTIONS_ADANCED_VIDEO_NAME;
|
||||
close options_texture_quality;
|
||||
close pc_options_audio_ingame;
|
||||
close pc_options_movement_ingame;
|
||||
close pc_options_controls_ingame;
|
||||
close options_look;
|
||||
close options_move;
|
||||
close options_shoot;
|
||||
close options_misc;
|
||||
close options_graphics;
|
||||
close options_sound;
|
||||
close options_game;
|
||||
close options_view;
|
||||
close options_defaults;
|
||||
close options_driverinfo;
|
||||
close options_credits;
|
||||
close options_graphics_defaults;
|
||||
close options_graphics_texture;
|
||||
close options_control_defaults;
|
||||
close options_voice;
|
||||
close controls_multi_ingame;
|
||||
close main_options;
|
||||
close main_controls;
|
||||
open pc_options_video_ingame;
|
||||
}
|
||||
}
|
||||
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 0))) + ((0 - 1.333));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 33.334 276.667 19.567 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible when((1) && (((localvarint("ui_buttonNavGroupOffset") + (20 - 1)) >= (0) && (((0) - localvarint("ui_buttonNavGroupOffset")) >= 0))));
|
||||
textalign 10
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 3
|
||||
exp text "@MENU_VIDEO";
|
||||
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 0))) + ((0 - 1.333));
|
||||
exp forecolor r select(0, select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_0" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_0" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor g select(0, select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_0" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_0" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor b select(0, select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_0" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_0" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "OPTIONS_LIST_1"
|
||||
rect -68 54.667 305.333 20 1 1
|
||||
style 3
|
||||
type 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0
|
||||
background "white"
|
||||
onFocus
|
||||
{
|
||||
setLocalVarString ui_swf_selection "OPTIONS_LIST_1";
|
||||
setLocalVarInt ui_buttonNavGroupCurrent 1;
|
||||
setLocalVarString ui_buttonNavGroupName "OPTIONS_LIST";
|
||||
setLocalVarBool ui_swfSelectionButtonVis ((1) && !(0));
|
||||
setLocalVarBool ui_swfSelectionBarVis (1);
|
||||
setLocalVarBool ui_swfSelectionDisabled (0);
|
||||
if ((20 - 1) + localvarint("ui_buttonNavGroupOffset") < localvarint("ui_buttonNavGroupCurrent"))
|
||||
{
|
||||
setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent") - (20 - 1));
|
||||
}
|
||||
else
|
||||
{
|
||||
if (localvarint("ui_buttonNavGroupCurrent") < localvarint("ui_buttonNavGroupOffset"))
|
||||
{
|
||||
setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent"));
|
||||
}
|
||||
}
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarBool ui_swfSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfSelectionDisabled 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
if (!(0))
|
||||
{
|
||||
play mouse_click;
|
||||
close pc_options_video_ingame;
|
||||
close pc_options_voice_ingame;
|
||||
close PC_OPTIONS_ADANCED_VIDEO_NAME;
|
||||
close options_texture_quality;
|
||||
close pc_options_audio_ingame;
|
||||
close pc_options_movement_ingame;
|
||||
close pc_options_controls_ingame;
|
||||
close options_look;
|
||||
close options_move;
|
||||
close options_shoot;
|
||||
close options_misc;
|
||||
close options_graphics;
|
||||
close options_sound;
|
||||
close options_game;
|
||||
close options_view;
|
||||
close options_defaults;
|
||||
close options_driverinfo;
|
||||
close options_credits;
|
||||
close options_graphics_defaults;
|
||||
close options_graphics_texture;
|
||||
close options_control_defaults;
|
||||
close options_voice;
|
||||
close controls_multi_ingame;
|
||||
close main_options;
|
||||
close main_controls;
|
||||
open pc_options_audio_ingame;
|
||||
}
|
||||
}
|
||||
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 1))) + ((0 - 1.333));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 53.334 276.667 19.567 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible when((1) && (((localvarint("ui_buttonNavGroupOffset") + (20 - 1)) >= (1) && (((1) - localvarint("ui_buttonNavGroupOffset")) >= 0))));
|
||||
textalign 10
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 3
|
||||
exp text "@MENU_AUDIO";
|
||||
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 1))) + ((0 - 1.333));
|
||||
exp forecolor r select(0, select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_1" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_1" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor g select(0, select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_1" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_1" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor b select(0, select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_1" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_1" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "OPTIONS_LIST_2"
|
||||
rect -68 74.667 305.333 20 1 1
|
||||
style 3
|
||||
type 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0
|
||||
background "white"
|
||||
onFocus
|
||||
{
|
||||
setLocalVarString ui_swf_selection "OPTIONS_LIST_2";
|
||||
setLocalVarInt ui_buttonNavGroupCurrent 2;
|
||||
setLocalVarString ui_buttonNavGroupName "OPTIONS_LIST";
|
||||
setLocalVarBool ui_swfSelectionButtonVis ((1) && !(0));
|
||||
setLocalVarBool ui_swfSelectionBarVis (1);
|
||||
setLocalVarBool ui_swfSelectionDisabled (0);
|
||||
if ((20 - 1) + localvarint("ui_buttonNavGroupOffset") < localvarint("ui_buttonNavGroupCurrent"))
|
||||
{
|
||||
setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent") - (20 - 1));
|
||||
}
|
||||
else
|
||||
{
|
||||
if (localvarint("ui_buttonNavGroupCurrent") < localvarint("ui_buttonNavGroupOffset"))
|
||||
{
|
||||
setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent"));
|
||||
}
|
||||
}
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarBool ui_swfSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfSelectionDisabled 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
if (!(0))
|
||||
{
|
||||
play mouse_click;
|
||||
close pc_options_video_ingame;
|
||||
close pc_options_voice_ingame;
|
||||
close PC_OPTIONS_ADANCED_VIDEO_NAME;
|
||||
close options_texture_quality;
|
||||
close pc_options_audio_ingame;
|
||||
close pc_options_movement_ingame;
|
||||
close pc_options_controls_ingame;
|
||||
close options_look;
|
||||
close options_move;
|
||||
close options_shoot;
|
||||
close options_misc;
|
||||
close options_graphics;
|
||||
close options_sound;
|
||||
close options_game;
|
||||
close options_view;
|
||||
close options_defaults;
|
||||
close options_driverinfo;
|
||||
close options_credits;
|
||||
close options_graphics_defaults;
|
||||
close options_graphics_texture;
|
||||
close options_control_defaults;
|
||||
close options_voice;
|
||||
close controls_multi_ingame;
|
||||
close main_options;
|
||||
close main_controls;
|
||||
open pc_options_controls_ingame;
|
||||
}
|
||||
}
|
||||
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 2))) + ((0 - 1.333));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 73.334 276.667 19.567 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible when((1) && (((localvarint("ui_buttonNavGroupOffset") + (20 - 1)) >= (2) && (((2) - localvarint("ui_buttonNavGroupOffset")) >= 0))));
|
||||
textalign 10
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 3
|
||||
exp text "@MENU_CONTROLS";
|
||||
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 2))) + ((0 - 1.333));
|
||||
exp forecolor r select(0, select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_2" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_2" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor g select(0, select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_2" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_2" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor b select(0, select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_2" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_2" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "OPTIONS_LIST_3"
|
||||
rect -68 94.667 305.333 20 1 1
|
||||
style 3
|
||||
type 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0
|
||||
background "white"
|
||||
onFocus
|
||||
{
|
||||
setLocalVarString ui_swf_selection "OPTIONS_LIST_3";
|
||||
setLocalVarInt ui_buttonNavGroupCurrent 3;
|
||||
setLocalVarString ui_buttonNavGroupName "OPTIONS_LIST";
|
||||
setLocalVarBool ui_swfSelectionButtonVis ((1) && !(dvarstring(gameMode) == "sp" || dvarstring(gameMode) == "so"));
|
||||
setLocalVarBool ui_swfSelectionBarVis (1);
|
||||
setLocalVarBool ui_swfSelectionDisabled (dvarstring(gameMode) == "sp" || dvarstring(gameMode) == "so");
|
||||
if ((20 - 1) + localvarint("ui_buttonNavGroupOffset") < localvarint("ui_buttonNavGroupCurrent"))
|
||||
{
|
||||
setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent") - (20 - 1));
|
||||
}
|
||||
else
|
||||
{
|
||||
if (localvarint("ui_buttonNavGroupCurrent") < localvarint("ui_buttonNavGroupOffset"))
|
||||
{
|
||||
setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent"));
|
||||
}
|
||||
}
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarBool ui_swfSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfSelectionDisabled 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
if (!(dvarstring(gameMode) == "sp" || dvarstring(gameMode) == "so"))
|
||||
{
|
||||
play mouse_click;
|
||||
close pc_options_video_ingame;
|
||||
close pc_options_voice_ingame;
|
||||
close PC_OPTIONS_ADANCED_VIDEO_NAME;
|
||||
close options_texture_quality;
|
||||
close pc_options_audio_ingame;
|
||||
close pc_options_movement_ingame;
|
||||
close pc_options_controls_ingame;
|
||||
close options_look;
|
||||
close options_move;
|
||||
close options_shoot;
|
||||
close options_misc;
|
||||
close options_graphics;
|
||||
close options_sound;
|
||||
close options_game;
|
||||
close options_view;
|
||||
close options_defaults;
|
||||
close options_driverinfo;
|
||||
close options_credits;
|
||||
close options_graphics_defaults;
|
||||
close options_graphics_texture;
|
||||
close options_control_defaults;
|
||||
close options_voice;
|
||||
close controls_multi_ingame;
|
||||
close main_options;
|
||||
close main_controls;
|
||||
open pc_options_voice_ingame;
|
||||
}
|
||||
}
|
||||
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 3))) + ((0 - 1.333));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 93.334 276.667 19.567 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible when((1) && (((localvarint("ui_buttonNavGroupOffset") + (20 - 1)) >= (3) && (((3) - localvarint("ui_buttonNavGroupOffset")) >= 0))));
|
||||
textalign 10
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 3
|
||||
exp text "@MENU_VOICE";
|
||||
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 3))) + ((0 - 1.333));
|
||||
exp forecolor r select(dvarstring(gameMode) == "sp" || dvarstring(gameMode) == "so", select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_3" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_3" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor g select(dvarstring(gameMode) == "sp" || dvarstring(gameMode) == "so", select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_3" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_3" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor b select(dvarstring(gameMode) == "sp" || dvarstring(gameMode) == "so", select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_3" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_3" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "OPTIONS_LIST_4"
|
||||
rect -68 114.667 305.333 20 1 1
|
||||
style 3
|
||||
type 1
|
||||
visible when((dvarbool(kill_dedicatedserver) == 0));
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0
|
||||
background "white"
|
||||
onFocus
|
||||
{
|
||||
setLocalVarString ui_swf_selection "OPTIONS_LIST_4";
|
||||
setLocalVarInt ui_buttonNavGroupCurrent 4;
|
||||
setLocalVarString ui_buttonNavGroupName "OPTIONS_LIST";
|
||||
setLocalVarBool ui_swfSelectionButtonVis (((dvarbool(kill_dedicatedserver) == 0)) && !(dvarstring(gameMode) == "sp" || dvarstring(gameMode) == "so" || FUNC_32()));
|
||||
setLocalVarBool ui_swfSelectionBarVis ((dvarbool(kill_dedicatedserver) == 0));
|
||||
setLocalVarBool ui_swfSelectionDisabled (dvarstring(gameMode) == "sp" || dvarstring(gameMode) == "so" || FUNC_32());
|
||||
if ((20 - 1) + localvarint("ui_buttonNavGroupOffset") < localvarint("ui_buttonNavGroupCurrent"))
|
||||
{
|
||||
setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent") - (20 - 1));
|
||||
}
|
||||
else
|
||||
{
|
||||
if (localvarint("ui_buttonNavGroupCurrent") < localvarint("ui_buttonNavGroupOffset"))
|
||||
{
|
||||
setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent"));
|
||||
}
|
||||
}
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarBool ui_swfSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfSelectionDisabled 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
if (!(dvarstring(gameMode) == "sp" || dvarstring(gameMode) == "so" || FUNC_32()))
|
||||
{
|
||||
play mouse_click;
|
||||
close pc_options_video_ingame;
|
||||
close pc_options_voice_ingame;
|
||||
close PC_OPTIONS_ADANCED_VIDEO_NAME;
|
||||
close options_texture_quality;
|
||||
close pc_options_audio_ingame;
|
||||
close pc_options_movement_ingame;
|
||||
close pc_options_controls_ingame;
|
||||
close options_look;
|
||||
close options_move;
|
||||
close options_shoot;
|
||||
close options_misc;
|
||||
close options_graphics;
|
||||
close options_sound;
|
||||
close options_game;
|
||||
close options_view;
|
||||
close options_defaults;
|
||||
close options_driverinfo;
|
||||
close options_credits;
|
||||
close options_graphics_defaults;
|
||||
close options_graphics_texture;
|
||||
close options_control_defaults;
|
||||
close options_voice;
|
||||
close controls_multi_ingame;
|
||||
close main_options;
|
||||
close main_controls;
|
||||
open pc_options_dedicateserver;
|
||||
}
|
||||
}
|
||||
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 4))) + ((0 - 1.333));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 113.334 276.667 19.567 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible when(((dvarbool(kill_dedicatedserver) == 0)) && (((localvarint("ui_buttonNavGroupOffset") + (20 - 1)) >= (4) && (((4) - localvarint("ui_buttonNavGroupOffset")) >= 0))));
|
||||
textalign 10
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 3
|
||||
exp text "@MENU_DEDICATED_SERVER";
|
||||
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 4))) + ((0 - 1.333));
|
||||
exp forecolor r select(dvarstring(gameMode) == "sp" || dvarstring(gameMode) == "so" || FUNC_32(), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_4" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_4" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor g select(dvarstring(gameMode) == "sp" || dvarstring(gameMode) == "so" || FUNC_32(), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_4" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_4" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor b select(dvarstring(gameMode) == "sp" || dvarstring(gameMode) == "so" || FUNC_32(), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_4" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_4" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -46.5 113.334 283.333 3.333 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when((1) && (((localvarint("ui_buttonNavGroupOffset") + (20 - 1)) >= (4) && (((4) - localvarint("ui_buttonNavGroupOffset")) >= 0))));
|
||||
textscale 0.55
|
||||
background "navbar_tick"
|
||||
exp rect x (0) + (((0 - 64) + 0)) + 0.667 + 17.5;
|
||||
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 4))) + ((0 - 2.3333));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "OPTIONS_LIST_5"
|
||||
rect -68 134.667 305.333 20 1 1
|
||||
style 3
|
||||
type 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0
|
||||
background "white"
|
||||
onFocus
|
||||
{
|
||||
setLocalVarString ui_swf_selection "OPTIONS_LIST_5";
|
||||
setLocalVarInt ui_buttonNavGroupCurrent 5;
|
||||
setLocalVarString ui_buttonNavGroupName "OPTIONS_LIST";
|
||||
setLocalVarBool ui_swfSelectionButtonVis ((1) && !(FUNC_32()));
|
||||
setLocalVarBool ui_swfSelectionBarVis (1);
|
||||
setLocalVarBool ui_swfSelectionDisabled (FUNC_32());
|
||||
if ((20 - 1) + localvarint("ui_buttonNavGroupOffset") < localvarint("ui_buttonNavGroupCurrent"))
|
||||
{
|
||||
setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent") - (20 - 1));
|
||||
}
|
||||
else
|
||||
{
|
||||
if (localvarint("ui_buttonNavGroupCurrent") < localvarint("ui_buttonNavGroupOffset"))
|
||||
{
|
||||
setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent"));
|
||||
}
|
||||
}
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarBool ui_swfSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfSelectionDisabled 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
if (!(FUNC_32()))
|
||||
{
|
||||
play mouse_click;
|
||||
open options_graphics_defaults;
|
||||
}
|
||||
}
|
||||
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 5))) + ((0 - 1.333));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 133.334 276.667 19.567 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible when((1) && (((localvarint("ui_buttonNavGroupOffset") + (20 - 1)) >= (5) && (((5) - localvarint("ui_buttonNavGroupOffset")) >= 0))));
|
||||
textalign 10
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 3
|
||||
exp text "@MENU_RESET_SYSTEM_DEFAULTS";
|
||||
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 5))) + ((0 - 1.333));
|
||||
exp forecolor r select(FUNC_32(), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_5" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_5" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor g select(FUNC_32(), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_5" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_5" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor b select(FUNC_32(), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_5" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_5" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -46.5 153.334 283.333 3.333 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when((1) && (((localvarint("ui_buttonNavGroupOffset") + (20 - 1)) >= (6) && (((6) - localvarint("ui_buttonNavGroupOffset")) >= 0))));
|
||||
textscale 0.55
|
||||
background "navbar_tick"
|
||||
exp rect x (0) + (((0 - 64) + 0)) + 0.667 + 17.5;
|
||||
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 6))) + ((0 - 2.3333));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 153.334 200.667 19.567 1 1
|
||||
style 1
|
||||
decoration
|
||||
autowrapped
|
||||
visible when((1) && (((localvarint("ui_buttonNavGroupOffset") + (20 - 1)) >= (6) && (((6) - localvarint("ui_buttonNavGroupOffset")) >= 0))) && (0));
|
||||
textalign 10
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
exp text localvarstring("ui_options_hint_text");
|
||||
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 6))) + ((0 - 1.333));
|
||||
exp rect x ((276.667 * 0.25)) + (((0 - 64) + 0));
|
||||
exp forecolor r select(0, select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_6" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_6" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0.882 * select(isdemoplaying(), FUNC_36(), FUNC_35()), 0.882));
|
||||
exp forecolor g select(0, select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_6" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_6" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0.655 * select(isdemoplaying(), FUNC_36(), FUNC_35()), 0.655));
|
||||
exp forecolor b select(0, select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_6" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_6" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0.173 * select(isdemoplaying(), FUNC_36(), FUNC_35()), 0.173));
|
||||
exp rect w 276.667 * 0.75;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 153.334 200.667 19.567 1 1
|
||||
style 1
|
||||
decoration
|
||||
autowrapped
|
||||
visible when((1) && (((localvarint("ui_buttonNavGroupOffset") + (20 - 1)) >= (6) && (((6) - localvarint("ui_buttonNavGroupOffset")) >= 0))) && !(0));
|
||||
textalign 10
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
exp text localvarstring("ui_options_hint_text");
|
||||
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 6))) + ((0 - 1.333));
|
||||
exp rect x ((276.667 * 0.25)) + (((0 - 64) + 0));
|
||||
exp forecolor r select(0, select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_6" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_6" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor g select(0, select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_6" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_6" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor b select(0, select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_6" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_6" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp rect w 276.667 * 0.75;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -88 52 325.333 8.666 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfSelectionBarVis") && (localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST"));
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar_shadow"
|
||||
exp rect y ((localvarint("ui_buttonNavGroupCurrent") - localvarint("ui_buttonNavGroupOffset")) * 20) + (34.667) + 0.667 + 17.333;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 20 3 3
|
||||
type 1
|
||||
visible when(1);
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
onFocus
|
||||
{
|
||||
setLocalVarInt ui_ralign_index 1;
|
||||
setLocalVarString ui_ralign_group "leftside_options";
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarInt ui_ralign_index - 1;
|
||||
setLocalVarString ui_ralign_group "";
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
escape self;
|
||||
if (!(menuisopen("pc_options_advanced_video_ingame") || menuisopen("pc_options_video_ingame") || menuisopen("pc_options_audio_ingame") || menuisopen("pc_options_controls_ingame") || menuisopen("pc_options_voice_ingame")))
|
||||
{
|
||||
if (localvarbool("ui_showPicApply") && !localvarbool("ui_showApply"))
|
||||
{
|
||||
execnow "setfromdvar r_picmip ui_r_picmip";
|
||||
execnow "setfromdvar r_picmip_bump ui_r_picmip_bump";
|
||||
execnow "setfromdvar r_picmip_spec ui_r_picmip_spec";
|
||||
execnow "setfromdvar r_picmip_manual ui_r_picmip_manual";
|
||||
exec "wait; wait; r_applyPicmip";
|
||||
setLocalVarBool ui_showPicApply 0;
|
||||
}
|
||||
if (localvarbool("ui_showApply") || localvarbool("ui_showAudioApply"))
|
||||
{
|
||||
open all_restart_popmenu;
|
||||
}
|
||||
}
|
||||
}
|
||||
exp rect x (0) - (0 * 5) - 20 - getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375);
|
||||
exp rect y ((0 - 20.667));
|
||||
exp rect w getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375) + 20;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 8.666 3 3
|
||||
style 3
|
||||
decoration
|
||||
visible when((1) && (!0) && (localvarint("ui_ralign_index") == 1 && localvarstring("ui_ralign_group") == "leftside_options"));
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar_shadow"
|
||||
exp rect x (0) - (0 * 5) - (20) - getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375);
|
||||
exp rect y ((0 - 20.667)) + 20;
|
||||
exp rect w getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375) + 20;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 20 3 3
|
||||
style 1
|
||||
decoration
|
||||
visible when((1) && (localvarint("ui_ralign_index") == 1 && localvarstring("ui_ralign_group") == "leftside_options"));
|
||||
textscale 0.55
|
||||
backcolor 0.6 0.6314 0.6 1
|
||||
exp rect x (0) - (0 * 5) - (20) - getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375);
|
||||
exp rect y ((0 - 20.667));
|
||||
exp rect w getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375) + 20;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 20 3 3
|
||||
decoration
|
||||
visible when(1);
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
exp text "@PLATFORM_BACK_SHORTCUT";
|
||||
exp rect x (0) - (0 * 5) - (20 / 2) - getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375);
|
||||
exp rect y ((0 - 20.667));
|
||||
exp rect w getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375);
|
||||
exp forecolor r select((localvarint("ui_ralign_index") == 1 && localvarstring("ui_ralign_group") == "leftside_options"), select(isdemoplaying(), FUNC_36(), FUNC_35()), 1);
|
||||
exp forecolor g select((localvarint("ui_ralign_index") == 1 && localvarstring("ui_ralign_group") == "leftside_options"), select(isdemoplaying(), FUNC_36(), FUNC_35()), 1);
|
||||
exp forecolor b select((localvarint("ui_ralign_index") == 1 && localvarstring("ui_ralign_group") == "leftside_options"), select(isdemoplaying(), FUNC_36(), FUNC_35()), 1);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_VOICECHAT"
|
||||
rect 253.5 5 344 34 1 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 4
|
||||
textscale 0.45
|
||||
textstyle 9
|
||||
textfont 9
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 278 196 96 10 1 1
|
||||
decoration
|
||||
type 8
|
||||
visible 1
|
||||
ownerdraw 365
|
||||
textalign 4
|
||||
textalignx 180
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
backcolor 1 1 1 0
|
||||
background "navbar_selection_bar_flipped"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backcolor 1 1 1 1 play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 0 0 0 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
}
|
||||
exp rect w 100;
|
||||
exp rect h 10;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_VOICECHAT_LEVEL_INDICATOR"
|
||||
rect 253.5 73.334 344 20 1 1
|
||||
decoration
|
||||
visible when(1);
|
||||
textalign 4
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 3
|
||||
}
|
||||
}
|
||||
}
|
2864
zone_raw/patch_mp/ui_mp/page_elite_clan.menu
Normal file
2864
zone_raw/patch_mp/ui_mp/page_elite_clan.menu
Normal file
File diff suppressed because it is too large
Load Diff
3247
zone_raw/patch_mp/ui_mp/page_facebook.menu
Normal file
3247
zone_raw/patch_mp/ui_mp/page_facebook.menu
Normal file
File diff suppressed because it is too large
Load Diff
2908
zone_raw/patch_mp/ui_mp/page_friends.menu
Normal file
2908
zone_raw/patch_mp/ui_mp/page_friends.menu
Normal file
File diff suppressed because it is too large
Load Diff
3147
zone_raw/patch_mp/ui_mp/page_recent.menu
Normal file
3147
zone_raw/patch_mp/ui_mp/page_recent.menu
Normal file
File diff suppressed because it is too large
Load Diff
1476
zone_raw/patch_mp/ui_mp/patch_mp_ingame.txt
Normal file
1476
zone_raw/patch_mp/ui_mp/patch_mp_ingame.txt
Normal file
File diff suppressed because it is too large
Load Diff
1400
zone_raw/patch_mp/ui_mp/pc_options_actions.menu
Normal file
1400
zone_raw/patch_mp/ui_mp/pc_options_actions.menu
Normal file
File diff suppressed because it is too large
Load Diff
1361
zone_raw/patch_mp/ui_mp/pc_options_actions_ingame.menu
Normal file
1361
zone_raw/patch_mp/ui_mp/pc_options_actions_ingame.menu
Normal file
File diff suppressed because it is too large
Load Diff
1164
zone_raw/patch_mp/ui_mp/pc_options_advanced_video_ingame.menu
Normal file
1164
zone_raw/patch_mp/ui_mp/pc_options_advanced_video_ingame.menu
Normal file
File diff suppressed because it is too large
Load Diff
972
zone_raw/patch_mp/ui_mp/pc_options_audio_ingame.menu
Normal file
972
zone_raw/patch_mp/ui_mp/pc_options_audio_ingame.menu
Normal file
@ -0,0 +1,972 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "pc_options_audio_ingame"
|
||||
rect 0 0 640 480 0 0
|
||||
focuscolor 1 1 1 1
|
||||
blurWorld 4.8
|
||||
onOpen
|
||||
{
|
||||
setLocalVarBool ui_hideBack 1;
|
||||
setfocus OPTIONS_LIST_1;
|
||||
setLocalVarString ui_options_focus "master_volume";
|
||||
if (!localvarint("ui_showAudioApply"))
|
||||
{
|
||||
exec "setfromdvar ui_snd_khz snd_khz";
|
||||
exec "setfromdvar ui_snd_enableEq snd_enableEq";
|
||||
exec "setfromdvar ui_outputConfig snd_outputConfiguration";
|
||||
}
|
||||
ExecNow "profile_menuDvarsSetup; resetViewport";
|
||||
if (isfacebookallowed(1) && !dvarbool(cl_ingame) && !dvarbool(sv_running))
|
||||
{
|
||||
if (dvarfloat(facebook_delay) < 0)
|
||||
{
|
||||
exec startfacebook;
|
||||
}
|
||||
}
|
||||
}
|
||||
onClose
|
||||
{
|
||||
setLocalVarBool ui_hideBack 0;
|
||||
}
|
||||
onESC
|
||||
{
|
||||
if ((isdemoplaying()))
|
||||
{
|
||||
close self;
|
||||
open demo_ingame;
|
||||
}
|
||||
else
|
||||
{
|
||||
close self;
|
||||
}
|
||||
if (!(menuisopen("pc_options_advanced_video_ingame") || menuisopen("pc_options_video_ingame") || menuisopen("pc_options_audio_ingame") || menuisopen("pc_options_controls_ingame") || menuisopen("pc_options_voice_ingame")) && localvarbool("ui_showPicApply") && !localvarbool("ui_showApply") && !localvarbool("ui_showAudioApply"))
|
||||
{
|
||||
execnow "setfromdvar r_picmip ui_r_picmip";
|
||||
execnow "setfromdvar r_picmip_bump ui_r_picmip_bump";
|
||||
execnow "setfromdvar r_picmip_spec ui_r_picmip_spec";
|
||||
execnow "setfromdvar r_picmip_manual ui_r_picmip_manual";
|
||||
exec "wait; wait; r_applyPicmip";
|
||||
setLocalVarBool ui_showPicApply 0;
|
||||
}
|
||||
if (!(menuisopen("pc_options_advanced_video_ingame") || menuisopen("pc_options_video_ingame") || menuisopen("pc_options_audio_ingame") || menuisopen("pc_options_controls_ingame") || menuisopen("pc_options_voice_ingame")) && localvarbool("ui_showApply") || localvarbool("ui_showAudioApply"))
|
||||
{
|
||||
open all_restart_popmenu;
|
||||
}
|
||||
ExecNow "profile_menuDvarsFinish; updategamerprofile; resetViewport";
|
||||
}
|
||||
execKeyInt 157
|
||||
{
|
||||
if (getfocuseditemname() == "OPTIONS_LIST_0" || getfocuseditemname() == "OPTIONS_LIST_1" || getfocuseditemname() == "OPTIONS_LIST_2" || getfocuseditemname() == "OPTIONS_LIST_3" || getfocuseditemname() == "OPTIONS_LIST_4" || getfocuseditemname() == "OPTIONS_LIST_5" || getfocuseditemname() == "OPTIONS_LIST_6")
|
||||
{
|
||||
setfocus localvarstring ( ui_options_focus );
|
||||
}
|
||||
}
|
||||
execKeyInt 156
|
||||
{
|
||||
if (getfocuseditemname() == "subtitles")
|
||||
{
|
||||
setLocalVarString ui_options_focus getfocuseditemname();
|
||||
setfocus OPTIONS_LIST_1;
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 237.5 -36 301.5 480 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_shelfEnabled"));
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0.4
|
||||
background "white"
|
||||
exp rect w localvarbool("ui_shelfEnabled") * select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 219.5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 219.5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 219.5));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 237.5 -236 13 680 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.75
|
||||
background "navbar_edge"
|
||||
exp rect x (((0 - 64) + 0) + 301.5) + (localvarbool("ui_shelfEnabled") * (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 219.5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 219.5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 219.5))));
|
||||
exp forecolor r 0.596078;
|
||||
exp forecolor g 0.654902;
|
||||
exp forecolor b 0.603922;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 237.5 -236 13 680 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_shelfEnabled"));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.75
|
||||
background "navbar_edge"
|
||||
exp rect x ((0 - 64) + 0) + 301.5;
|
||||
exp forecolor r 0.596078;
|
||||
exp forecolor g 0.654902;
|
||||
exp forecolor b 0.603922;
|
||||
exp forecolor a localvarbool("ui_shelfEnabled") * (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 0.75), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0.75, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 0.75)));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -264 -236 501.5 680 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0.4
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 30 301.5 5.333 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
background "navbar_tick"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 3 276.667 24.233 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible when((1));
|
||||
textalign 10
|
||||
textscale 0.5
|
||||
textstyle 9
|
||||
textfont 9
|
||||
exp text "@MENU_OPTIONS_UPPER_CASE";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -88 34.667 325.333 17.333 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfSelectionBarVis") && (localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST"));
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar"
|
||||
exp rect y ((localvarint("ui_buttonNavGroupCurrent") - localvarint("ui_buttonNavGroupOffset")) * 20) + (34.667) + 0.667;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 213 34.667 21.333 16.5 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfSelectionButtonVis") && (localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST"));
|
||||
textalign 10
|
||||
textscale 0.30625
|
||||
textfont 3
|
||||
exp text "@PLATFORM_NAVBAR_BUTTON_FOCUSED_SELECTBUTTON";
|
||||
exp rect y ((localvarint("ui_buttonNavGroupCurrent") - localvarint("ui_buttonNavGroupOffset")) * 20) + (34.667) + (0.667);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "OPTIONS_LIST_0"
|
||||
rect -68 34.667 305.333 20 1 1
|
||||
style 3
|
||||
type 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0
|
||||
background "white"
|
||||
onFocus
|
||||
{
|
||||
setLocalVarString ui_swf_selection "OPTIONS_LIST_0";
|
||||
setLocalVarInt ui_buttonNavGroupCurrent 0;
|
||||
setLocalVarString ui_buttonNavGroupName "OPTIONS_LIST";
|
||||
setLocalVarBool ui_swfSelectionButtonVis ((1) && !(0));
|
||||
setLocalVarBool ui_swfSelectionBarVis (1);
|
||||
setLocalVarBool ui_swfSelectionDisabled (0);
|
||||
if ((20 - 1) + localvarint("ui_buttonNavGroupOffset") < localvarint("ui_buttonNavGroupCurrent"))
|
||||
{
|
||||
setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent") - (20 - 1));
|
||||
}
|
||||
else
|
||||
{
|
||||
if (localvarint("ui_buttonNavGroupCurrent") < localvarint("ui_buttonNavGroupOffset"))
|
||||
{
|
||||
setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent"));
|
||||
}
|
||||
}
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarBool ui_swfSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfSelectionDisabled 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
if (!(0))
|
||||
{
|
||||
play mouse_click;
|
||||
close pc_options_video_ingame;
|
||||
close pc_options_voice_ingame;
|
||||
close PC_OPTIONS_ADANCED_VIDEO_NAME;
|
||||
close options_texture_quality;
|
||||
close pc_options_audio_ingame;
|
||||
close PC_OPTIONS_MOVEMENT_NAME;
|
||||
close pc_options_controls_ingame;
|
||||
close options_look;
|
||||
close options_move;
|
||||
close options_shoot;
|
||||
close options_misc;
|
||||
close options_graphics;
|
||||
close options_sound;
|
||||
close options_game;
|
||||
close options_view;
|
||||
close options_defaults;
|
||||
close options_driverinfo;
|
||||
close options_credits;
|
||||
close options_graphics_defaults;
|
||||
close options_graphics_texture;
|
||||
close options_control_defaults;
|
||||
close options_voice;
|
||||
close controls_multi_ingame;
|
||||
close main_options;
|
||||
close main_controls;
|
||||
open pc_options_video_ingame;
|
||||
}
|
||||
}
|
||||
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 0))) + ((0 - 1.333));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 33.334 276.667 19.567 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible when((1) && (((localvarint("ui_buttonNavGroupOffset") + (20 - 1)) >= (0) && (((0) - localvarint("ui_buttonNavGroupOffset")) >= 0))));
|
||||
textalign 10
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 3
|
||||
exp text "@MENU_VIDEO";
|
||||
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 0))) + ((0 - 1.333));
|
||||
exp forecolor r select(0, select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_0" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_0" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor g select(0, select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_0" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_0" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor b select(0, select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_0" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_0" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "OPTIONS_LIST_1"
|
||||
rect -68 54.667 305.333 20 1 1
|
||||
style 3
|
||||
type 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0
|
||||
background "white"
|
||||
onFocus
|
||||
{
|
||||
setLocalVarString ui_swf_selection "OPTIONS_LIST_1";
|
||||
setLocalVarInt ui_buttonNavGroupCurrent 1;
|
||||
setLocalVarString ui_buttonNavGroupName "OPTIONS_LIST";
|
||||
setLocalVarBool ui_swfSelectionButtonVis ((1) && !(0));
|
||||
setLocalVarBool ui_swfSelectionBarVis (1);
|
||||
setLocalVarBool ui_swfSelectionDisabled (0);
|
||||
if ((20 - 1) + localvarint("ui_buttonNavGroupOffset") < localvarint("ui_buttonNavGroupCurrent"))
|
||||
{
|
||||
setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent") - (20 - 1));
|
||||
}
|
||||
else
|
||||
{
|
||||
if (localvarint("ui_buttonNavGroupCurrent") < localvarint("ui_buttonNavGroupOffset"))
|
||||
{
|
||||
setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent"));
|
||||
}
|
||||
}
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarBool ui_swfSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfSelectionDisabled 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
if (!(0))
|
||||
{
|
||||
play mouse_click;
|
||||
close pc_options_video_ingame;
|
||||
close pc_options_voice_ingame;
|
||||
close PC_OPTIONS_ADANCED_VIDEO_NAME;
|
||||
close options_texture_quality;
|
||||
close pc_options_audio_ingame;
|
||||
close PC_OPTIONS_MOVEMENT_NAME;
|
||||
close pc_options_controls_ingame;
|
||||
close options_look;
|
||||
close options_move;
|
||||
close options_shoot;
|
||||
close options_misc;
|
||||
close options_graphics;
|
||||
close options_sound;
|
||||
close options_game;
|
||||
close options_view;
|
||||
close options_defaults;
|
||||
close options_driverinfo;
|
||||
close options_credits;
|
||||
close options_graphics_defaults;
|
||||
close options_graphics_texture;
|
||||
close options_control_defaults;
|
||||
close options_voice;
|
||||
close controls_multi_ingame;
|
||||
close main_options;
|
||||
close main_controls;
|
||||
open pc_options_audio_ingame;
|
||||
}
|
||||
}
|
||||
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 1))) + ((0 - 1.333));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 53.334 276.667 19.567 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible when((1) && (((localvarint("ui_buttonNavGroupOffset") + (20 - 1)) >= (1) && (((1) - localvarint("ui_buttonNavGroupOffset")) >= 0))));
|
||||
textalign 10
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 3
|
||||
exp text "@MENU_AUDIO";
|
||||
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 1))) + ((0 - 1.333));
|
||||
exp forecolor r select(0, select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_1" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_1" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor g select(0, select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_1" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_1" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor b select(0, select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_1" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_1" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "OPTIONS_LIST_2"
|
||||
rect -68 74.667 305.333 20 1 1
|
||||
style 3
|
||||
type 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0
|
||||
background "white"
|
||||
onFocus
|
||||
{
|
||||
setLocalVarString ui_swf_selection "OPTIONS_LIST_2";
|
||||
setLocalVarInt ui_buttonNavGroupCurrent 2;
|
||||
setLocalVarString ui_buttonNavGroupName "OPTIONS_LIST";
|
||||
setLocalVarBool ui_swfSelectionButtonVis ((1) && !(0));
|
||||
setLocalVarBool ui_swfSelectionBarVis (1);
|
||||
setLocalVarBool ui_swfSelectionDisabled (0);
|
||||
if ((20 - 1) + localvarint("ui_buttonNavGroupOffset") < localvarint("ui_buttonNavGroupCurrent"))
|
||||
{
|
||||
setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent") - (20 - 1));
|
||||
}
|
||||
else
|
||||
{
|
||||
if (localvarint("ui_buttonNavGroupCurrent") < localvarint("ui_buttonNavGroupOffset"))
|
||||
{
|
||||
setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent"));
|
||||
}
|
||||
}
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarBool ui_swfSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfSelectionDisabled 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
if (!(0))
|
||||
{
|
||||
play mouse_click;
|
||||
close pc_options_video_ingame;
|
||||
close pc_options_voice_ingame;
|
||||
close PC_OPTIONS_ADANCED_VIDEO_NAME;
|
||||
close options_texture_quality;
|
||||
close pc_options_audio_ingame;
|
||||
close PC_OPTIONS_MOVEMENT_NAME;
|
||||
close pc_options_controls_ingame;
|
||||
close options_look;
|
||||
close options_move;
|
||||
close options_shoot;
|
||||
close options_misc;
|
||||
close options_graphics;
|
||||
close options_sound;
|
||||
close options_game;
|
||||
close options_view;
|
||||
close options_defaults;
|
||||
close options_driverinfo;
|
||||
close options_credits;
|
||||
close options_graphics_defaults;
|
||||
close options_graphics_texture;
|
||||
close options_control_defaults;
|
||||
close options_voice;
|
||||
close controls_multi_ingame;
|
||||
close main_options;
|
||||
close main_controls;
|
||||
open pc_options_controls_ingame;
|
||||
}
|
||||
}
|
||||
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 2))) + ((0 - 1.333));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 73.334 276.667 19.567 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible when((1) && (((localvarint("ui_buttonNavGroupOffset") + (20 - 1)) >= (2) && (((2) - localvarint("ui_buttonNavGroupOffset")) >= 0))));
|
||||
textalign 10
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 3
|
||||
exp text "@MENU_CONTROLS";
|
||||
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 2))) + ((0 - 1.333));
|
||||
exp forecolor r select(0, select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_2" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_2" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor g select(0, select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_2" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_2" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor b select(0, select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_2" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_2" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "OPTIONS_LIST_3"
|
||||
rect -68 94.667 305.333 20 1 1
|
||||
style 3
|
||||
type 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0
|
||||
background "white"
|
||||
onFocus
|
||||
{
|
||||
setLocalVarString ui_swf_selection "OPTIONS_LIST_3";
|
||||
setLocalVarInt ui_buttonNavGroupCurrent 3;
|
||||
setLocalVarString ui_buttonNavGroupName "OPTIONS_LIST";
|
||||
setLocalVarBool ui_swfSelectionButtonVis ((1) && !(dvarstring(gameMode) == "sp" || dvarstring(gameMode) == "so"));
|
||||
setLocalVarBool ui_swfSelectionBarVis (1);
|
||||
setLocalVarBool ui_swfSelectionDisabled (dvarstring(gameMode) == "sp" || dvarstring(gameMode) == "so");
|
||||
if ((20 - 1) + localvarint("ui_buttonNavGroupOffset") < localvarint("ui_buttonNavGroupCurrent"))
|
||||
{
|
||||
setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent") - (20 - 1));
|
||||
}
|
||||
else
|
||||
{
|
||||
if (localvarint("ui_buttonNavGroupCurrent") < localvarint("ui_buttonNavGroupOffset"))
|
||||
{
|
||||
setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent"));
|
||||
}
|
||||
}
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarBool ui_swfSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfSelectionDisabled 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
if (!(dvarstring(gameMode) == "sp" || dvarstring(gameMode) == "so"))
|
||||
{
|
||||
play mouse_click;
|
||||
close pc_options_video_ingame;
|
||||
close pc_options_voice_ingame;
|
||||
close PC_OPTIONS_ADANCED_VIDEO_NAME;
|
||||
close options_texture_quality;
|
||||
close pc_options_audio_ingame;
|
||||
close PC_OPTIONS_MOVEMENT_NAME;
|
||||
close pc_options_controls_ingame;
|
||||
close options_look;
|
||||
close options_move;
|
||||
close options_shoot;
|
||||
close options_misc;
|
||||
close options_graphics;
|
||||
close options_sound;
|
||||
close options_game;
|
||||
close options_view;
|
||||
close options_defaults;
|
||||
close options_driverinfo;
|
||||
close options_credits;
|
||||
close options_graphics_defaults;
|
||||
close options_graphics_texture;
|
||||
close options_control_defaults;
|
||||
close options_voice;
|
||||
close controls_multi_ingame;
|
||||
close main_options;
|
||||
close main_controls;
|
||||
open pc_options_voice_ingame;
|
||||
}
|
||||
}
|
||||
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 3))) + ((0 - 1.333));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 93.334 276.667 19.567 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible when((1) && (((localvarint("ui_buttonNavGroupOffset") + (20 - 1)) >= (3) && (((3) - localvarint("ui_buttonNavGroupOffset")) >= 0))));
|
||||
textalign 10
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 3
|
||||
exp text "@MENU_VOICE";
|
||||
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 3))) + ((0 - 1.333));
|
||||
exp forecolor r select(dvarstring(gameMode) == "sp" || dvarstring(gameMode) == "so", select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_3" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_3" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor g select(dvarstring(gameMode) == "sp" || dvarstring(gameMode) == "so", select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_3" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_3" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor b select(dvarstring(gameMode) == "sp" || dvarstring(gameMode) == "so", select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_3" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_3" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "OPTIONS_LIST_4"
|
||||
rect -68 114.667 305.333 20 1 1
|
||||
style 3
|
||||
type 1
|
||||
visible when((dvarbool(kill_dedicatedserver) == 0));
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0
|
||||
background "white"
|
||||
onFocus
|
||||
{
|
||||
setLocalVarString ui_swf_selection "OPTIONS_LIST_4";
|
||||
setLocalVarInt ui_buttonNavGroupCurrent 4;
|
||||
setLocalVarString ui_buttonNavGroupName "OPTIONS_LIST";
|
||||
setLocalVarBool ui_swfSelectionButtonVis (((dvarbool(kill_dedicatedserver) == 0)) && !(dvarstring(gameMode) == "sp" || dvarstring(gameMode) == "so" || FUNC_32()));
|
||||
setLocalVarBool ui_swfSelectionBarVis ((dvarbool(kill_dedicatedserver) == 0));
|
||||
setLocalVarBool ui_swfSelectionDisabled (dvarstring(gameMode) == "sp" || dvarstring(gameMode) == "so" || FUNC_32());
|
||||
if ((20 - 1) + localvarint("ui_buttonNavGroupOffset") < localvarint("ui_buttonNavGroupCurrent"))
|
||||
{
|
||||
setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent") - (20 - 1));
|
||||
}
|
||||
else
|
||||
{
|
||||
if (localvarint("ui_buttonNavGroupCurrent") < localvarint("ui_buttonNavGroupOffset"))
|
||||
{
|
||||
setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent"));
|
||||
}
|
||||
}
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarBool ui_swfSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfSelectionDisabled 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
if (!(dvarstring(gameMode) == "sp" || dvarstring(gameMode) == "so" || FUNC_32()))
|
||||
{
|
||||
play mouse_click;
|
||||
close pc_options_video_ingame;
|
||||
close pc_options_voice_ingame;
|
||||
close PC_OPTIONS_ADANCED_VIDEO_NAME;
|
||||
close options_texture_quality;
|
||||
close pc_options_audio_ingame;
|
||||
close PC_OPTIONS_MOVEMENT_NAME;
|
||||
close pc_options_controls_ingame;
|
||||
close options_look;
|
||||
close options_move;
|
||||
close options_shoot;
|
||||
close options_misc;
|
||||
close options_graphics;
|
||||
close options_sound;
|
||||
close options_game;
|
||||
close options_view;
|
||||
close options_defaults;
|
||||
close options_driverinfo;
|
||||
close options_credits;
|
||||
close options_graphics_defaults;
|
||||
close options_graphics_texture;
|
||||
close options_control_defaults;
|
||||
close options_voice;
|
||||
close controls_multi_ingame;
|
||||
close main_options;
|
||||
close main_controls;
|
||||
open pc_options_dedicateserver;
|
||||
}
|
||||
}
|
||||
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 4))) + ((0 - 1.333));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 113.334 276.667 19.567 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible when(((dvarbool(kill_dedicatedserver) == 0)) && (((localvarint("ui_buttonNavGroupOffset") + (20 - 1)) >= (4) && (((4) - localvarint("ui_buttonNavGroupOffset")) >= 0))));
|
||||
textalign 10
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 3
|
||||
exp text "@MENU_DEDICATED_SERVER";
|
||||
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 4))) + ((0 - 1.333));
|
||||
exp forecolor r select(dvarstring(gameMode) == "sp" || dvarstring(gameMode) == "so" || FUNC_32(), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_4" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_4" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor g select(dvarstring(gameMode) == "sp" || dvarstring(gameMode) == "so" || FUNC_32(), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_4" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_4" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor b select(dvarstring(gameMode) == "sp" || dvarstring(gameMode) == "so" || FUNC_32(), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_4" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_4" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -46.5 113.334 283.333 3.333 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when((1) && (((localvarint("ui_buttonNavGroupOffset") + (20 - 1)) >= (4) && (((4) - localvarint("ui_buttonNavGroupOffset")) >= 0))));
|
||||
textscale 0.55
|
||||
background "navbar_tick"
|
||||
exp rect x (0) + (((0 - 64) + 0)) + 0.667 + 17.5;
|
||||
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 4))) + ((0 - 2.3333));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "OPTIONS_LIST_5"
|
||||
rect -68 134.667 305.333 20 1 1
|
||||
style 3
|
||||
type 1
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0
|
||||
background "white"
|
||||
onFocus
|
||||
{
|
||||
setLocalVarString ui_swf_selection "OPTIONS_LIST_5";
|
||||
setLocalVarInt ui_buttonNavGroupCurrent 5;
|
||||
setLocalVarString ui_buttonNavGroupName "OPTIONS_LIST";
|
||||
setLocalVarBool ui_swfSelectionButtonVis ((1) && !(FUNC_32()));
|
||||
setLocalVarBool ui_swfSelectionBarVis (1);
|
||||
setLocalVarBool ui_swfSelectionDisabled (FUNC_32());
|
||||
if ((20 - 1) + localvarint("ui_buttonNavGroupOffset") < localvarint("ui_buttonNavGroupCurrent"))
|
||||
{
|
||||
setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent") - (20 - 1));
|
||||
}
|
||||
else
|
||||
{
|
||||
if (localvarint("ui_buttonNavGroupCurrent") < localvarint("ui_buttonNavGroupOffset"))
|
||||
{
|
||||
setLocalVarInt ui_buttonNavGroupOffset (localvarint("ui_buttonNavGroupCurrent"));
|
||||
}
|
||||
}
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarBool ui_swfSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfSelectionDisabled 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
if (!(FUNC_32()))
|
||||
{
|
||||
play mouse_click;
|
||||
open options_graphics_defaults;
|
||||
}
|
||||
}
|
||||
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 5))) + ((0 - 1.333));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 133.334 276.667 19.567 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible when((1) && (((localvarint("ui_buttonNavGroupOffset") + (20 - 1)) >= (5) && (((5) - localvarint("ui_buttonNavGroupOffset")) >= 0))));
|
||||
textalign 10
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 3
|
||||
exp text "@MENU_RESET_SYSTEM_DEFAULTS";
|
||||
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 5))) + ((0 - 1.333));
|
||||
exp forecolor r select(FUNC_32(), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_5" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_5" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor g select(FUNC_32(), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_5" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_5" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor b select(FUNC_32(), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_5" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_5" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -46.5 153.334 283.333 3.333 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when((1) && (((localvarint("ui_buttonNavGroupOffset") + (20 - 1)) >= (6) && (((6) - localvarint("ui_buttonNavGroupOffset")) >= 0))));
|
||||
textscale 0.55
|
||||
background "navbar_tick"
|
||||
exp rect x (0) + (((0 - 64) + 0)) + 0.667 + 17.5;
|
||||
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 6))) + ((0 - 2.3333));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 153.334 200.667 19.567 1 1
|
||||
style 1
|
||||
decoration
|
||||
autowrapped
|
||||
visible when((1) && (((localvarint("ui_buttonNavGroupOffset") + (20 - 1)) >= (6) && (((6) - localvarint("ui_buttonNavGroupOffset")) >= 0))) && (0));
|
||||
textalign 10
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
exp text localvarstring("ui_options_hint_text");
|
||||
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 6))) + ((0 - 1.333));
|
||||
exp rect x ((276.667 * 0.25)) + (((0 - 64) + 0));
|
||||
exp forecolor r select(0, select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_6" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_6" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0.882 * select(isdemoplaying(), FUNC_36(), FUNC_35()), 0.882));
|
||||
exp forecolor g select(0, select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_6" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_6" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0.655 * select(isdemoplaying(), FUNC_36(), FUNC_35()), 0.655));
|
||||
exp forecolor b select(0, select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_6" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_6" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0.173 * select(isdemoplaying(), FUNC_36(), FUNC_35()), 0.173));
|
||||
exp rect w 276.667 * 0.75;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 153.334 200.667 19.567 1 1
|
||||
style 1
|
||||
decoration
|
||||
autowrapped
|
||||
visible when((1) && (((localvarint("ui_buttonNavGroupOffset") + (20 - 1)) >= (6) && (((6) - localvarint("ui_buttonNavGroupOffset")) >= 0))) && !(0));
|
||||
textalign 10
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
exp text localvarstring("ui_options_hint_text");
|
||||
exp rect y ((0 - (localvarint("ui_buttonNavGroupOffset") * 20))) + (((34.667) + (20 * 6))) + ((0 - 1.333));
|
||||
exp rect x ((276.667 * 0.25)) + (((0 - 64) + 0));
|
||||
exp forecolor r select(0, select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_6" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_6" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor g select(0, select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_6" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_6" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor b select(0, select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_6" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", 0, 0.360784), select(localvarstring("ui_swf_selection") == "OPTIONS_LIST_6" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp rect w 276.667 * 0.75;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -88 52 325.333 8.666 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfSelectionBarVis") && (localvarstring("ui_buttonNavGroupName") == "OPTIONS_LIST"));
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar_shadow"
|
||||
exp rect y ((localvarint("ui_buttonNavGroupCurrent") - localvarint("ui_buttonNavGroupOffset")) * 20) + (34.667) + 0.667 + 17.333;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 20 3 3
|
||||
type 1
|
||||
visible when(1);
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
onFocus
|
||||
{
|
||||
setLocalVarInt ui_ralign_index 1;
|
||||
setLocalVarString ui_ralign_group "leftside_options";
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarInt ui_ralign_index - 1;
|
||||
setLocalVarString ui_ralign_group "";
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
escape self;
|
||||
if (!(menuisopen("pc_options_advanced_video_ingame") || menuisopen("pc_options_video_ingame") || menuisopen("pc_options_audio_ingame") || menuisopen("pc_options_controls_ingame") || menuisopen("pc_options_voice_ingame")))
|
||||
{
|
||||
if (localvarbool("ui_showPicApply") && !localvarbool("ui_showApply"))
|
||||
{
|
||||
execnow "setfromdvar r_picmip ui_r_picmip";
|
||||
execnow "setfromdvar r_picmip_bump ui_r_picmip_bump";
|
||||
execnow "setfromdvar r_picmip_spec ui_r_picmip_spec";
|
||||
execnow "setfromdvar r_picmip_manual ui_r_picmip_manual";
|
||||
exec "wait; wait; r_applyPicmip";
|
||||
setLocalVarBool ui_showPicApply 0;
|
||||
}
|
||||
if (localvarbool("ui_showApply") || localvarbool("ui_showAudioApply"))
|
||||
{
|
||||
open all_restart_popmenu;
|
||||
}
|
||||
}
|
||||
}
|
||||
exp rect x (0) - (0 * 5) - 20 - getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375);
|
||||
exp rect y ((0 - 20.667));
|
||||
exp rect w getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375) + 20;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 8.666 3 3
|
||||
style 3
|
||||
decoration
|
||||
visible when((1) && (!0) && (localvarint("ui_ralign_index") == 1 && localvarstring("ui_ralign_group") == "leftside_options"));
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar_shadow"
|
||||
exp rect x (0) - (0 * 5) - (20) - getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375);
|
||||
exp rect y ((0 - 20.667)) + 20;
|
||||
exp rect w getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375) + 20;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 20 3 3
|
||||
style 1
|
||||
decoration
|
||||
visible when((1) && (localvarint("ui_ralign_index") == 1 && localvarstring("ui_ralign_group") == "leftside_options"));
|
||||
textscale 0.55
|
||||
backcolor 0.6 0.6314 0.6 1
|
||||
exp rect x (0) - (0 * 5) - (20) - getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375);
|
||||
exp rect y ((0 - 20.667));
|
||||
exp rect w getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375) + 20;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 20 3 3
|
||||
decoration
|
||||
visible when(1);
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
exp text "@PLATFORM_BACK_SHORTCUT";
|
||||
exp rect x (0) - (0 * 5) - (20 / 2) - getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375);
|
||||
exp rect y ((0 - 20.667));
|
||||
exp rect w getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375);
|
||||
exp forecolor r select((localvarint("ui_ralign_index") == 1 && localvarstring("ui_ralign_group") == "leftside_options"), select(isdemoplaying(), FUNC_36(), FUNC_35()), 1);
|
||||
exp forecolor g select((localvarint("ui_ralign_index") == 1 && localvarstring("ui_ralign_group") == "leftside_options"), select(isdemoplaying(), FUNC_36(), FUNC_35()), 1);
|
||||
exp forecolor b select((localvarint("ui_ralign_index") == 1 && localvarstring("ui_ralign_group") == "leftside_options"), select(isdemoplaying(), FUNC_36(), FUNC_35()), 1);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_AUDIO"
|
||||
rect 253.5 5 344 34 1 1
|
||||
decoration
|
||||
visible 1
|
||||
textalign 4
|
||||
textscale 0.45
|
||||
textstyle 9
|
||||
textfont 9
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "master_volume"
|
||||
rect 433.5 33.334 344 20 1 1
|
||||
type 10
|
||||
visible when(1);
|
||||
textaligny 8
|
||||
textscale 0.55
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
ExecNow profile_menuDvarsFinish;
|
||||
}
|
||||
exp rect w 97;
|
||||
dvarFloat "profileMenuOption_volume" 0.008 0 0.8
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_MASTER_VOLUME"
|
||||
rect 253.5 33.334 344 20 1 1
|
||||
decoration
|
||||
visible when(1);
|
||||
textalign 4
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 3
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "speaker_config"
|
||||
rect 253.5 53.334 344 20 1 1
|
||||
style 1
|
||||
type 12
|
||||
visible when(1);
|
||||
disabled when(FUNC_32());
|
||||
textalign 4
|
||||
textalignx 180
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
backcolor 1 1 1 0
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
background "navbar_selection_bar_flipped"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backcolor 1 1 1 1 play mouse_over;
|
||||
setItemColor self disablecolor 0 0 0 1 setItemColor speaker_config_label disablecolor 0 0 0 1 play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 0 0 0 0;
|
||||
setItemColor self disablecolor "0.6" "0.55" "0.55" 1 setItemColor speaker_config_label disablecolor "0.6" "0.55" "0.55" 1;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
setLocalVarBool ui_showAudioApply 1;
|
||||
}
|
||||
dvar "ui_outputConfig"
|
||||
dvarStrList { "@MENU_WINDOWS_DEFAULT" "Windows default" "@MENU_MONO" "Mono" "@MENU_STEREO" "Stereo" "@MENU_FOUR_SPEAKERS" "4 speakers" "@MENU_FIVE_ONE_SPEAKERS" "5.1 speakers" }
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 253.5 53.334 344 20 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(("VIS_ARG") && getfocuseditemname() == "speaker_config");
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar_shadow"
|
||||
exp rect h 8.666;
|
||||
exp rect y 18 + 33.334 + 1 * 20;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "speaker_config_label"
|
||||
text "@MENU_SPEAKER_CONFIG"
|
||||
rect 253.5 53.334 344 20 1 1
|
||||
decoration
|
||||
visible when(1);
|
||||
disabled when(FUNC_32());
|
||||
textalign 4
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 3
|
||||
disablecolor 0.6 0.55 0.55 1
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "subtitles"
|
||||
rect 253.5 73.334 344 20 1 1
|
||||
style 1
|
||||
type 1
|
||||
visible when(!dvarbool(ui_multiplayer));
|
||||
disabled when(0);
|
||||
textalign 4
|
||||
textalignx 180
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
backcolor 1 1 1 0
|
||||
background "navbar_selection_bar_flipped"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backcolor 1 1 1 1 play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 0 0 0 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
exec profile_toggleSubtitles;
|
||||
}
|
||||
exp text select(getprofiledata("subtitles"), "@MENU_ENABLED", "@MENU_DISABLED");
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 253.5 73.334 344 20 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(("VIS_ARG") && getfocuseditemname() == "subtitles");
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar_shadow"
|
||||
exp rect h 8.666;
|
||||
exp rect y 18 + 33.334 + 2 * 20;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_SUBTITLES"
|
||||
rect 253.5 73.334 344 20 1 1
|
||||
decoration
|
||||
visible when(!dvarbool(ui_multiplayer));
|
||||
textalign 4
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 3
|
||||
}
|
||||
}
|
||||
}
|
1031
zone_raw/patch_mp/ui_mp/pc_options_controls_ingame.menu
Normal file
1031
zone_raw/patch_mp/ui_mp/pc_options_controls_ingame.menu
Normal file
File diff suppressed because it is too large
Load Diff
1061
zone_raw/patch_mp/ui_mp/pc_options_dedicateserver.menu
Normal file
1061
zone_raw/patch_mp/ui_mp/pc_options_dedicateserver.menu
Normal file
File diff suppressed because it is too large
Load Diff
618
zone_raw/patch_mp/ui_mp/pc_options_look_ingame.menu
Normal file
618
zone_raw/patch_mp/ui_mp/pc_options_look_ingame.menu
Normal file
@ -0,0 +1,618 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "pc_options_look_ingame"
|
||||
rect 0 0 640 480 0 0
|
||||
focuscolor 1 1 1 1
|
||||
blurWorld 4.8
|
||||
onOpen
|
||||
{
|
||||
setLocalVarBool ui_hideBack 1;
|
||||
close pc_options_controls_ingame;
|
||||
focusfirst;
|
||||
}
|
||||
onClose
|
||||
{
|
||||
setLocalVarBool ui_hideBack 0;
|
||||
open pc_options_controls_ingame;
|
||||
}
|
||||
onESC
|
||||
{
|
||||
close self;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 237.5 -36 301.5 480 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_shelfEnabled"));
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0.4
|
||||
background "white"
|
||||
exp rect w localvarbool("ui_shelfEnabled") * select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 219.5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 219.5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 219.5));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 237.5 -236 13 680 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.75
|
||||
background "navbar_edge"
|
||||
exp rect x ((0 - 64) + 301.5) + (localvarbool("ui_shelfEnabled") * (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 219.5), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 219.5, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 219.5))));
|
||||
exp forecolor r 0.596078;
|
||||
exp forecolor g 0.654902;
|
||||
exp forecolor b 0.603922;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 237.5 -236 13 680 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_shelfEnabled"));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.75
|
||||
background "navbar_edge"
|
||||
exp rect x (0 - 64) + 301.5;
|
||||
exp forecolor r 0.596078;
|
||||
exp forecolor g 0.654902;
|
||||
exp forecolor b 0.603922;
|
||||
exp forecolor a localvarbool("ui_shelfEnabled") * (select(localvarbool("ui_shelfTimeInvert"), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0, (1 - (milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 0.75), select((milliseconds() - localvarfloat("ui_shelfTime")) > 100, 0.75, ((milliseconds() - localvarfloat("ui_shelfTime")) / 100) * 0.75)));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -264 -236 501.5 680 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0.4
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 30 301.5 5.333 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
background "navbar_tick"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -64 3 276.667 24.233 1 1
|
||||
style 1
|
||||
decoration
|
||||
visible when((1));
|
||||
textalign 10
|
||||
textscale 0.5
|
||||
textstyle 9
|
||||
textfont 9
|
||||
exp text "@MENU_LOOK";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 237.5 34.667 344 20 1 1
|
||||
type 10
|
||||
visible when(1);
|
||||
textaligny 8
|
||||
textscale 0.55
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
action
|
||||
{
|
||||
}
|
||||
exp rect x 301.5 - 32;
|
||||
exp rect w 98;
|
||||
dvarFloat "sensitivity" 5 1 30
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_MOUSE_SENSITIVITY"
|
||||
rect 237.5 34.667 344 20 1 1
|
||||
decoration
|
||||
visible when(1);
|
||||
textalign 6
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 3
|
||||
exp rect x 301.5 - 64 - 25 - getTextWidthModCase(locstring("@MENU_MOUSE_SENSITIVITY"), 3, 0.375, 9);
|
||||
exp rect w getTextWidthModCase(locstring("@MENU_MOUSE_SENSITIVITY"), 3, 0.375, 9);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "invert_mouse"
|
||||
rect 237.5 54.667 344 20 1 1
|
||||
style 1
|
||||
type 11
|
||||
visible when(1);
|
||||
textalign 4
|
||||
textalignx 333.5
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
backcolor 1 1 1 0
|
||||
background "navbar_selection_bar_centered"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backcolor 1 1 1 1 play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 0 0 0 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
uiScript update ui_mousePitch;
|
||||
play mouse_click;
|
||||
}
|
||||
exp rect x 0 - 64;
|
||||
exp rect w 301.5 + 200;
|
||||
dvar "ui_mousePitch"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "invert_mouse"
|
||||
rect 237.5 54.667 344 20 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(("VIS_ARG") && getfocuseditemname() == "invert_mouse");
|
||||
textalign 4
|
||||
textalignx 333.5
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
background "navbar_selection_bar_shadow"
|
||||
exp rect x 0 - 64;
|
||||
exp rect w 301.5 + 200;
|
||||
exp rect h 8.666;
|
||||
exp rect y 18 + 34.667 + 1 * 20;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_INVERT_MOUSE"
|
||||
rect 237.5 54.667 344 20 1 1
|
||||
decoration
|
||||
visible when(1);
|
||||
textalign 6
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 3
|
||||
exp rect x 301.5 - 64 - 25 - getTextWidthModCase(locstring("@MENU_INVERT_MOUSE"), 3, 0.375, 9);
|
||||
exp rect w getTextWidthModCase(locstring("@MENU_INVERT_MOUSE"), 3, 0.375, 9);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -45.833 91 283.333 4 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
background "navbar_tick"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "smooth_mouse"
|
||||
rect 237.5 94.667 344 20 1 1
|
||||
style 1
|
||||
type 11
|
||||
visible when(1);
|
||||
textalign 4
|
||||
textalignx 333.5
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
backcolor 1 1 1 0
|
||||
background "navbar_selection_bar_centered"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backcolor 1 1 1 1 play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 0 0 0 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
}
|
||||
exp rect x 0 - 64;
|
||||
exp rect w 301.5 + 200;
|
||||
dvar "m_filter"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "smooth_mouse"
|
||||
rect 237.5 94.667 344 20 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(("VIS_ARG") && getfocuseditemname() == "smooth_mouse");
|
||||
textalign 4
|
||||
textalignx 333.5
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
background "navbar_selection_bar_shadow"
|
||||
exp rect x 0 - 64;
|
||||
exp rect w 301.5 + 200;
|
||||
exp rect h 8.666;
|
||||
exp rect y 18 + 34.667 + 3 * 20;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_SMOOTH_MOUSE"
|
||||
rect 237.5 94.667 344 20 1 1
|
||||
decoration
|
||||
visible when(1);
|
||||
textalign 6
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 3
|
||||
exp rect x 301.5 - 64 - 25 - getTextWidthModCase(locstring("@MENU_SMOOTH_MOUSE"), 3, 0.375, 9);
|
||||
exp rect w getTextWidthModCase(locstring("@MENU_SMOOTH_MOUSE"), 3, 0.375, 9);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "free_look"
|
||||
rect 237.5 114.667 344 20 1 1
|
||||
style 1
|
||||
type 11
|
||||
visible when(1);
|
||||
textalign 4
|
||||
textalignx 333.5
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
backcolor 1 1 1 0
|
||||
background "navbar_selection_bar_centered"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backcolor 1 1 1 1 play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 0 0 0 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
}
|
||||
exp rect x 0 - 64;
|
||||
exp rect w 301.5 + 200;
|
||||
dvar "cl_freelook"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "free_look"
|
||||
rect 237.5 114.667 344 20 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(("VIS_ARG") && getfocuseditemname() == "free_look");
|
||||
textalign 4
|
||||
textalignx 333.5
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
background "navbar_selection_bar_shadow"
|
||||
exp rect x 0 - 64;
|
||||
exp rect w 301.5 + 200;
|
||||
exp rect h 8.666;
|
||||
exp rect y 18 + 34.667 + 4 * 20;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_FREE_LOOK"
|
||||
rect 237.5 114.667 344 20 1 1
|
||||
decoration
|
||||
visible when(1);
|
||||
textalign 6
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 3
|
||||
exp rect x 301.5 - 64 - 25 - getTextWidthModCase(locstring("@MENU_FREE_LOOK"), 3, 0.375, 9);
|
||||
exp rect w getTextWidthModCase(locstring("@MENU_FREE_LOOK"), 3, 0.375, 9);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "look_up"
|
||||
rect 237.5 134.667 344 20 1 1
|
||||
style 1
|
||||
type 14
|
||||
visible when(1);
|
||||
textalign 4
|
||||
textalignx 333.5
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
backcolor 1 1 1 0
|
||||
background "navbar_selection_bar_centered"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backcolor 1 1 1 1 play mouse_over;
|
||||
show keyBindStatus;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 0 0 0 0 hide keyBindStatus;
|
||||
}
|
||||
exp rect x 0 - 64;
|
||||
exp rect w 301.5 + 200;
|
||||
dvar "+lookup"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "look_up"
|
||||
rect 237.5 134.667 344 20 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(("VIS_ARG") && getfocuseditemname() == "look_up");
|
||||
textalign 4
|
||||
textalignx 333.5
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
background "navbar_selection_bar_shadow"
|
||||
exp rect x 0 - 64;
|
||||
exp rect w 301.5 + 200;
|
||||
exp rect h 8.666;
|
||||
exp rect y 18 + 34.667 + 5 * 20;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_LOOK_UP"
|
||||
rect 237.5 134.667 344 20 1 1
|
||||
decoration
|
||||
visible when(1);
|
||||
textalign 6
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 3
|
||||
exp rect x 301.5 - 64 - 25 - getTextWidthModCase(locstring("@MENU_LOOK_UP"), 3, 0.375, 9);
|
||||
exp rect w getTextWidthModCase(locstring("@MENU_LOOK_UP"), 3, 0.375, 9);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "look_down"
|
||||
rect 237.5 154.667 344 20 1 1
|
||||
style 1
|
||||
type 14
|
||||
visible when(1);
|
||||
textalign 4
|
||||
textalignx 333.5
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
backcolor 1 1 1 0
|
||||
background "navbar_selection_bar_centered"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backcolor 1 1 1 1 play mouse_over;
|
||||
show keyBindStatus;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 0 0 0 0 hide keyBindStatus;
|
||||
}
|
||||
exp rect x 0 - 64;
|
||||
exp rect w 301.5 + 200;
|
||||
dvar "+lookdown"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "look_down"
|
||||
rect 237.5 154.667 344 20 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(("VIS_ARG") && getfocuseditemname() == "look_down");
|
||||
textalign 4
|
||||
textalignx 333.5
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
background "navbar_selection_bar_shadow"
|
||||
exp rect x 0 - 64;
|
||||
exp rect w 301.5 + 200;
|
||||
exp rect h 8.666;
|
||||
exp rect y 18 + 34.667 + 6 * 20;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_LOOK_DOWN"
|
||||
rect 237.5 154.667 344 20 1 1
|
||||
decoration
|
||||
visible when(1);
|
||||
textalign 6
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 3
|
||||
exp rect x 301.5 - 64 - 25 - getTextWidthModCase(locstring("@MENU_LOOK_DOWN"), 3, 0.375, 9);
|
||||
exp rect w getTextWidthModCase(locstring("@MENU_LOOK_DOWN"), 3, 0.375, 9);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "hold_mouse_look"
|
||||
rect 237.5 174.667 344 20 1 1
|
||||
style 1
|
||||
type 14
|
||||
visible when(1);
|
||||
textalign 4
|
||||
textalignx 333.5
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
backcolor 1 1 1 0
|
||||
background "navbar_selection_bar_centered"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backcolor 1 1 1 1 play mouse_over;
|
||||
show keyBindStatus;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 0 0 0 0 hide keyBindStatus;
|
||||
}
|
||||
exp rect x 0 - 64;
|
||||
exp rect w 301.5 + 200;
|
||||
dvar "+mlook"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "hold_mouse_look"
|
||||
rect 237.5 174.667 344 20 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(("VIS_ARG") && getfocuseditemname() == "hold_mouse_look");
|
||||
textalign 4
|
||||
textalignx 333.5
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
background "navbar_selection_bar_shadow"
|
||||
exp rect x 0 - 64;
|
||||
exp rect w 301.5 + 200;
|
||||
exp rect h 8.666;
|
||||
exp rect y 18 + 34.667 + 7 * 20;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_HOLD_MOUSE_LOOK"
|
||||
rect 237.5 174.667 344 20 1 1
|
||||
decoration
|
||||
visible when(1);
|
||||
textalign 6
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 3
|
||||
exp rect x 301.5 - 64 - 25 - getTextWidthModCase(locstring("@MENU_HOLD_MOUSE_LOOK"), 3, 0.375, 9);
|
||||
exp rect w getTextWidthModCase(locstring("@MENU_HOLD_MOUSE_LOOK"), 3, 0.375, 9);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "center_view"
|
||||
rect 237.5 194.667 344 20 1 1
|
||||
style 1
|
||||
type 14
|
||||
visible when(1);
|
||||
textalign 4
|
||||
textalignx 333.5
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
backcolor 1 1 1 0
|
||||
background "navbar_selection_bar_centered"
|
||||
onFocus
|
||||
{
|
||||
setItemColor self backcolor 1 1 1 1 play mouse_over;
|
||||
show keyBindStatus;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 0 0 0 0 hide keyBindStatus;
|
||||
}
|
||||
exp rect x 0 - 64;
|
||||
exp rect w 301.5 + 200;
|
||||
dvar "centerview"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "center_view"
|
||||
rect 237.5 194.667 344 20 1 1
|
||||
style 3
|
||||
decoration
|
||||
visible when(("VIS_ARG") && getfocuseditemname() == "center_view");
|
||||
textalign 4
|
||||
textalignx 333.5
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
background "navbar_selection_bar_shadow"
|
||||
exp rect x 0 - 64;
|
||||
exp rect w 301.5 + 200;
|
||||
exp rect h 8.666;
|
||||
exp rect y 18 + 34.667 + 8 * 20;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@MENU_CENTER_VIEW"
|
||||
rect 237.5 194.667 344 20 1 1
|
||||
decoration
|
||||
visible when(1);
|
||||
textalign 6
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 3
|
||||
exp rect x 301.5 - 64 - 25 - getTextWidthModCase(locstring("@MENU_CENTER_VIEW"), 3, 0.375, 9);
|
||||
exp rect w getTextWidthModCase(locstring("@MENU_CENTER_VIEW"), 3, 0.375, 9);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "keyBindStatus"
|
||||
rect 0 0 226.5 20 1 3
|
||||
style 1
|
||||
decoration
|
||||
autowrapped
|
||||
type 8
|
||||
ownerdraw 350
|
||||
textalign 6
|
||||
textscale 0.375
|
||||
forecolor 0.65 0.65 0.65 1
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 20 3 3
|
||||
type 1
|
||||
visible when(1);
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
onFocus
|
||||
{
|
||||
setLocalVarInt ui_ralign_index 1;
|
||||
setLocalVarString ui_ralign_group "pc_options_movement_ingame";
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarInt ui_ralign_index - 1;
|
||||
setLocalVarString ui_ralign_group "";
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
uiscript simulateKeyPress 27;
|
||||
}
|
||||
exp rect x (0) - (0 * 5) - 20 - getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375);
|
||||
exp rect y ((0 - 20.667));
|
||||
exp rect w getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375) + 20;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 8.666 3 3
|
||||
style 3
|
||||
decoration
|
||||
visible when((1) && (!0) && (localvarint("ui_ralign_index") == 1 && localvarstring("ui_ralign_group") == "pc_options_movement_ingame"));
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar_shadow"
|
||||
exp rect x (0) - (0 * 5) - (20) - getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375);
|
||||
exp rect y ((0 - 20.667)) + 20;
|
||||
exp rect w getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375) + 20;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 20 3 3
|
||||
style 1
|
||||
decoration
|
||||
visible when((1) && (localvarint("ui_ralign_index") == 1 && localvarstring("ui_ralign_group") == "pc_options_movement_ingame"));
|
||||
textscale 0.55
|
||||
backcolor 0.6 0.6314 0.6 1
|
||||
exp rect x (0) - (0 * 5) - (20) - getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375);
|
||||
exp rect y ((0 - 20.667));
|
||||
exp rect w getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375) + 20;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 20 3 3
|
||||
decoration
|
||||
visible when(1);
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
exp text "@PLATFORM_BACK_SHORTCUT";
|
||||
exp rect x (0) - (0 * 5) - (20 / 2) - getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375);
|
||||
exp rect y ((0 - 20.667));
|
||||
exp rect w getTextWidth(locstring("@PLATFORM_BACK_SHORTCUT"), 3, 0.375);
|
||||
exp forecolor r select((localvarint("ui_ralign_index") == 1 && localvarstring("ui_ralign_group") == "pc_options_movement_ingame"), select(isdemoplaying(), FUNC_36(), FUNC_35()), 1);
|
||||
exp forecolor g select((localvarint("ui_ralign_index") == 1 && localvarstring("ui_ralign_group") == "pc_options_movement_ingame"), select(isdemoplaying(), FUNC_36(), FUNC_35()), 1);
|
||||
exp forecolor b select((localvarint("ui_ralign_index") == 1 && localvarstring("ui_ralign_group") == "pc_options_movement_ingame"), select(isdemoplaying(), FUNC_36(), FUNC_35()), 1);
|
||||
}
|
||||
}
|
||||
}
|
1081
zone_raw/patch_mp/ui_mp/pc_options_movement_ingame.menu
Normal file
1081
zone_raw/patch_mp/ui_mp/pc_options_movement_ingame.menu
Normal file
File diff suppressed because it is too large
Load Diff
1137
zone_raw/patch_mp/ui_mp/pc_options_video_ingame.menu
Normal file
1137
zone_raw/patch_mp/ui_mp/pc_options_video_ingame.menu
Normal file
File diff suppressed because it is too large
Load Diff
1010
zone_raw/patch_mp/ui_mp/pc_options_voice_ingame.menu
Normal file
1010
zone_raw/patch_mp/ui_mp/pc_options_voice_ingame.menu
Normal file
File diff suppressed because it is too large
Load Diff
199
zone_raw/patch_mp/ui_mp/perk_challenge.menu
Normal file
199
zone_raw/patch_mp/ui_mp/perk_challenge.menu
Normal file
@ -0,0 +1,199 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "perk_challenge"
|
||||
decoration
|
||||
rect 0 0 640 480 1 1
|
||||
exp rect Y FUNC_184() * (0 - 40) * FUNC_163();
|
||||
onOpen
|
||||
{
|
||||
lerp alpha from 0 to 1 over "0.2";
|
||||
lerp x from 640 to 370 over "0.15";
|
||||
forceClose splash;
|
||||
forceClose challenge;
|
||||
forceClose defcon;
|
||||
forceClose killstreak_pickup;
|
||||
forceClose killstreak;
|
||||
forceClose promotion;
|
||||
forceClose promotion_weapon;
|
||||
forceClose killstreak_minisplash;
|
||||
forceClose daily_challenge;
|
||||
forceClose weekly_challenge;
|
||||
setLocalVarString splashRef tablelookupbyrow("mp/splashTable.csv", splashrownum(0), 0);
|
||||
setLocalVarString challengeRef tablelookup("mp/allChallengesTable.csv", 0, localvarstring("splashRef"), 5);
|
||||
if (localvarstring("challengeRef") != "")
|
||||
{
|
||||
if (localvarstring("challengeRef") == "perk_slot_0")
|
||||
{
|
||||
setLocalVarString perkRef tablelookup("mp/challenges/challengeTable_Perk_1.csv", 0, localvarstring("splashRef"), 1);
|
||||
}
|
||||
if (localvarstring("challengeRef") == "perk_slot_1")
|
||||
{
|
||||
setLocalVarString perkRef tablelookup("mp/challenges/challengeTable_Perk_2.csv", 0, localvarstring("splashRef"), 1);
|
||||
}
|
||||
if (localvarstring("challengeRef") == "perk_slot_2")
|
||||
{
|
||||
setLocalVarString perkRef tablelookup("mp/challenges/challengeTable_Perk_3.csv", 0, localvarstring("splashRef"), 1);
|
||||
}
|
||||
setLocalVarString perkUpgradeRef tablelookup("mp/perkTable.csv", 1, localvarstring("perkRef"), 8);
|
||||
}
|
||||
else
|
||||
{
|
||||
setLocalVarString perkRef ("");
|
||||
setLocalVarString perkUpgradeRef ("");
|
||||
}
|
||||
setLocalVarInt challenge_update_time (milliseconds());
|
||||
}
|
||||
onRequestClose
|
||||
{
|
||||
lerp alpha from 1 to 0 over "0.15";
|
||||
lerp x from 370 to 640 over "0.15";
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "challenge_title_tiered"
|
||||
rect -600 45 200 20 10 8
|
||||
decoration
|
||||
visible when(FUNC_163() && (int(max(getplayerdata("challengeState", localvarstring("splashRef")), 1)) - 1) > 0);
|
||||
textalign 2
|
||||
textscale 0.375
|
||||
textstyle 3
|
||||
textfont 4
|
||||
glowcolor 0.75 0.35 0 1
|
||||
exp text locstring("@" + tablelookup("mp/allChallengesTable.csv", 0, localvarstring("splashRef"), 1)) + locstring("@" + tablelookup("mp/allChallengesTable.csv", 0, localvarstring("splashRef"), 3) + "_" + (int(max(getplayerdata("challengeState", localvarstring("splashRef")), 1)) - 1));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "challenge_description"
|
||||
rect -600 65 200 20 10 8
|
||||
decoration
|
||||
visible when(FUNC_163());
|
||||
textalign 2
|
||||
textscale 0.2916
|
||||
textstyle 3
|
||||
exp text getsplashdescription(0);
|
||||
decodeEffect 50 3000 500
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "challenge_icon"
|
||||
rect -430 74 32 32 10 8
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_163() && localvarstring("perkUpgradeRef") != "" && localvarstring("perkUpgradeRef") != "specialty_null" && isitemunlocked(localvarstring("perkUpgradeRef")));
|
||||
textscale 0.55
|
||||
exp material tablelookup("mp/perkTable.csv", 1, localvarstring("perkUpgradeRef"), 3);
|
||||
exp forecolor a min(max((milliseconds() - localvarint("challenge_update_time") + 400) / 250, 0), 1);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -450 74 16 32 10 8
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_163() && localvarstring("perkUpgradeRef") != "" && localvarstring("perkUpgradeRef") != "specialty_null" && isitemunlocked(localvarstring("perkUpgradeRef")));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.15
|
||||
background "summary_arrow"
|
||||
exp forecolor a 0.35 * min(max((milliseconds() - localvarint("challenge_update_time") + 400) / 250, 0), 1);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -470 74 16 32 10 8
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_163() && localvarstring("perkUpgradeRef") != "" && localvarstring("perkUpgradeRef") != "specialty_null" && isitemunlocked(localvarstring("perkUpgradeRef")));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.2
|
||||
background "summary_arrow"
|
||||
exp forecolor a 0.45 * min(max((milliseconds() - localvarint("challenge_update_time") + 400) / 250, 0), 1);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -490 74 16 32 10 8
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_163() && localvarstring("perkUpgradeRef") != "" && localvarstring("perkUpgradeRef") != "specialty_null" && isitemunlocked(localvarstring("perkUpgradeRef")));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.25
|
||||
background "summary_arrow"
|
||||
exp forecolor a 0.55 * min(max((milliseconds() - localvarint("challenge_update_time") + 400) / 250, 0), 1);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "challenge_icon"
|
||||
rect -530 74 32 32 10 8
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_163() && localvarstring("perkUpgradeRef") != "" && localvarstring("perkUpgradeRef") != "specialty_null" && isitemunlocked(localvarstring("perkUpgradeRef")));
|
||||
textscale 0.55
|
||||
exp material tablelookup("mp/perkTable.csv", 1, localvarstring("perkRef"), 3);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "challenge_title_tiered_ss"
|
||||
rect -600 45 200 20 10 8
|
||||
decoration
|
||||
visible when(FUNC_162() && (int(max(getplayerdata("challengeState", localvarstring("splashRef")), 1)) - 1) > 0);
|
||||
textalign 2
|
||||
textscale 0.729165
|
||||
textstyle 3
|
||||
textfont 4
|
||||
glowcolor 0.75 0.35 0 1
|
||||
exp text locstring("@" + tablelookup("mp/allChallengesTable.csv", 0, localvarstring("splashRef"), 1)) + locstring("@" + tablelookup("mp/allChallengesTable.csv", 0, localvarstring("splashRef"), 3) + "_" + (int(max(getplayerdata("challengeState", localvarstring("splashRef")), 1)) - 1));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "challenge_icon_ss"
|
||||
rect -500 75 60 60 10 8
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_162() && FUNC_185() && localvarstring("perkUpgradeRef") != "" && isitemunlocked(localvarstring("perkUpgradeRef")));
|
||||
textscale 0.55
|
||||
exp material tablelookup("mp/perkTable.csv", 1, localvarstring("perkUpgradeRef"), 3);
|
||||
exp forecolor a min(max((milliseconds() - localvarint("challenge_update_time") + 400) / 250, 0), 1);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -520 75 16.5 60 10 8
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_162() && FUNC_185() && localvarstring("perkUpgradeRef") != "" && isitemunlocked(localvarstring("perkUpgradeRef")));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.15
|
||||
background "summary_arrow"
|
||||
exp forecolor a 0.35 * min(max((milliseconds() - localvarint("challenge_update_time") + 400) / 250, 0), 1);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -540 75 16.5 60 10 8
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_162() && FUNC_185() && localvarstring("perkUpgradeRef") != "" && isitemunlocked(localvarstring("perkUpgradeRef")));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.2
|
||||
background "summary_arrow"
|
||||
exp forecolor a 0.45 * min(max((milliseconds() - localvarint("challenge_update_time") + 400) / 250, 0), 1);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -560 75 16.5 60 10 8
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_162() && FUNC_185() && localvarstring("perkUpgradeRef") != "" && isitemunlocked(localvarstring("perkUpgradeRef")));
|
||||
textscale 0.55
|
||||
forecolor 1 1 1 0.25
|
||||
background "summary_arrow"
|
||||
exp forecolor a 0.55 * min(max((milliseconds() - localvarint("challenge_update_time") + 400) / 250, 0), 1);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "challenge_icon_ss"
|
||||
rect -622 75 60 60 10 8
|
||||
style 3
|
||||
decoration
|
||||
visible when(FUNC_162() && FUNC_185() && localvarstring("perkUpgradeRef") != "" && isitemunlocked(localvarstring("perkUpgradeRef")));
|
||||
textscale 0.55
|
||||
exp material tablelookup("mp/perkTable.csv", 1, localvarstring("perkRef"), 3);
|
||||
}
|
||||
}
|
||||
}
|
12
zone_raw/patch_mp/ui_mp/perk_display.menu
Normal file
12
zone_raw/patch_mp/ui_mp/perk_display.menu
Normal file
@ -0,0 +1,12 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "perk_display"
|
||||
rect 0 0 640 1 1 0
|
||||
onOpen
|
||||
{
|
||||
setLocalVarInt ui_show_perks (milliseconds());
|
||||
close self;
|
||||
}
|
||||
}
|
||||
}
|
12
zone_raw/patch_mp/ui_mp/perk_hide.menu
Normal file
12
zone_raw/patch_mp/ui_mp/perk_hide.menu
Normal file
@ -0,0 +1,12 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "perk_hide"
|
||||
rect 0 0 640 1 1 0
|
||||
onOpen
|
||||
{
|
||||
setLocalVarInt ui_show_perks 0;
|
||||
close self;
|
||||
}
|
||||
}
|
||||
}
|
110
zone_raw/patch_mp/ui_mp/playercard_splash.menu
Normal file
110
zone_raw/patch_mp/ui_mp/playercard_splash.menu
Normal file
@ -0,0 +1,110 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "playercard_splash"
|
||||
decoration
|
||||
rect 0 0 640 480 10 10
|
||||
legacySplitScreenScale
|
||||
onOpen
|
||||
{
|
||||
if (!dvarbool(ui_hide_playercards))
|
||||
{
|
||||
setLocalVarInt ui_show_perks 0;
|
||||
play mp_card_slide;
|
||||
setLocalVarInt callout_update_time (milliseconds() + 1000);
|
||||
}
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 160 18 10 8
|
||||
decoration
|
||||
visible when(FUNC_25() && FUNC_163());
|
||||
textalign 6
|
||||
textalignx 8
|
||||
textscale 0.3333
|
||||
textstyle 8
|
||||
textfont 10
|
||||
forecolor 0.6 0.8 0.6 1
|
||||
exp text getplayercardinfo(11, 0, 5);
|
||||
exp rect x - 172;
|
||||
exp rect y (110) - 5;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 160 18 10 8
|
||||
decoration
|
||||
visible when(FUNC_28() && FUNC_163());
|
||||
textalign 6
|
||||
textalignx 8
|
||||
textscale 0.3333
|
||||
textstyle 8
|
||||
textfont 10
|
||||
forecolor 0.8 0.35 0.4 1
|
||||
exp text getplayercardinfo(11, 0, 5);
|
||||
exp rect x - 172;
|
||||
exp rect y (110) - 5;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 208 20 10 8
|
||||
style 1
|
||||
decoration
|
||||
visible when((getplayercardinfo(0, 0, 5) != 0) && FUNC_163());
|
||||
textalign 6
|
||||
textalignx 8
|
||||
textscale 0.375
|
||||
textstyle 8
|
||||
textfont 6
|
||||
glowcolor 1 0.8 0.6 1
|
||||
exp text getsplashdescription(1);
|
||||
exp rect x - 172 - 48;
|
||||
exp rect y (110) + 10;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 160 18 10 8
|
||||
decoration
|
||||
visible when(FUNC_25() && FUNC_162());
|
||||
textalign 6
|
||||
textalignx 8
|
||||
textscale 0.3333
|
||||
textstyle 8
|
||||
textfont 10
|
||||
forecolor 0.6 0.8 0.6 1
|
||||
exp text getplayercardinfo(11, 0, 5);
|
||||
exp rect x - 172;
|
||||
exp rect y (60) - 5;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 160 18 10 8
|
||||
decoration
|
||||
visible when(FUNC_28() && FUNC_162());
|
||||
textalign 6
|
||||
textalignx 8
|
||||
textscale 0.3333
|
||||
textstyle 8
|
||||
textfont 10
|
||||
forecolor 0.8 0.35 0.4 1
|
||||
exp text getplayercardinfo(11, 0, 5);
|
||||
exp rect x - 172;
|
||||
exp rect y (60) - 5;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 208 20 10 8
|
||||
style 1
|
||||
decoration
|
||||
visible when((getplayercardinfo(0, 0, 5) != 0) && FUNC_162());
|
||||
textalign 6
|
||||
textalignx 8
|
||||
textscale 0.375
|
||||
textstyle 8
|
||||
textfont 6
|
||||
glowcolor 1 0.8 0.6 1
|
||||
exp text getsplashdescription(1);
|
||||
exp rect x - 172 - 48;
|
||||
exp rect y (60) + 10;
|
||||
}
|
||||
}
|
||||
}
|
289
zone_raw/patch_mp/ui_mp/popup_acceptinginvite.menu
Normal file
289
zone_raw/patch_mp/ui_mp/popup_acceptinginvite.menu
Normal file
@ -0,0 +1,289 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "popup_acceptinginvite"
|
||||
rect 0 0 0 0 2 2
|
||||
focuscolor 1 1 1 1
|
||||
outOfBoundsClick
|
||||
popup
|
||||
legacySplitScreenScale
|
||||
exp rect X 0 - (260 * 0.5);
|
||||
exp rect Y 0 - ((localvarint("ui_swfPopupDescResizeHeight")) * 0.5);
|
||||
exp rect W 260;
|
||||
exp rect H (localvarint("ui_swfPopupDescResizeHeight"));
|
||||
onOpen
|
||||
{
|
||||
setLocalVarFloat ui_swfPopupDescResizeTextHeight (getwrappedtextheight(getwaitpopupstatus(4), (float((260 - 16))), 3, 0.375, 0, 0));
|
||||
setLocalVarInt ui_swfPopupDescResizeButtons (int((localvarfloat("ui_swfPopupDescResizeTextHeight") + ((20 + 2) / 2) + 5) / (20 + 2)) + 1);
|
||||
setLocalVarInt ui_swfPopupDescResizeHeight ((((23 * 1) + (16.367 * 0)) + ((localvarint("ui_swfPopupDescResizeButtons") + 0 + 1) * (20 + 2)) + 5));
|
||||
setLocalVarInt ui_swfPopupDescResizeButtonYOffset ((20 + 2) * (localvarint("ui_swfPopupDescResizeButtons") + 0));
|
||||
setLocalVarInt ui_buttonNavGroupOffset_popup 0;
|
||||
setLocalVarInt ui_buttonNavGroupCurrent_popup 0;
|
||||
setLocalVarString ui_buttonNavGroupName_popup "invalid";
|
||||
setLocalVarBool ui_swfSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfSelectionDisabled 0;
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled 0;
|
||||
setLocalVarString ui_swfPopupContext "invalid";
|
||||
setLocalVarBool ui_centerPopup 1;
|
||||
play tabs_slide;
|
||||
focusfirst;
|
||||
setfocus SWF_COMMON_DESC_RESIZE_POPUP_1_NAME_0;
|
||||
focusfirst;
|
||||
}
|
||||
onClose
|
||||
{
|
||||
setLocalVarBool ui_centerPopup 0;
|
||||
play "";
|
||||
}
|
||||
onESC
|
||||
{
|
||||
close self;
|
||||
close menu_xboxlive;
|
||||
close menu_xboxlive_lobby;
|
||||
close menu_xboxlive_privatelobby;
|
||||
close menu_systemlink;
|
||||
close menu_systemlink_join;
|
||||
close menu_gamesetup_systemlink;
|
||||
close menu_gamesetup_splitscreen;
|
||||
close popup_gamesetup;
|
||||
close popup_gamesetup_splitscreen;
|
||||
close popup_findgame;
|
||||
close self;
|
||||
close cac_popup;
|
||||
close popup_gamesetup_private;
|
||||
close coop_lobby;
|
||||
close error_popmenu_lobby;
|
||||
setdvar onlinegame 0;
|
||||
setdvar systemlink 0;
|
||||
setdvar specialops 0;
|
||||
setdvar so_survival 0;
|
||||
exec stopPrivateListen;
|
||||
exec coopStopSearch;
|
||||
exec "useonlinestats 0";
|
||||
exec statsdownloadcancel;
|
||||
exec xstopparty;
|
||||
exec xstopprivateparty;
|
||||
exec xcancelconnectingdialog;
|
||||
exec "forcesplitscreencontrol WAITING_POPUP_CANCELED_ACTION";
|
||||
}
|
||||
onFocusDueToClose
|
||||
{
|
||||
setLocalVarFloat ui_swfPopupDescResizeTextHeight (getwrappedtextheight(getwaitpopupstatus(4), (float((260 - 16))), 3, 0.375, 0, 0));
|
||||
setLocalVarInt ui_swfPopupDescResizeButtons (int((localvarfloat("ui_swfPopupDescResizeTextHeight") + ((20 + 2) / 2) + 5) / (20 + 2)) + 1);
|
||||
setLocalVarInt ui_swfPopupDescResizeHeight ((((23 * 1) + (16.367 * 0)) + ((localvarint("ui_swfPopupDescResizeButtons") + 0 + 1) * (20 + 2)) + 5));
|
||||
setLocalVarInt ui_swfPopupDescResizeButtonYOffset ((20 + 2) * (localvarint("ui_swfPopupDescResizeButtons") + 0));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -1280 -480 2560 960 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(menuistopmost("popup_acceptinginvite"));
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0.8
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -131.333 -78.667 262.667 130.667 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0.3098 0.349 0.2745 1
|
||||
background "white"
|
||||
exp rect y 0 + "SWF_POPUP_GLOBAL_Y_OFFSET";
|
||||
exp rect h (localvarint("ui_swfPopupDescResizeHeight")) + 0;
|
||||
exp rect x 0 + "SWF_POPUP_GLOBAL_X_OFFSET";
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 260 1 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1 && 1);
|
||||
textscale 0.55
|
||||
forecolor 0.1569 0.1725 0.1608 1
|
||||
background "white"
|
||||
exp rect x 0;
|
||||
exp rect y 0;
|
||||
exp rect h (1 * 22) + (16.367 * 0) + 2;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 8.666 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1 && 1);
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar_shadow"
|
||||
exp rect x (0 + "X_OFFSET");
|
||||
exp rect y 0 + (1 * 22) + (16.367 * 0);
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 1 244 22 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when(1);
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 9
|
||||
exp text "@MENU_PLEASE_WAIT";
|
||||
exp rect x (0 + 8);
|
||||
exp rect y (0 + 4) - 4;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 244 20 2 2
|
||||
style 1
|
||||
decoration
|
||||
autowrapped
|
||||
visible when(1);
|
||||
textalign 4
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
exp text getwaitpopupstatus(4);
|
||||
exp rect x ((0 + 8) + 0);
|
||||
exp rect y (0 + (0 * (20 + 2)) + (0 + 4) + ((23 * 1) + (16.367 * 0))) - 2.333;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 260 1 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0.2118 0.2314 0.22 1
|
||||
background "white"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + (0 * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0)));
|
||||
exp rect h ((20 + 2) * 1) + 1;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 8.666 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfPopupSelectionBarVis") && (localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME") && (localvarstring("ui_swfPopupContext") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME"));
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar_shadow"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + ((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0))) + (20 + 0.3333);
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 20 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfPopupSelectionBarVis") && (localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME") && (localvarstring("ui_swfPopupContext") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME"));
|
||||
textscale 0.55
|
||||
forecolor 0.6 0.6314 0.6 0.2
|
||||
background "white"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + ((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0)));
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 20 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfPopupSelectionBarVis") && (localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME") && (localvarstring("ui_swfPopupContext") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME"));
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + ((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0)));
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@PLATFORM_NAVBAR_BUTTON_FOCUSED_SELECTBUTTON"
|
||||
rect 0 0 20 20 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfPopupSelectionButtonVis") && (localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME") && (localvarstring("ui_swfPopupContext") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME"));
|
||||
textalign 10
|
||||
textscale 0.30625
|
||||
textfont 3
|
||||
exp rect x (0 + (0 + 260 - 24));
|
||||
exp rect y (((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + ((0 + 4) + ((23 * 1) + (16.367 * 0))) - 1.167) - 1.8;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME_0"
|
||||
rect 11.667 0 260 22 2 2
|
||||
style 3
|
||||
type 1
|
||||
visible when(1);
|
||||
disabled when(0);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0
|
||||
background "white"
|
||||
onFocus
|
||||
{
|
||||
setLocalVarString ui_swf_selection "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_1_NAME,0)";
|
||||
setLocalVarInt ui_buttonNavGroupCurrent_popup 0;
|
||||
setLocalVarString ui_buttonNavGroupName_popup "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME";
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis ((1) && !(0));
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis (1);
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled (0);
|
||||
setLocalVarString ui_swfPopupContext "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME";
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
escape self;
|
||||
}
|
||||
exp rect y ((0 * (20 + 2)) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + (0 + 4) + ((23 * 1) + (16.367 * 0))) + ((0 - 1.333));
|
||||
exp rect w 260 - 0;
|
||||
exp rect x (0 + (0 + 8));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 11.667 0 260 19.567 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when((1) && (1));
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 3
|
||||
exp text "@MENU_CANCEL";
|
||||
exp rect y (((0 * (20 + 2)) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + (0 + 4) + ((23 * 1) + (16.367 * 0))) + (0 - 1.333)) - 2.333;
|
||||
exp rect w 260;
|
||||
exp forecolor r select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_1_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_1_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor g select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_1_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_1_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor b select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_1_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_1_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp rect x (0 + (0 + 8));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 244 20 2 2
|
||||
style 1
|
||||
decoration
|
||||
autowrapped
|
||||
visible when(1);
|
||||
textalign 6
|
||||
textscale 0.30625
|
||||
textfont 3
|
||||
exp text "@PLATFORM_BACK_BUTTON";
|
||||
exp rect x ((0 + 8) + 4);
|
||||
exp rect y (1.5 + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + (0 * (20 + 2)) + (0 + 4) + ((23 * 1) + (16.367 * 0))) - 2.333;
|
||||
}
|
||||
}
|
||||
}
|
225
zone_raw/patch_mp/ui_mp/popup_clan_list_actions.menu
Normal file
225
zone_raw/patch_mp/ui_mp/popup_clan_list_actions.menu
Normal file
@ -0,0 +1,225 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "popup_clan_list_actions"
|
||||
rect 0 0 0 0 2 2
|
||||
focuscolor 1 1 1 1
|
||||
outOfBoundsClick
|
||||
popup
|
||||
legacySplitScreenScale
|
||||
exp rect X 0 - (260 * 0.5);
|
||||
exp rect Y 0 - ((((23 * 1) + (16.367 * 0)) + (1 * (20 + 2)) + 5) * 0.5);
|
||||
exp rect W 260;
|
||||
exp rect H (((23 * 1) + (16.367 * 0)) + (1 * (20 + 2)) + 5);
|
||||
onOpen
|
||||
{
|
||||
uiScript EliteClanStoreXUID;
|
||||
setLocalVarInt ui_buttonNavGroupOffset_popup 0;
|
||||
setLocalVarInt ui_buttonNavGroupCurrent_popup 0;
|
||||
setLocalVarString ui_buttonNavGroupName_popup "invalid";
|
||||
setLocalVarBool ui_swfSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfSelectionDisabled 0;
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled 0;
|
||||
setLocalVarString ui_swfPopupContext "invalid";
|
||||
setLocalVarBool ui_centerPopup 1;
|
||||
play tabs_slide;
|
||||
lerp x from - 460 to 0 over "0.05";
|
||||
focusfirst;
|
||||
setfocus popup_clan_list_actions_0;
|
||||
focusfirst;
|
||||
}
|
||||
onClose
|
||||
{
|
||||
uiScript EliteClanClearXUID;
|
||||
setLocalVarBool ui_centerPopup 0;
|
||||
play "";
|
||||
}
|
||||
onESC
|
||||
{
|
||||
close self;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -1280 -480 2560 960 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(menuistopmost("popup_clan_list_actions"));
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0.8
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -131.333 -78.667 262.667 130.667 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0.3098 0.349 0.2745 1
|
||||
background "white"
|
||||
exp rect y 0 + "SWF_POPUP_GLOBAL_Y_OFFSET";
|
||||
exp rect h (((23 * 1) + (16.367 * 0)) + (1 * (20 + 2)) + 5) + 0;
|
||||
exp rect x 0 + "SWF_POPUP_GLOBAL_X_OFFSET";
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 260 1 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0.2118 0.2314 0.22 1
|
||||
background "white"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + (0 * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0)));
|
||||
exp rect h ((20 + 2) * 1) + 1;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 8.666 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfPopupSelectionBarVis") && (localvarstring("ui_buttonNavGroupName_popup") == "popup_clan_list_actions") && (localvarstring("ui_swfPopupContext") == "popup_clan_list_actions"));
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar_shadow"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + ((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0))) + (20 + 0.3333);
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 20 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfPopupSelectionBarVis") && (localvarstring("ui_buttonNavGroupName_popup") == "popup_clan_list_actions") && (localvarstring("ui_swfPopupContext") == "popup_clan_list_actions"));
|
||||
textscale 0.55
|
||||
forecolor 0.6 0.6314 0.6 0.2
|
||||
background "white"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + ((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0)));
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 20 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfPopupSelectionBarVis") && (localvarstring("ui_buttonNavGroupName_popup") == "popup_clan_list_actions") && (localvarstring("ui_swfPopupContext") == "popup_clan_list_actions"));
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + ((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0)));
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@PLATFORM_NAVBAR_BUTTON_FOCUSED_SELECTBUTTON"
|
||||
rect 0 0 20 20 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfPopupSelectionButtonVis") && (localvarstring("ui_buttonNavGroupName_popup") == "popup_clan_list_actions") && (localvarstring("ui_swfPopupContext") == "popup_clan_list_actions"));
|
||||
textalign 10
|
||||
textscale 0.30625
|
||||
textfont 3
|
||||
exp rect x (0 + (0 + 260 - 24));
|
||||
exp rect y (((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0))) - 1.167) - 1.8;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 260 1 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1 && 1);
|
||||
textscale 0.55
|
||||
forecolor 0.1569 0.1725 0.1608 1
|
||||
background "white"
|
||||
exp rect x 0;
|
||||
exp rect y 0;
|
||||
exp rect h (1 * 22) + (16.367 * 0) + 2;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 8.666 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1 && 1);
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar_shadow"
|
||||
exp rect x (0 + "X_OFFSET");
|
||||
exp rect y 0 + (1 * 22) + (16.367 * 0);
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 1 244 22 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when(1);
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textfont 9
|
||||
exp text truncateTextWithEllipsis(eliteclan_getgamertag(), 9, 0.375, 260 - 16);
|
||||
exp rect x (0 + 8);
|
||||
exp rect y (0 + 4) - 4;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "popup_clan_list_actions_CLAN_REQUEST_INDEX"
|
||||
rect 11.667 0 260 22 2 2
|
||||
style 3
|
||||
type 1
|
||||
visible when(1);
|
||||
disabled when(eliteclan_isplatfromfriend() || eliteclan_isme());
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0
|
||||
background "white"
|
||||
onFocus
|
||||
{
|
||||
setLocalVarString ui_swf_selection "SWF_POPUP_BUTTON_NAME(popup_clan_list_actions,CLAN_REQUEST_INDEX)";
|
||||
setLocalVarInt ui_buttonNavGroupCurrent_popup 0;
|
||||
setLocalVarString ui_buttonNavGroupName_popup "popup_clan_list_actions";
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis ((1) && !(eliteclan_isplatfromfriend() || eliteclan_isme()));
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis (1);
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled (eliteclan_isplatfromfriend() || eliteclan_isme());
|
||||
setLocalVarString ui_swfPopupContext "popup_clan_list_actions";
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
uiScript EliteClanFriendRequest;
|
||||
}
|
||||
exp rect y ((0 * (20 + 2)) + (0 + 4) + ((23 * 1) + (16.367 * 0))) + ((0 - 1.333));
|
||||
exp rect w 260 - 0;
|
||||
exp rect x (0 + (0 + 8));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 11.667 0 260 19.567 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when((1) && (1));
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 3
|
||||
exp text "@MENU_FRIEND_REQUEST";
|
||||
exp rect y (((0 * (20 + 2)) + (0 + 4) + ((23 * 1) + (16.367 * 0))) + (0 - 1.333)) - 2.333;
|
||||
exp rect w 260;
|
||||
exp forecolor r select(eliteclan_isplatfromfriend() || eliteclan_isme(), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(popup_clan_list_actions,CLAN_REQUEST_INDEX)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "popup_clan_list_actions", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(popup_clan_list_actions,CLAN_REQUEST_INDEX)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "popup_clan_list_actions", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor g select(eliteclan_isplatfromfriend() || eliteclan_isme(), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(popup_clan_list_actions,CLAN_REQUEST_INDEX)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "popup_clan_list_actions", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(popup_clan_list_actions,CLAN_REQUEST_INDEX)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "popup_clan_list_actions", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor b select(eliteclan_isplatfromfriend() || eliteclan_isme(), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(popup_clan_list_actions,CLAN_REQUEST_INDEX)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "popup_clan_list_actions", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(popup_clan_list_actions,CLAN_REQUEST_INDEX)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "popup_clan_list_actions", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp rect x (0 + (0 + 8));
|
||||
}
|
||||
}
|
||||
}
|
393
zone_raw/patch_mp/ui_mp/popup_clan_report.menu
Normal file
393
zone_raw/patch_mp/ui_mp/popup_clan_report.menu
Normal file
@ -0,0 +1,393 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "popup_clan_report"
|
||||
rect 0 0 0 0 2 2
|
||||
focuscolor 1 1 1 1
|
||||
outOfBoundsClick
|
||||
popup
|
||||
legacySplitScreenScale
|
||||
exp rect X 0 - (260 * 0.5);
|
||||
exp rect Y 0 - ((((23 * 1) + (16.367 * 0)) + (4 * (20 + 2)) + 5) * 0.5);
|
||||
exp rect W 260;
|
||||
exp rect H (((23 * 1) + (16.367 * 0)) + (4 * (20 + 2)) + 5);
|
||||
onOpen
|
||||
{
|
||||
setLocalVarInt ui_buttonNavGroupOffset_popup 0;
|
||||
setLocalVarInt ui_buttonNavGroupCurrent_popup 0;
|
||||
setLocalVarString ui_buttonNavGroupName_popup "invalid";
|
||||
setLocalVarBool ui_swfSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfSelectionDisabled 0;
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled 0;
|
||||
setLocalVarString ui_swfPopupContext "invalid";
|
||||
setLocalVarBool ui_centerPopup 1;
|
||||
play tabs_slide;
|
||||
lerp x from - 460 to 0 over "0.05";
|
||||
focusfirst;
|
||||
setfocus popup_clan_report_0;
|
||||
focusfirst;
|
||||
}
|
||||
onClose
|
||||
{
|
||||
setLocalVarBool ui_centerPopup 0;
|
||||
play "";
|
||||
}
|
||||
onESC
|
||||
{
|
||||
close self;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -1280 -480 2560 960 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(menuistopmost("popup_clan_report"));
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0.8
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -131.333 -78.667 262.667 130.667 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0.3098 0.349 0.2745 1
|
||||
background "white"
|
||||
exp rect y 0 + "SWF_POPUP_GLOBAL_Y_OFFSET";
|
||||
exp rect h (((23 * 1) + (16.367 * 0)) + (4 * (20 + 2)) + 5) + 0;
|
||||
exp rect x 0 + "SWF_POPUP_GLOBAL_X_OFFSET";
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 260 1 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0.2118 0.2314 0.22 1
|
||||
background "white"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + (0 * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0)));
|
||||
exp rect h ((20 + 2) * 4) + 1;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 8.666 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfPopupSelectionBarVis") && (localvarstring("ui_buttonNavGroupName_popup") == "popup_clan_report") && (localvarstring("ui_swfPopupContext") == "popup_clan_report"));
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar_shadow"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + ((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0))) + (20 + 0.3333);
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 20 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfPopupSelectionBarVis") && (localvarstring("ui_buttonNavGroupName_popup") == "popup_clan_report") && (localvarstring("ui_swfPopupContext") == "popup_clan_report"));
|
||||
textscale 0.55
|
||||
forecolor 0.6 0.6314 0.6 0.2
|
||||
background "white"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + ((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0)));
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 20 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfPopupSelectionBarVis") && (localvarstring("ui_buttonNavGroupName_popup") == "popup_clan_report") && (localvarstring("ui_swfPopupContext") == "popup_clan_report"));
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + ((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0)));
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@PLATFORM_NAVBAR_BUTTON_FOCUSED_SELECTBUTTON"
|
||||
rect 0 0 20 20 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfPopupSelectionButtonVis") && (localvarstring("ui_buttonNavGroupName_popup") == "popup_clan_report") && (localvarstring("ui_swfPopupContext") == "popup_clan_report"));
|
||||
textalign 10
|
||||
textscale 0.30625
|
||||
textfont 3
|
||||
exp rect x (0 + (0 + 260 - 24));
|
||||
exp rect y (((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0))) - 1.167) - 1.8;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 260 1 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1 && 1);
|
||||
textscale 0.55
|
||||
forecolor 0.1569 0.1725 0.1608 1
|
||||
background "white"
|
||||
exp rect x 0;
|
||||
exp rect y 0;
|
||||
exp rect h (1 * 22) + (16.367 * 0) + 2;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 8.666 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1 && 1);
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar_shadow"
|
||||
exp rect x (0 + "X_OFFSET");
|
||||
exp rect y 0 + (1 * 22) + (16.367 * 0);
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 1 244 22 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when(1);
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 9
|
||||
exp text "@MENU_REPORT_PLAYER";
|
||||
exp rect x (0 + 8);
|
||||
exp rect y (0 + 4) - 4;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "popup_clan_report_0"
|
||||
rect 11.667 0 260 22 2 2
|
||||
style 3
|
||||
type 1
|
||||
visible when(1);
|
||||
disabled when(0);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0
|
||||
background "white"
|
||||
onFocus
|
||||
{
|
||||
setLocalVarString ui_swf_selection "SWF_POPUP_BUTTON_NAME(popup_clan_report,0)";
|
||||
setLocalVarInt ui_buttonNavGroupCurrent_popup 0;
|
||||
setLocalVarString ui_buttonNavGroupName_popup "popup_clan_report";
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis ((1) && !(0));
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis (1);
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled (0);
|
||||
setLocalVarString ui_swfPopupContext "popup_clan_report";
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
uiScript EliteClanReportOffensive;
|
||||
close self;
|
||||
}
|
||||
exp rect y ((0 * (20 + 2)) + (0 + 4) + ((23 * 1) + (16.367 * 0))) + ((0 - 1.333));
|
||||
exp rect w 260 - 0;
|
||||
exp rect x (0 + (0 + 8));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 11.667 0 260 19.567 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when((1) && (1));
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 3
|
||||
exp text "@MENU_REPORT_OFFENSIVE";
|
||||
exp rect y (((0 * (20 + 2)) + (0 + 4) + ((23 * 1) + (16.367 * 0))) + (0 - 1.333)) - 2.333;
|
||||
exp rect w 260;
|
||||
exp forecolor r select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(popup_clan_report,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "popup_clan_report", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(popup_clan_report,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "popup_clan_report", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor g select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(popup_clan_report,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "popup_clan_report", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(popup_clan_report,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "popup_clan_report", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor b select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(popup_clan_report,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "popup_clan_report", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(popup_clan_report,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "popup_clan_report", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp rect x (0 + (0 + 8));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "popup_clan_report_1"
|
||||
rect 11.667 0 260 22 2 2
|
||||
style 3
|
||||
type 1
|
||||
visible when(1);
|
||||
disabled when(0);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0
|
||||
background "white"
|
||||
onFocus
|
||||
{
|
||||
setLocalVarString ui_swf_selection "SWF_POPUP_BUTTON_NAME(popup_clan_report,1)";
|
||||
setLocalVarInt ui_buttonNavGroupCurrent_popup 1;
|
||||
setLocalVarString ui_buttonNavGroupName_popup "popup_clan_report";
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis ((1) && !(0));
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis (1);
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled (0);
|
||||
setLocalVarString ui_swfPopupContext "popup_clan_report";
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
uiScript EliteClanReportExploiter;
|
||||
close self;
|
||||
}
|
||||
exp rect y ((1 * (20 + 2)) + (0 + 4) + ((23 * 1) + (16.367 * 0))) + ((0 - 1.333));
|
||||
exp rect w 260 - 0;
|
||||
exp rect x (0 + (0 + 8));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 11.667 0 260 19.567 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when((1) && (1));
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 3
|
||||
exp text "@MENU_REPORT_EXPLOITING";
|
||||
exp rect y (((1 * (20 + 2)) + (0 + 4) + ((23 * 1) + (16.367 * 0))) + (0 - 1.333)) - 2.333;
|
||||
exp rect w 260;
|
||||
exp forecolor r select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(popup_clan_report,1)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "popup_clan_report", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(popup_clan_report,1)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "popup_clan_report", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor g select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(popup_clan_report,1)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "popup_clan_report", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(popup_clan_report,1)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "popup_clan_report", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor b select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(popup_clan_report,1)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "popup_clan_report", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(popup_clan_report,1)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "popup_clan_report", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp rect x (0 + (0 + 8));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "popup_clan_report_2"
|
||||
rect 11.667 0 260 22 2 2
|
||||
style 3
|
||||
type 1
|
||||
visible when(1);
|
||||
disabled when(0);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0
|
||||
background "white"
|
||||
onFocus
|
||||
{
|
||||
setLocalVarString ui_swf_selection "SWF_POPUP_BUTTON_NAME(popup_clan_report,2)";
|
||||
setLocalVarInt ui_buttonNavGroupCurrent_popup 2;
|
||||
setLocalVarString ui_buttonNavGroupName_popup "popup_clan_report";
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis ((1) && !(0));
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis (1);
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled (0);
|
||||
setLocalVarString ui_swfPopupContext "popup_clan_report";
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
uiScript EliteClanReportCheater;
|
||||
close self;
|
||||
}
|
||||
exp rect y ((2 * (20 + 2)) + (0 + 4) + ((23 * 1) + (16.367 * 0))) + ((0 - 1.333));
|
||||
exp rect w 260 - 0;
|
||||
exp rect x (0 + (0 + 8));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 11.667 0 260 19.567 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when((1) && (1));
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 3
|
||||
exp text "@MENU_REPORT_CHEATING";
|
||||
exp rect y (((2 * (20 + 2)) + (0 + 4) + ((23 * 1) + (16.367 * 0))) + (0 - 1.333)) - 2.333;
|
||||
exp rect w 260;
|
||||
exp forecolor r select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(popup_clan_report,2)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "popup_clan_report", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(popup_clan_report,2)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "popup_clan_report", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor g select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(popup_clan_report,2)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "popup_clan_report", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(popup_clan_report,2)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "popup_clan_report", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor b select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(popup_clan_report,2)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "popup_clan_report", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(popup_clan_report,2)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "popup_clan_report", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp rect x (0 + (0 + 8));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "popup_clan_report_3"
|
||||
rect 11.667 0 260 22 2 2
|
||||
style 3
|
||||
type 1
|
||||
visible when(1);
|
||||
disabled when(0);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0
|
||||
background "white"
|
||||
onFocus
|
||||
{
|
||||
setLocalVarString ui_swf_selection "SWF_POPUP_BUTTON_NAME(popup_clan_report,3)";
|
||||
setLocalVarInt ui_buttonNavGroupCurrent_popup 3;
|
||||
setLocalVarString ui_buttonNavGroupName_popup "popup_clan_report";
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis ((1) && !(0));
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis (1);
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled (0);
|
||||
setLocalVarString ui_swfPopupContext "popup_clan_report";
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
uiScript EliteClanReportBooster;
|
||||
close self;
|
||||
}
|
||||
exp rect y ((3 * (20 + 2)) + (0 + 4) + ((23 * 1) + (16.367 * 0))) + ((0 - 1.333));
|
||||
exp rect w 260 - 0;
|
||||
exp rect x (0 + (0 + 8));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 11.667 0 260 19.567 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when((1) && (1));
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 3
|
||||
exp text "@MENU_REPORT_BOOSTING";
|
||||
exp rect y (((3 * (20 + 2)) + (0 + 4) + ((23 * 1) + (16.367 * 0))) + (0 - 1.333)) - 2.333;
|
||||
exp rect w 260;
|
||||
exp forecolor r select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(popup_clan_report,3)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "popup_clan_report", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(popup_clan_report,3)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "popup_clan_report", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor g select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(popup_clan_report,3)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "popup_clan_report", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(popup_clan_report,3)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "popup_clan_report", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor b select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(popup_clan_report,3)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "popup_clan_report", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(popup_clan_report,3)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "popup_clan_report", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp rect x (0 + (0 + 8));
|
||||
}
|
||||
}
|
||||
}
|
289
zone_raw/patch_mp/ui_mp/popup_connecting.menu
Normal file
289
zone_raw/patch_mp/ui_mp/popup_connecting.menu
Normal file
@ -0,0 +1,289 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "popup_connecting"
|
||||
rect 0 0 0 0 2 2
|
||||
focuscolor 1 1 1 1
|
||||
outOfBoundsClick
|
||||
popup
|
||||
legacySplitScreenScale
|
||||
exp rect X 0 - (260 * 0.5);
|
||||
exp rect Y 0 - ((localvarint("ui_swfPopupDescResizeHeight")) * 0.5);
|
||||
exp rect W 260;
|
||||
exp rect H (localvarint("ui_swfPopupDescResizeHeight"));
|
||||
onOpen
|
||||
{
|
||||
setLocalVarFloat ui_swfPopupDescResizeTextHeight (getwrappedtextheight(getwaitpopupstatus(3), (float((260 - 16))), 3, 0.375, 0, 0));
|
||||
setLocalVarInt ui_swfPopupDescResizeButtons (int((localvarfloat("ui_swfPopupDescResizeTextHeight") + ((20 + 2) / 2) + 5) / (20 + 2)) + 1);
|
||||
setLocalVarInt ui_swfPopupDescResizeHeight ((((23 * 1) + (16.367 * 0)) + ((localvarint("ui_swfPopupDescResizeButtons") + 0 + 1) * (20 + 2)) + 5));
|
||||
setLocalVarInt ui_swfPopupDescResizeButtonYOffset ((20 + 2) * (localvarint("ui_swfPopupDescResizeButtons") + 0));
|
||||
setLocalVarInt ui_buttonNavGroupOffset_popup 0;
|
||||
setLocalVarInt ui_buttonNavGroupCurrent_popup 0;
|
||||
setLocalVarString ui_buttonNavGroupName_popup "invalid";
|
||||
setLocalVarBool ui_swfSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfSelectionDisabled 0;
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled 0;
|
||||
setLocalVarString ui_swfPopupContext "invalid";
|
||||
setLocalVarBool ui_centerPopup 1;
|
||||
play tabs_slide;
|
||||
focusfirst;
|
||||
setfocus SWF_COMMON_DESC_RESIZE_POPUP_1_NAME_0;
|
||||
focusfirst;
|
||||
}
|
||||
onClose
|
||||
{
|
||||
setLocalVarBool ui_centerPopup 0;
|
||||
play "";
|
||||
}
|
||||
onESC
|
||||
{
|
||||
close self;
|
||||
close menu_xboxlive;
|
||||
close menu_xboxlive_lobby;
|
||||
close menu_xboxlive_privatelobby;
|
||||
close menu_systemlink;
|
||||
close menu_systemlink_join;
|
||||
close menu_gamesetup_systemlink;
|
||||
close menu_gamesetup_splitscreen;
|
||||
close popup_gamesetup;
|
||||
close popup_gamesetup_splitscreen;
|
||||
close popup_findgame;
|
||||
close self;
|
||||
close cac_popup;
|
||||
close popup_gamesetup_private;
|
||||
close coop_lobby;
|
||||
close error_popmenu_lobby;
|
||||
setdvar onlinegame 0;
|
||||
setdvar systemlink 0;
|
||||
setdvar specialops 0;
|
||||
setdvar so_survival 0;
|
||||
exec stopPrivateListen;
|
||||
exec coopStopSearch;
|
||||
exec "useonlinestats 0";
|
||||
exec statsdownloadcancel;
|
||||
exec xstopparty;
|
||||
exec xstopprivateparty;
|
||||
exec xcancelconnectingdialog;
|
||||
exec "forcesplitscreencontrol WAITING_POPUP_CANCELED_ACTION";
|
||||
}
|
||||
onFocusDueToClose
|
||||
{
|
||||
setLocalVarFloat ui_swfPopupDescResizeTextHeight (getwrappedtextheight(getwaitpopupstatus(3), (float((260 - 16))), 3, 0.375, 0, 0));
|
||||
setLocalVarInt ui_swfPopupDescResizeButtons (int((localvarfloat("ui_swfPopupDescResizeTextHeight") + ((20 + 2) / 2) + 5) / (20 + 2)) + 1);
|
||||
setLocalVarInt ui_swfPopupDescResizeHeight ((((23 * 1) + (16.367 * 0)) + ((localvarint("ui_swfPopupDescResizeButtons") + 0 + 1) * (20 + 2)) + 5));
|
||||
setLocalVarInt ui_swfPopupDescResizeButtonYOffset ((20 + 2) * (localvarint("ui_swfPopupDescResizeButtons") + 0));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -1280 -480 2560 960 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(menuistopmost("popup_connecting"));
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0.8
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -131.333 -78.667 262.667 130.667 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0.3098 0.349 0.2745 1
|
||||
background "white"
|
||||
exp rect y 0 + "SWF_POPUP_GLOBAL_Y_OFFSET";
|
||||
exp rect h (localvarint("ui_swfPopupDescResizeHeight")) + 0;
|
||||
exp rect x 0 + "SWF_POPUP_GLOBAL_X_OFFSET";
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 260 1 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1 && 1);
|
||||
textscale 0.55
|
||||
forecolor 0.1569 0.1725 0.1608 1
|
||||
background "white"
|
||||
exp rect x 0;
|
||||
exp rect y 0;
|
||||
exp rect h (1 * 22) + (16.367 * 0) + 2;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 8.666 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1 && 1);
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar_shadow"
|
||||
exp rect x (0 + "X_OFFSET");
|
||||
exp rect y 0 + (1 * 22) + (16.367 * 0);
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 1 244 22 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when(1);
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 9
|
||||
exp text "@MENU_PLEASE_WAIT";
|
||||
exp rect x (0 + 8);
|
||||
exp rect y (0 + 4) - 4;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 244 20 2 2
|
||||
style 1
|
||||
decoration
|
||||
autowrapped
|
||||
visible when(1);
|
||||
textalign 4
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
exp text getwaitpopupstatus(3);
|
||||
exp rect x ((0 + 8) + 0);
|
||||
exp rect y (0 + (0 * (20 + 2)) + (0 + 4) + ((23 * 1) + (16.367 * 0))) - 2.333;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 260 1 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0.2118 0.2314 0.22 1
|
||||
background "white"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + (0 * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0)));
|
||||
exp rect h ((20 + 2) * 1) + 1;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 8.666 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfPopupSelectionBarVis") && (localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME") && (localvarstring("ui_swfPopupContext") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME"));
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar_shadow"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + ((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0))) + (20 + 0.3333);
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 20 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfPopupSelectionBarVis") && (localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME") && (localvarstring("ui_swfPopupContext") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME"));
|
||||
textscale 0.55
|
||||
forecolor 0.6 0.6314 0.6 0.2
|
||||
background "white"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + ((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0)));
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 20 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfPopupSelectionBarVis") && (localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME") && (localvarstring("ui_swfPopupContext") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME"));
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + ((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0)));
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@PLATFORM_NAVBAR_BUTTON_FOCUSED_SELECTBUTTON"
|
||||
rect 0 0 20 20 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfPopupSelectionButtonVis") && (localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME") && (localvarstring("ui_swfPopupContext") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME"));
|
||||
textalign 10
|
||||
textscale 0.30625
|
||||
textfont 3
|
||||
exp rect x (0 + (0 + 260 - 24));
|
||||
exp rect y (((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + ((0 + 4) + ((23 * 1) + (16.367 * 0))) - 1.167) - 1.8;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME_0"
|
||||
rect 11.667 0 260 22 2 2
|
||||
style 3
|
||||
type 1
|
||||
visible when(1);
|
||||
disabled when(0);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0
|
||||
background "white"
|
||||
onFocus
|
||||
{
|
||||
setLocalVarString ui_swf_selection "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_1_NAME,0)";
|
||||
setLocalVarInt ui_buttonNavGroupCurrent_popup 0;
|
||||
setLocalVarString ui_buttonNavGroupName_popup "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME";
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis ((1) && !(0));
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis (1);
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled (0);
|
||||
setLocalVarString ui_swfPopupContext "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME";
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
escape self;
|
||||
}
|
||||
exp rect y ((0 * (20 + 2)) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + (0 + 4) + ((23 * 1) + (16.367 * 0))) + ((0 - 1.333));
|
||||
exp rect w 260 - 0;
|
||||
exp rect x (0 + (0 + 8));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 11.667 0 260 19.567 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when((1) && (1));
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 3
|
||||
exp text "@MENU_CANCEL";
|
||||
exp rect y (((0 * (20 + 2)) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + (0 + 4) + ((23 * 1) + (16.367 * 0))) + (0 - 1.333)) - 2.333;
|
||||
exp rect w 260;
|
||||
exp forecolor r select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_1_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_1_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor g select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_1_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_1_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor b select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_1_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_1_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_1_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp rect x (0 + (0 + 8));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 244 20 2 2
|
||||
style 1
|
||||
decoration
|
||||
autowrapped
|
||||
visible when(1);
|
||||
textalign 6
|
||||
textscale 0.30625
|
||||
textfont 3
|
||||
exp text "@PLATFORM_BACK_BUTTON";
|
||||
exp rect x ((0 + 8) + 4);
|
||||
exp rect y (1.5 + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + (0 * (20 + 2)) + (0 + 4) + ((23 * 1) + (16.367 * 0))) - 2.333;
|
||||
}
|
||||
}
|
||||
}
|
325
zone_raw/patch_mp/ui_mp/popup_demo_keyboard.menu
Normal file
325
zone_raw/patch_mp/ui_mp/popup_demo_keyboard.menu
Normal file
@ -0,0 +1,325 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "popup_demo_keyboard"
|
||||
rect 0 0 0 0 2 2
|
||||
focuscolor 1 1 1 1
|
||||
outOfBoundsClick
|
||||
popup
|
||||
legacySplitScreenScale
|
||||
exp rect X 0 - (330 * 0.5);
|
||||
exp rect Y 0 - ((((23 * 1) + (16.367 * 0)) + (3 * (20 + 2)) + 5) * 0.5);
|
||||
exp rect W 330;
|
||||
exp rect H (((23 * 1) + (16.367 * 0)) + (3 * (20 + 2)) + 5);
|
||||
onOpen
|
||||
{
|
||||
setLocalVarInt ui_buttonNavGroupOffset_popup 0;
|
||||
setLocalVarInt ui_buttonNavGroupCurrent_popup 0;
|
||||
setLocalVarString ui_buttonNavGroupName_popup "invalid";
|
||||
setLocalVarBool ui_swfSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfSelectionDisabled 0;
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled 0;
|
||||
setLocalVarString ui_swfPopupContext "invalid";
|
||||
setLocalVarBool ui_centerPopup 1;
|
||||
play tabs_slide;
|
||||
lerp x from - 460 to 0 over "0.05";
|
||||
focusfirst;
|
||||
setfocus popup_demo_keyboard_1;
|
||||
focusfirst;
|
||||
setFocus nameEntry;
|
||||
}
|
||||
onClose
|
||||
{
|
||||
setLocalVarBool ui_centerPopup 0;
|
||||
play "";
|
||||
}
|
||||
onESC
|
||||
{
|
||||
close self;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -1280 -480 2560 960 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(menuistopmost("popup_demo_keyboard"));
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0.8
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -131.333 -78.667 262.667 130.667 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0.3098 0.349 0.2745 1
|
||||
background "white"
|
||||
exp rect y 0 + "SWF_POPUP_GLOBAL_Y_OFFSET";
|
||||
exp rect h (((23 * 1) + (16.367 * 0)) + (3 * (20 + 2)) + 5) + 0;
|
||||
exp rect x 0 + "SWF_POPUP_GLOBAL_X_OFFSET";
|
||||
exp rect w 330;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 330 1 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1 && 1);
|
||||
textscale 0.55
|
||||
forecolor 0.1569 0.1725 0.1608 1
|
||||
background "white"
|
||||
exp rect x 0;
|
||||
exp rect y 0;
|
||||
exp rect h (1 * 22) + (16.367 * 0) + 2;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 8.666 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1 && 1);
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar_shadow"
|
||||
exp rect x (0 + "X_OFFSET");
|
||||
exp rect y 0 + (1 * 22) + (16.367 * 0);
|
||||
exp rect w 330;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 1 314 22 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when(1);
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 9
|
||||
exp text dvarstring(cl_demo_ui_keyboardtitle);
|
||||
exp rect x (0 + 8);
|
||||
exp rect y (0 + 4) - 4;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 0 19 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
backcolor 0 0 0 1
|
||||
exp rect x (((0 + 8) + 0)) - 7;
|
||||
exp rect y ((0 + (0 * (20 + 2)) + (0 - 1 * (0 != 0)) + (0 + 4) + ((23 * 1) + (16.367 * 0))) - 2.333) + 1;
|
||||
exp rect w ((330 - 16)) + 14;
|
||||
exp backcolor r select((getfocuseditemname() == "nameEntry"), 0.176, 0);
|
||||
exp backcolor g select((getfocuseditemname() == "nameEntry"), 0.188, 0);
|
||||
exp backcolor b select((getfocuseditemname() == "nameEntry"), 0.153, 0);
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "nameEntry"
|
||||
text " "
|
||||
rect 0 0 314 20 2 2
|
||||
style 1
|
||||
type 22
|
||||
visible when(1);
|
||||
textalign 4
|
||||
textalignx -10
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
onFocus
|
||||
{
|
||||
play mouse_over;
|
||||
}
|
||||
accept
|
||||
{
|
||||
play mouse_click;
|
||||
exec "cl_demo_keyboardcomplete 0";
|
||||
close self;
|
||||
}
|
||||
exp rect x ((0 + 8) + 0);
|
||||
exp rect y (0 + (0 * (20 + 2)) + (0 - 1 * (0 != 0)) + (0 + 4) + ((23 * 1) + (16.367 * 0))) - 2.333;
|
||||
dvar "cl_demo_ui_keyboard_edittext"
|
||||
maxChars 1024
|
||||
maxPaintChars 31
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 330 1 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0.2118 0.2314 0.22 1
|
||||
background "white"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + (1 * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0)));
|
||||
exp rect h ((20 + 2) * 2) + 1;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 8.666 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfPopupSelectionBarVis") && (localvarstring("ui_buttonNavGroupName_popup") == "popup_demo_keyboard") && (localvarstring("ui_swfPopupContext") == "popup_demo_keyboard"));
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar_shadow"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + ((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0))) + (20 + 0.3333);
|
||||
exp rect w 330;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 20 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfPopupSelectionBarVis") && (localvarstring("ui_buttonNavGroupName_popup") == "popup_demo_keyboard") && (localvarstring("ui_swfPopupContext") == "popup_demo_keyboard"));
|
||||
textscale 0.55
|
||||
forecolor 0.6 0.6314 0.6 0.2
|
||||
background "white"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + ((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0)));
|
||||
exp rect w 330;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 20 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfPopupSelectionBarVis") && (localvarstring("ui_buttonNavGroupName_popup") == "popup_demo_keyboard") && (localvarstring("ui_swfPopupContext") == "popup_demo_keyboard"));
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + ((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0)));
|
||||
exp rect w 330;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@PLATFORM_NAVBAR_BUTTON_FOCUSED_SELECTBUTTON"
|
||||
rect 0 0 20 20 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfPopupSelectionButtonVis") && (localvarstring("ui_buttonNavGroupName_popup") == "popup_demo_keyboard") && (localvarstring("ui_swfPopupContext") == "popup_demo_keyboard"));
|
||||
textalign 10
|
||||
textscale 0.30625
|
||||
textfont 3
|
||||
exp rect x (0 + (0 + 330 - 24));
|
||||
exp rect y (((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0))) - 1.167) - 1.8;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "popup_demo_keyboard_1"
|
||||
rect 11.667 0 330 22 2 2
|
||||
style 3
|
||||
type 1
|
||||
visible when(1);
|
||||
disabled when(0);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0
|
||||
background "white"
|
||||
onFocus
|
||||
{
|
||||
setLocalVarString ui_swf_selection "SWF_POPUP_BUTTON_NAME(popup_demo_keyboard,1)";
|
||||
setLocalVarInt ui_buttonNavGroupCurrent_popup 1;
|
||||
setLocalVarString ui_buttonNavGroupName_popup "popup_demo_keyboard";
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis ((1) && !(0));
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis (1);
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled (0);
|
||||
setLocalVarString ui_swfPopupContext "popup_demo_keyboard";
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
exec "cl_demo_keyboardcomplete 0";
|
||||
close self;
|
||||
}
|
||||
exp rect y ((1 * (20 + 2)) + (0 + 4) + ((23 * 1) + (16.367 * 0))) + ((0 - 1.333));
|
||||
exp rect w 330 - 0;
|
||||
exp rect x (0 + (0 + 8));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 11.667 0 330 19.567 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when((1) && (1));
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 3
|
||||
exp text "@MENU_OK";
|
||||
exp rect y (((1 * (20 + 2)) + (0 + 4) + ((23 * 1) + (16.367 * 0))) + (0 - 1.333)) - 2.333;
|
||||
exp rect w 330;
|
||||
exp forecolor r select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(popup_demo_keyboard,1)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "popup_demo_keyboard", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(popup_demo_keyboard,1)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "popup_demo_keyboard", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor g select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(popup_demo_keyboard,1)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "popup_demo_keyboard", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(popup_demo_keyboard,1)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "popup_demo_keyboard", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor b select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(popup_demo_keyboard,1)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "popup_demo_keyboard", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(popup_demo_keyboard,1)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "popup_demo_keyboard", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp rect x (0 + (0 + 8));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "popup_demo_keyboard_2"
|
||||
rect 11.667 0 330 22 2 2
|
||||
style 3
|
||||
type 1
|
||||
visible when(1);
|
||||
disabled when(0);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0
|
||||
background "white"
|
||||
onFocus
|
||||
{
|
||||
setLocalVarString ui_swf_selection "SWF_POPUP_BUTTON_NAME(popup_demo_keyboard,2)";
|
||||
setLocalVarInt ui_buttonNavGroupCurrent_popup 2;
|
||||
setLocalVarString ui_buttonNavGroupName_popup "popup_demo_keyboard";
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis ((1) && !(0));
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis (1);
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled (0);
|
||||
setLocalVarString ui_swfPopupContext "popup_demo_keyboard";
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
exec "cl_demo_keyboardcomplete 1";
|
||||
close self;
|
||||
}
|
||||
exp rect y ((2 * (20 + 2)) + (0 + 4) + ((23 * 1) + (16.367 * 0))) + ((0 - 1.333));
|
||||
exp rect w 330 - 0;
|
||||
exp rect x (0 + (0 + 8));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 11.667 0 330 19.567 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when((1) && (1));
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 3
|
||||
exp text "@MENU_CANCEL";
|
||||
exp rect y (((2 * (20 + 2)) + (0 + 4) + ((23 * 1) + (16.367 * 0))) + (0 - 1.333)) - 2.333;
|
||||
exp rect w 330;
|
||||
exp forecolor r select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(popup_demo_keyboard,2)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "popup_demo_keyboard", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(popup_demo_keyboard,2)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "popup_demo_keyboard", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor g select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(popup_demo_keyboard,2)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "popup_demo_keyboard", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(popup_demo_keyboard,2)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "popup_demo_keyboard", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor b select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(popup_demo_keyboard,2)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "popup_demo_keyboard", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(popup_demo_keyboard,2)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "popup_demo_keyboard", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp rect x (0 + (0 + 8));
|
||||
}
|
||||
}
|
||||
}
|
120
zone_raw/patch_mp/ui_mp/popup_elite_clan_updating_motd.menu
Normal file
120
zone_raw/patch_mp/ui_mp/popup_elite_clan_updating_motd.menu
Normal file
@ -0,0 +1,120 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "popup_elite_clan_updating_motd"
|
||||
rect 0 0 0 0 2 2
|
||||
focuscolor 1 1 1 1
|
||||
outOfBoundsClick
|
||||
popup
|
||||
legacySplitScreenScale
|
||||
exp rect X 0 - (180 * 0.5);
|
||||
exp rect Y 0 - ((((23 * 0) + (16.367 * 0)) + (2 * (20 + 2)) + 5) * 0.5);
|
||||
exp rect W 180;
|
||||
exp rect H (((23 * 0) + (16.367 * 0)) + (2 * (20 + 2)) + 5);
|
||||
itemDef
|
||||
{
|
||||
rect -1280 -480 2560 960 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(menuistopmost("popup_elite_clan_updating_motd"));
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0.8
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -131.333 -78.667 262.667 130.667 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0.3098 0.349 0.2745 1
|
||||
background "white"
|
||||
exp rect y 0 + "SWF_POPUP_GLOBAL_Y_OFFSET";
|
||||
exp rect h (((23 * 0) + (16.367 * 0)) + (2 * (20 + 2)) + 5) + 0;
|
||||
exp rect x 0 + "SWF_POPUP_GLOBAL_X_OFFSET";
|
||||
exp rect w 180;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 180 1 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1 && 0);
|
||||
textscale 0.55
|
||||
forecolor 0.1569 0.1725 0.1608 1
|
||||
background "white"
|
||||
exp rect x 0;
|
||||
exp rect y 0;
|
||||
exp rect h (0 * 22) + (16.367 * 0) + 2;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 8.666 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1 && 0);
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar_shadow"
|
||||
exp rect x (0 + "X_OFFSET");
|
||||
exp rect y 0 + (0 * 22) + (16.367 * 0);
|
||||
exp rect w 180;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 164 20 2 2
|
||||
style 1
|
||||
decoration
|
||||
autowrapped
|
||||
visible when(1);
|
||||
textalign 5
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
exp text "@MENU_FACEBOOK_UPLOADING";
|
||||
exp rect x ((0 + 8) + 0);
|
||||
exp rect y ((0 * (20 + 2)) + (0 + 4) + ((23 * 0) + (16.367 * 0))) - 2.333;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 164 20 2 2
|
||||
style 1
|
||||
decoration
|
||||
autowrapped
|
||||
visible when((sin(milliseconds() * 0.005) + 1) * 0.5 > 0.25 && (sin(milliseconds() * 0.005) + 1) * 0.5 <= 0.5);
|
||||
textalign 5
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
exp text ".";
|
||||
exp rect x ((0 + 8) + 0);
|
||||
exp rect y ((1 * (20 + 2)) + (0 + 4) + ((23 * 0) + (16.367 * 0))) - 2.333;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 164 20 2 2
|
||||
style 1
|
||||
decoration
|
||||
autowrapped
|
||||
visible when((sin(milliseconds() * 0.005) + 1) * 0.5 > 0.5 && (sin(milliseconds() * 0.005) + 1) * 0.5 <= 0.75);
|
||||
textalign 5
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
exp text "..";
|
||||
exp rect x ((0 + 8) + 0);
|
||||
exp rect y ((1 * (20 + 2)) + (0 + 4) + ((23 * 0) + (16.367 * 0))) - 2.333;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 164 20 2 2
|
||||
style 1
|
||||
decoration
|
||||
autowrapped
|
||||
visible when((sin(milliseconds() * 0.005) + 1) * 0.5 > 0.75);
|
||||
textalign 5
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
exp text "...";
|
||||
exp rect x ((0 + 8) + 0);
|
||||
exp rect y ((1 * (20 + 2)) + (0 + 4) + ((23 * 0) + (16.367 * 0))) - 2.333;
|
||||
}
|
||||
}
|
||||
}
|
361
zone_raw/patch_mp/ui_mp/popup_enddemo_clipmodified.menu
Normal file
361
zone_raw/patch_mp/ui_mp/popup_enddemo_clipmodified.menu
Normal file
@ -0,0 +1,361 @@
|
||||
{
|
||||
menuDef
|
||||
{
|
||||
name "popup_enddemo_clipmodified"
|
||||
rect 0 0 0 0 2 2
|
||||
focuscolor 1 1 1 1
|
||||
outOfBoundsClick
|
||||
popup
|
||||
legacySplitScreenScale
|
||||
exp rect X 0 - (260 * 0.5);
|
||||
exp rect Y 0 - ((localvarint("ui_swfPopupDescResizeHeight")) * 0.5);
|
||||
exp rect W 260;
|
||||
exp rect H (localvarint("ui_swfPopupDescResizeHeight"));
|
||||
onOpen
|
||||
{
|
||||
setLocalVarFloat ui_swfPopupDescResizeTextHeight (getwrappedtextheight(locstring("@MENU_DEMO_UNUPLOADED_CLIP"), (float((260 - 16))), 3, 0.375, 0, 0));
|
||||
setLocalVarInt ui_swfPopupDescResizeButtons (int((localvarfloat("ui_swfPopupDescResizeTextHeight") + ((20 + 2) / 2) + 5) / (20 + 2)) + 1);
|
||||
setLocalVarInt ui_swfPopupDescResizeHeight ((((23 * 1) + (16.367 * 0)) + ((localvarint("ui_swfPopupDescResizeButtons") + 0 + 3) * (20 + 2)) + 5));
|
||||
setLocalVarInt ui_swfPopupDescResizeButtonYOffset ((20 + 2) * (localvarint("ui_swfPopupDescResizeButtons") + 0));
|
||||
setLocalVarInt ui_buttonNavGroupOffset_popup 0;
|
||||
setLocalVarInt ui_buttonNavGroupCurrent_popup 0;
|
||||
setLocalVarString ui_buttonNavGroupName_popup "invalid";
|
||||
setLocalVarBool ui_swfSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfSelectionDisabled 0;
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled 0;
|
||||
setLocalVarString ui_swfPopupContext "invalid";
|
||||
setLocalVarBool ui_centerPopup 1;
|
||||
play tabs_slide;
|
||||
lerp x from - 460 to 0 over "0.05";
|
||||
focusfirst;
|
||||
setfocus SWF_COMMON_DESC_RESIZE_POPUP_3_NAME_2;
|
||||
focusfirst;
|
||||
}
|
||||
onClose
|
||||
{
|
||||
setLocalVarBool ui_centerPopup 0;
|
||||
play "";
|
||||
}
|
||||
onESC
|
||||
{
|
||||
close self;
|
||||
}
|
||||
onFocusDueToClose
|
||||
{
|
||||
setLocalVarFloat ui_swfPopupDescResizeTextHeight (getwrappedtextheight("@MENU_DEMO_UNUPLOADED_CLIP", (float((260 - 16))), 3, 0.375, 0, 0));
|
||||
setLocalVarInt ui_swfPopupDescResizeButtons (int((localvarfloat("ui_swfPopupDescResizeTextHeight") + ((20 + 2) / 2) + 5) / (20 + 2)) + 1);
|
||||
setLocalVarInt ui_swfPopupDescResizeHeight ((((23 * 1) + (16.367 * 0)) + ((localvarint("ui_swfPopupDescResizeButtons") + 0 + 3) * (20 + 2)) + 5));
|
||||
setLocalVarInt ui_swfPopupDescResizeButtonYOffset ((20 + 2) * (localvarint("ui_swfPopupDescResizeButtons") + 0));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -1280 -480 2560 960 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(menuistopmost("popup_enddemo_clipmodified"));
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0.8
|
||||
background "white"
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect -131.333 -78.667 262.667 130.667 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0.3098 0.349 0.2745 1
|
||||
background "white"
|
||||
exp rect y 0 + "SWF_POPUP_GLOBAL_Y_OFFSET";
|
||||
exp rect h (localvarint("ui_swfPopupDescResizeHeight")) + 0;
|
||||
exp rect x 0 + "SWF_POPUP_GLOBAL_X_OFFSET";
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 260 1 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1 && 1);
|
||||
textscale 0.55
|
||||
forecolor 0.1569 0.1725 0.1608 1
|
||||
background "white"
|
||||
exp rect x 0;
|
||||
exp rect y 0;
|
||||
exp rect h (1 * 22) + (16.367 * 0) + 2;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 8.666 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1 && 1);
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar_shadow"
|
||||
exp rect x (0 + "X_OFFSET");
|
||||
exp rect y 0 + (1 * 22) + (16.367 * 0);
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 1 244 22 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when(1);
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 9
|
||||
exp text "@MENU_DEMO_END_FILM1";
|
||||
exp rect x (0 + 8);
|
||||
exp rect y (0 + 4) - 4;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 244 20 2 2
|
||||
style 1
|
||||
decoration
|
||||
autowrapped
|
||||
visible when(1);
|
||||
textalign 4
|
||||
textscale 0.375
|
||||
textfont 3
|
||||
exp text "@MENU_DEMO_UNUPLOADED_CLIP";
|
||||
exp rect x ((0 + 8) + 0);
|
||||
exp rect y (0 + (0 * (20 + 2)) + (0 + 4) + ((23 * 1) + (16.367 * 0))) - 2.333;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 260 1 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(1);
|
||||
textscale 0.55
|
||||
forecolor 0.2118 0.2314 0.22 1
|
||||
background "white"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + (0 * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0)));
|
||||
exp rect h ((20 + 2) * 3) + 1;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 8.666 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfPopupSelectionBarVis") && (localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_3_NAME") && (localvarstring("ui_swfPopupContext") == "SWF_COMMON_DESC_RESIZE_POPUP_3_NAME"));
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar_shadow"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + ((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0))) + (20 + 0.3333);
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 20 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfPopupSelectionBarVis") && (localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_3_NAME") && (localvarstring("ui_swfPopupContext") == "SWF_COMMON_DESC_RESIZE_POPUP_3_NAME"));
|
||||
textscale 0.55
|
||||
forecolor 0.6 0.6314 0.6 0.2
|
||||
background "white"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + ((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0)));
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 0 0 1 20 2 2
|
||||
style 3
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfPopupSelectionBarVis") && (localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_3_NAME") && (localvarstring("ui_swfPopupContext") == "SWF_COMMON_DESC_RESIZE_POPUP_3_NAME"));
|
||||
textscale 0.55
|
||||
background "navbar_selection_bar"
|
||||
exp rect x (0 + 0);
|
||||
exp rect y (0 - 3.5) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + ((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + ((0 + 4) + ((23 * 1) + (16.367 * 0)));
|
||||
exp rect w 260;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
text "@PLATFORM_NAVBAR_BUTTON_FOCUSED_SELECTBUTTON"
|
||||
rect 0 0 20 20 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when(localvarbool("ui_swfPopupSelectionButtonVis") && (localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_3_NAME") && (localvarstring("ui_swfPopupContext") == "SWF_COMMON_DESC_RESIZE_POPUP_3_NAME"));
|
||||
textalign 10
|
||||
textscale 0.30625
|
||||
textfont 3
|
||||
exp rect x (0 + (0 + 260 - 24));
|
||||
exp rect y (((localvarint("ui_buttonNavGroupCurrent_popup") - localvarint("ui_buttonNavGroupOffset_popup")) * (20 + 2)) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + ((0 + 4) + ((23 * 1) + (16.367 * 0))) - 1.167) - 1.8;
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "SWF_COMMON_DESC_RESIZE_POPUP_3_NAME_0"
|
||||
rect 11.667 0 260 22 2 2
|
||||
style 3
|
||||
type 1
|
||||
visible when(1);
|
||||
disabled when((!canuseraccessonlinevault()));
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0
|
||||
background "white"
|
||||
onFocus
|
||||
{
|
||||
setLocalVarString ui_swf_selection "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_3_NAME,0)";
|
||||
setLocalVarInt ui_buttonNavGroupCurrent_popup 0;
|
||||
setLocalVarString ui_buttonNavGroupName_popup "SWF_COMMON_DESC_RESIZE_POPUP_3_NAME";
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis ((1) && !((!canuseraccessonlinevault())));
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis (1);
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled ((!canuseraccessonlinevault()));
|
||||
setLocalVarString ui_swfPopupContext "SWF_COMMON_DESC_RESIZE_POPUP_3_NAME";
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
open clip_save_screen;
|
||||
close self;
|
||||
}
|
||||
exp rect y ((0 * (20 + 2)) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + (0 + 4) + ((23 * 1) + (16.367 * 0))) + ((0 - 1.333));
|
||||
exp rect w 260 - 0;
|
||||
exp rect x (0 + (0 + 8));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 11.667 0 260 19.567 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when((1) && (1));
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 3
|
||||
exp text "@MENU_DEMO_SAVE_CLIP";
|
||||
exp rect y (((0 * (20 + 2)) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + (0 + 4) + ((23 * 1) + (16.367 * 0))) + (0 - 1.333)) - 2.333;
|
||||
exp rect w 260;
|
||||
exp forecolor r select((!canuseraccessonlinevault()), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_3_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_3_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_3_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_3_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor g select((!canuseraccessonlinevault()), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_3_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_3_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_3_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_3_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor b select((!canuseraccessonlinevault()), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_3_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_3_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_3_NAME,0)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_3_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp rect x (0 + (0 + 8));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "SWF_COMMON_DESC_RESIZE_POPUP_3_NAME_1"
|
||||
rect 11.667 0 260 22 2 2
|
||||
style 3
|
||||
type 1
|
||||
visible when(1);
|
||||
disabled when(0);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0
|
||||
background "white"
|
||||
onFocus
|
||||
{
|
||||
setLocalVarString ui_swf_selection "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_3_NAME,1)";
|
||||
setLocalVarInt ui_buttonNavGroupCurrent_popup 1;
|
||||
setLocalVarString ui_buttonNavGroupName_popup "SWF_COMMON_DESC_RESIZE_POPUP_3_NAME";
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis ((1) && !(0));
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis (1);
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled (0);
|
||||
setLocalVarString ui_swfPopupContext "SWF_COMMON_DESC_RESIZE_POPUP_3_NAME";
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
exec disconnect;
|
||||
close self;
|
||||
}
|
||||
exp rect y ((1 * (20 + 2)) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + (0 + 4) + ((23 * 1) + (16.367 * 0))) + ((0 - 1.333));
|
||||
exp rect w 260 - 0;
|
||||
exp rect x (0 + (0 + 8));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 11.667 0 260 19.567 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when((1) && (1));
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 3
|
||||
exp text "@MENU_DEMO_END_FILM_WITHOUT_SAVING";
|
||||
exp rect y (((1 * (20 + 2)) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + (0 + 4) + ((23 * 1) + (16.367 * 0))) + (0 - 1.333)) - 2.333;
|
||||
exp rect w 260;
|
||||
exp forecolor r select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_3_NAME,1)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_3_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_3_NAME,1)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_3_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor g select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_3_NAME,1)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_3_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_3_NAME,1)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_3_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor b select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_3_NAME,1)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_3_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_3_NAME,1)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_3_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp rect x (0 + (0 + 8));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
name "SWF_COMMON_DESC_RESIZE_POPUP_3_NAME_2"
|
||||
rect 11.667 0 260 22 2 2
|
||||
style 3
|
||||
type 1
|
||||
visible when(1);
|
||||
disabled when(0);
|
||||
textscale 0.55
|
||||
forecolor 0 0 0 0
|
||||
background "white"
|
||||
onFocus
|
||||
{
|
||||
setLocalVarString ui_swf_selection "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_3_NAME,2)";
|
||||
setLocalVarInt ui_buttonNavGroupCurrent_popup 2;
|
||||
setLocalVarString ui_buttonNavGroupName_popup "SWF_COMMON_DESC_RESIZE_POPUP_3_NAME";
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis ((1) && !(0));
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis (1);
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled (0);
|
||||
setLocalVarString ui_swfPopupContext "SWF_COMMON_DESC_RESIZE_POPUP_3_NAME";
|
||||
play mouse_over;
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setLocalVarBool ui_swfPopupSelectionButtonVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionBarVis 0;
|
||||
setLocalVarBool ui_swfPopupSelectionDisabled 0;
|
||||
}
|
||||
action
|
||||
{
|
||||
play mouse_click;
|
||||
close self;
|
||||
}
|
||||
exp rect y ((2 * (20 + 2)) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + (0 + 4) + ((23 * 1) + (16.367 * 0))) + ((0 - 1.333));
|
||||
exp rect w 260 - 0;
|
||||
exp rect x (0 + (0 + 8));
|
||||
}
|
||||
itemDef
|
||||
{
|
||||
rect 11.667 0 260 19.567 2 2
|
||||
style 1
|
||||
decoration
|
||||
visible when((1) && (1));
|
||||
textalign 8
|
||||
textscale 0.375
|
||||
textstyle 9
|
||||
textfont 3
|
||||
exp text "@MENU_CANCEL";
|
||||
exp rect y (((2 * (20 + 2)) + (localvarint("ui_swfPopupDescResizeButtonYOffset")) + (0 + 4) + ((23 * 1) + (16.367 * 0))) + (0 - 1.333)) - 2.333;
|
||||
exp rect w 260;
|
||||
exp forecolor r select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_3_NAME,2)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_3_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_3_NAME,2)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_3_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor g select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_3_NAME,2)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_3_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_3_NAME,2)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_3_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp forecolor b select(0, select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_3_NAME,2)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_3_NAME", 0, 0.360784), select(localvarstring("ui_swf_selection") == "SWF_POPUP_BUTTON_NAME(SWF_COMMON_DESC_RESIZE_POPUP_3_NAME,2)" && select(localvarbool("ui_centerPopup"), localvarbool("ui_swfPopupSelectionBarVis"), localvarbool("ui_swfSelectionBarVis")) && localvarstring("ui_buttonNavGroupName_popup") == "SWF_COMMON_DESC_RESIZE_POPUP_3_NAME", select(isdemoplaying(), FUNC_36(), FUNC_35()), 1));
|
||||
exp rect x (0 + (0 + 8));
|
||||
}
|
||||
}
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user