Jump to content

[LE] Letting a perk work only when a one-handed weapon is equipped in the right hand


eklatea

Recommended Posts

Hello,

 

I hope I'm posting this in the right category, I'm new to the forums.

I'm trying to write a mod that changes the perk trees and I'm teaching myself how to mod things. I'll get most things with time, but in the moment I'm stuck.

I want to have a perk increase the weapon damage by 25% (I already managed to do that), but ONLY if you have a one-handed weapon in the right hand. And only in the right hand.

In the future I want to have dual-wield as a condition as well, but I think that those two are tied together.

 

The damage increase is the perk entry point. Condition is the condition for the entry to work, right? What do I have to enter do reach this solution?

 

Thanks for any help.

 

eklatea

Link to comment
Share on other sites

I can't answer that directly but for my personal use I made a mod which increased experience gained to archery if using a crossbow by checking a GetWeaponAnimType = 12 condition. Unless someone else knows specifics, you'll just have to try various condition functions and see if any of them do what you want. Unfortunately there isn't much actual documentation for them.

Link to comment
Share on other sites

Okay, thank you. I would've tried testing it out, but I thought maybe someone knows it better (as I have never modded anything and I have no idea of anything, but I am good at teaching myself things).

If I had time and motivation, I would maybe even test some of the conditions out for fun.

Link to comment
Share on other sites

I think you can do this with getequippeditemtype: https://www.creationkit.com/index.php?title=GetEquippedItemType

you'll need a few for all the one handed weapons on the right hand (or 2: > 0 AND <5 for example) and then on the left hand =0 I suppose.

 

also, here are the conditions: https://www.creationkit.com/index.php?title=Condition_Functions

Link to comment
Share on other sites

  • Recently Browsing   0 members

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