XCOM 2
825 ratings
Squad Cohesion
 
Rate  
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
0.645 MB
Apr 6, 2016 @ 6:37pm
Jun 17, 2017 @ 11:14am
54 Change Notes ( view )

Subscribe to download
Squad Cohesion

Subscribed
Unsubscribe
In 1 collection by RealityMachina
RealityMachina's Mods (and the occasional other mod you should try)
65 items
Description
This mod puts a dash of Fire Emblem into your XCOM, leveraging a "squadmate score" system left in by Firaxis to give small buffs for squads that trust in each other.

LATEST UPDATE
Allowed Squads button to be manually enabled in LW2 (in XComSquadCohesion.ini), fixed math errors courtesy of Infernalis

Description

NOTE: This should now generally work with LW mods, including LW2. You will need to shift around the UI elements a bit though in the .inis.

The total cohesion score of a squad is calculated from the cohesion each soldier has with each other, and divided by the squad's size. So a four person squad that has max cohesion with each other will have a score of 400.

The squad cohesion levels, by contrast, are *multiplied* by squad size. So a four person squad has the low, medium, and high score requirements of 100 points, 200 points, and 300 points. A 10 person squad will have the requirements of 250, 500, and 750.

This means a 2 person squad can hit max cohesion if they know each other really well, while a eight person one may barely be able to hit the low amount even if some of them are at max cohesion with each other.

The values shown only update once you go to add a new soldier to the squad, not when you remove one.

The system works as such with the default values:

Below (25 * SquadSize) points, squads work as normal

At (25 to 49 * SquadSize) points, a deployed squad gains a buff of +2 Aim, +2 Def, +5 Hacking, +5 Psi Offense, and +10 Will

At (50 to 74 * SquadSize) points, a deployed squad gains a buff of +5 aim, +5 Def, +2 Crit Chance, +10 hacking, +7 Psi Offense, +1 Mobility and +15 Will

And at and past (75 * SquadSize) points, a deployed squad will gain a buff of +5 aim, +5 Def, +5 crit chance, +2 Mobility, +15 hacking, +10 Psi Offense, and +20 Will

These buffs and more can be adjusted at the XComSquadCohesion.ini located in (wherever XCOM 2 is installed)steamapps\workshop\content\268500\660665065\Config


Squadmates earn cohesion between each other by:


Vanilla Methods
Healing a soldier for +5 points
Stabilizing a downed soldier for +15 points
Carrying a downed soldier out of the battlefield for +30 points
And killing an enemy flanking a soldier for +10 points

These are all governed by XComGameData_XpData.ini that comes with the mod located in (wherever XCOM 2 is installed)steamapps\workshop\content\268500\660665065\Config. These also are all between the two soldiers that do them, no more.

Mod-added Methods
At the end of every mission, a change in cohesion between all squadmates (IE each squadmate will get the bonus or penalty with every other squadmate) will be done by getting:
Was the mission done? +5 points.
Was the mission flawless in terms of soldier injuries and fatalities? +5 points more.
How many ayys were killed? Get 10% of that in points.
Did anybody die? -3 points per death.
Did anybody get captured? -2 points per capture.
Did anybody get injured? -1 points per injury

Like the buffs above, these can be adjusted at the XComSquadCohesion.ini located in (wherever XCOM 2 is installed)steamapps\workshop\content\268500\660665065\Config


Penalties
In addition to the above, a soldier dying in a squad with some cohesion will cause everybody who knew that soldier well enough to roll for shaken.

By default:

If they didn't know them that well, nothing happens.

Each soldier in a low cohesion relationship with the dead soldier (25) will have a 20% chance of getting Shaken if a soldier ends up dying in the mission.

Each soldier in a med cohesion relationship with the dead soldier (50) will have a 40% chance of getting Shaken if a soldier ends up dying in the mission.

Each soldier in a high cohesion relationship with the dead soldier (75) will have a 70% chance of getting Shaken if a soldier ends up dying in the mission.

You can get a rough overview of soldiers relations to one another via their cohesion ratings in the personnel lists, along with seeing exact scores in the Armory Menu.

The vanilla chance of Shaken being applied to a soldier that got gravely wounded is left untouched.


Cosmetic/Quality-Of-Life Features
Individual relationship scores should be viewable by clicking on the Relationships button when viewing a soldier in the Armory.

There is now a squads organization feature at squad select, you can now save squad compositions you know work well with each other. (This can be disabled in the .ini if used with LW2)


Can't figure out what to name the squad you have? Just leave it blank, and the mod will auto-generate a squad name to go with the given squad composition.


Incompatibilities?

This mod uses UIScreenListeners to do all the major work, however some mods still conflict like:

Game Crashes on Tactical Load - unsub and resub to make sure you have the latest update, I believe I have found the issue to be the game trying to add new cohesion abilities to a team that already has one set, and set in an auto-check to prevent that. If it still crashes please report it.

Please go here to report any issues along that line.

I'm using a 21:9 Screen and I can't find the Relationship button
Change the following in the XComSquadCohesion.ini from
[SquadCohesion.RM_ArmoryMenu_ScreenListener]
POSITION_X=-250
POSITION_Y=70

to

[SquadCohesion.RM_ArmoryMenu_ScreenListener]
POSITION_X=-850
POSITION_Y=70

Credits
Full credit to Falcon and his Uniforms Manager mod, which this mod uses a modified version of its code for the squad management functionality.

Thanks to MantLemon for making the Chinese localization.
Popular Discussions View All (11)
41
Jun 19, 2016 @ 11:57pm
"My game is crashing on tactical load or when I try to move a soldier after loading"
RealityMachina
8
May 23, 2016 @ 10:01am
XCOM 2 start-up screen acknowledges the mod, but it's not working in-game.
Mr. Illusive
5
Dec 8 @ 10:39pm
You state that LW 2 is compatible but fail to state how
phillosopherp
< >
539 Comments
prokolyo Dec 13 @ 2:45pm 
Very nice mod - enjoying it much with LW2! Question - are the sparks able to form relationships, or it's human only?
Archangel Nov 20 @ 11:21am 
Hey, are you gunna work on a WOTC version, or have you given up support? This is a really good mod, and no squad creator mod works with WOTC. I'm sure loads of people would really appreciate it if you made this for WOTC. I understand if not though, since I'm sure making this took time.
Nkosi Kwesi Oct 29 @ 2:40am 
...
Love this mod. TWO thumbs up
Plenamir Oct 20 @ 4:53pm 
No it doesn't work with WOTC. I keep getting an eror.
Tinfoot Oct 19 @ 3:09pm 
Does this work with WOTC?
Here's hoping it does
Thrasher Oct 12 @ 10:22am 
I really hope this mod is updated for WOTC, no other mod does what this one does. Plus i like being able to sort my soldiers into teams.
Zyga Oct 6 @ 2:24am 
So I was wondering why my group was growing slowly and why everyone hated the psi user; I guess when you have a ton of Psizombies die that really puts a damper on everyone's mood.

but I can't really complain, nobody likes a necromancer ;'(
teh1archon Aug 9 @ 7:37am 
@Kad no. or at least shouldn't be.
Kad Aug 8 @ 9:28pm 
is this WotC compatible?
José May 30 @ 11:41pm 
I agree with Obama, too. This really added more flavor to the game in comparison to bondmates. A fireteam is nice, but a squad is where it's at.