antstubell Posted September 13, 2020 Share Posted September 13, 2020 I've looked into this briefly, ActorValues doesn't seem the correct method, so I thought you guys and gals would know if I can do this.Scenario - Player completes quest, reward level up. Link to comment Share on other sites More sharing options...
IsharaMeradin Posted September 13, 2020 Share Posted September 13, 2020 In order to level up the player needs to have enough experience points on the character. In the default game, the character gains experience through leveling up the various skills. Basically, a percentage of the skill experience is given towards the character experience. There are some mods which change this mechanic i.e. gain experience from quests. They most likely rely on an SKSE DLL plugin to make this change. I do not think what you want to do can effectively be done with Papyrus alone. Theoretically, with papyrus only you could give the player a small portion of experience points in each skill line, hopefully it would add up to a character level increase without increasing skill lines too much. Probably not what you wanted to hear. Link to comment Share on other sites More sharing options...
dylbill Posted September 13, 2020 Share Posted September 13, 2020 There's some SKSE functions that can help with this.Game.SetPlayerExperience() https://www.creationkit.com/index.php?title=SetPlayerExperience_-_Game Game.GetPlayerExperience() https://www.creationkit.com/index.php?title=GetPlayerExperience_-_GameGame.GetExperienceForLevel() https://www.creationkit.com/index.php?title=GetExperienceForLevel_-_Game It does say that using SetPlayerExperience won't trigger a level up notification, so you might want to set it so you gain enough experience to almost level up, and put in a notification of your own. Link to comment Share on other sites More sharing options...
antstubell Posted September 13, 2020 Author Share Posted September 13, 2020 SKSE has never worked for me. Tried it repeatedly with help form you guys here and just doesn't work. Link to comment Share on other sites More sharing options...
Evangela Posted September 13, 2020 Share Posted September 13, 2020 Adding to what Ishara has suggested, you can store the initial values of the skills and then increase them all to force a level up and then set them back to the skill levels they were before, skills can go down a level but player level cannot. Downside is that this triggers their skill level up notifications, so it can get a bit spammy :/. Link to comment Share on other sites More sharing options...
lofgren Posted September 13, 2020 Share Posted September 13, 2020 Leveling up in Skyrim is not a reward unless you have the skill ranks to compete at that level. Leveling the player without increasing their skills is significantly to their detriment, because enemies get tougher while the player doesn't improve at all. You might be better off letting the player pick, say, ten skills to automatically gain a rank in. If they pick their higher rank skills, they'll probably increase a level. If they pick their lower rank skills, they probably won't increase in level, but in that case they probably don't want to increase in level because they are trying to improve a low ranking skill to the point that it is viable at their current level before they go increasing level again, and the game world gets harder. If the bonus you are looking to give the player is the +10 in an attribute, I would suggest just giving them an ability that boosts that attribute, because again otherwise you're actually penalizing them for completing your quest. Link to comment Share on other sites More sharing options...
Recommended Posts