Jump to content

How to add effect when full armor set is worn


KingsGambit

Recommended Posts

Hi all, I'm working on something that I think is very cool and looking forward to uploading it soon. I don't wish to spoil the details just yet but would like some help to modify what I've done so far.

 

I have created an enchantment and added it to a piece of armour, and this works fine, the behaviour is exactly as intended. What I would like to do however is make it so that the enchantment is only active if all four pieces of an armour set are worn together. I believe the game has a way to detect if a set is worn (for the benefit of a couple of perks that increase armour rating, decrease weight, etc) but can't work it out.

 

My ideal would be four armour pieces which the player can enchant as they wish, but when worn together, my enchantment becomes active. If anyone can help me work out how to detect when a full set is worn I would be very grateful. I could release the mod as is, with the enchantment on a specific item but I don't like taking away players' choices on how to enchant their gear and also for the sake of lore (added difficulty in obtaining all four items, the trade off of having to wear my full set, etc).

Link to comment
Share on other sites

Yeah there is something like that but i guess you could add conditions as well like

 

S GetEquipped Armor: ' ARMORNAME' == 1 AND

... piece 2

... piece 3

... piece 4

 

As i always mention...i'm no CK geek, just some thoughts :D

Link to comment
Share on other sites

Yeah there is something like that but i guess you could add conditions as well like

 

S GetEquipped Armor: ' ARMORNAME' == 1 AND

... piece 2

... piece 3

... piece 4

 

As i always mention...i'm no CK geek, just some thoughts :D

Thanks for this tip. From what I can tell, I would still need to add the enchantment to at least one piece of the armor, though it would only come into effect when all of the above is true/==1? Any ideas of a workaround (maybe a perk?) that leaves all 4 pieces otherwise enchantable? If not, I'm sure players will forgive one piece being used for the effect.

Link to comment
Share on other sites

You can do it with Keywords. There is a condition called "WornApparelHasKeywordCount".

 

First you have to create a new Keyword and put it on each item you want in the set.

 

Now create a ability effect with your magic effects and add the "WornApparelHasKeywordCount" condition to each.

The condition needs a parameter with an keyword (your keyword) and a value (item count).

 

Create a perk with an ability entry which is targeting to the created ability.

 

Last you have to place the perk in the players actor perk list.

 

 

This is the same way Bethesda did with the Nightingale set.

Link to comment
Share on other sites

You can do it with Keywords. There is a condition called "WornApparelHasKeywordCount".

 

First you have to create a new Keyword and put it on each item you want in the set.

 

Now create a ability effect with your magic effects and add the "WornApparelHasKeywordCount" condition to each.

The condition needs a parameter with an keyword (your keyword) and a value (item count).

 

Create a perk with an ability entry which is targeting to the created ability.

 

Last you have to place the perk in the players actor perk list.

 

 

This is the same way Bethesda did with the Nightingale set.

Thank you for this, very helpful indeed. Going to investigate this, though I suspect I may well chicken out. I've started a 2nd mod that I can't get behaving correctly and whose only solution I can see provides an easy solution to this one too. But to clarify, the process is something like:

 

- Convert enchantment into perk

- Attach keyword to each of 4 armour pieces

- Make perk conditional on keywordcount condition.

- All 4 pieces can still be enchanted by players

 

Thanks again.

Link to comment
Share on other sites

I just overhauled some perks the other day for my personal use so I've got some familiarity with perks. What you can do is exactly like OutlandStalker suggested. Make the perk hidden though and have a script in the quest that adds the perk at some point (that way there's not a check running constantly for the armor even at level 1). Then when the perk conditions are met add the "enchantment" as an ability or spell to the player. The perk would be. completely hidden and the armor would still be able to be enchanted as the player saw fit and they would get the benefit of the full set still. If you want more help with this PM me, if you get the file to me I could even do it for you if you want.
Link to comment
Share on other sites

  • Recently Browsing   0 members

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