XCOM 2
[WOTC] Iridar's Autopistol Overhaul
son0fether 18 Apr, 2024 @ 9:40pm
INI Settings for Five-Tier Weapons
I like the idea of this mod, and I wanted to try it with Five-Tier Weapons.
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2406120902

They don't work together since they modify different things. I wrote out a set of INI changes for Five-Tier Weapons (NOT this mod) that replicate the changes in this mod to the five-tier weapons. You still need this mod because it unlocks autopistols early, even for modded classes.

I can't find a collapse/accordion tag, so here's all the changes. These occur in the autopistol template file in the five-tier mod:
\steamapps\workshop\content\268500\2406120902\Config\3Autopistol\XComTemplateEditor.ini

Don't forget to make backups of your INI files before you edit them.

Replacing the 5 damage lines:
+Edit_X2WeaponTemplate = (T = "Autopistol_T1", P = "BaseDamage", Damage = (Damage=3, Spread=0, PlusOne=0, Crit=1, Pierce=-1, Shred=0, Tag="", DamageType="Projectile_Conventional")) +Edit_X2WeaponTemplate = (T = "Autopistol_T2", P = "BaseDamage", Damage = (Damage=3, Spread=0, PlusOne=50, Crit=1, Pierce=-1, Shred=0, Tag="", DamageType="Projectile_MagXCom")) +Edit_X2WeaponTemplate = (T = "Autopistol_T3", P = "BaseDamage", Damage = (Damage=4, Spread=0, PlusOne=0, Crit=1, Pierce=-1, Shred=0, Tag="", DamageType="Projectile_MagXCom")) +Edit_X2WeaponTemplate = (T = "Autopistol_T4", P = "BaseDamage", Damage = (Damage=4, Spread=0, PlusOne=50, Crit=1, Pierce=-1, Shred=0, Tag="", DamageType="Projectile_BeamXCom")) +Edit_X2WeaponTemplate = (T = "Autopistol_T5", P = "BaseDamage", Damage = (Damage=5, Spread=1, PlusOne=0, Crit=2, Pierce=-1, Shred=0, Tag="", DamageType="Projectile_BeamXCom"))

Replacing the 5 RangeAccuracy lines:
+Edit_X2WeaponTemplate = (T = "Autopistol_T1", P = "RangeAccuracy", OP = "Remove") +Edit_X2WeaponTemplate = (T = "Autopistol_T1", P = "RangeAccuracy", V = "0") +Edit_X2WeaponTemplate = (T = "Autopistol_T1", P = "RangeAccuracy", V = "45") +Edit_X2WeaponTemplate = (T = "Autopistol_T1", P = "RangeAccuracy", V = "40") +Edit_X2WeaponTemplate = (T = "Autopistol_T1", P = "RangeAccuracy", V = "37") +Edit_X2WeaponTemplate = (T = "Autopistol_T1", P = "RangeAccuracy", V = "33") +Edit_X2WeaponTemplate = (T = "Autopistol_T1", P = "RangeAccuracy", V = "28") +Edit_X2WeaponTemplate = (T = "Autopistol_T1", P = "RangeAccuracy", V = "24") +Edit_X2WeaponTemplate = (T = "Autopistol_T1", P = "RangeAccuracy", V = "19") +Edit_X2WeaponTemplate = (T = "Autopistol_T1", P = "RangeAccuracy", V = "15") +Edit_X2WeaponTemplate = (T = "Autopistol_T1", P = "RangeAccuracy", V = "8") +Edit_X2WeaponTemplate = (T = "Autopistol_T1", P = "RangeAccuracy", V = "0") +Edit_X2WeaponTemplate = (T = "Autopistol_T1", P = "RangeAccuracy", V = "-2") +Edit_X2WeaponTemplate = (T = "Autopistol_T1", P = "RangeAccuracy", V = "-5") +Edit_X2WeaponTemplate = (T = "Autopistol_T1", P = "RangeAccuracy", V = "-7") +Edit_X2WeaponTemplate = (T = "Autopistol_T1", P = "RangeAccuracy", V = "-10") +Edit_X2WeaponTemplate = (T = "Autopistol_T1", P = "RangeAccuracy", V = "-12") +Edit_X2WeaponTemplate = (T = "Autopistol_T1", P = "RangeAccuracy", V = "-15") +Edit_X2WeaponTemplate = (T = "Autopistol_T1", P = "RangeAccuracy", V = "-17") +Edit_X2WeaponTemplate = (T = "Autopistol_T1", P = "RangeAccuracy", V = "-18") +Edit_X2WeaponTemplate = (T = "Autopistol_T1", P = "RangeAccuracy", V = "-19") +Edit_X2WeaponTemplate = (T = "Autopistol_T1", P = "RangeAccuracy", V = "-19") +Edit_X2WeaponTemplate = (T = "Autopistol_T1", P = "RangeAccuracy", V = "-21") +Edit_X2WeaponTemplate = (T = "Autopistol_T1", P = "RangeAccuracy", V = "-25") +Edit_X2WeaponTemplate = (T = "Autopistol_T1", P = "RangeAccuracy", V = "-27") +Edit_X2WeaponTemplate = (T = "Autopistol_T1", P = "RangeAccuracy", V = "-30") +Edit_X2WeaponTemplate = (T = "Autopistol_T1", P = "RangeAccuracy", V = "-35") +Edit_X2WeaponTemplate = (T = "Autopistol_T2", P = "RangeAccuracy", DT = "Autopistol_T1") +Edit_X2WeaponTemplate = (T = "Autopistol_T3", P = "RangeAccuracy", DT = "Autopistol_T1") +Edit_X2WeaponTemplate = (T = "Autopistol_T4", P = "RangeAccuracy", DT = "Autopistol_T1") +Edit_X2WeaponTemplate = (T = "Autopistol_T5", P = "RangeAccuracy", DT = "Autopistol_T1")

Replacing the CritChance lines:
+Edit_X2WeaponTemplate = (T = "Autopistol_T1", P = "CritChance", V = "15") +Edit_X2WeaponTemplate = (T = "Autopistol_T2", P = "CritChance", V = "15") +Edit_X2WeaponTemplate = (T = "Autopistol_T3", P = "CritChance", V = "15") +Edit_X2WeaponTemplate = (T = "Autopistol_T4", P = "CritChance", V = "15") +Edit_X2WeaponTemplate = (T = "Autopistol_T5", P = "CritChance", V = "15")

Everything above is owned by Iridar. I didn't make anything up, I just pasted one set of configs onto another, and figured out the right formatting. I figured out the template formatting for values by looking at the sawed off shotgun file in the five-tier mod.

I've double-checked that the range values are correctly written by teleporting a soldier using console commands. The negative piercing doesn't show up in the stat blocks, but neither does positive armor piercing. The crit chances and changed damage do show correctly.

I'm using this with CI, and they have 2 infiltration hours like pistols. They also look like they work fine with True Primary Secondaries, modifying both the secondary and primary as intended.

Thanks and I hope people have fun with this.