From 7f8f8d841f4a206aeb5f4ea50125adc08e35ae14 Mon Sep 17 00:00:00 2001 From: Nick Whitlock Date: Tue, 13 Sep 2016 17:00:25 -0400 Subject: [PATCH] More resolutions! --- README.md | 3 +++ Source/Game/SwatGame/Classes/SwatGUIConfig.uc | 2 +- System/SwatGame.int | 3 +-- System/SwatGuiState.ini | 18 ++++++++++++++++++ 4 files changed, 23 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index f88ff440..ade95cd4 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,7 @@ You can make a shortcut to these .bat files for more convenience. - New Feature: Disable initial dispatch. Enable it in Audio Options - You can now pick up guns through restrained suspects, and all hostages (except live, unrestrained ones) - AI-controlled officers will now automatically report suspects/hostages that they restrain +- Support for many more resolutions (4 -> 22) - Fixed a bug that caused the Heavy Armor to have texture issues due to StaticLoadout.ini missing - Fixed a bug that caused the AI-controlled officers to not deploy pepperball gun if it was their secondary weapon - Fixed a bug that caused the AI-controlled officers to not deploy grenade launcher if it was their secondary weapon @@ -45,6 +46,7 @@ System/PlayerInterface_Use.ini System/SoundEffects.ini System/StaticLoadout.ini System/SwatGui.ini +System/SwatGuiState.ini Generated code ### v1 ### @@ -184,6 +186,7 @@ Some of the changes are as follows. - 'Display Subtitles' moved to Audio Options - 'Use Speech Recognition' option added to Audio Options - 'Disable Initial Dispatch' option added to Audio Options + - Support for ~5x as many resolutions (4 -> 22) ## EQUIPMENT ## diff --git a/Source/Game/SwatGame/Classes/SwatGUIConfig.uc b/Source/Game/SwatGame/Classes/SwatGUIConfig.uc index ce4b1487..b05ccaf5 100644 --- a/Source/Game/SwatGame/Classes/SwatGUIConfig.uc +++ b/Source/Game/SwatGame/Classes/SwatGUIConfig.uc @@ -107,7 +107,7 @@ var(AudioSettings) config localized array SoundQualityChoices "Choices f ////////////////////////////////////////////////////////////////////////////////////// // Video Settings ////////////////////////////////////////////////////////////////////////////////////// -var(VideoSettings) config localized array ScreenResolutionChoices "Choices for screen resolution"; +var(VideoSettings) config array ScreenResolutionChoices "Choices for screen resolution"; var(VideoSettings) config localized array TextureDetailChoices "Choices for texture detail"; var(VideoSettings) config localized array OtherDetailChoices "Choices for other detail"; var(VideoSettings) config localized array RenderDetailChoices "Choices for generic render detail"; diff --git a/System/SwatGame.int b/System/SwatGame.int index 6e8ef266..607e3480 100644 --- a/System/SwatGame.int +++ b/System/SwatGame.int @@ -9,7 +9,7 @@ CustomEquipmentLoadoutDefaultFriendlyNames=("Assaulter (JHP)","Assaulter (FMJ)", LocalizedCommandString=("Classic: Primary Weapon","Classic: Secondary Weapon","Classic: Flashbang Grenade","Classic: CS Gas Grenade","Classic: Sting Grenade","Classic: Pepper Spray","Classic: Breaching","Classic: Toolkit","Classic: Optiwand","Classic: Wedge","Graphic: Primary Weapon","Graphic: Secondary Weapon","Graphic: Flashbang Grenade","Graphic: CS Gas Grenade","Graphic: Sting Grenade","Graphic: Pepper Spray","Graphic: Breaching","Graphic: Toolkit","Graphic: Optiwand","Graphic: Wedge","Classic: Back","Classic: Deploy","Open/Close Menus","Fire","Melee","Reload","Equip Handcuffs","Change Firing Mode","Zoom","Toggle Flashlight","Use","Throw Lightstick","Change command group","Toggle Red team Viewports","Toggle Blue team Viewports","Toggle Sniper Viewports","Deactivate Viewports","Control Viewports","Display Objectives & Scores","Open Graphic Command Interface","Give Quick Command / Initiate","Equip Next Weapon","Equip Previous Weapon","Scroll Command Up","Scroll Command Down","Move Forward","Move Backward","Sidestep Left","Sidestep Right","Lean Left","Lean Right","Run/Walk","Crouch","Toggle Run/Walk","Toggle Crouch","Say","Team Say","Scroll Chat Up","Scroll Chat Down","Scroll Chat Page Up","Scroll Chat Page Down","Scroll Chat To Home","Scroll Chat To End","Hold Command","Activate Voice over IP") AudioVirtualizationChoices=("None","Low HRTF","High HRTF") SoundQualityChoices=("Low","High") -ScreenResolutionChoices=("800x600", "1024x768", "1152x864", "1280x768", "1280x800", "1280x960", "1280x1024", "1360x768", "1366x768", "1600x900", "1600x1024", "1600x1050", "1600x1200", "1920x1080", "2560x1440") +ScreenResolutionChoices=("800x600", "1600x1200") TextureDetailChoices=("Low","Medium","High") OtherDetailChoices=("Off","Low","Medium","High") RenderDetailChoices=("Custom","Low","Medium","High","Very High") @@ -128,4 +128,3 @@ CampaignObjectivesString=CAMPAIGN OBJECTIVES. [DefaultCustomSkin] SkinFriendlyName=Default SkinDescription=Selecting this skin will cause the default skin for your team to be used - diff --git a/System/SwatGuiState.ini b/System/SwatGuiState.ini index 95a576c1..ef31bb8d 100644 --- a/System/SwatGuiState.ini +++ b/System/SwatGuiState.ini @@ -378,9 +378,27 @@ AudioVirtualizationChoices=High HRTF SoundQualityChoices=Low SoundQualityChoices=High ScreenResolutionChoices=800x600 +ScreenResolutionChoices=1024x576 ScreenResolutionChoices=1024x768 +ScreenResolutionChoices=1152x648 +ScreenResolutionChoices=1152x864 +ScreenResolutionChoices=1280x720 +ScreenResolutionChoices=1280x768 +ScreenResolutionChoices=1280x800 +ScreenResolutionChoices=1280x960 ScreenResolutionChoices=1280x1024 +ScreenResolutionChoices=1360x768 +ScreenResolutionChoices=1366x768 +ScreenResolutionChoices=1440x900 +ScreenResolutionChoices=1600x900 +ScreenResolutionChoices=1600x1024 +ScreenResolutionChoices=1600x1050 ScreenResolutionChoices=1600x1200 +ScreenResolutionChoices=1920x1080 +ScreenResolutionChoices=1920x1200 +ScreenResolutionChoices=2560x1440 +ScreenResolutionChoices=3840x2160 +ScreenResolutionChoices=4096x2160 TextureDetailChoices=Low TextureDetailChoices=Medium TextureDetailChoices=High