#include "ui/menudef.h" #include "ui_mp/main.inc" { menuDef { name "mini_map" rect 0 0 640 480 0 0 forecolor 1 1 1 1 focuscolor 1 1 1 1 blurWorld 7 onOpen { lerp y "from" 125 "to" 0 "over" 0.115; focusfirst; } onEsc { scriptmenuresponse "close"; close self; } itemDef { name "fullmap_border" rect -150 -150 300 300 HORIZONTAL_ALIGN_CENTER VERTICAL_ALIGN_CENTER decoration visible 1 border 1 bordersize 0.666667 forecolor 1 1 1 1 bordercolor 1 1 1 0.35 textscale 0.55 visible when ( ( !isempjammed( ) ) ) } itemDef { rect -150 -150 300 300 HORIZONTAL_ALIGN_CENTER VERTICAL_ALIGN_CENTER decoration visible 1 style 3 forecolor 0.89 0.98 0.95 0.05 background "minimap_scanlines" textscale 0.55 visible when ( ( !isempjammed( ) ) ) } itemDef { name "fullmap_map" rect -150 -150 300 300 HORIZONTAL_ALIGN_CENTER VERTICAL_ALIGN_CENTER decoration visible 1 ownerdraw 181 forecolor 1 1 1 1 background "compass_map_default" type 8 textscale 0.55 visible when ( ( !isempjammed( ) ) ) } itemDef { name "fullmap_friendlies" rect -150 -150 300 300 HORIZONTAL_ALIGN_CENTER VERTICAL_ALIGN_CENTER decoration visible 1 ownerdraw 185 forecolor 1 1 1 1 type 8 textscale 0.55 exp forecolor a ( 1 - radarjamintensity( ) ) visible when ( ( !isempjammed( ) ) ) } itemDef { name "fullmap_enemies" rect -150 -150 300 300 HORIZONTAL_ALIGN_CENTER VERTICAL_ALIGN_CENTER decoration visible 1 ownerdraw 188 forecolor 1 1 1 1 type 8 textscale 0.55 exp forecolor a ( 1 - radarjamintensity( ) ) visible when ( ( !isempjammed( ) ) ) } itemDef { name "fullmap_objectives" rect -150 -150 300 300 HORIZONTAL_ALIGN_CENTER VERTICAL_ALIGN_CENTER decoration visible 1 ownerdraw 182 forecolor 1 1 1 1 background "objective_line" type 8 textscale 0.55 visible when ( ( !isempjammed( ) ) ) } itemDef { name "fullmap_sentries" rect -150 -150 300 300 HORIZONTAL_ALIGN_CENTER VERTICAL_ALIGN_CENTER decoration visible 1 ownerdraw 189 forecolor 1 1 1 1 type 8 textscale 0.55 exp forecolor a ( 1 - radarjamintensity( ) ) visible when ( ( !isempjammed( ) ) ) } itemDef { name "fullmap_player" rect -150 -150 300 300 HORIZONTAL_ALIGN_CENTER VERTICAL_ALIGN_CENTER decoration visible 1 ownerdraw 183 forecolor 1 1 1 1 background "compassping_player" type 8 textscale 0.55 exp forecolor a ( 1 - radarjamintensity( ) ) visible when ( ( !isempjammed( ) ) ) } itemDef { rect -150 -150 300 300 HORIZONTAL_ALIGN_CENTER VERTICAL_ALIGN_CENTER decoration visible 1 style 3 forecolor 0.64 0.74 0.71 1 background "white" textscale 0.55 exp forecolor a ( radarjamintensity( ) ) visible when ( radarisjammed( ) && ( !isempjammed( ) ) ) } itemDef { rect -150 -150 300 300 HORIZONTAL_ALIGN_CENTER VERTICAL_ALIGN_CENTER decoration visible 1 style 3 forecolor 0.89 0.98 0.95 1 background "ac130_overlay_grain" textscale 0.55 exp forecolor a ( radarjamintensity( ) ) visible when ( radarisjammed( ) && ( !isempjammed( ) ) ) } itemDef { rect -150 -150 300 300 HORIZONTAL_ALIGN_CENTER VERTICAL_ALIGN_CENTER decoration visible 1 style 3 forecolor 1 1 1 1 background "stencil_base" textscale 0.55 visible when ( ( !isempjammed( ) ) ) } itemDef { rect -150 -150 300 300 HORIZONTAL_ALIGN_CENTER VERTICAL_ALIGN_CENTER decoration visible 1 style 3 forecolor 1 1 1 1 background "scanlines_stencil" textscale 0.55 exp rect y ( ( 135 - 240 ) + ( ( 240 * 2 ) * ( 1 - ( ( milliseconds( ) % 4000 ) / 4000 ) ) ) ) visible when ( ( !isempjammed( ) ) ) } itemDef { rect -150 -150 300 300 HORIZONTAL_ALIGN_CENTER VERTICAL_ALIGN_CENTER decoration visible 1 style 3 forecolor 0.89 0.98 0.95 1 background "stencil_fill" textscale 0.55 visible when ( ( !isempjammed( ) ) ) } itemDef { rect -150 -150 -180 20 HORIZONTAL_ALIGN_CENTER VERTICAL_ALIGN_CENTER decoration visible 1 style 1 forecolor 1 0.8 0.3 1 backcolor 0 0 0 0.35 background "gradient_fadein" textfont 9 textalign 4 textalignx 4 textscale 0.375 visible when ( ( !isempjammed( ) ) ) exp text ( getmapname( ) ) } itemDef { rect -60 150 120 30 HORIZONTAL_ALIGN_CENTER VERTICAL_ALIGN_CENTER style 1 forecolor 1 1 1 0.90 backcolor 0 0 0 0.35 type 1 textAlignY 21.15 textAlignX 10 textscale 0.35 border 1 borderSize 1 borderColor 0 0 0 0.1 text "Return to the game" visible 1 onFocus { play "mouse_over"; setItemColor self forecolor 1 1 1 1; setItemColor self backcolor 0 0 0 0.57; setLocalVarBool "ui_menuAButton" ( 1 ); } leaveFocus { leaveFocusArg setLocalVarBool "ui_menuAButton" ( 0 ); setItemColor self forecolor 1 1 1 0.90 setItemColor self backcolor 0 0 0 0.35 } action { play "mouse_click"; scriptmenuresponse "close"; close self; } } } }