FreedomsFlame Posted May 10, 2016 Share Posted May 10, 2016 Is such a thing possible? From what I have seen with my bumbling attempts at modding using xEdit, weapon mods seem to just be weapon enchantments that stack. Is there a way to reference what "enchantments" are attached to a weapon and use that information in another script? Specifically, I am trying to find a way to make it so that you can break down weapons into their component mods when you scrap them, rather than just getting scrap. Anyone out there with more experience who could help teach me a few things? Link to comment Share on other sites More sharing options...
matzman666 Posted May 10, 2016 Share Posted May 10, 2016 There is no generic way to check which mods are attached to a weapon. The only thing you can do is add unique keywords to your weapon mods and then check whether a weapon has this keyword. But this then only works for your weapons mods. Link to comment Share on other sites More sharing options...
FreedomsFlame Posted May 10, 2016 Author Share Posted May 10, 2016 So in theory I could just add a new keyword for every single vanilla weapon mod, then use a script to check for those keywords? That's... far from elegant, haha. There has to be a way to do it. Like how in Skyrim the enchanting table knew which enchantment was on a weapon when you went to disenchant things. Link to comment Share on other sites More sharing options...
Reneer Posted May 10, 2016 Share Posted May 10, 2016 (edited) So in theory I could just add a new keyword for every single vanilla weapon mod, then use a script to check for those keywords? That's... far from elegant, haha. There has to be a way to do it. Like how in Skyrim the enchanting table knew which enchantment was on a weapon when you went to disenchant things.The problem is that the enchanting table in Skyrim is powered by Scaleform / Flash, so it could do things that Papyrus could not. Edited May 10, 2016 by Reneer Link to comment Share on other sites More sharing options...
FreedomsFlame Posted May 10, 2016 Author Share Posted May 10, 2016 Ugh. The more I dig under the hood of BethSoft's engine the more annoyed I get at its frustrating limitations. Thanks for responding. Link to comment Share on other sites More sharing options...
Recommended Posts