XCOM 2
129 ratings
UltraWide Squad Selection UI Fix
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
933.000 KB
14 Feb, 2016 @ 1:00pm
1 Aug, 2016 @ 9:57pm
14 Change Notes ( view )

Subscribe to download
UltraWide Squad Selection UI Fix

Description
IMPORTANT NOTICE: When using this mod in conjuction with either the Larger Starting Squad or More Squad Size Upgrades mods by BlueRaja, make sure you go into the config file (.ini) for those mods and change the setting "TryToFitEveryoneOnSquadSelectScreen" from true to false. If not bad things can happen and make the mods not play well with each other.
C:\Program Files (x86)\Steam\steamapps\workshop\content\268500\619895689\Config\XComMoreSquadSizeUpgrades.ini
or
C:\Program Files (x86)\Steam\steamapps\workshop\content\268500\619922328\Config\XComLargerStartingSquad.ini
is where you would go to disable the TryToFitEveryonOnSquadSelectScreen.

Also from various testing I have come to the conclusion that my mod tends to work best with other mods when it is loaded last. I've tend to notice less to no compatiblity issues with other mods when my mod is loaded last. For example when my mod is loaded first then Show Me The Skills is loaded sometimes the ui is set to the normal y level and therefore the extra ui added from Show Me The Skills is overlapping with the buttons at the bottom of the screen. BlueRaja has a detailed discussion post on how mod load order works https://steamhost.cn/steamcommunity_com/workshop/filedetails/discussion/620600092/412446890563673250/

--------------------------LatestUpdate v1.7.1 08/01/2016------------------------------------------

Update 1.7.1: Upodate UIAfterAction code to be a bit better optimized and get rid of some of my hardcoded values so it should funciton better. Fixed the scrollbar issues and added a config option for SCOLLBAR_HEIGHT. That way if for some reason you don't like the scroll bar being at the bottom or want more padding between it and the squad list you can.

--------------------------------------------Description-----------------------------------------------

This fixes the squad select screen for ultrawide monitors to make sure the UI lines up with the squad members. I also wanted to make sure this mod still functions even at the normal aspect ratios (4:3, 16:9, 16:10) in case in the event you need to use a different non-ultrawide monitor for some reason. With my experience with using mods for XCOM 2, it won't let you load a save that has previously used a mod that is now disabled. So I didn't want a user to be unable to progress in their current save in the event he/she needed to switch monitors.

This mod also fixes the After Action UI (The screen when the squad returns from combat) to have it align properly on (21:9) monitors.

Currently this is only for Single Player. After I uploaded it I realized I neglected Multi-player. I tried to do a fix for it real quickly but it didn't work so as soon as I figure it out, I will update this mod to also fix the UI for the squad editor for multi-player as well.

In the config file (XComUISquadSelect_UltraWideFix.ini) steamapps\workshop\content\268500\624476027\Config\XComUISquadSelect_UltraWideFix.ini:
LIST_WIDTH_BY_SLOTS
----default value is 6.
----Used to set how wide you would like the list to be in terms of number of slots and that many slots will be displayed before a scroll bar is needed

REORDERSLOTS
---default value is false
---if set to true it will reorder the slots to ensure the default 6 are always lined up with the models initailly. This is supposed to be used in conjuction when LIST_WIDTH_BY_SLOTS is greater than 6 to allow proper alignment of the slots.

SCROLLBAR_HEIGHT
---default value is 10
--Use to increase or decrease height of scrollbar on screen. Increase value to lower scrollbar, lower value to raise scollbar. I know it's inverse but it's not my fault that is how fraxis made the game.

------------------------------------------------Updates------------------------------------------------------------

https://steamhost.cn/steamcommunity_com/workshop/filedetails/discussion/624476027/360671247402636217/
Popular Discussions View All (2)
8
20 Mar, 2024 @ 1:11pm
Bugs/Issues
Constapatience
0
1 Aug, 2016 @ 9:53pm
Updates
Constapatience
135 Comments
Dogwalker2720 17 Jul, 2021 @ 1:30pm 
Thanks so much for this mod. Works really well for classic XCOM 2
belowzeros 17 Jan, 2020 @ 1:02am 
saved my life @constapatience with the comment about afteractionui, ty!
Constapatience  [author] 9 Nov, 2019 @ 10:25pm 
@DAOWAce sorry I just now saw you message but no it is not required for WotC as they fixed the issue. However they didn't fix it for the afteractionUI so I made a separate mod for that.
DAOWAce 24 Oct, 2019 @ 11:49am 
Is this required with WotC, and if so, is it even compatible?
Deesthetics 25 Sep, 2018 @ 11:16am 
Ok i retracted my statement or comment. I just reactivated the mod again. What I had to do is go to lw toolbox's config folder and open an ini called "XcomEngine", then i put ";" in front of (+ModClassOverrides=(BaseGameClass="UIAfterAction", ModClass="UIAfterAction_LW"). Save the ini and make sure to put this mod after the lw toolbox. If you are using AML (alternative mod launcher) don't worry about the "conflicts", it should work out just fine, I have tested this more than twice and I have no issues so far. Thank you so much for this mod. #ultrawidegang
:P
Deesthetics 21 Sep, 2018 @ 2:36pm 
At least the widescreen fix mod works for me since I do have an ultrawide monitor. But using that mod with this mod doesn't seem to work. Is it incompatible perhaps?
Iron Mantis 25 Nov, 2017 @ 11:27pm 
I've been trying to use this with "show me the skills". right now the UI dips below the buttons that are at the bottom of the screen (the build items, etc buttons) when I change the height in the ini it doesn't change anything and i'm not sure what to do. Can someone plz give me some advice?
Constapatience  [author] 4 Sep, 2017 @ 1:55pm 
@patrick-lepelletier Are trying to show more slots by setting LIST_WITH_BY_SLOTS to 8? That feature was added specifically for the 21:9 monitors (or wider) since they have the extra screen room to show the slots. Since you are using a 16:9 monitor the extra slots get cut off at the edge of the screen and therefore you won't see them. Since you are using 16:9 resolution just keep LIST_WITH_BY_SLOTS = 6 and you'll have to use the scroll bar for any extra slots.
patrick-lepelletier 4 Sep, 2017 @ 4:23am 
not working under vanilla with 8 soldiers on 1920*1080.
equipement showing as if i had 6 soldiers.
ProXz 21 Jan, 2017 @ 8:33am 
Hi there @Constapatience! I hope everything is ok. Any chance this will be updated to work with LW2?