sp0ckrates Posted January 31, 2016 Share Posted January 31, 2016 Hi. So I hope someone knows how to add a perk to a race. I'd be willing to share any scripts or meshes or textures with the one who helps me out. I have more than 50 mods on the Steam Skyrim workshop. My question: Is there any way to add a perk to all NPCs of a certain race? If it can't be done with normal Papyrus script or the Creation Kit alone, can it be accomplished with a script extender? Why I want to add a perk to a race: I have a collection of mods calked Amazing Race Tweaks, which adds new powers to each race. I'm releasing a new edition of each of the mods, which gives the same powers to NPCs, but I want to make changes to the race only. What the issue is: I'm trying to add an ability spell to the Nord race that applies a perk, which in turn applies a spell that fires when the Nord NPC strikes another actor. the spell applies the perk to the player, but fails to apply the perk to the NPCs. I confirmed this by adding the perk to a Nord NPC character and observing that the spell fires when the character strikes another actor. I then removed the perk from the NPC and the spell did not fire. Since it does not work for the NPC if the perk is not added to the character, I'm thinking the spell (which is added to the Nord race) is not applying the perk to the NPCs, as it does for the player. Again, I'd be willing to give one of my scripts, models or textures to someone who helps me out. Thanks in advance. Link to comment Share on other sites More sharing options...
sp0ckrates Posted February 1, 2016 Author Share Posted February 1, 2016 Bump. Link to comment Share on other sites More sharing options...
sp0ckrates Posted February 1, 2016 Author Share Posted February 1, 2016 Hello. Is there anybody out there? Link to comment Share on other sites More sharing options...
sp0ckrates Posted February 1, 2016 Author Share Posted February 1, 2016 Just nod if you can hear me. Is there anyone at home? Link to comment Share on other sites More sharing options...
cdcooley Posted February 2, 2016 Share Posted February 2, 2016 Perks can't be added to NPCs dynamically and I don't know of any way to add them through anything other than editing each actor individually either in the CK or through some patcher utility. Link to comment Share on other sites More sharing options...
sp0ckrates Posted February 2, 2016 Author Share Posted February 2, 2016 Perks can't be added to NPCs dynamically and I don't know of any way to add them through anything other than editing each actor individually either in the CK or through some patcher utility.Thanks for the reply, CDCooley. Yes, I believe you are right. I did find this discussion: http://forums.bethsoft.com/topic/1349649-dynamically-attaching-scripts-to-actors-near-the-player/ It explains how to use a quest to apply a script to any NPC the player gets near. But when I tested it, it didn't work. For no message displayed when I hit NPCs. Link to comment Share on other sites More sharing options...
sp0ckrates Posted February 2, 2016 Author Share Posted February 2, 2016 (edited) I found this: http://www.creationkit.com/Dynamically_Attaching_Scripts So I might be able to use it to add an always-on cloak spell to the player, which adds a constant effect spell to nearby NPCs, which uses a script with an OnHit event. The script could then fire if the NPC with the spell is hit by a Nord and the random percent condition is met, causing the NPC to drop her weapon and fall to the ground. Edited February 2, 2016 by sp0ckrates Link to comment Share on other sites More sharing options...
sp0ckrates Posted February 5, 2016 Author Share Posted February 5, 2016 So I figured it out. If anyone reading this wants help, please post a comment at my Steam Workshop profile page: http://steamcommunity.com/id/sp0ckrates/ Link to comment Share on other sites More sharing options...
MortemTheModder Posted January 1, 2018 Share Posted January 1, 2018 Bumping yet another old topic yes you can add perks to all npcs of a race, in the CK you have to first find what race you want to change then edit it and you put a spell into specials for whatever perk you want to add. This will take quite a bit of experimentation, if you want to add a script to that perk/race then I believe you'll have to add the script into the spell and run it as a constant effect. Link to comment Share on other sites More sharing options...
sp0ckrates Posted January 2, 2018 Author Share Posted January 2, 2018 (edited) Hey, thanks! So what I learned is perks cannot be dynamically added to NPCs, but sells with scripts can, and spells with scripts can often do what perks can. :) Edited January 2, 2018 by sp0ckrates Link to comment Share on other sites More sharing options...
Recommended Posts