Class UIP_Settings extends KFGUI_MultiComponent; var KFGUI_ComponentList SettingsBox; var KFGUI_Button KeyBindButton; var KFGUI_TextLable KeyBindLabel; var name CurKeybind; var bool bSetKeybind,bDelayedSet; var localized string FirstPersonLegsText; var localized string FirstPersonLegsToolTip; var localized string HideNameBeaconsText; var localized string HideNameBeaconsToolTip; var localized string HideKillMessagesText; var localized string HideKillMessagesToolTip; var localized string HideDamageMessagesText; var localized string HideDamageMessagesToolTip; var localized string HideDamagePopupText; var localized string HideDamagePopupToolTip; var localized string UseKf2DeathMessagesText; var localized string UseKf2DeathMessagesToolTip; var localized string UseKf2KillMessagesText; var localized string UseKf2KillMessagesToolTip; var localized string DontBecomeZombieText; var localized string DontBecomeZombieToolTip; var localized string NoScreenShakeText; var localized string NoScreenShakeToolTip; var localized string ButtonToggleBehindviewKeybindText; var localized string ButtonToggleBehindviewKeybindToolTip; var localized string ButtonPressButtonText; var localized string NotSetText; function InitMenu() { Super.InitMenu(); // Client settings SettingsBox = KFGUI_ComponentList(FindComponentID('SettingsBox')); //AddCheckBox("Text-To-Speech:","Enable Text-to-Speech talk for player chat messages",'TTS', bool bDefault); AddCheckBox(FirstPersonLegsText,FirstPersonLegsToolTip,'FP',class'ExtPlayerController'.Default.bShowFPLegs); if(class'ExtPlayerController'.Default.bShowFPLegs) ExtPlayerController(GetPlayer()).ToggleFPBody(false); AddCheckBox(HideNameBeaconsText,HideNameBeaconsToolTip,'NB',class'ExtPlayerController'.Default.bHideNameBeacons); AddCheckBox(HideKillMessagesText,HideKillMessagesToolTip,'KM',class'ExtPlayerController'.Default.bHideKillMsg); AddCheckBox(HideDamageMessagesText,HideDamageMessagesToolTip,'DM',class'ExtPlayerController'.Default.bHideDamageMsg); AddCheckBox(HideDamagePopupText,HideDamagePopupToolTip,'PP',class'ExtPlayerController'.Default.bHideNumberMsg); AddCheckBox(UseKf2DeathMessagesText,UseKf2DeathMessagesToolTip,'K2DM',class'ExtPlayerController'.Default.bUseKF2DeathMessages); AddCheckBox(UseKf2KillMessagesText,UseKf2KillMessagesToolTip,'K2KM',class'ExtPlayerController'.Default.bUseKF2KillMessages); KeyBindButton = AddButton("",ButtonToggleBehindviewKeybindText,ButtonToggleBehindviewKeybindToolTip,'KB',KeyBindLabel); AddCheckBox(DontBecomeZombieText,DontBecomeZombieToolTip,'ZP',class'ExtPlayerController'.Default.bNoMonsterPlayer); AddCheckBox(NoScreenShakeText,NoScreenShakeToolTip,'NS',class'ExtPlayerController'.Default.bNoScreenShake); InitBehindviewKey(); } final function InitBehindviewKey() { local PlayerInput IN; local int i; CurKeybind = ''; // Check what keys now using! IN = Owner.BackupInput; for(i=0; i