Abrir menu principal

UESPWiki β

Alterações

Skyrim Mod:Mod File Format/RELA

1 671 bytes adicionados, 05h44min de 18 de maio de 2012
more accurate information, using CK names
<noinclude>{{Trail|File Formats|Mod File Format}}</noinclude>
RELA records contain information on Relationships between 2 NPC_ or an NPC_ and the player.

{| class="wikitable" border="1" width="100%"
! width="3%" | [[Tes5Mod:File Format Conventions|C]]
! width="10%" | SubRecord
! width="15%" | Name
! width="12%" | [[Tes5Mod:File Format Conventions|Type/Size]]
! | Info
|-
| + || EDID || editorId || zstring || Editor id
|-
|rowspan=6| +
|rowspan=6|DATA
| Data || struct[16] ||
|-
|
:Parent NPC
|formid||Parent/child here does not necessarily mean biological parent/child; it's just a generic way of describing two connected items.
|-
|
:Child NPC
|formid||
|-
|
:Rank
|uint16||Relationship Level. The value stored in the game data is unsigned integer ranging from 0 to 8 (although 7 is the highest value being used so far). However, this is converted into a value ranging from -4 to 4, which is the value returned by GetRelationshipRank; negative values imply dislike/hatred whereas positive values are for friendship. The meaning assigned to each value in the CK is (the first number is the raw value in the game data; the second number is the GetRelationshipRank value):
:0 - Lover (4)
:1 - Ally (3)
:2 - Confidant (2)
:3 - Friend (1)
:4 - Acquaintance (0)
:5 - Rival (-1)
:6 - Foe (-2)
:7 - Enemy (-3)
:8 - Archnemesis (-4)
|-
|
:Flag
|uint16||The only bit set in this flag is the highest bit:
:0x8000 - Secret
|-
|
:Association Type
|formid||Formid to a [[Tes5Mod:Mod File Format/ASTP|ASTP]] record, which provides additional information about the association between the two people.<br/>
Can be empty, in which case no additional information is available.
|}