XCOM 2
[WOTC] Star Wars Galactic Republic Weaponry
Trooperparsec Jun 9, 2023 @ 12:33am
Fixing Weapons Not Upgrading in LWOTC
I wanted to write a quick guide to a solution to this problem, as it seems there are enough people experiencing it to justify a solution being noted in an exposed place. Before we begin, shoutout to @DonnyGuitar, who originally posted about this solution in the comments section of this mod.

The Problem

The upgrades for the different weapon types appear after doing the relevant research, you buy them, and discover that they do not appear in your inventory. No matter what you buy or where you look, your weapons do not upgrade, leaving you to attempt the rest of your run with the baby early game weapons. This seems to arise from the weaponry mod requiring purchasing of the "squad upgrade" for vanilla magnetic weapons to register in order to make the upgraded forms for the Star Wars weapons visible; because LWOTC makes you buy upgraded weapons individually, this cannot be done by standard in-game means.

The Solution

As suggested by @DonnyGuitar, the solution is to change up the code to make the original squad upgrades available, then to purchase these upgrades in game. Fear not, it's a relatively simple fix.

Begin by navigating to the mod folder. For most people this will appear under

C:/steam/steamapps/workshop/content/268500/2683996590/Config

You're looking for a .ini file titled "XComLW_Overhaul.ini" . If you are having trouble finding it, you can alternatively use your file search function in the /content folder, though this will take some time as your computer searches through all the files.

Once you have found it, open it using a text application (I just used standard notepad). Scroll through the lines until you find the appropriate "SchematicsToDisable" line (they are all towards the top) and delete it (or comment it out if you want to do something easily undone; in notepad this is done simply by inputting a semicolon (";") at the beginning of the line).

For example, I want to upgrade my DC-15A to its magnetic version. The mod associates the DC-15A with the vanilla assault rifle, so to do this I find the line in XComLW_Overhaul.ini that reads:

+SchematicsToDisable=AssaultRifle_MG_Schematic

By deleting it entirely, or simply placing a ";" at the front to comment the line out, I have re-enabled the ability to purchase this particular squad upgrade in LWOTC (The vanilla magnetic rifle engineering "schematic"). The same is true for "Shotgun_MG_Schematic" to unlock the squad magnetic shotgun upgrade, and (shockingly) "SniperRifle_MG_Schematic" for the sniper rifle squad upgrade, etc. Do this for all weapons you intend to upgrade, then hit save.

The final step is to relaunch your game and buy the newly available vanilla squad upgrades in engineering. All you'll need to buy is the "Magnetic Rifle [SQUAD UPGRADE]"... the weapon upgrade itself (i.e DC-15A Rifle Magnetic) is not necessary. Your new weapons will be available in your inventory as soon as you leave engineering.

Again, shoutout to @DonnyGuitar for originally finding this solution. I hope this helps you get back to taking out ADVENT with the aid of the Galactic Republic.
Last edited by Trooperparsec; Jun 9, 2023 @ 2:35am