Fortify Skill Help

Post » Fri May 13, 2011 8:22 am

Ok, so I made a hood and attached an enchantment that gave me fortify skill>Marksman which takes my marksman to 100.

I'm currently at 32. When I have the fortify skill my Marksman is green in color in-game. However, I get no zoom effect or any other advantages like knockbacks on target etc. I have read I'm meant to get a zoom effect if my Marksman is over 50 (it is now at 100 but in green).

So why is this not working?

and is there a scripting method or similar so I can put my hood on and become a master marksman?

Thanks
User avatar
Alexx Peace
 
Posts: 3432
Joined: Thu Jul 20, 2006 5:55 pm

Post » Fri May 13, 2011 7:19 pm

Ok, so I made a hood and attached an enchantment that gave me fortify skill>Marksman which takes my marksman to 100.

I'm currently at 32. When I have the fortify skill my Marksman is green in color in-game. However, I get no zoom effect or any other advantages like knockbacks on target etc. I have read I'm meant to get a zoom effect if my Marksman is over 50 (it is now at 100 but in green).

So why is this not working?


Fortifying a skill will not normally grant you the extra perks. The few known exceptions are:
Fortify Armorer to 100 will bestow the unbreakable repair hammer perk
Fortify Mercantile to 75 will bestow the invest in store perk. ( This bug is fixed by the Unofficial Oblivion Patch.)
Fortify Acrobatics to 100 will bestow the water jump perk.

And is there a scripting method or similar so I can put my hood on and become a master marksman?


I have an idea for a script that might accomplish this. I'll test it out and post back with the results.
User avatar
Catharine Krupinski
 
Posts: 3377
Joined: Sun Aug 12, 2007 3:39 pm

Post » Fri May 13, 2011 6:31 pm

Okay, so I tested the script idea and it works. Attach this script to the hood itself (not as an enchantment, but as an Object Script):

scn MasterMarksmanHoodScriptshort BaseMarksmanBegin OnEquip Playerset BaseMarksman to Player.GetAV MarksmanPlayer.SetAV Marksman 100endBegin OnUnequip PlayerPlayer.SetAV Marksman BaseMarksmanend


That will make you a master Marksman when you put the hood on and return your skill to normal when you take it off. Note: if you enchant the hood in game, the script will stop working. If you want an enchantment (like Detect Life) in addition to the script, place the enchantment on the hood in the CS.
User avatar
Dorian Cozens
 
Posts: 3398
Joined: Sat May 26, 2007 9:47 am

Post » Fri May 13, 2011 9:36 am

Okay, so I tested the script idea and it works. Attach this script to the hood itself (not as an enchantment, but as an Object Script):

scn MasterMarksmanHoodScriptshort BaseMarksmanBegin OnEquip Playerset BaseMarksman to Player.GetAV MarksmanPlayer.SetAV Marksman 100endBegin OnUnequip PlayerPlayer.SetAV Marksman BaseMarksmanend


That will make you a master Marksman when you put the hood on and return your skill to normal when you take it off. Note: if you enchant the hood in game, the script will stop working. If you want an enchantment (like Detect Life) in addition to the script, place the enchantment on the hood in the CS.


That worked, thanks alot :P

btw how did you work this out?? no one seemed to know anywhere I asked! I'm impressed :)
User avatar
Michelle Serenity Boss
 
Posts: 3341
Joined: Tue Oct 17, 2006 10:49 am

Post » Fri May 13, 2011 4:35 am

That worked, thanks alot :P

You're welcome. :D Glad I could help.

btw how did you work this out?? no one seemed to know anywhere I asked! I'm impressed :)

I've had a lot of help with scripting in the past and learned a lot from it. In this case, it was a matter of figuring out how to store the original skill level as a variable, then modifying the skill as desired and then restoring the skill to it's original value. For that, all that was needed was a short variable (BaseMarksman in this case). I can think of some other ways to do this (involving Quest scripts, Global Variables and the like), but this one was the easiest to implement.
User avatar
The Time Car
 
Posts: 3435
Joined: Sat Oct 27, 2007 7:13 pm


Return to IV - Oblivion