Skyrim Special Edition
0 of 0

File information

Last updated

Original upload

Created by

RRKM

Uploaded by

rrkm04

Virus scan

Safe to use

Tags for this mod

About this mod

I want to share how to distribute by SPID
My wish is that everyone learns how to do this.
And you guys can make mods.

Permissions and credits
Sorry, this is not a mod.

There are many equipment mods in SkyrimMODs and it seems strange that they are exclusive to you.

But I am one. I can't take care of everything.

So I want to share how to do it here.

I would like to explain the procedure for distribution by SPID.

Create an esp with esl flag in SSEEdit.

How to make. Overwrite the record with anything. esp, select the esl flag.

Delete the resulting esp record and replace the NextObjectID in the file header with800.

Designate the esp of the armor you wish to equip as master.(In this example, the master esp is A-esp and the newly created
esp is B-esp.)

Add a leveled list to B-esp.

Add the armor you wish to equip to the leveled list in B-esp, by part.

Helmet, armor, hands, shoes, etc.

These are set per form ID xxx800, where "xxx" is the order in which they are automatically loaded.

If you have two helmets in A-esp, you would register two helmets in the B-esp leveling list. helmetA, helmetB, and so on.

This way the NPC will get one of the helmets.

This can be done quickly by using "Add items to leveling list.pas".

Make it 1 count 1 lv. This part is set in SPID.

The reason why it needs to be set for each part is because NPCs cannot recognise what they are wearing.

A wrong example is if you put all parts of the body on a leveled list and then put only one of them in Outfit, they will only wear one of them.

For example, boots alone will create a naked NPC.

If you want to dress the whole body, it is important to create a leveled list for each part and add it to the Outfit.

If you don't want them to equip it at half chance, enter 50 for the chance in the leveled list.

This is the probability of coming off.

If you set it to 100%, it will always come off.

Adding an outfit in B-esp.

Don't forget to register the leveled list you created to the outfit.

Once everything is registered, select Outfit and run "Spell Perk Item Distributor xEditScripts".

Save the resulting "Modname_DISTR.ini" file somewhere easily accessible.

"Modname_DISTR.ini" is a condensed version of the essence of SPID. It is distributed as written here.

The "Modname" part of "Modname_DISTR.ini" can be any name you like; it is a good idea to align the name with B-esp.

This approach requires these two files.

INI works with reference to the records in the b-esp that you created.

If you put it in the data folder, "Modname_DISTR.ini" will be loaded when Skyrim starts.

Note that in MO2, if it is in the overwrite folder, it will also be loaded.

Edit the resulting "Modname_DISTR.ini" with the "Spell Perk Item Distributor (SPID)" description to complete the process.

Modname_DISTR.ini" is written in the old way in terms of content, but once Skyrim is started, it is updated to the latest
writing style.

Of course, it is also possible to write it using the latest method from the beginning.



I forgot something important.

NPCs with synchronised levels slip through level filtering.

This is a problem with the SPID specification, in that once they are distributed at startup, they cannot subsequently take action on level changes ingame.

The solution is that the NPC's status skills are fixed and can therefore be filtered by skill.



Let's take a quick look at the internals of INI.

https://www.nexusmods.com/skyrimspecialedition/mods/65347?tab=files

Please download the OPTIONAL of this file. This is a mod I made.
;-----------------------------------------------------------------------
Keyword = TypeBandit|*Bandit,*Marauder,*Thief,*Thug
;Sword
Item = 0x803~Knight of the village set - SPID.esp|TypeBandit|NONE|1/999|NONE|1|2
;Shield
Item = 0x804~Knight of the village set - SPID.esp|TypeBandit|NONE|1/999|NONE|1|2
;KnightOfTheVillageOutfit
Outfit = 0x805~Knight of the village set - SPID.esp|TypeBandit|NONE|1/999|F|NONE|5
;-----------------------------------------------------------------------

The ; is commented out. It can be used for notes.

* is selected for everything that contains this keyword.

Use , as a delimiter. Use to register multiple words.

Although not used here, - eliminates words you do not want to include.

So, TypeBandit will select NPCs with the words Bandit, Mauder, Thief, and Thug.

Sword's 0x803 indicates the leveled list inside "Knight of the village set - SPID.esp". The last three digits should match.

The only record in "Knight of the village set - SPID.esp" with the last three digits of 803 is Sword. Therefore, this is distributed.

Sword is a weapon and therefore an item.

And it will be distributed to "TypeBandit" at a rate of 2%, one per level 1 to 999.

Similarly, SHIELD is an 804 record, see inside at SEEdit.

So SHIELD distributes to "TypeBandit" at 2% chance from level 1 to 999.

KnightOfTheVillageOutfit this is a set of clothes. The record should be made in OUTFIT. Make sure the record has 805 as the
last three digits.

This should include a set of armor that is put together in B-esp.

Some clothing, two gloves, two boots.

This means that the outfit with the three parts will be distributed to "TypeBandit" F (female) at 5%.

You should be able to equip whomever you want with whichever outfit you want.

supplement

If you change the attire of the same character, there will also be a conflict in the SPID.

For example, let's say you have a mod that sets Lydia up as a Dark Knight and another that sets her up as a Necromancer,
both of which are distributed under SPID

HousecarlWhiterun is an EditID in Lydia

;---------------------------------------
0001_DISTR.ini

Outfit = 0x800~DX Dark Knight Armor & Shield - SPID.esp|NONE|HousecarlWhiterun

0002_DISTR.ini

Outfit = 0x820~DX Necromancer Robes - SPID.esp|NONE|HousecarlWhiterun
;---------------------------------------

In this case, priority is given to 0002.

This is because the order in which ini files are loaded is by name.

0002 is loaded after 0001, and the lower one takes precedence by overwriting the record for the same character.

This is After the process of Lydia wearing 0001 clothes, the process of wearing 0002 clothes occurs It is expected that.

When ignoring probability and distributing 100%, the later reading order has priority.