Skip to content

Adding support for mod added Books

Raulfin edited this page Jan 19, 2015 · 1 revision

To add support for mod added Books, the following information is needed, it can all be found in the mods esp.

  1. Book Name.
  2. Book EDID.
  3. Is the Book required 'by', or a reward for ANY quest.
  4. Is the Book a Note or Journal.

With that info open LeveledLists.xml.
1.n1 If #3, or #4 is true, create an entry in distribution_exclusions_book;

	<exclusion>
		<text>Info</text>
		<target>NAME</target>
		<type>CONTAINS</type>
	</exclusion>

What goes here can vary, the <target> can be NAME, EDID or FORMID n2. The <text> is what the <target> checks for, and the <type> is how it is checked. <type> can be either;

  • CONTAINS - If the text is matched anywhere in the target the exclusion is true.
  • STARTSWITH - If the text is matched at the begining of the target the exclusion is true.
  • EQUALS or EQUALS_IGNORECASE. - If the text is matched exactly in the target the exclusion is true.

Tips

Using EDID for exclusions is almost always easier than using item names. Most modders will use custom EDID prefixes for every record in their mods, mine all use Raul_Weap_ for weapons. Using that all items in the mod can easily be excluded with just 1-2 entries instead of dozens. This will also help keep the file size down and speed up parsing.

Everything is case sensitive, except an EQUALS_IGNORECASE exclusion type.

Every book with Note or Journal in the NAME or EDID has already been excluded from distribution.


Notes

n1An Exclusion needs to be as exclusive as possible, EDID exclusions such as Armor or Ench will exclude nearly every Vanilla and DLC armor and cannot be used, most mods use a custom prefix, like Skyrim Immersive Creatures uses 00_ for everything, every EDID exclusion should be as long as possible, at least 4-5+ characters long, or 3+ characters long if it uses an underscore (_) near the start.

n2FORMID is extremely rare and should almost never be used, I only use it for 1 item from Skyrim.esm and only because the item had to be excluded and the name was the same as a common weapon. Anything submitted with a FormID check will need a very good reason and absolutely no other way of doing it.