{ menuDef { name "menu_first_launch" fullscreen 1 rect 0 0 640 480 0 0 focuscolor 1 1 1 1 soundLoop "music_opening" fadeClamp 1 fadeCycle 1 fadeAmount 0.1 onESC { open quit_popmenu; } itemDef { rect -427 -240 854 480 2 2 style 3 decoration visible when(dvarbool(cl_ingame) || dvarbool(sv_running)); textscale 0.55 forecolor 0 0 0 0.4 background "white" } itemDef { rect 0 0 640 480 4 4 style 3 decoration visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running)))); textscale 0.55 background "mw2_main_background" } itemDef { rect -107 0 854 480 0 0 style 3 decoration visible when((dvarstring(fs_game) == "") && (!(dvarbool(cl_ingame) || dvarbool(sv_running)))); textscale 0.55 background "mw2_main_sp_image" } itemDef { rect 0 0 1708 480 0 0 style 3 decoration visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running))); textscale 0.55 forecolor 1 1 1 0.5 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 when(!(dvarbool(cl_ingame) || dvarbool(sv_running))); textscale 0.55 forecolor 1 1 1 0.5 background "mw2_main_cloud_overlay" exp rect x ((0 - 107) + 854) + ((float(milliseconds() % 50000) / 50000) * 854); } itemDef { rect 0 0 640 480 4 4 style 3 decoration visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running))); textscale 0.55 forecolor 1 1 1 0.523696 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 when(!(dvarbool(cl_ingame) || dvarbool(sv_running))); textscale 0.55 forecolor 1 1 1 0.476023 background "mockup_bg_glow" exp forecolor a ((sin(milliseconds() / 480) + 1) * 0.25) + 0.25; } itemDef { rect -256 -220 512 128 2 2 style 3 decoration visible 1 textscale 0.55 background "logo_cod2" exp forecolor a ((sin(milliseconds() / 1000) + 1) * 0.25) + 0.5; } itemDef { name "box_background" rect 0 -100 600 220 2 2 style 3 decoration visible 1 textscale 0.55 forecolor 0.3 0.3 0.3 0.5 background "white" exp rect x 0 - 300; } itemDef { name "welcome_box" text "Welcome to IW4x" rect 0 -100 600 220 2 2 style 1 decoration visible 1 textalign 5 textaligny 5 textscale 0.45 textfont 9 backcolor 0 0 0 0.375 background "white" exp rect x 0 - 300; } itemDef { name "welcome_message" text "Thank you for participating in the IW4x Beta!\n\nThis mod is in Beta, and will be so for some time. This means you will experience bugs, unfinished features, problematic design decision, and many more things that disrupt your game experience. We will be working with the community to fix these, to help us please visit ^2xlabs.dev ^7for development information.\n\nAbove all, please remember this mod is not finished, and is a work in progress." rect 0 -60 500 180 2 2 style 1 decoration autowrapped visible 1 textalign 5 textscale 0.375 textfont 7 exp rect x 0 - 250; } itemDef { name "website" text "WEBSITE" rect -300 326 106.667 20 2 1 style 1 type 1 visible 1 textalign 9 textscale 0.375 textfont 9 disablecolor 0.55 0.55 0.55 1 background "white" onFocus { play mouse_over; setItemColor self backColor 0 0 0 1; } leaveFocus { setItemColor self backColor 0 0 0 0; } action { play mouse_click; uiScript visitWebsite; } } itemDef { name "ok" text "I UNDERSTAND" rect -70 326 146.667 20 2 1 style 1 type 1 visible 1 textalign 9 textscale 0.375 textfont 9 disablecolor 0.55 0.55 0.55 1 background "white" onFocus { play mouse_over; setItemColor self backColor 0 0 0 1; } leaveFocus { setItemColor self backColor 0 0 0 0; } action { play mouse_click; setDvar g_firstLaunch 0; open popup_playername; close self; } } itemDef { name "quit" text "@MENU_QUIT_CAPS" rect -70 400 146.667 20 2 1 style 1 type 1 visible 1 textalign 9 textscale 0.375 textfont 9 disablecolor 0.55 0.55 0.55 1 background "white" onFocus { play mouse_over; setItemColor self backColor 0 0 0 1; } leaveFocus { setItemColor self backColor 0 0 0 0; } action { play mouse_click; open quit_popmenu; } } } }