CookieDynamics Posted November 22, 2013 Share Posted November 22, 2013 I'd love to see a mod that gave experience for each soul trapped. The larger the soul, the greater the experience. This would solve the problem of having to spam crafting repeated items of "1% **bonus**" just to level the enchanting. Link to comment Share on other sites More sharing options...
blacksupernova Posted November 22, 2013 Share Posted November 22, 2013 Though I am not expert, I think this would be easy to accomplish with script Link to comment Share on other sites More sharing options...
Xander9009 Posted November 23, 2013 Share Posted November 23, 2013 (edited) That's almost definitely the way you'd have to do it. But I've been trying for quite awhile to figure out how to grant experience via scripts and haven't been able to. Although, I think I've seem mods that do it, so it should be possible. And as is often the case, immediately after posting that, I figured out how to do it. Game.AdvanceSkill(string asSkillName, float afMagnitude). You choose the skill and how much experience to grant. I'll see if I can get it to work properly. Edited November 23, 2013 by Xander9009 Link to comment Share on other sites More sharing options...
Xander9009 Posted November 23, 2013 Share Posted November 23, 2013 Ok, I tested it and it works fairly well. The way I implemented it happened to only apply if it was successfully trapped, which actually works out well. I didn't do ANYTHING with soul size. So every soul trapped is worth the same amount. I don't know how to get the size of a soul without having a hard-coded list of all the vanilla sizes. I could approximate it using, say, health. Check if they're an NPC race to see if they should automatically be granted Grand status, and otherwise go by health. (A bit of useless but amusing information: I didn't know how much a normal amount of experience would be for something like that so I put in 1000 to test thinking it would probably takes a few thousand to level up... I went from level 17 to level 68 enchanting and leveled up three character levels... Unexpected to say the least.) Link to comment Share on other sites More sharing options...
IsharaMeradin Posted November 24, 2013 Share Posted November 24, 2013 Acquisitive Soul Gems modifies the appropriate script for the soul trapping event. It also has a function which determines soul size. You could therefore take that script and incorporate the exp gain. Just ask the author, I'm sure he'll give you permission to use his script modification as a base. I'd think 10 points would be a good start with the soul trapping. Increase by 5 per level so that you'd havepetty 10lesser 15common 20greater 25grand 30 (white & black + other special soul trap gems) Link to comment Share on other sites More sharing options...
blacksupernova Posted November 24, 2013 Share Posted November 24, 2013 Here what i think should work:If target.haskeyword (actortypenpc) ;has that keyword => target is npc;Caster.advskill(enchanting, amount)ElseIf target.getlevel == 1 ;not npc and level 1 => petty soul;Caster.advskill(enchanting, pettyamount)Elseif target.getlevel <= 6 ;level <= 6 means lesser soul;Caster.advskill(enchanting, lesseramount)....... (The same process for other type of soul since for creatures, level determines soul size so level can also be used to determine how much exp yo grant) Link to comment Share on other sites More sharing options...
Xander9009 Posted November 24, 2013 Share Posted November 24, 2013 Ah, that's simpler than I thought. I didn't realize soul sizes were tied to level. That's not how it was in Morrowind, which is the last game I bothered with looking into souls... I just rather assumed they hadn't changed much. Apparently, they have. In that case, pulling from UESP.net, The soul level maxes seem to be 3-petty, 15-lesser, 27-common, and 37-greater (and obviously grand doesn't have a maximum). And, yeah Ishara, I'll use those and see how it feels. Link to comment Share on other sites More sharing options...
CookieDynamics Posted November 24, 2013 Author Share Posted November 24, 2013 Did I understand it right? you're working on this mod, Xander? If so, that's awesome! Thanks ^^ Link to comment Share on other sites More sharing options...
Xander9009 Posted November 24, 2013 Share Posted November 24, 2013 Yeah, and it's pretty much done. Just had a few computer issues that took awhile to get sorted. It seems to be cooperating again, though. I'll let you know if I get it working well. Link to comment Share on other sites More sharing options...
Xander9009 Posted November 24, 2013 Share Posted November 24, 2013 (edited) http://skyrim.nexusmods.com/mods/47961 Two notes. 1: This will not work with Acquisitive Soul Gems or anything else that modifies the soul trap script. I'll look into making a patch so they work together (and if that won't work, I'll look into simply making my own version of it). That probably won't be today, though. 2: There's an issue I saw which made this not work initially. I fixed it by disabling everything except my quickstart mod. I even disabled USKP, and I'm not sure what was actually causing the problem. I'll look into that and try to find the issue and fix it. But go ahead and try the file and see if it works for you. If so, great. If not, you'll have to wait until I find the issue. Also, Ishara, turns out even 10 is a massive number. I found here the numbers used for recharging weapons which start with petty at 0.05 so I went with those. Having lesser at 15 still levelled up my enchanting multiple times with one cast lol. But those numbers seem... usable. EDIT: Okay, i found the main incompatibility was with USKP. The solution was making USKP a master file, but since there really shouldn't be anyone playing without it, that shouldn't be a problem. And of course, version 0.1 will work without it. Should be working now except with Acquisitive Soul Gems and other of the kind. If you use ASG, let me know and I'll message the author about it. Edited November 24, 2013 by Xander9009 Link to comment Share on other sites More sharing options...
Recommended Posts