{ 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); } } }