0 of 0

File information

Last updated

Original upload

Created by

Vaillp

Uploaded by

Vaillp

Virus scan

Safe to use

Tags for this mod

About this mod

Just a little script for xEdit to convert selected FormIDLists to a Skypatcher Format.

Requirements
Permissions and credits
Changelogs
xEdit script - Convert FormIDLists to Skypatcher

Just a little script for xEdit to convert selected FormIDLists to a Skypatcher Format.

  • By EditorID : 

filterByFormIDLists=TownLumberMill03ResidentList:formsToAdd=HertHern

  • or by FormID : 

filterByFormIDLists=Skyrim.esm|01363C:formsToAdd=Skyrim.esm|01367CSkyrim.esm|01367B



By default it will clear all items for each FormIDList selected : 
 
filterByFormLists=TownLumberMill03ResidentList:clear=true

But you can disable enableClearFirst and includeIdenticalToMaster to only keep added items.


Installation

Drop the .pas script into the folder ..\SSEEdit\Edit Scripts\

How to use

TLDR: Select FormIDLists and then apply script.

Long version:

1) Select FormIDLists
2) Right click > Apply Script 
3) Select my script Convert_FormIDLists_To_Skypatcher
4) Set settings in the SETTINGS section (see below)
5) OK

By default, the result will be copied to the clipboard and to the ‘Messages’ tab. 

SETTINGS Section 

//================================================ SETTINGS ================================================//
//
//
  // Configuration options

// List Format

// Enable List Format for FormIDList : True - False

  includeListFormat := True;

// Define the order of the desired elements (modify this order and comment the lines as required)

elementCaseOrder.Add(IDX_EMODNAME); //Mod selected
elementCaseOrder.Add(IDX_CONTAINERMODNAME); //FormIDList Master Mod
// elementCaseOrder.Add(IDX_CONTAINERFORMID);//FormIDList FormID : 0x4381D2 or 0x1D2
// elementCaseOrder.Add(IDX_CONTAINERMODTYPE);//FormIDList Master Mod Type : ESL - ESP - ESM
elementCaseOrder.Add(IDX_CONTAINEREDITORID); //FormIDList EditorID
elementCaseOrder.Add(IDX_CONTAINERORIGINFORMID);//FormIDList Full FormID : A44381D2 or FE1251D2
elementCaseOrder.Add(IDX_CONTAINERNAME); //FormIDList Name

// Define the separator
separator:=';';


// Skypatcher Format

// Enable Skypatcher Format For FormIDLists : True - False
includeSkypatcherFormIDListFormat := False;

// Enable Skypatcher Format For Items in FormIDLists : True - False
includeSkypatcherEffectFormat := False;

// Enable Skypatcher Format For convert FormIDLists : True - False
includeSkypatcherConvertFormat := True;

// Filter use for skypatcher
skypatcherFilter:='filterByFormIDLists';

// Action use for skypatcher
skypatcherAction:='addToFormIDLists';

// Skypatcher Format by FormID or EditorID : FormID - EditorID
SkypatcherIDFormat := 'EditorID'; //MyEditorIDWithText~1~1
//SkypatcherIDFormat :='FormID'; //Mod.esp|4381D2~1~1

// include items if there are identical to the master : True - False
includeIdenticalToMaster := True;

// clear FormIDLists first : True - False
enableClearFirst := True;

// Enable copy to Clipboard : True - False
includeClipboard := True;


//
//
//================================================ END SETTINGS ================================================//




FAQ


Q: Will you make <insert custom function> ?
A: If it's a good idea and I have time and skills to make it maybe.

Q: Does it create a .ini for Skypatcher ?
A: No, the result is copy to your Clipboard.

Q: How can I report a bug ?
A: In the bug section buddy

Q: It will be updated ?
A: it can be improved so: time and skills will tell


All my xEdit Scripts