-
Notifications
You must be signed in to change notification settings - Fork 11
Adding support for mod added Spells
To add support for mod added Spells, the following information is needed, it can all be found in the mods esp.
- Spell Name.
- Spell EDID.
- Is the Spell required 'by', or a reward for ANY quest.
- Is the Spell a Racial or other Ability.
- Is the Spell a dummy spell, only used to activate a MGEF to apply a perk.
- Is the Spell scripted, or otherwise unusable by NPCs.
With that info open LeveledLists.xml
.
1.n1 If #3, #4, #5 or #6 is true, create an entry in distribution_exclusions_spell
;
<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 thetext
is matched anywhere in thetarget
the exclusion is true. -
STARTSWITH
- If thetext
is matched at the begining of thetarget
the exclusion is true. -
EQUALS
orEQUALS_IGNORECASE
. - If thetext
is matched exactly in thetarget
the exclusion is true.
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.
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.