[LWOTC] All Soldiers Gain XP – Enhanced
Please go into game’s MCM options to configure this mod, specifically: make sure the new "rank-specific XP modifiers" are not 0 for the ranks that you want to gain XP. If you subscribed after 4 Sept 2025, you should be fine, but it is still highly recommended that you do this.
——————-
+ Now you can choose whether soldiers who are:
> infiltrating
> in covert ops
> working as haven advisors
can also gain passive XP from completed missions.
+ Now you can set separate, rank-specific XP gain modifiers for each rank (from Rookie to MSgt). This is ON TOP OF the base XP percentage modifier and XP divisor. See below for more detailed description.
——————-
: This is a LWOTC port of BlueRaja’s wonderful mod "All Soldiers Gain XP". Specifically, I ported Blooest’s LW2 port of BlueRaja’s original mod to work with LWOTC.
: No class overrides. Obviously, you should not use this together with either BlueRaja’s original, or Blooest’s LW2 port.
: I would suggest setting "Gain Percentage" to around 0.3 or lower, and the divisor to 6 (or even higher). After playing for a while, I find this to be sort of a sweet spot: There is still value in making one or two officers get Trial By Fire, but at the same time folks who join your barracks later still get to level up passively. You may still find this to be too lenient; in that case set "Gain Percentage" to something like 0.2, 0.15 or even 0.1.
Also, I would *STRONGLY* recommend unchecking (i.e. NOT enabling) "Rookies gain XP", if you use mods such as "Commander’s Choice" and/or you want to preserve special rookies for GTS promotion later. If the rookies get promoted due to passive exp gain from this mod, you DO NOT get to choose their class even if you have "Commander’s Choice" mod. This is an issue not even BlueRaja’s original can handle, let alone me.
Version 1.1 adds rank-specific XP gain modifiers. These are ON TOP OF the "general" XP gain percentage and XP divisor. I would recommend setting these to 0 or a low number (e.g. 0.25) for all ranks below Sgt. Doing so means the Officer perk Trial By Fire won’t be made obsolete by this mod.
: Should be. For this LWOTC run, I have been using RustyDios’s Psionic class, which replaces the game’s original Psionic. They also get experience from this mod.
: Let’s use an example. (Soldier Info Redux by RustyDios is a highly recommended mod, because then you can see how much XP a soldier has & how much is needed for next rank)
Suppose you set "Gain Percentage" for non-participating soldiers to 0.5, and "divisor" to 6. (Again, I suggest setting "Gain Percentage" to a lower number)
Let’s say you did a hard supply raid mission (27 enemies in total).
The "mission weight" of this mission is 27.0 (the number of enemies when the game first loaded, discounting any reinforcements). 27.0 is divided by "divisor" 6.0, and we get 4.5. This 4.5 is further multiplied by the "Gain Percentage" 0.5 to become 2.25.
Now, LWOTC has a "Kill assists per kill" number for each class. E.g. for Grenadier this is 5.7, for Specialist this is 5.95. So a Grenadier in the barracks who did not participate, will get 2.25 * 5.7 = 12.825 points of experience, and a Specialist will get 13.3875 points of experience. Because the end number should be an integer, so the game will do its own rounding (up or down I’m not sure, I *think* in this case it is to the nearest integer).
So the Grenadier gets 12 OR 13 points of XP, Specialist gets 13 OR 14 points of XP. This is the end result.
Now, however, suppose the Grenadier is of rank TSgt, and Specialist is of rank Cpl.
Starting from version 1.1 (4 Sept 2025), you can now set a rank-specific XP gain modifier for each rank. Let’s say you set it to 1.0 (max) for TSgt, and 0.5 for Cpl.
Then, the Grenadier exp will be:
12 OR 13 * 1.0 = 12 OR 13 (unchanged)
And the Specialist exp will be:
13 OR 14 * 0.5 = 6.5 PR 7 –> 6 OR 7
The main reason for this feature is the "Trial By Fire" Officer perk in LW2 / LWOTC. Say, you set this rank-specific modifier to 0 or a very low number (say 0.2) for all ranks below Sgt, then suddenly TBF is viable again and no longer made obsolete by this mod. The reasoning can be this: newbies don’t yet know how to learn just by listening to their comrades recount how battles went, but once you reach Sgt rank, your minds become enlightened, eh… right (I run out of ideas to justify this; form your own head canon).
: Should be fine. In fact, I started my current LWOTC run with BlueRaja’s WOTC original installed, then found out it didn’t really work & uninstalled it mid-game, then coded my own port (this mod) and installed it. So far it’s been working fine.
: I got the original author BlueRaja’s permission. I tried contacting Blooest as well, since I directly worked on their LW2 port, but they must have mistaken my friend request as that of a scammer and blocked me (meaning I cannot even comment on their LW2 port mod to ask for permissions now).
BlueRaja is fully aware of this, and still gave me their permission.
Blooest, if you are reading this: I should really have asked on the mod page first instead of sending the friend request first. Thank you for your work on the LW2 port!
: If by then I am still playing, sure. Otherwise you’re free to take the code from my port and fix it to make it work for whichever future LWOTC version there may be (it may be best to at least try to ask BlueRaja for permissions)..
———-
– BlueRaja – For the original mod!
– Blooest – For the LW2 port!
– Tedster, Styrium, BlackDog on XCOM 2 modding discord: without your step-by-step help, I wouldn’t have been able to make this port. Thank you!
– All who have contributed to LW2 & LWOTC: Thank you!
– Firaxis, 2K etc.: Of course!
