XCOM 2
True Primary Secondaries [BETA]
 Este tema se ha marcado como fijo, por lo que probablemente sea importante
RustyDios 5 DIC 2021 a las 18:19
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.
Última edición por RustyDios; 5 DIC 2021 a las 18:22