Jump to content

Add a new skill


Kaylee1996

Recommended Posts

I'm from the Oblivion Mod: Craftable light armor and clothing, but I want to add a new skill named Crafting when you craft items.
Can someone explain how to make new skills, so every item gives like 10xp and when you have enough xp to level up, you level up?

With kind regards,
Kaylee1996

Link to comment
Share on other sites

I read some posts where they said it can, but that it doesn't stand in the "skills" list.

What i want to do is when you're making clothes you get 10 xp, when you make fur armor you get 25 xp etc. When you reach 100 xp it goes to level 2, when you reach 250 xp you go to level 3 etc. When you are level 10 the door to the "iron forge" so you can make iron armor. So it's opens a door to the next chamber.

 

something else what i can do is, when you reach 1000xp door 1 opens, when you reach 2500xp door 2 opens etc.

 

Is 1 of these possible?

So, when you craft an item, you get xp, and if you get an amount of xp, a door opens.

Link to comment
Share on other sites

With a lot of scripting, you can simulate a new skill. Basically, you'd be using scripts to keep score of experience points from crafting, and then unlock the doors at the appropriate experience totals. That's why it won't sit in the skills list - it's technically not a skill.

 

Crafting recipes will have to be scripted as well - each and every recipe will require its own separate code.

 

It can be done, but it would be a fair amount of work and would require medium to advanced scripting knowledge.

Link to comment
Share on other sites

Basically, you're using scripts to keep track of experience and skill level; both are nothing more than numbers stored in a variable.

 

Your crafting scripts should have a secondary function of increasing the experience points variable. Use whatever formula you wish to calculate the skill level from the experience points. Each time the player crafts an object, perform a check to see if the player has increased a skill level.

 

The interface is something that can't easily be replicated. I'd probably use an inventory quest object displaying the current level of crafting skill. The script that performs the "current skill level" check could rename the object every time the skill level changes.

 

As for your doors, I'd probably script them to be openable by someone with a certain crafting skill level or higher.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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