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 Level Lists to a Skypatcher Format.

Requirements
Permissions and credits
Changelogs
xEdit script - Convert Leveled Lists to Skypatcher

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

  • By EditorID : 

filterByLLs=aGoodLeveledList:addOnceToLLs=firstItem~1~1, secondItem~1~1, LastItem~1~2

  • or by FormID : 

filterByLLs=newLeveledList.esp|0x807:addOnceToLLs=mod1.esp|22D751~1~1, mod1.esp|798B9A~1~1, mod2.esp|802~1~2


Installation

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

How to use

TLDR: Select Leveled Lists and then apply script.

Long version:

1) Select Leveled Lists
2) Right click > Apply Script 
3) Select my script Convert_LLs_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 Leveled List : 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_LLMODNAME);        //Leveled List Master Mod
    elementCaseOrder.Add(IDX_LLFORMID);         //Leveled List FormID : 0x4381D2 or 0x1D2
  //  elementCaseOrder.Add(IDX_LLMODTYPE);      //Leveled List Master Mod Type : ESL - ESP - ESM
    elementCaseOrder.Add(IDX_LLEDITORID);       //Leveled List EditorID
  //  elementCaseOrder.Add(IDX_LLORIGINFORMID); //Leveled List Full FormID : A44381D2 or FE1251D2

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


// Skypatcher Format

  // Enable Skypatcher Format For Leveled Lists : True - False
  includeSkypatcherLLFormat := False;

  // Enable Skypatcher Format For Items in Leveled Lists : True - False
  includeSkypatcherItemLLFormat := False;  

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

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

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

  // 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
  includeItemsIdenticalToMaster := True

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

// 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


Thanks to Eclapse for the original idea and testings