Jump to content

Super simple major skills level system


bishiba

Recommended Posts

Hello!



I am curious as I just installed creation kit and I want to create a tiny little plugin. The idea is that when the player starts the game, they get X amount of perk points. Presumably 6 perk points.



The player can then invest these perks however they like. And whichever skills they invest into becomes part of the array majorSkills[]. Or something like that. Then, whenever a skill is increased, before adding exprience toward the next level the game checks wheter or not the correlating skill is part of the majorSkills. The purpose of this is to emulate the Major skills system from Oblivion with as little effort at possible.



However, with all of this being said. I don't have any knowledge of papyrus of how this is done. And I don't know where to start really, I've been going over the creation kit for hours and I'm not finding anything, I'm not finding anyway to see how a function looks like. I.e. I can see functions like Game.GetPlayer().GetAV("Alteration"), but I can't figure out how to, if possible, to see what the GetAV function actually does.



So, I've spent a bit of time now, maybe 10-20 minutes making psuedo code based on javascript.



An important notice here is that I don't know what functions are used in skyrim, so the functions called "gainExperience" and "addPerk" are made up but are supposed to represent the exisiting, assumed, functions that handles this within Skyrim. The other two functions are what I am suggesting to add, at this stage.



Since I don't understand how the construction kit works, I was hoping someone with some experience could whip this up. It seems easy to me as I wrote psuedo code, but that doesn't mean it is actually easy, as again, I don't know how the kit works.


unknown.png


Link to comment
Share on other sites

  • Recently Browsing   0 members

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