安装 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(越南语)
Українська(乌克兰语)
报告翻译问题





在 Reddit 上 






































































I forgot to mention, in the Combat Extended File, some defnames that you need to replace are not in the "<defName>(thing)</defName>" format, some of them have "defName=(thing)" too. There is an easy way around this though,
Find the outdated defName, copy it, and paste into your CTRL+F bar. Then, copy the up-to-date defName and begin replacing all the instances of the old defName you find.
This was a possibly unnecessarily long guide to modify the files, but I hope it helped! Let me know if there are any parts confusing to you.
Next, find the Combat Extended mod folder.
Open ModPatches > Grimworld Angels of Death (or whatever mod you are looking to modify, works for Core Imperalis and Talons of the Emperor too!) > Patches > Grimworld Angels of Death (yes, again) > CE_Patch_Melee_Weapons
Now, CTRL+F again for Relic Powersword (do NOT use the defname, you will NOT find it, since the whole reason you are doing this is to replace the outdated defname) Now that you have found the "relic powersword" section, CTRL+F for "defName" and it will find all instances where you will have to paste your new defname. For the Relic Powersword, there are a total of 7 instances you have to replace, but for other items there may be more or less. Personally, I recommend CTRL+F'ing for <defName> from the start, then replacing the items as they come up rather than item by item to make sure you haven't missed any.
For an actual procedure using the Relic Powersword as an example:
Open the mod folder for this mod > version (1.6 or 1.5) > Defs > ThingsDefs_Misc > ThingsDefsWeapons_Melee
In the ThingsDefsWeapons_Melee file, CTRL+F for "<defName>" (alternatively, you could search for the specific defname of the item you want to change, but when patching for, say, the chainsword, you would need to know the defname beforehand, which defeats the purpose of looking for it). CTRL+C whatever name is between <defName> and </defName>.
Fortunately, defnames for each item are usually confined to a single file, as in the case of both this mod and combat extended. (for example, the stats for Relic Powersword all appear under ThingsDefsWeapons_Melee.xml in this mod's files and there are no references to the defname for it in any other file within this mod). This means you only need to replace the defnames that appear in that file only to change that item.
(before you start modifying files, I recommend you Select all (CTRL+A), copy (CTRL+C), then paste into some document (google document works) for safe keeping in case you corrupt something on accident.
For sure! It's essentially just coding, but each "defname" defines an object with that name. For example, the Powersword in this mod has the defname "GW_AOD_Powersword," which is distinct from the defname for the Relic Powersword, which is "GW_AOD_Relic_Powersword."
Defnames are essentially arbitrary, but they must be consistent, as some coding is inherited by ParentNames (far beyond what you need to know unless you intend on heavily altering the files).
Thank you very much, but could you give me a slightly more detailed procedure on how to fix this "defname"?