{ menuDef { name "startpb_popmenu" rect 0 0 0 144 2 2 style 1 focusColor 1 1 1 1 foreColor 1 1 1 1 fadeCycle 1 fadeClamp 1 fadeAmount 0.1 popup onOpen { setLocalVarInt "ui_centerPopup" ( 1 ); focusFirst; } onClose { play "mouse_click"; setLocalVarInt "ui_centerPopup" ( 0 ); } onESC { close "self"; } itemDef { rect -742 -872 2000 2000 2 2 foreColor 1 1 1 1 type 1 textScale 0.55 textFont 1 text "" visible 1 onFocus { setDvar "ui_popup_close_icon" ( 1 ); } leaveFocus { setDvar "ui_popup_close_icon" ( 0 ); } action { close "self"; } } itemDef { rect -146 -76 284 144 2 2 foreColor 1 1 1 1 type 1 textScale 0.55 textFont 1 text "" visible 1 action { } } itemDef { rect -144 -74 288 148 2 2 style 3 border 1 borderSize 2 foreColor 0.2 0.21 0.25 1 borderColor 0.4 0.405 0.42 1 background "white" decoration textScale 0.55 visible 1 } itemDef { rect -142 -72 284 144 2 2 style 3 foreColor 1 1 1 0.7 background "gradient_bottom" decoration textScale 0.55 visible 1 } itemDef { rect -138 -68 280 0 2 2 foreColor 0.69 0.69 0.69 1 decoration autoWrapped type 1 textAlign 4 textScale 0.375 textStyle 6 textFont 1 visible 1 exp text ( "@MPUI_SYNCPUNKBUSTERSTARTLISTENSERVER" ) // Sync Punkbuster and Start Listen Server } itemDef { rect -140 32 275.5 18 2 2 style 3 foreColor 0.9 0.9 1 0.07 decoration textScale 0.55 visible 1 exp material ( "gradient_fadein" ) } itemDef { rect 135.5 32 4.5 18 2 2 style 3 foreColor 0.9 0.9 1 0.07 background "button_highlight_end" decoration textScale 0.55 visible 1 } itemDef { rect -140 32 275.5 18 2 2 style 3 borderSize 2 foreColor 0.9 0.95 1 0.25 borderColor 0.8 0.95 1 0.4 background "gradient_fadein" decoration textScale 0.55 visible 1 visible when ( localvarint( "ui_highlight" ) == 1 && localvarstring( "ui_choicegroup" ) == "popmenu" ) } itemDef { rect 135.5 32 4.5 18 2 2 style 3 foreColor 0.9 0.95 1 0.25 background "button_highlight_end" decoration textScale 0.55 visible 1 visible when ( localvarint( "ui_highlight" ) == 1 && localvarstring( "ui_choicegroup" ) == "popmenu" ) } itemDef { rect -140 32 280 18 2 2 foreColor 0.69 0.69 0.69 1 type 1 textAlign 10 textAlignX -6 textScale 0.4 textStyle 6 textFont 1 visible 1 onFocus { play "mouse_submenu_over"; setLocalVarInt "ui_highlight" ( 1 ); setLocalVarString "ui_choicegroup" ( "popmenu" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } action { play "mouse_click"; close "self"; close "createserver"; close "pc_join_unranked"; uiScript "setPbClStatus" 1; uiScript "StartServer"; } exp text ( "@MENU_YES" ) } itemDef { rect -140 52 275.5 18 2 2 style 3 foreColor 0.9 0.9 1 0.07 decoration textScale 0.55 visible 1 exp material ( "gradient_fadein" ) } itemDef { rect 135.5 52 4.5 18 2 2 style 3 foreColor 0.9 0.9 1 0.07 background "button_highlight_end" decoration textScale 0.55 visible 1 } itemDef { rect -140 52 275.5 18 2 2 style 3 borderSize 2 foreColor 0.9 0.95 1 0.25 borderColor 0.8 0.95 1 0.4 background "gradient_fadein" decoration textScale 0.55 visible 1 visible when ( localvarint( "ui_highlight" ) == 2 && localvarstring( "ui_choicegroup" ) == "popmenu" ) } itemDef { rect 135.5 52 4.5 18 2 2 style 3 foreColor 0.9 0.95 1 0.25 background "button_highlight_end" decoration textScale 0.55 visible 1 visible when ( localvarint( "ui_highlight" ) == 2 && localvarstring( "ui_choicegroup" ) == "popmenu" ) } itemDef { rect -140 52 280 18 2 2 foreColor 0.69 0.69 0.69 1 type 1 textAlign 10 textAlignX -6 textScale 0.4 textStyle 6 textFont 1 visible 1 onFocus { play "mouse_submenu_over"; setLocalVarInt "ui_highlight" ( 1 ); setLocalVarString "ui_choicegroup" ( "popmenu" ); } leaveFocus { setLocalVarInt "ui_highlight" ( 0 ); } action { play "mouse_click"; close "self"; } exp text ( "@MENU_NO" ) } } }