Thanks to cocacrispy find the correct functions and a great example of how to use them, i managed to implement a bunch of planned and requested features. There also many more to come!
I was stuck, unable find away to get skill level xp values and how much xp would be needed to level a skill up. SKSEs ActorValueInfo functions were just what i needed, asid from the lack of documentation. Thankfully cocacrispy found an example amongst the scripts of the SXP mod (which you can find here: oldrim, SE).
As a bonus these functions open up a tonne of potential for many features, allow the editing of skill xp gain multipliers, player level itself and even legendary level for skills.
For this update the new features include:
- Mouseover buttons and slider buttons to view details about skills xp
- view xp for current skill level
- view xp required to level skill up
- view current skill level
- view current gold
- Slider defaults the amount of xp required to level up.
- Tooltip explaining the gold to xp ratio for each actorvalue
Unfortunately i found the creation kit has a character limit on papyrus scripts. You cant add characters beyond a certain point in the default editor. luckily i found you can add and change as much as you want using an external editor like notepad++ an the default editor will still debug and compile for you.
This combined with me getting sick and some other family stuff, meant this update is a little lackluster and has some bugs, i didn’t get time to fix. But is actually less buggy than 0.1.
Get the mod here: https://www.nexusmods.com/skyrimspecialedition/mods/49140
fixed tooltips not having uniform formatting fixed button text not having uniform formatting Added current gold to button text for live updates Added new cost formula: (current skill level + offset) * multiplier Default offset is 3 and default multiplier is 17 Added new page: cost settings Players can now alter the cost formula, even…
Finally Version two has fully working basic features. I had a breakthrough learning the applications of functions that streamlined the process significantly and reduced the amount of code to around 30% of what it was. I also swapped out the clunky sliders for snappy buttons and overhauled the features to buy entire skill levels rather…
Fixed all but lockpicking, enchanting and alteration. May have issues if you update the mod and try to play a save that had previous version of the mod. Get the mod here: https://www.nexusmods.com/skyrimspecialedition/mods/49140 (Visited 27 times, 3 visits today)
Busy week a few false starts and full code rewrite, so we are skipping to 0.5. I found i can add “\n” to some text fields to create a line break. So the formatting and readbility of the tooltips is greatly improved. heres an example: SetInfoText(“Current level is:” + hArmCurLvl + “Remaining Gold = ”…
This mod allows you to purchase skill XP with gold via the mcm. Leveling up works as normal and you can’t directly buy player levels. Neither game nor the SKSE exposes the required code for that (though i believe some modders accomplished it with .net plugins, which are beyond my current skill). Skills already require…