XCOM 2
[WOTC] Set Item Weight
 此主題已被置頂,因此它可能很重要
LilAdamantos  [開發人員] 2020 年 5 月 21 日 下午 8:48
Compatibility
This mod is in its very nature going to be compatible with every other mod out there. The reason for this is it simply adds an extra ability to your weapons and/or items.

HOWEVER...

Edge Cases
You could end up configuring this mod in such a way that may lead to unintended side effects. For example, if you change the "rifle" weapon category, you will also affect the SMGs from the Long War SMG mod.

Specifically, let's say you do this:
+SET_WEIGHT_CLASS=(WEAPON_CAT=rifle, SET_ULTRALIGHT=1)

Your assault rifles will now have +2 mobility and a 20% smaller detection radius. But SMGs, if you're subscribed to them, will now have +5 mobility and even smaller detection radii.

There are a couple ways to fix this type of incompatibility. The easiest way would be to remove my abilities from the weapons you don't want them on.

Fixing Edge Cases
To fix this type of incompatibility, you can download Iridar's Weapon Skin Replacer (WSR) mod and use the remove ability command. I have already provided this mod with a config where you can do this. An example has been provided in that file. Go to the Config folder and open XComWeaponSkinReplacer.ini.

You are unlikely to run into these issues often, however, they are worth pointing out.

Maximizing Compatibility
To ensure maximum compatibility with other mods, it's best to refrain from changing weapon and item categories and instead focus on changing individual weapon templates instead.

This is a much more tedious method, but if you want to ensure that there's zero chance of unwanted overlap, then this is the best way to go about it.
最後修改者:LilAdamantos; 2020 年 5 月 21 日 下午 9:41