Lifeshadow Posted February 29, 2012 Share Posted February 29, 2012 I'm trying to add a perk that increases attack speed of one handed weapons when there is nothing in your off hand. I having issues can't seem to figure out how to actually increase attack speed, and I'm not sure if what i did to make it work, while nothing is in your left hand, works. Any help would be appreciated Link to comment Share on other sites More sharing options...
Korodic Posted February 29, 2012 Share Posted February 29, 2012 well the weapon speed is in a variable... this one to be exact player.forceav weaponspeedmult 1.3 ; right/2h weps will be twice as fast naturally player.forceav leftweaponspeedmult 1.3 ; left weps will be twice as fast naturally This is from my GOD maker bat file. Since perks are permanent I think using force AV would be ok to use. How do you know if it works? Simple, make weaponspeedmult a larger number, that way it is more noticeable when you test it. Link to comment Share on other sites More sharing options...
BlackCompany Posted February 29, 2012 Share Posted February 29, 2012 Create a base effect that fortifies weapon speed. You should see one in the CK already. Just copy it and make your own. On the base effect, give it certain conditions. I think - think - what you are looking for is this condition: getequippeditemtype left == 0 ANDgetequippeditemtype right >= 1 What this means: -Left hand is EMPTY of any weapon/spell (it is bare fisted), AND-Right hand is holding something OTHER THAN a bare fist. Result: Any spell/ability/power using this base effect will ONLY 'kick in' if these conditions are true. Next: Create an ability that uses your base effect. Give it a unique ID. (I use BCmyability for all my stuff.) Make sure its unique. Create a new perk. Click the ability radio button. Choose your new ability from the drop down menu. Save your perk. Now use your preferred method for getting the perk on the player. This should do it for you. I do know there are already base effects which modify weapon speed. You might start by checking the "dual flurry" or dual wield perks. Special note: I think it is also possible to place conditions in the ability, not the base effect. Dual Flurry, I believe, does this very thing. Hope this helps. I know its lingo heavy but its better than using forceave in a script. since NOTHING can EVER undo this, once its done. At least this way, if someoen uninstalls your mod, they can player.removeperk and take away the perk's added ability, which will increase save game stability in case of uninstall or new version updates. Link to comment Share on other sites More sharing options...
Korodic Posted February 29, 2012 Share Posted February 29, 2012 yeah that sounds more right lol. Link to comment Share on other sites More sharing options...
NoAardvarksAllowed Posted February 29, 2012 Share Posted February 29, 2012 Hey, nice explanation! Now I feel like doing something similar. Maybe with increased critical hit chance if the off-hand is empty, instead of increased attack speed. Link to comment Share on other sites More sharing options...
Recommended Posts