Jump to content

I Need To Enchant Any Valid Item That The Player Gives My NPC... How Can I Do This?


HellFireKoder

Recommended Posts

Is it possible to enchant an item with a papyrus script? (I think it is because of the "Honed Metal" mod but the user who made that hasn't been active in a while and isn't replying to me (not surprised as I don't expect them to get on just to answer my question), and the source code doesn't seem to be included )


I would prefer no SKSE, but I REALLY want the enchanting to use script to put a custom enchantment on the item so it is OK, I have the enchantment and just want the player to be able to take any enchant-able item to this follower that is in the mod, and have him enchant it.


I have been looking for days and can't find anything. I would also like to know what you think the most user-friendly way of "handing" the item to the follower so he can enchant it, without creating my own UI for it (unless it would be not-super-hard to make a new UI), right now I am just thinking I will use the gift menu.


Any help is appreciated, I will even give you credit (if you want) when/if I ever actually release this mod (which I would love and plan to do (eventually )).



Thank you :)


Link to comment
Share on other sites

To be honest, I cannot think of a way that you could enchant any item through a script. There are other options that might work:

A: Create predefined enchanted weapons. Say you make a steel sword with the enchantment. When the followers "enchants" it, the steel sword is removed from your inventory and the predefined enchanted version is added. To make this work, you need to make enchanted versions of all vanilla weapons. Obviously this does not work for weapons added by mods. The mod you refer to most probably uses that system as honed versions of weapons are already in the creation kit.

 

B: Use a spell to temporarely add an enchantment to an unenchanted weapon. The elemental fury shout basicly does this. The problem with this approach is that the enchament is not permanent, but it will work on (unenchanted) weapons from mods.

 

I think neither option is exactly what you're looking for. Option A will do the trick but takes lots of work. Option B is easier to make but allows only a temporary enchantment. When the weapon is sheated or the spell wears, the weapon is unenchanted again.

Edited by Syfor
Link to comment
Share on other sites

  • Recently Browsing   0 members

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