XCOM 2
True Primary Secondaries [BETA]
 此主題已被置頂,因此它可能很重要
RustyDios 2021 年 12 月 5 日 下午 6: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.
最後修改者:RustyDios; 2021 年 12 月 5 日 下午 6:22