Jump to content

Fixing Mod Script Trouble


Selborn

Recommended Posts

New to the forums and not too familiar with the construction set yet, so I'm having a bit of trouble. I started making my own mod as practice, but I've ended up more poking around the mods I play with and bug fixing little things when I run into them. https://www.nexusmods.com/oblivion/mods/40874 resurrects the NPC as what is essentially a companion. (technically I think it makes a copy) My issue is sometimes it doesn't seem to properly get rid of all the original AI packages. When reading around removescriptpackage only permanently scripts I think? The specific issue I've run into is SOME (I don't know why only some) npcs have kept 000AA01C and 000AA01D wander packages (I've tested some of the same named types of npcs that had the packages originally, but have had them removed. Weirdly, the breton variants all of the npc have all kept the packages, but the high elf versions lose them as intended). Thus, after having told them to wait for a bit, they see the conditions are true and begin executing these packages instead of doing what that they are told.

(I've considered bigger solutions, like replacing those AI packages with non conditional ones, but of course that'll affect any NPC that I replace those packages for, and I'm unsure of exactly what the consequences might be so I'd rather not do it without knowing).

Also I'm not positive this is even the correct subforum, or if this should be in Oblivion Mod Troubleshooting or Oblivion Construction Set and Modders instead... in fact I originally meant for this to be in Mod Troubleshooting but I got my tabs mixed up and post here

Edited by Selborn
Link to comment
Share on other sites

Well you might be right. If I would choose, I had choosen the Oblivion Construction Set forum :wink:

 

If I am not completely wrong, removescriptpackage only removes scriptpackages that was added to the NPC with AddScriptPackage and I will start to play around with those myself very soon...

 

One way to do it if you cant do it in CS, is to do it in Tes4edit but I did try that myself but I was not able to delete the last package at a Cute Elf that had 12 packages. I only managed to delete 11 in TES4EDIT but all in CS...

Edited by Pellape
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...