安装 Steam
登录
|
语言
繁體中文(繁体中文)
日本語(日语)
한국어(韩语)
ไทย(泰语)
български(保加利亚语)
Čeština(捷克语)
Dansk(丹麦语)
Deutsch(德语)
English(英语)
Español-España(西班牙语 - 西班牙)
Español - Latinoamérica(西班牙语 - 拉丁美洲)
Ελληνικά(希腊语)
Français(法语)
Italiano(意大利语)
Bahasa Indonesia(印度尼西亚语)
Magyar(匈牙利语)
Nederlands(荷兰语)
Norsk(挪威语)
Polski(波兰语)
Português(葡萄牙语 - 葡萄牙)
Português-Brasil(葡萄牙语 - 巴西)
Română(罗马尼亚语)
Русский(俄语)
Suomi(芬兰语)
Svenska(瑞典语)
Türkçe(土耳其语)
Tiếng Việt(越南语)
Українська(乌克兰语)
报告翻译问题








<supportedArmors>
<li>VWE_Apparel_Exoframe</li>
</supportedArmors>
<supportedTraits>
<li>Tough</li>
</supportedTraits>
Seems to indicate only the exoframe supports heavy weapons, even though the mod description says any power armor should support heavy weapons, but I also barely have any understanding of these mods, given I never made or edited one. I don't even understand why there's no 1.3 file in the Mods\Vanilla Weapons Expanded - Heavy Weapons directory.
And besides, I can't even get the mod to work, no matter what combination of mods I use. To me the weapons cannot be picked up even if a colonists is wearing cataphract armor, exoframe and has the tough trait. Only incapable of violence colonists give the option to equip them, except the option is disabled because they are incapable of violence.
I honestly kind of think this mod is discontinued and broken, but then again, I could be wrong and just didn't try hard and long enough.
U can also, just download dnSpy to edit HeavyWeapons.dll
The problem is here. Some command calls inactive method called HasActiveGene that is now called HasGene
So how to fix that
Open heavyweapons.dll from vanilla_expanded_framework\1.5\Assemblies
Make a backup copy
find CanEquip row in the left column - right click - edit method C#
U need 29th row
Change
if (pawn.genes.HasActiveGene(DefDatabase<GeneDef>.GetNamedSilentFail(defName)))
to
if (pawn.genes.HasGene(DefDatabase<GeneDef>.GetNamedSilentFail(defName)))
Compile
And save the dll
If U can't compile and there are errors that means U also need to open some other dlls that contains methods used in this dll
usually these are Assembly-CSharp.dll and UnityEngine.dll fromRimWorld\RimWorldWin64_Data\Managed
U would understand U open all u need as soon as commands in C# method editing will become colored in any colours but red