LadyAneka Posted May 24, 2020 Posted May 24, 2020 So I'm venturing into scripting for the first time and need a bit of help. I thought I'd start by tweaking scripts from existing LL mods as a practice, but I've fallen at the first hurdle (well, the second - the first was Skyrim having deleted the Papyrus flags file and script sources but I've managed to fix that!). I'm simply trying to change which animation tag a mod looks for (in this case, SLEN) - I've opened the mod in the CK, gone through the dialogue and worked out which script is associated with the particular dialogue line I want to change the tag for. I've then unpacked the .bsa, gone to data/scripts/source and changed the tag in the script's .psc file. I've then run it through the Papyrus Compiler App that I downloaded from the Nexus and it's spouted out a whole list of compile errors, most of which come from SexLab itself rather than the SLEN script and don't seem to relate to functions called in the script I'm editing. I tried to alter the script in the CK itself and compile from there instead, but I've had no more joy. I'm using MO2 if that's relevant, and the mod works properly in normal gameplay. The first few lines of compile errors I've got from the CK. The ones from the compiler app are the same except that it gives the actual MO2 filepaths rather than the virtual ones: Compiling "SLENTIF__0402C05D"... D:\SteamLibrary\steamapps\common\Skyrim\Data\Scripts\Source\sslActorLibrary.psc(274,25): GetWornForm is not a function or does not exist D:\SteamLibrary\steamapps\common\Skyrim\Data\Scripts\Source\sslActorLibrary.psc(301,20): GetEquippedObject is not a function or does not exist D:\SteamLibrary\steamapps\common\Skyrim\Data\Scripts\Source\sslActorLibrary.psc(304,11): UnequipItemEX is not a function or does not exist D:\SteamLibrary\steamapps\common\Skyrim\Data\Scripts\Source\sslActorLibrary.psc(308,20): GetEquippedObject is not a function or does not exist D:\SteamLibrary\steamapps\common\Skyrim\Data\Scripts\Source\sslActorLibrary.psc(311,11): UnequipItemEX is not a function or does not exist D:\SteamLibrary\steamapps\common\Skyrim\Data\Scripts\Source\sslActorLibrary.psc(318,39): GetMaskForSlot is not a function or does not exist Any help gratefully received!
Fotogen Posted May 24, 2020 Posted May 24, 2020 All those function (GetWornForm, ...) are from SKSE. You didn't installed script sources(.psc) that come with SKSE. Compiler can't find them.
LadyAneka Posted May 24, 2020 Author Posted May 24, 2020 Thank you very much for such a prompt and helpful reply! Where would I find them? I have SKSE installed obviously, but can't see anything in my Skyrim folder that could contain them. EDIT: NVM, I redownloaded SKSE (the .7z version rather than the installer this time) and found them. Thanks again
Yinkle Posted May 24, 2020 Posted May 24, 2020 In addition to what @Fotogen said about skse, you will need the source files for all mods that SLEN is dependent on. This will likely include SkyUI which doesn't include the source code in the nexus version. You can get the source .psc files from the skyui github page
LadyAneka Posted May 24, 2020 Author Posted May 24, 2020 35 minutes ago, Yinkle said: In addition to what @Fotogen said about skse, you will need the source files for all mods that SLEN is dependent on. This will likely include SkyUI which doesn't include the source code in the nexus version. You can get the source .psc files from the skyui github page Thank you very much!
LadyAneka Posted May 24, 2020 Author Posted May 24, 2020 At last, I've got it to work. In case it helps anyone else, in addition to your solutions, I also had to: - Revert from SLA Extended to SLA Redux (v28b loose files) - Unpack the RaceMenu .bsa (as recommended on another LL post here: ) - Download the Creature add-on for FNIS (I hate the thought of having that on my Nexus DL history but needs must) All this effort just to change one animation tag - I'm beginning to realise why scripting is such a PITA and why people hate the CK so much!! Thank you both, and the respondent to the other LL post, for your help - this is why I love this community so much
Recommended Posts
Archived
This topic is now archived and is closed to further replies.