giving perks to NPCs

Post » Tue May 17, 2011 10:26 am

i made perks to make weapon skills have effects for XFO's non var damage. i would like it to affect NPCs as well. However, doing a little research, i read that you cant add perks to NPCs? that topic was made some time ago and i wondered if its still true. some of the effects i made i think can only be added by Entry Point perks like modify attack speed.
User avatar
Nadia Nad
 
Posts: 3391
Joined: Thu Aug 31, 2006 3:17 pm

Post » Tue May 17, 2011 2:00 pm

What do you mean?

Perks are added either through the Actor Effects tab on the NPC entity or via Scripts like how all companions get the CompanionSuite perk added when they join you.
User avatar
lucile davignon
 
Posts: 3375
Joined: Thu Mar 22, 2007 10:40 pm

Post » Tue May 17, 2011 10:38 am

There is an undocumented field for addperk, which allows perks to apply to companions. But there is no way to apply perks to non-companion NPC's, which I assume was the OP request. Can you show an example in the base game where a non-companion NPC has a perk, and we can see the effect?
User avatar
Dawn Farrell
 
Posts: 3522
Joined: Thu Aug 23, 2007 9:02 am

Post » Tue May 17, 2011 2:24 pm

Ok, I wasn't aware that companions could benefit from Perks while non-companion NPCs could not. Why would that even be the case? What part of being a companion changes the NPC's ability to acquire/use perks?
User avatar
Ross Zombie
 
Posts: 3328
Joined: Wed Jul 11, 2007 5:40 pm

Post » Tue May 17, 2011 2:22 pm

Actually, you might want to read about the NCR Ranger Vets, I read on the wiki that they have a unique perk that gives them 30% increase in DT. So you could possibly learn how their perk is added, then copy it to suit your needs.
User avatar
Beat freak
 
Posts: 3403
Joined: Thu Dec 14, 2006 6:04 am

Post » Tue May 17, 2011 7:55 am

Actually, you might want to read about the NCR Ranger Vets, I read on the wiki that they have a unique perk that gives them 30% increase in DT. So you could possibly learn how their perk is added, then copy it to suit your needs.


It seems you (or the Wiki) made the same error I did at a glance as the "Perk" isn't actually a Perk, but rather an actor ability. Only a Perk allows EntryPoint manipulation like the OP wants.

EDIT: Reading about how Perks are applied to companions, I have to wonder which flag marks an NPC as "in party" and if that can somehow be manipulated to allow hostile NPCs access to perks that would technically be stored on the player.
User avatar
Amy Melissa
 
Posts: 3390
Joined: Fri Jun 23, 2006 2:35 pm

Post » Tue May 17, 2011 12:46 am

Oh? Well couldn't the OP place this perk on the NPC they are making as an actor ability then?
User avatar
courtnay
 
Posts: 3412
Joined: Sun Nov 05, 2006 8:49 pm

Post » Tue May 17, 2011 7:01 am

Oh? Well couldn't the OP place this perk on the NPC they are making as an actor ability then?


No, because he wants to increase attack speed, which isn't an available effect like the Ranger's Damage Resistance.
User avatar
victoria johnstone
 
Posts: 3424
Joined: Sat Oct 14, 2006 9:56 am

Post » Mon May 16, 2011 11:01 pm

yep, i read that thing about using tokens instead of perks to give effects to actors which i think is also where i read about the undocumented addperk field davidallen said. it also said tokens cant be used if it Entry Point effects are required. so far i havent seen attack speed increase effects outside of Entry Point so ...
User avatar
Je suis
 
Posts: 3350
Joined: Sat Mar 17, 2007 7:44 pm


Return to Fallout: New Vegas