Tiffany wrote: ↑Thu Aug 17, 2023 10:06 am
EvenLess wrote: ↑Fri Aug 04, 2023 11:42 pm
all the RootTemplates-files
Question... do you happen to know what file stores a list of the items a NPC has equipped?
Sorry, not really. I thought all items were located in the RootTemplates, but that turned out to not be the case.
I haven't found an easier way to find items, than simple detective work. If I know the in-game name, I usually start in the
english.xml
file and see if I can find it there, then using the ID I found there, I use the index search to search all the unpacked/uncompressed data, and so on.
Tiffany wrote: ↑Thu Aug 17, 2023 10:06 am
I'm really struggling trying to find Ketheric's gloves. I found his boots & circlet in your items v2. But it doesn't have his gloves, and neither do any of the armor files I've opened nor the English localization file.
That is based on all the items found in the various RootTemplates files, which someone pointed out didn't contain all the items.
I took a shot at finding the gloves, just using some of the known references (MOO_Keth*, UND_Keth*, etc.) but either got too few or to many results.
Tiffany wrote: ↑Thu Aug 17, 2023 10:06 am
edit: btw I edited your weapon & object CTs with the new spawning code if you want to update your post on page 79 with them:bg3_weapon.CTbg3_object.CT
Also if you ever need to mass edit like that I recommend the ToolBucket plugin for Notepad++.
Thank you. I have been trying to get some gameplay in, so haven't really taken the time to update those old tables. I do have my own custom table, which I'm refining/optimizing to my liking, which I will probably post when I'm a bit further in my refining proces.
As for replacing things... For "simple" replacements I just use Notepad++, then depending on how simple the replace, I'll go between Normal, Extended or RegEx. For more advanced replace I create a small PowerShell script that either loops through the raw text or the actual XML, depending on the need.