XCOM 2
The MOCX Initiative (LW2 for Base Game)
 This topic has been pinned, so it's probably important
RealityMachina  [developer] 21 Feb, 2017 @ 5:51pm
The Config Files of MOCX
All mentioned config files should be located in (wherever XCOM 2 is installed)\(steamapps\workshop\content\268500\868867922\Config)

This will mention variables that are currently actively used by the mod only.

XComDarkXCom.ini
VigilanceChance = 5; additional chance for MOCX to appear, this is multiplied by every point of vigiliance past the threshold for the region the mission is in

it is also used in low vigiliance areas to decrease MOCX's chances of appearing, being used as a negative number instead.

VigilanceThreshold = 12; if vigiliance in a region is equal or above this, the chance of encountering MOCX will increase.

LowThreshold = 6; if vigilance is at or below in a region, it is considered a region not looking out for XCOM's activites, and thus MOCX's chances of appearing is lowered in this region.



Misc Functions
NormalHealingRate = 144; this is how many hours a MOCX soldier has to wait per point of HP lost on a mission, default is six days

AdvancedHealingRate = 72; this is how many hours a MOCX soldier has to wait per point of HP once the ICUs Dark Event has activated


+NormalPCSes=CommonPCSSpeed
+NormalPCSes=CommonPCSConditioning
+NormalPCSes=CommonPCSFocus
+NormalPCSes=CommonPCSPerception
+NormalPCSes=CommonPCSAgility
+NormalPCSes=CommonPCSDefense
+NormalPCSes=RarePCSSpeed
+NormalPCSes=RarePCSConditioning
+NormalPCSes=RarePCSFocus
+NormalPCSes=RarePCSPerception
+NormalPCSes=RarePCSAgility
+NormalPCSes=RarePCSDefense
+NormalPCSes=EpicPCSSpeed
+NormalPCSes=EpicPCSFocus
+NormalPCSes=EpicPCSPerception
+NormalPCSes=EpicPCSAgility
+NormalPCSes=EpicPCSConditioning
+NormalPCSes=EpicPCSDefense

These govern the PCSes MOCX soldiers can get on generation.


AWCLimit = 3 - how many AWC abilities a MOCX soldier can have

XPosition and YPosition: governs the text location of the MOCX Chance Indicator at the Resistance Management screen.

Dark XCom HQ variables

StartingSoldiers = 12 - starting number of soldiers. Is also the emergency reinforcements if XCOM kills all available MOCX soldiers.
MonthlyReinforcements = 4 - replacements MOCX HQ can get due to losses or otherwise not being at cap yet

MaxSoldiers = 24 - how many soldiers MOCX can have in total

StartingSquadSize = 4 - the initial size of MOCX squads. Minimum squad is 2, and caps out at 10 after squad size upgrades.

BaseChance = 10 - the game rolls out of one hundred to determine the chance of MOCX appearing on a mission. This is the base chance without any additions from high vigilance or time since last MOCX encounter

MissingChance = 5 - This is how much additional chance is added for every mission the player has done and that MOCX hasn't appeared on. ie (MissingChance * Missions You've Done Without MOCX)


ActivationMonth = 3 - (each "month" equals 21 days) This governs when the MOCX Initiative goes online in a campaign.

BaseMonthsForRanks = 3 - formula for this is Number of months active / BaseMonthsForRanks. Once that hits 2, replacement soldiers will start off past squaddie.

AdvancedMECChance = 50 - if a roll against 100 is less than this, a MEC will be added to a MOCX squad when that dark event has activated

Character Pool Rules

SoldiersOnly = false - set this to true so units tagged to be only soldiers can be used
DarkVIPsOnly = true - set this to true so units tagged to be only Dark VIPs can be used

UseEntireAppearance = false - set this to true if you want a specific custom look for MOCX soldiers, IE EXALT mods or what not


Soldier Rules
PromotionThreshold = 2 - how many months it takes for a MOCX soldier to get promoted


XComDarkClassData.ini

This in general governs the classes that MOCX soldiers can get. You can't really mess around with what classes they can get yourself (there's some complicated work required for that), but you can mess around with what abilities a MOCX soldier can get along with their stat increases.

Change those if you want to make this easier on yourself.

XComGameData_CharacterStats.ini
Governs character stats. You want to alter the DarkRanger/DarkSniper/etc ones, not the DarkSoldier ones.

XComGameData_WeaponData.ini
Governs weapon stats. If you altered these in vanilla XCOM 2, they work pretty much the same way.

XComGameData.ini
Governs the actual loadouts of MOCX soldiers of a specific class. Do NOT change the names, but you can alter anything else, if you want to.
Last edited by RealityMachina; 24 May, 2017 @ 2:43pm