b4nth4f3tt Posted June 4, 2013 Share Posted June 4, 2013 I want to create a mod which allows daedric-artifact armor pieces to be considered matching (for the purpose of the matching set perks) with any other armor pieces worn. Examples:Ebony Mail + Steel Boots + Steel Gauntlets + Steel Helmet = Matching SetEbony Mail + Daedric Boots + Daedric Gauntlets + Daedric Helm = Matching Set Is there a way to assign multiple types to an item, e.g. make it Daedric, and Dwarven, and Steel, etc.?Can it be assigned some kind of null type which flexible?Would this need to be handled by scripting, such as a script that assigns the item a type when it is equipped?Could I modify the criteria that the game uses to determine matching sets to always accept daedric-artifacts? Is there somewhere else I should be posting this?Is there a guide I should be reading? Link to comment Share on other sites More sharing options...
GrimyBunyip Posted June 4, 2013 Share Posted June 4, 2013 You're overthinking things.just take look at how the perks that deal with set bonuses work. Link to comment Share on other sites More sharing options...
b4nth4f3tt Posted June 4, 2013 Author Share Posted June 4, 2013 I think you're right. It looks like is just counts the number of worn items matching a keyword, e.g. 'Glass' == 4, using a series of OR statements to cover all possibilities. I believe if I add another set of criteria, e.g. 'Glass' == 3, OR 'Leather' == 3, etc and then at the end add, AND 'Ebony Mail' == 1, I should be in business. Is there a way of duplicating Perk Entries? I'd hate to have to manually recreate an entry that includes every possible set of armor for every individual daedric piece. Link to comment Share on other sites More sharing options...
GrimyBunyip Posted June 4, 2013 Share Posted June 4, 2013 I think you're right. It looks like is just counts the number of worn items matching a keyword, e.g. 'Glass' == 4, using a series of OR statements to cover all possibilities. I believe if I add another set of criteria, e.g. 'Glass' == 3, OR 'Leather' == 3, etc and then at the end add, AND 'Ebony Mail' == 1, I should be in business. Is there a way of duplicating Perk Entries? I'd hate to have to manually recreate an entry that includes every possible set of armor for every individual daedric piece.you should either use isinlist instead of IsID or give the daedric artifacts a keyword and check for that. and no u cant dupe entry points Link to comment Share on other sites More sharing options...
b4nth4f3tt Posted June 4, 2013 Author Share Posted June 4, 2013 you should either use isinlist instead of IsID or give the daedric artifacts a keyword and check for that. and no u cant dupe entry points It looks like DaedricArtifact is already a WornApparelKeyword. Can you explain a bit how conditions are evaluated? My thinking would be to structure the conditions in roughly the following way:if (WornKeywordCount of 'Glass' == 4, OR WornKeywordCount of 'Leather' == 4, etc) OR (WornKeywordCount of 'DaedricArtifact' ==1 AND (WornKeywordCount of 'Glass' == 3, OR WornKeywordCount of 'Leather' == 3, etc)) then add bonus However, I don't see a way to group conditions like that. It looks like it just everything has to be evaluated on the same level so that if you have a condition that isn't flagged as OR that statement must always be true. If that were the case I don't know how I could make this work. Link to comment Share on other sites More sharing options...
Recommended Posts