Jump to content

Help: drain fatigue enchantment


Woodiron

Recommended Posts

I am trying to make a mod which includes an enchanted item which drains the PC's fatigue.

 

I have a basic grasp of the contruction set, but not of scripting (yet). Drain fatigue does not appear (as far as I can see) in the list of enchantments that you can give an item in the "edit base" menu. I found a "magic effects list" with drain fatigue and its four-letter code. Will I need to use this? I know that shock damage can be applied to the PC from an enchanted ring because I made one in-game.

 

I've obviosly been looking at the lists of enchantments and script effects, and at script functions. How would one go about making this enchantment?

Link to comment
Share on other sites

Any Enchantment you give a weapon only affects those it strikes. I would create a new "Ability" spell with the Drain Fatigue effect you want, and use a script attached to the weapon to add and remove the spell from the wielder as the weapon is equipped to and unequipped from the wielder. See also Message Spam and GetContainer.

 

Awesome. :thanks:

 

Out of interest, would I be able to apply a drain fatigue enchantment to some apparel in the construction editor or would I need to use scripts for that as well?

Link to comment
Share on other sites

Any Enchantment you give a weapon only affects those it strikes. I would create a new "Ability" spell with the Drain Fatigue effect you want, and use a script attached to the weapon to add and remove the spell from the wielder as the weapon is equipped to and unequipped from the wielder. See also Message Spam and GetContainer.

 

Awesome. :thanks:

 

Out of interest, would I be able to apply a drain fatigue enchantment to some apparel in the construction editor or would I need to use scripts for that as well?

 

Clothing and armor can just have a normal enchantment setup. All effects on armor, jewelery, and clothing are constant enchantments, and are in effect as long as the item is worn. However caution should be taken if using damage effects instead of drain effects (one decreases current while the other decreases maximum) in such a manner as those effects get applied every second, so even a 1-2 point damage effect can cause serious problems, depending on what you use it on. Whereas a drain effect of 20 will always decrease that thing by exactly 20 for as long as the spell is in effect.

Link to comment
Share on other sites

Any Enchantment you give a weapon only affects those it strikes. I would create a new "Ability" spell with the Drain Fatigue effect you want, and use a script attached to the weapon to add and remove the spell from the wielder as the weapon is equipped to and unequipped from the wielder. See also Message Spam and GetContainer.

 

Awesome. :thanks:

 

Out of interest, would I be able to apply a drain fatigue enchantment to some apparel in the construction editor or would I need to use scripts for that as well?

 

Clothing and armor can just have a normal enchantment setup. All effects on armor, jewelery, and clothing are constant enchantments, and are in effect as long as the item is worn. However caution should be taken if using damage effects instead of drain effects (one decreases current while the other decreases maximum) in such a manner as those effects get applied every second, so even a 1-2 point damage effect can cause serious problems, depending on what you use it on. Whereas a drain effect of 20 will always decrease that thing by exactly 20 for as long as the spell is in effect.

 

 

... which brings me back to my original question: HOW do I make such an enchantment when it doesn't appear on the enchantment list? Is the only way to use scripts, as Login described for weapons?

Link to comment
Share on other sites

... which brings me back to my original question: HOW do I make such an enchantment when it doesn't appear on the enchantment list? Is the only way to use scripts, as Login described for weapons?

 

The Enchantments are under Magic. You make them very similarly to spells.

 

Oh right. I really should have noticed that LOL. I did try looking up enchantments in the TES CS Wiki, but it wasn't obvious how to make them. Thank you again.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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