the Sim Settlements forums!

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

how to get npc pric using fo4edit?

kelmen

Member
Messages
192
i tried to get prid of Lena

using fo4edit
[10] SS2_XPAC_Chapter2.esm (D9CEEC13) \ Non-Player Character (Actor) \ 1002FAEC <SS2C2_MQ22_CPD_LenaForseti>

when i typed in prid 1002FAEC in console, it gave err msg
so i tried meet her in game, but the prid when i clicked on her is 10023b19

so how do i get the prid of npc using fo4edit?
i know the first 2 num is the mod idx
 
There are 2 different form ids, base form and reference. The prid command only works on reference ids.
To find the RefID in xEdit, click on the NPC record. Then at the bottom right, click the 'referenced by' tab. This will list all records that use this one. You want the REFR type. Note that there could be more that one reference for a base object.
 
there are only 3 ref-by data, signature: LCTN, QUST, ACHR.
doesn't have REFR

i explored the 3 records, none link directly to 10023b19

the closest is ACHR

[0D] SS2_XPAC_Chapter2.esm (D9CEEC13) \ Cell \ Block 1 \ Sub-Block 3 \ 0D00C8E7 <SS2SagCharacterHoldingCell> \ Temporary \ 0D023B19

guess i will just rely in-game data.
now running mod better-console, which gave more det when click on something
 
I can't remember what an ACHR record is. This is one of those things that's easier to do with the CK. You can load up SS2SagCharacterHoldingCell and all the refs in the cell will be listed in the Cell View window, including the RefID. SS2CharacterHoldingCell for chapter 1 npcs.
 
ACHR is the record type for a placed actor.
i explored the 3 records, none link directly to 10023b19
[0D] SS2_XPAC_Chapter2.esm (D9CEEC13) \ Cell \ Block 1 \ Sub-Block 3 \ 0D00C8E7 <SS2SagCharacterHoldingCell> \ Temporary \ 0D023B19
The first 2 digits is the load order index in hex.
 
Top