Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem





On 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"?