Add a new skill

Post » Sat Aug 08, 2009 9:02 pm

Hi,

I wanted to know if it was possible to add a new skill in Oblivion. Theres already a good list like Acrobatics, Marksman and other.

But i'd really like to know if we can add more and certainly how :)

Thanks in advance for helping me!
User avatar
Jason White
 
Posts: 3531
Joined: Fri Jul 27, 2007 12:54 pm

Post » Sun Aug 09, 2009 8:13 am

Hi,

I wanted to know if it was possible to add a new skill in Oblivion. Theres already a good list like Acrobatics, Marksman and other.

But i'd really like to know if we can add more and certainly how :)

Thanks in advance for helping me!

Unfortunately, new skills can't be added. :nope: Neither can new magic effects. :nope:
User avatar
Alexandra walker
 
Posts: 3441
Joined: Wed Sep 13, 2006 2:50 am

Post » Sun Aug 09, 2009 6:52 am

Well, new skills can sort of be added. It's possible, for example, to overwrite an existing skill (by changing the skill name and descriptions and zeroing out the skill use increments in the CS) and scripting the skill, but you can't just add a new one that will work like the Vanilla ones. You can create them entirely through scripts without overwriting a Vanilla skill but they won't count towards leveling, etc. You will also have to create new animations to go along with whatever it is your adding, in all likelihood. In short, possible, but difficult, and it's never going to be exactly like the other skills.
User avatar
Marquis deVille
 
Posts: 3409
Joined: Thu Jul 26, 2007 8:24 am

Post » Sun Aug 09, 2009 12:48 am

Thanks for these reply.

Its not what i expected from the TesCs cause it would be fun to add some without being to complicate.

Anyway, i will try to find somethings else to complete what i was wanting to do.

Thanks again for these answere!
User avatar
Laura Mclean
 
Posts: 3471
Joined: Mon Oct 30, 2006 12:15 pm

Post » Sun Aug 09, 2009 6:09 am

If you were to go about changing a skill, how exactly would you do it? Say I wanted to replace destruction with a gun skill?
User avatar
willow
 
Posts: 3414
Joined: Wed Jul 26, 2006 9:43 pm

Post » Sat Aug 08, 2009 9:23 pm

Anybody know how? Are there any tutorials?
User avatar
Roberta Obrien
 
Posts: 3499
Joined: Tue Oct 23, 2007 1:43 pm

Post » Sun Aug 09, 2009 7:22 am

There is always OBSE...
User avatar
Suzy Santana
 
Posts: 3572
Joined: Fri Aug 10, 2007 12:02 am

Post » Sat Aug 08, 2009 5:51 pm

How does OBSE help? I know it adds more functions, but how would I apply that to changing a skill?
User avatar
P PoLlo
 
Posts: 3408
Joined: Wed Oct 31, 2007 10:05 am

Post » Sun Aug 09, 2009 6:22 am

Oblivion skills seem to be based on event detection: every time the player is struck by a weapon, the engine checks to see what type of armor the player is wearing and increments the player's Heavy Armor or Light Armor skill according to the amount specified in the Use Value box in the skill definition in the CS. Every time the player hits an enemy, the engine determines what weapon the player is using and increments the Blade or Blunt (or Hand to Hand) skill. The point is, these events (being hit by an opponent, hitting an opponent, etc.) are hard-coded. The skill definitions use these events to increment the player's experience, but they can't alter or add events. If you look in the CS under Character -> Skills, you'll see that the game allows you to change the amount of experience gained for each detected event, the governing attribute, specialization, icon, and descriptions but the Actions (events) are greyed out and the actual implementation of the Perks is completely inaccessible.

If you want to add your own skill, therefore, you have to go about it in one of two ways: by overwriting an existing skill or by creating a completely scripted skill. Overwriting an existing skill is slightly easier, but both of them are going to be tough to do. If you are overwriting an existing skill, the first thing you have to do is zero out the Use Value for the skill you're overwriting: the engine is still going to detect those events and increment the player's experience every time one is detected and you probably don't want that. The next thing you need to do is create some way for the player to execute the skill, which means you'll have to create a key binding or some other way for the player to use his or her skill. Vanilla uses keys (attack, block, jump, cast spell, etc.), dialogue icons (to activate the persuasion and mercantile mini-games), object activation (for the security mini-game), and item equipping (for the alchemy and armorer menus). In all likelihood, you're going to need to create animations to capture the character performing the action...unless you plan on implementing some sort of mini-game or menu, in which case you'll have to figure out how to do that. After you have that part figured out, you'll have to script the results of performing the action with hooks to the key/animations and increment the player's skill use. Not sure how you'd do that, exactly, maybe OBSE has some way to access the use value so you can turn it on and off dynamically to increment the skill. (Remember, this is for an overwritten skill which you want to increase only when the player performs your new skill and not during normal Vanilla events.)

If you want to add a completely custom skill without overwriting a Vanilla skill, most of the above still applies, but you have to also figure out a way to get the skill to show up in the player's character sheet. I believe there is a way to do this, but I don't have any idea how. Maybe by editing the xml files.

You'll also have to figure out how to implement perks for your skill, which may require more animations and definitely a lot more scripting. And don't forget to rewrite the descriptions and create a new icon for your skill.

Again, I've never tried to implement a custom skill myself, so there may be different/easier ways to go about it and some of this info might be incorrect. Check TESNexus, PES, etc., for some custom skills and open them up in the CS to see how they implemented them. If you're lucky, someone with more insight will see the thread and add to/correct what I've said.

hth
User avatar
Darlene DIllow
 
Posts: 3403
Joined: Fri Oct 26, 2007 5:34 am

Post » Sun Aug 09, 2009 2:41 am

Hey, Magician, thanks for the info. I think I know a way that could possibly work without having to use OBSE, but it would be pretty crude.
User avatar
Devin Sluis
 
Posts: 3389
Joined: Wed Oct 24, 2007 4:22 am


Return to IV - Oblivion