Jump to content

[LE] Any Way to Add a Perk to All NPCs of a Race?


sp0ckrates

Recommended Posts

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

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

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 by sp0ckrates
Link to comment
Share on other sites

  • 1 year later...

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

  • Recently Browsing   0 members

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