XCOM 2
True Primary Secondaries [BETA]
 Acest topic a fost fixat, deci probabil este important
For Class Mod Authors
If you wish to use a primary secondary (Pistol, Sword) in your modded class, the loadout entry still requires an "_Primary" postfix, despite the actual template no longer existing.

eg: for a dual-pistol setup;
[XComGame.X2ItemTemplateManager] +Loadouts=(LoadoutName="My_Sqd_Loadout", Items[0]=(Item="Pistol_CV"), Items[1]=(Item="Pistol_CV"))
will bug out and you will end up still having the "rookie rifle"....
however
[XComGame.X2ItemTemplateManager] +Loadouts=(LoadoutName="My_Sqd_Loadout", Items[0]=(Item="Pistol_CV_Primary"), Items[1]=(Item="Pistol_CV"))
will work correctly, despite the actual item template of "Pistol_CV_Primary" being completely non-existent in your game.. and the 'real' item being used is indeed a "Pistol_CV"

.. yes, took me a long time to note this distinction.
Editat ultima dată de RustyDios; 5 dec. 2021 la 18:22