{ menuDef { name "pc_options_gamepad" rect 0 0 640 480 0 0 focuscolor 1 1 1 1 blurWorld 7 onOpen { close controls_multi; close main_controls; close main_options; close options_control_defaults; close options_graphics; close options_graphics_defaults; close options_graphics_texture; close options_multi; close options_voice; close pc_options_actions; close pc_options_advanced_video; close pc_options_audio; close pc_options_controls; close pc_options_look; close pc_options_movement; close pc_options_multi; close pc_options_video; close pc_options_voice; exec "setfromdvar ui_name name"; setLocalVarString ui_hint_text "@NULL_EMPTY"; setLocalVarBool ui_hint_display 1; execnow "profile_menuDvarsSetup; resetViewport"; setFocus buttonGamepad; } onClose { ON_MENU_CLOSE; } 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; resetViewport"; setLocalVarString ui_hint_text "@NULL_EMPTY"; } 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 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 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 -107 0 854 480 0 0 style 3 decoration visible when(!(dvarbool(cl_ingame) || dvarbool(sv_running))); textscale 0.55 background "animbg_blur_front" } 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 -64 0 280 480 1 0 style 3 decoration visible 1 textscale 0.55 forecolor 1 1 1 0.1 background "gradient_bottom" } itemDef { rect -64 0 280 480 1 0 style 3 decoration visible 1 textscale 0.55 forecolor 1 1 1 0.1 background "gradient_fadein_fadebottom" } itemDef { rect 0 0 640 480 4 4 style 3 visible when(dvarint(cl_ingame) == 0); textscale 0.55 forecolor 0.25 0.25 0.25 0.75 background "gradient_fadein" } itemDef { rect 0 0 640 480 4 4 style 3 visible when(dvarint(cl_ingame) == 0); textscale 0.55 forecolor 0.25 0.25 0.25 0.75 background "gradient_fadein" } itemDef { rect -64 0 280 480 1 0 style 3 decoration visible 1 textscale 0.55 forecolor 1 1 1 0.1 background "gradient_fadein_fadebottom" } itemDef { text "@MPUI_MOD" rect -40 0 300 20 0 1 decoration visible when((dvarstring(fs_game) != "") && (dvarint(cl_ingame) == 0)); textaligny -4 textscale 0.2 forecolor 1 1 1 0.8 } itemDef { name "mod" rect -40 0 300 20 0 1 decoration visible when((dvarstring(fs_game) != "") && (dvarint(cl_ingame) == 0)); textalignx 16 textaligny -4 textscale 0.2 forecolor 1 1 1 0.8 exp text dvarstring(fs_game); } itemDef { text "@MENU_OPTIONS_CAPS" rect 0 0 272 28 1 1 decoration visible 1 textalign 6 textalignx -60 textscale 0.5 textfont 9 } itemDef { name "buttonVideo" text "@MENU_VIDEO" group "mw2_button" rect -64 28 336 20 1 1 style 1 type 1 visible 1 disabled when(0); textalign 6 textalignx -60 textscale 0.375 textfont 3 disablecolor 0.6 0.55 0.55 1 background "menu_button_selection_bar" onFocus { setItemColor self backColor 0 0 0 1; setLocalVarString ui_hint_text "@NULL_EMPTY"; setLocalVarFloat ui_popupYPos getfocuseditemy(); } leaveFocus { setItemColor self backColor 0 0 0 0; setLocalVarString ui_hint_text "@NULL_EMPTY"; } mouseEnter { play mouse_over; } action { play mouse_click; close controls_multi; close main_controls; close main_options; close options_control_defaults; close options_graphics; close options_graphics_defaults; close options_graphics_texture; close options_multi; close options_voice; close pc_options_actions; close pc_options_advanced_video; close pc_options_audio; close pc_options_controls; close pc_options_game; close pc_options_gamepad; close pc_options_look; close pc_options_movement; close pc_options_multi; close pc_options_video; close pc_options_voice; setLocalVarString ui_hint_text "@NULL_EMPTY"; open pc_options_video; } } itemDef { name "buttonAudio" text "@MENU_AUDIO" group "mw2_button" rect -64 48 336 20 1 1 style 1 type 1 visible 1 disabled when(0); textalign 6 textalignx -60 textscale 0.375 textfont 3 disablecolor 0.6 0.55 0.55 1 background "menu_button_selection_bar" onFocus { setItemColor self backColor 0 0 0 1; setLocalVarString ui_hint_text "@NULL_EMPTY"; setLocalVarFloat ui_popupYPos getfocuseditemy(); } leaveFocus { setItemColor self backColor 0 0 0 0; setLocalVarString ui_hint_text "@NULL_EMPTY"; } mouseEnter { play mouse_over; } action { play mouse_click; close controls_multi; close main_controls; close main_options; close options_control_defaults; close options_graphics; close options_graphics_defaults; close options_graphics_texture; close options_multi; close options_voice; close pc_options_actions; close pc_options_advanced_video; close pc_options_audio; close pc_options_controls; close pc_options_game; close pc_options_gamepad; close pc_options_look; close pc_options_movement; close pc_options_multi; close pc_options_video; close pc_options_voice; setLocalVarString ui_hint_text "@NULL_EMPTY"; open pc_options_audio; } } itemDef { name "buttonControls" text "@MENU_CONTROLS" group "mw2_button" rect -64 68 336 20 1 1 style 1 type 1 visible 1 disabled when(0); textalign 6 textalignx -60 textscale 0.375 textfont 3 disablecolor 0.6 0.55 0.55 1 background "menu_button_selection_bar" onFocus { setItemColor self backColor 0 0 0 1; setLocalVarString ui_hint_text "@NULL_EMPTY"; setLocalVarFloat ui_popupYPos getfocuseditemy(); } leaveFocus { setItemColor self backColor 0 0 0 0; setLocalVarString ui_hint_text "@NULL_EMPTY"; } mouseEnter { play mouse_over; } action { play mouse_click; close controls_multi; close main_controls; close main_options; close options_control_defaults; close options_graphics; close options_graphics_defaults; close options_graphics_texture; close options_multi; close options_voice; close pc_options_actions; close pc_options_advanced_video; close pc_options_audio; close pc_options_controls; close pc_options_game; close pc_options_gamepad; close pc_options_look; close pc_options_movement; close pc_options_multi; close pc_options_video; close pc_options_voice; setLocalVarString ui_hint_text "@NULL_EMPTY"; open pc_options_controls; } } itemDef { name "buttonMulti" text "@MENU_MULTIPLAYER" group "mw2_button" rect -64 88 336 20 1 1 style 1 type 1 visible 1 disabled when(0); textalign 6 textalignx -60 textscale 0.375 textfont 3 disablecolor 0.6 0.55 0.55 1 background "menu_button_selection_bar" onFocus { setItemColor self backColor 0 0 0 1; setLocalVarString ui_hint_text "@NULL_EMPTY"; setLocalVarFloat ui_popupYPos getfocuseditemy(); } leaveFocus { setItemColor self backColor 0 0 0 0; setLocalVarString ui_hint_text "@NULL_EMPTY"; } mouseEnter { play mouse_over; } action { play mouse_click; close controls_multi; close main_controls; close main_options; close options_control_defaults; close options_graphics; close options_graphics_defaults; close options_graphics_texture; close options_multi; close options_voice; close pc_options_actions; close pc_options_advanced_video; close pc_options_audio; close pc_options_controls; close pc_options_game; close pc_options_gamepad; close pc_options_look; close pc_options_movement; close pc_options_multi; close pc_options_video; close pc_options_voice; setLocalVarString ui_hint_text "@NULL_EMPTY"; open pc_options_multi; } } itemDef { name "buttonGame" text "@MENU_GAME" group "mw2_button" rect -64 108 336 20 1 1 style 1 type 1 visible 1 disabled when(0); textalign 6 textalignx -60 textscale 0.375 textfont 3 disablecolor 0.6 0.55 0.55 1 background "menu_button_selection_bar" onFocus { setItemColor self backColor 0 0 0 1; setLocalVarString ui_hint_text "@NULL_EMPTY"; setLocalVarFloat ui_popupYPos getfocuseditemy(); } leaveFocus { setItemColor self backColor 0 0 0 0; setLocalVarString ui_hint_text "@NULL_EMPTY"; } mouseEnter { play mouse_over; } action { play mouse_click; close controls_multi; close main_controls; close main_options; close options_control_defaults; close options_graphics; close options_graphics_defaults; close options_graphics_texture; close options_multi; close options_voice; close pc_options_actions; close pc_options_advanced_video; close pc_options_audio; close pc_options_controls; close pc_options_game; close pc_options_gamepad; close pc_options_look; close pc_options_movement; close pc_options_multi; close pc_options_video; close pc_options_voice; setLocalVarString ui_hint_text "@NULL_EMPTY"; open pc_options_game; } } itemDef { name "buttonGamepad" text "@MENU_GAMEPAD" group "mw2_button" rect -64 128 336 20 1 1 style 1 type 1 visible 1 disabled when(0); textalign 6 textalignx -60 textscale 0.375 textfont 3 disablecolor 0.6 0.55 0.55 1 background "menu_button_selection_bar" onFocus { setItemColor self backColor 0 0 0 1; setLocalVarString ui_hint_text "@NULL_EMPTY"; setLocalVarFloat ui_popupYPos getfocuseditemy(); } leaveFocus { setItemColor self backColor 0 0 0 0; setLocalVarString ui_hint_text "@NULL_EMPTY"; } mouseEnter { play mouse_over; } action { play mouse_click; close controls_multi; close main_controls; close main_options; close options_control_defaults; close options_graphics; close options_graphics_defaults; close options_graphics_texture; close options_multi; close options_voice; close pc_options_actions; close pc_options_advanced_video; close pc_options_audio; close pc_options_controls; close pc_options_game; close pc_options_gamepad; close pc_options_look; close pc_options_movement; close pc_options_multi; close pc_options_video; close pc_options_voice; setLocalVarString ui_hint_text "@NULL_EMPTY"; open pc_options_gamepad; } } itemDef { rect 0 147.5 216 1 1 1 style 3 decoration visible 1 textscale 0.55 forecolor 1 1 1 0.65 background "gradient_fadein" } itemDef { name "buttonDefaults" text "@MENU_RESET_SYSTEM_DEFAULTS" group "mw2_button" rect -64 148 336 20 1 1 style 1 type 1 visible 1 disabled when((dvarbool(cl_ingame) || dvarbool(sv_running)) || inlobby()); textalign 6 textalignx -60 textscale 0.375 textfont 3 disablecolor 0.6 0.55 0.55 1 background "menu_button_selection_bar" onFocus { setItemColor self backColor 0 0 0 1; setLocalVarString ui_hint_text "@NULL_EMPTY"; setLocalVarFloat ui_popupYPos getfocuseditemy(); } leaveFocus { setItemColor self backColor 0 0 0 0; setLocalVarString ui_hint_text "@NULL_EMPTY"; } mouseEnter { play mouse_over; } action { play mouse_click; open options_graphics_defaults; } } itemDef { name "graphic_warning" text "@MENU_GRAPHICS_WARNING" rect 10 -160 206 240 1 3 decoration autowrapped visible when(((!localvarbool("ui_brightness_hint_display")) && (!localvarbool("ui_hint_display"))) && menuisopen("pc_options_video")); textscale 0.375 } itemDef { name "brightness_hint" text "@MENU_BRIGHTNESS_HINT_PC" rect 10 -160 206 240 1 3 decoration autowrapped visible when(localvarbool("ui_brightness_hint_display") && (!localvarbool("ui_hint_display"))); textscale 0.375 forecolor 1 0.8 0.4 1 } itemDef { name "hint_area" rect 10 -160 206 240 1 3 decoration autowrapped visible when(localvarbool("ui_hint_display")); textscale 0.375 exp text localvarstring("ui_hint_text"); } itemDef { name "back" text "@PLATFORM_BACK_CAPS" group "mw2_button" rect -64 -4 336 20 1 3 style 1 type 1 visible 1 textalign 6 textalignx -60 textscale 0.375 textfont 3 disablecolor 0.6 0.55 0.55 1 background "menu_button_selection_bar" onFocus { setItemColor self backColor 0 0 0 1; } leaveFocus { setItemColor self backColor 0 0 0 0; } mouseEnter { play mouse_over; } action { play mouse_click; 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; resetViewport"; setLocalVarString ui_hint_text "@NULL_EMPTY"; } } itemDef { text "@MENU_GAMEPAD" rect 232 0 344 28 1 1 decoration visible 1 textalign 5 textscale 0.5 textfont 9 } itemDef { rect 232 28 336 20 1 1 style 1 type 11 visible 1 disabled when(0); textalign 4 textalignx 170 textscale 0.375 textfont 3 disablecolor 0.6 0.55 0.55 1 background "menu_setting_selection_bar" onFocus { setItemColor self backColor 0 0 0 1; setLocalVarBool ui_hint_display 1; if (menuisopen("pc_options_video")) { setLocalVarBool ui_brightness_hint_display 1; } else { setLocalVarBool ui_brightness_hint_display 0; } setLocalVarString ui_hint_text "@MPUI_DESC_GAMEPAD_ENABLED"; } leaveFocus { setItemColor self backColor 0 0 0 0; setLocalVarBool ui_hint_display 0; setLocalVarBool ui_brightness_hint_display 0; setLocalVarString ui_hint_text "@NULL_EMPTY"; } mouseEnter { play mouse_over; } action { play mouse_click; if (dvarbool(gpad_enabled) && (dvarstring(gpad_sticksConfig) == "")) { setdvar gpad_sticksConfig thumbstick_default; execnow bindgpsticksconfigs; } if (dvarbool(gpad_enabled) && (dvarstring(gpad_buttonConfig) == "")) { setdvar gpad_buttonConfig buttons_default; execnow bindgpbuttonsconfigs; } } dvar "gpad_enabled" } itemDef { text "@MENU_GAMEPAD_ENABLED" rect 232 28 336 20 1 1 decoration visible 1 textalign 6 textalignx -180 textscale 0.375 textfont 3 disablecolor 0.6 0.55 0.55 1 } itemDef { rect 226 48 -392 1 1 1 style 3 decoration visible when(dvarbool(gpad_enabled) == 1); textscale 0.55 forecolor 1 1 1 0.65 background "line_horizontal" } itemDef { rect 232 48 336 20 1 1 style 1 type 11 visible when(dvarbool(gpad_enabled) == 1); disabled when(dvarbool(gpad_enabled) == 0); textalign 4 textalignx 170 textscale 0.375 textfont 3 disablecolor 0.6 0.55 0.55 1 background "menu_setting_selection_bar" onFocus { setItemColor self backColor 0 0 0 1; setLocalVarBool ui_hint_display 1; if (menuisopen("pc_options_video")) { setLocalVarBool ui_brightness_hint_display 1; } else { setLocalVarBool ui_brightness_hint_display 0; } setLocalVarString ui_hint_text "@MPUI_DESC_LOOK_INVERSION"; } leaveFocus { setItemColor self backColor 0 0 0 0; setLocalVarBool ui_hint_display 0; setLocalVarBool ui_brightness_hint_display 0; setLocalVarString ui_hint_text "@NULL_EMPTY"; } mouseEnter { play mouse_over; } action { play mouse_click; } dvar "input_invertPitch" } itemDef { text "@MENU_LOOK_INVERSION" rect 232 48 336 20 1 1 decoration visible when(dvarbool(gpad_enabled) == 1); textalign 6 textalignx -180 textscale 0.375 textfont 3 disablecolor 0.6 0.55 0.55 1 } itemDef { rect 232 68 336 20 1 1 style 1 type 12 visible when(dvarbool(gpad_enabled) == 1); disabled when(dvarbool(gpad_enabled) == 0); textalign 4 textalignx 170 textscale 0.375 textfont 3 disablecolor 0.6 0.55 0.55 1 background "menu_setting_selection_bar" onFocus { setItemColor self backColor 0 0 0 1; setLocalVarBool ui_hint_display 1; setLocalVarString ui_hint_text "@MENU_DESC_THUMBSTICK_LAYOUT"; } leaveFocus { setItemColor self backColor 0 0 0 0; setLocalVarBool ui_hint_display 0; setLocalVarString ui_hint_text "@NULL_EMPTY"; } mouseEnter { play mouse_over; } action { play mouse_click; execNow bindgpsticksconfigs; } dvar "gpad_sticksConfig" dvarStrList { "@MENU_DEFAULT" "thumbstick_default" "@MENU_SOUTHPAW" "thumbstick_southpaw" "@MENU_LEGACY" "thumbstick_legacy" "@MENU_LEGACY_SOUTHPAW" "thumbstick_legacysouthpaw" } } itemDef { text "@MENU_THUMBSTICK_LAYOUT" rect 232 68 336 20 1 1 decoration visible when(dvarbool(gpad_enabled) == 1); textalign 6 textalignx -180 textscale 0.375 textfont 3 disablecolor 0.6 0.55 0.55 1 } itemDef { rect 232 88 336 20 1 1 style 1 type 12 visible when(dvarbool(gpad_enabled) == 1); disabled when(dvarbool(gpad_enabled) == 0); textalign 4 textalignx 170 textscale 0.375 textfont 3 disablecolor 0.6 0.55 0.55 1 background "menu_setting_selection_bar" onFocus { setItemColor self backColor 0 0 0 1; setLocalVarBool ui_hint_display 1; setLocalVarString ui_hint_text "@MENU_DESC_BUTTON_LAYOUT"; } leaveFocus { setItemColor self backColor 0 0 0 0; setLocalVarBool ui_hint_display 0; setLocalVarString ui_hint_text "@NULL_EMPTY"; } mouseEnter { play mouse_over; } action { play mouse_click; execNow bindgpbuttonsconfigs; } dvar "gpad_buttonConfig" dvarStrList { "@MENU_DEFAULT" "buttons_default" "@MENU_TACTICAL" "buttons_tactical" "@MENU_LEFTY" "buttons_lefty" "@MENU_NOMAD" "buttons_nomad" "@MENU_DEFAULT_ALT" "buttons_default_alt" "@MENU_TACTICAL_ALT" "buttons_tactical_alt" "@MENU_LEFTY_ALT" "buttons_lefty_alt" "@MENU_NOMAD_ALT" "buttons_nomad_alt" } } itemDef { text "@MENU_BUTTON_LAYOUT" rect 232 88 336 20 1 1 decoration visible when(dvarbool(gpad_enabled) == 1); textalign 6 textalignx -180 textscale 0.375 textfont 3 disablecolor 0.6 0.55 0.55 1 } itemDef { rect 232 108 336 20 1 1 style 1 type 12 visible when(dvarbool(gpad_enabled) == 1); disabled when(dvarbool(gpad_enabled) == 0); textalign 4 textalignx 170 textscale 0.375 textfont 3 disablecolor 0.6 0.55 0.55 1 background "menu_setting_selection_bar" onFocus { setItemColor self backColor 0 0 0 1; setLocalVarBool ui_hint_display 1; setLocalVarString ui_hint_text "@MPUI_DESC_GPAD_STYLE"; } leaveFocus { setItemColor self backColor 0 0 0 0; setLocalVarBool ui_hint_display 0; setLocalVarString ui_hint_text "@NULL_EMPTY"; } mouseEnter { play mouse_over; } action { play mouse_click; } dvar "gpad_style" dvarFloatList { "@MENU_GPAD_XBOX_CAPS" 0 "@MENU_GPAD_PS_CAPS" 1 } } itemDef { text "@MENU_GPAD_STYLE" rect 232 108 336 20 1 1 decoration visible when(dvarbool(gpad_enabled) == 1); textalign 6 textalignx -180 textscale 0.375 textfont 3 disablecolor 0.6 0.55 0.55 1 } itemDef { rect 232 128 336 20 1 1 style 1 type 11 visible when(dvarbool(gpad_enabled) == 1); disabled when(dvarbool(gpad_enabled) == 0); textalign 4 textalignx 170 textscale 0.375 textfont 3 disablecolor 0.6 0.55 0.55 1 background "menu_setting_selection_bar" onFocus { setItemColor self backColor 0 0 0 1; setLocalVarBool ui_hint_display 1; if (menuisopen("pc_options_video")) { setLocalVarBool ui_brightness_hint_display 1; } else { setLocalVarBool ui_brightness_hint_display 0; } setLocalVarString ui_hint_text "@MPUI_DESC_SLOWDOWN_ENABLED"; } leaveFocus { setItemColor self backColor 0 0 0 0; setLocalVarBool ui_hint_display 0; setLocalVarBool ui_brightness_hint_display 0; setLocalVarString ui_hint_text "@NULL_EMPTY"; } mouseEnter { play mouse_over; } action { play mouse_click; } dvar "gpad_slowdown_enabled" } itemDef { text "@MENU_SLOWDOWN_ENABLED" rect 232 128 336 20 1 1 decoration visible when(dvarbool(gpad_enabled) == 1); textalign 6 textalignx -180 textscale 0.375 textfont 3 disablecolor 0.6 0.55 0.55 1 } itemDef { rect 232 148 336 20 1 1 style 1 type 11 visible when(dvarbool(gpad_enabled) == 1); disabled when(dvarbool(gpad_enabled) == 0); textalign 4 textalignx 170 textscale 0.375 textfont 3 disablecolor 0.6 0.55 0.55 1 background "menu_setting_selection_bar" onFocus { setItemColor self backColor 0 0 0 1; setLocalVarBool ui_hint_display 1; if (menuisopen("pc_options_video")) { setLocalVarBool ui_brightness_hint_display 1; } else { setLocalVarBool ui_brightness_hint_display 0; } setLocalVarString ui_hint_text "@MPUI_DESC_LOCKON_ENABLED"; } leaveFocus { setItemColor self backColor 0 0 0 0; setLocalVarBool ui_hint_display 0; setLocalVarBool ui_brightness_hint_display 0; setLocalVarString ui_hint_text "@NULL_EMPTY"; } mouseEnter { play mouse_over; } action { play mouse_click; } dvar "gpad_lockon_enabled" } itemDef { text "@MENU_LOCKON_ENABLED" rect 232 148 336 20 1 1 decoration visible when(dvarbool(gpad_enabled) == 1); textalign 6 textalignx -180 textscale 0.375 textfont 3 disablecolor 0.6 0.55 0.55 1 } itemDef { rect 226 168 -392 1 1 1 style 3 decoration visible when(dvarbool(gpad_enabled) == 1); textscale 0.55 forecolor 1 1 1 0.65 background "line_horizontal" } itemDef { rect 232 168 336 20 1 1 style 1 type 10 visible when(dvarbool(gpad_enabled) == 1); disabled when(dvarbool(gpad_enabled) == 0); textalign 4 textalignx 170 textaligny 2 textscale 0.375 textfont 3 disablecolor 0.6 0.55 0.55 1 background "menu_setting_selection_bar" mouseEnter { play mouse_over; } action { play mouse_click; } dvarFloat "input_viewSensitivity" 1 0.5 4 } itemDef { text "@MENU_LOOK_SENSITIVITY" rect 232 168 336 20 1 1 decoration visible when(dvarbool(gpad_enabled) == 1); textalign 6 textalignx -180 textscale 0.375 textfont 3 disablecolor 0.6 0.55 0.55 1 } itemDef { rect 422 168 344 20 1 1 decoration visible when(dvarbool(gpad_enabled) == 1); textalign 6 textalignx -190 textscale 0.375 textfont 3 disablecolor 0.6 0.55 0.55 1 exp text dvarstring(input_viewSensitivity); } itemDef { rect 232 188 336 20 1 1 style 1 type 12 visible when(dvarbool(gpad_enabled) == 1); disabled when(dvarbool(gpad_enabled) == 0); textalign 4 textalignx 170 textscale 0.375 textfont 3 disablecolor 0.6 0.55 0.55 1 background "menu_setting_selection_bar" onFocus { setItemColor self backColor 0 0 0 1; setLocalVarBool ui_hint_display 1; setLocalVarString ui_hint_text "@MENU_DESC_LOOK_SENSITIVITY_PRESET"; } leaveFocus { setItemColor self backColor 0 0 0 0; setLocalVarBool ui_hint_display 0; setLocalVarString ui_hint_text "@NULL_EMPTY"; } mouseEnter { play mouse_over; } action { play mouse_click; } dvar "input_viewSensitivity" dvarFloatList { "@MENU_SENSITIVITY_LOW_CAPS" 0.6 "@MENU_SENSITIVITY_MEDIUM_CAPS" 1 "3" 1.4 "@MENU_SENSITIVITY_HIGH_CAPS" 1.8 "5" 2 "6" 2.2 "@MENU_SENSITIVITY_VERY_HIGH_CAPS" 2.6 "8" 3 "9" 3.5 "@MENU_SENSITIVITY_INSANE_CAPS" 4 } } itemDef { text "@MENU_LOOK_SENSITIVITY_PRESET" rect 232 188 336 20 1 1 decoration visible when(dvarbool(gpad_enabled) == 1); textalign 6 textalignx -180 textscale 0.375 textfont 3 disablecolor 0.6 0.55 0.55 1 } } }