How to set an NPC to PlayerFaction?

Post » Thu Jun 24, 2010 3:31 pm

As the title sugegsts, I'm looking to add people to my Faction. So far I've got Mazoga and Maglir from their respective quests, as well as the Murderer and Mage from those lines. The last one I've got is my FullActorCopy (who had the Follow dialog option once I dismissed my KotN).

However, when I use samefactionasPC on my Copy, I get >>0.00
When I use it on everyone else in the party, it's >>1.00

As well, my Copy doesn't attack. She just follows me around like a lost puppy, grinning like a doofus at me, holding her torch. I'd really like to get her involved in combat (at least Avita tried - this thing is useless, except as a human shield). I tried setting her Aggression, but she goes off on the rest of my party.

So, since she's not being shown as being in my Faction, I figure that's the problem.


However, when I use getinfaction PlayerFaction 1, I get "no such thing as PlayerFaction" (roughly), even though that's what the CS shows I'm in.

Can this be done via the console alone or do I need a script or hard edit in the CS?
User avatar
ONLY ME!!!!
 
Posts: 3479
Joined: Tue Aug 28, 2007 12:16 pm

Post » Thu Jun 24, 2010 6:27 am

When you use the command CreateFullActorCopy on your character,the copy will be part of the same factions (at the same rank) as your character. If the copy is attacking other members of your party, the aggression is too high. Try using this command after selecting your copy in the console: SetAV Aggression 18 If 18 is still too high, keep reducing it little by little until she only attacks those in combat with you.

As far as adding the PlayerFaction to others with the console, there are two problems with the technique you're using. 1. The GetInFaction command only tells you if the selected reference is in the specified faction (in this case, the PlayerFaction). 2. The PlayerFaction only has a rank of 0. Try this instead: SetFactionRank PlayerFaction, 0 (be sure to include the spaces and comma as shown).
User avatar
Maeva
 
Posts: 3349
Joined: Mon Mar 26, 2007 11:27 pm

Post » Thu Jun 24, 2010 5:56 am

Console commands for Factions need to use the FormID of the faction, not the editorID, if I recall correctly.

So, "SetFactionRank 1dbcd 0" is probably needed.
User avatar
Inol Wakhid
 
Posts: 3403
Joined: Wed Jun 27, 2007 5:47 am

Post » Thu Jun 24, 2010 9:18 am

Console commands for Factions need to use the FormID of the faction, not the editorID, if I recall correctly.

So, "SetFactionRank 1dbcd 0" is probably needed.


Good point. Why do I keep forgetting that? :facepalm:
User avatar
Andres Lechuga
 
Posts: 3406
Joined: Sun Aug 12, 2007 8:47 pm

Post » Thu Jun 24, 2010 8:10 pm

Console commands for Factions need to use the FormID of the faction, not the editorID, if I recall correctly.

So, "SetFactionRank 1dbcd 0" is probably needed.


Yup, this worked, the other one didn't. Thanks.

Mazoga seems to be a problem, though. If I set my clone's Aggression to 5, she goes ape[censored] on Mazoga, which then causes everyone else to follow suit. I warped us all to Fisherman's Rock while Mazoga was Unconscious elsewhere and everything was cool, until I Waited a few hours for Mazoga to join us, but she never did. My party broke out in fights with the bandits. They all ended up fighting in one tent. It was awesome to behold :lol:

Went back and ended Mazoga's quest and she walked off, now everyone's cool. Unfortunately, my clone still doesn't engage anyone unless they whack her three times, and then she summons a daedric sword when she's got the Mace Of Doom strapped to her hip. Doofus.

Ah well, I'll just reload and keep Avita, the Murderer, Mage, Mazoga, and pick up Maglir again.
User avatar
laila hassan
 
Posts: 3476
Joined: Mon Oct 09, 2006 2:53 pm


Return to IV - Oblivion