Skyrim CK:Формат файлов/NPC

Материал из Tiarum
Перейти к: навигация, поиск
Переводить Этот материал нуждается в переводе или допереводе..
Вы можете помочь перевести его. Не забывайте предварительно добавлять строку {{Edit|--~~~~}} в материалы над которыми работаете, чтобы не создавать конфликта правок.
Пожалуйста, снимите шаблон этого сообщения, когда материал будет вычитан.

NPC_ - это запись описывает не-игровых персонажей (NPC - Non Player Characters).

C SubRecord Name Тип/Размер Info
+ EDID editorId zstring Editor id
- VMAD script info struct script info
+ OBND object bound struct Always 12 bytes, even if 0
+ ACBS config struct 24-byte struct
uint32 Flags
0x01 - Female
0x02 - Essential
0x08 - Respawn
0x10 ? (oblivion - auto calc stats) doubtful unless a lot of bandits dont get stats, also on presets
0x20 - can dialog? seems to be playable races only
0x40 - Rorikstead Cow
0x80 - non-mq quest-related? Tolfdir, Torvar, Nazir, Nepos, Nirya
0x100 - audio templates missing on AudioTemplateHorker but otherwise only flag on others
0x800 - ? Aranea, Atub, Deekus
0x4000 - Summonable
0x10000 - No corpse
0x20000
0x40000 - owned/follow? Horses, Atronachs, NOT Shadowmere
0x200000 - looped script? AAvenicci, Arcadia, Silvia, Afflicted, TortureVictims
0x10000000 - looped audio? AAvenicci, Arcadia, Silvia, DA02 Cultists, Afflicted, TortureVictims
0x20000000 - Ghost/non-interactable (Ghosts, Nocturnal)
uint16 oblivion - spell points some magic users do have a value here, unknown if used
uint16 oblivion - fatigue some melee users do have a value here, unknown if used
uint16 oblivion - barter gold dont think so, unless a lot of encounter guys have 1000+ gold
uint16 oblivion - level offset dont know, values range from 06-0A
uint16 oblivion - min level maybe, random thief guy is 45 min if so
uint16 oblivion - max level maybe, almost always 100
uint16 - unknown, usually 0x23 if present
ubyte[2] - if present value range seen 0x0A00 to 0x1FFF
uint32? - 0x32 and 0xFFF1, 0xFFCF values seen
* SNAM faction struct 8-byte struct
formid Faction (FACT)
uint32 Rank few factions have RNAM entries for factions, so most are 0. player factions are often 255
- INAM death item formid Death Item (LVLI)
- VTCK Voice Type formid Voice Type (VTYP)
- TPLT template formid Base Template (NPC_)
+ RNAM race formid Race (RACE)
- WNAM worn armor formid (ARMO) eg SkinAtronachFrost, SkinDragonPriest
- ANAM armor formid (ARMO) alternate to WNAM, Odahviing
- ATKD attack data struct 44-byte struct
- ATKE attack events struct 24-byte struct, contains strings similar to SMEN/ENAM
- ATKR attack race formid (RACE) creatures mostly but some nords etc - prob for unarmed
- SPCT spell count uint32 Spell Count
* SPLO spell formid (SPEL) or (SHOU)
- ECOR escape combat override formid (FLST) containing (PACK)
- SPOR spell? override formid (FLST) containing (PACK) only 2 instances
- PRKZ perk count uint32 Count of PRKR records
* PRKR perk record struct 8-byte struct
formid (PERK)
float? looks like a float but values make no sense
+ COCT numItems uint32 number of CNTO fields
* CNTO items struct 8-byte struct
formid Any item formid (WEAP/ARMO/ALCH)
uint32 count
+ AIDT aiData struct 20 byte struct
ubyte Aggression
0x00 unagressive
0x01 aggressive
0x02 very aggressive
0x03 frenzied
ubyte Confidence
0x00 cowardly
0x01 cautious
0x02 average
0x03 brave
0x04 foolhardy.
ubyte Energy? (Oblivion) seems to always be 0x32
ubyte Morality
0x00 any crime
0x01 violence against enemies
0x02 property crime only cicero at the farm is the only one thus far
0x03 no crime
ubyte Mood? (guessing from order thus far matching actor value page) almost always 0 but Linwe has 7 here, which would mean 'disgusted', vn
ubyte Assistance
0x00 helps nobody
0x01 helps allies
0x02 helps friends and allies
ubyte[14] no values found yet
* PKID aiPackage formid AI package (PACK)
- KSIZ (KSIZ) uint32 count of keywords
- KWDA (KWDA) formid[KSIZ]
+ CNAM class formid Class (CLAS)
- FULL fullName lstring Full (in-game) name
- SHRT short alias lstring if present used in Alias=?
+ DATA marker 0-length 0-length, presumably to mark DNAM position
+ DNAM skill/stat data struct 52-byte struct
18x ubyte - Base skills in the following order
OneHanded,TwoHanded,Marksman,Block,Smithing,HeavyArmor,LightArmor,
Pickpocket,Lockpicking,Sneak,Alchemy,Speechcraft,
Alteration,Conjuration,Destruction,Illusion,Restoration,Enchanting
18x byte - mod skill, same order as above
uint16 - health
uint16 - magicka
uint16 - stamina
uint16 - base armor/unarmed? presets are 7 except argonian with 10, most npcs at 1
uint16
uint16
float? 2uint16s? (or REFR formid but the reference is to a door in Crystaldrift Cave or a tree most of the time)
* PNAM headParts formid Head Part addons (hair, eyes, scars, etc) from HDPT
- HCLF hair color formid Hair color (CLFM)
- ZNAM combat style formid Combat style (CSTY)
+ NAM5 unknown short flags or marker, "always" FF-00
+ NAM6 scale float setScale
+ NAM7 max level? float values 25, 50, 100 seen
+ NAM8 unknown float seems to always be 1 as well
- DOFT defaultOutfit formid Default Outfit (OTFT)
- SOFT sleepingOutfit formid Sleeping Outfit (OTFT)
- CRIF crimeFaction formid crime faction (FACT)
- CSCR sound creature ref formid Audio Template (NPC_) to use as an audio template
- DPLT defaultPackageList formid Default Package List (FLST)
- FTST feature set formid Head texture (TXST)
- QNAM mat lighting struct 12-byte struct - texture lighting data looks like ambient missing alpha (opaque prob assumed)
float ambient R?
float ambient G?
float ambient B?
+ NAM9 mat lighting struct 76-byte struct - texture lighting data guessing they are sets of 4, seems to line up and last 3 are definitely separate
float x4 specular/diffuse/ambient/emission RGBA
float x4 specular/diffuse/ambient/emission RGBA
float x4 specular/diffuse/ambient/emission RGBA
float x4 specular/diffuse/ambient/emission RGBA
float - usually 0
float - usually 0
float - maybe alpha/blend, max positive float here often
* CSDT sound location uint32 Number corresponding to where the sound comes from (foot step, idle, attack, etc).
* CSDI sound reference formid Reference to the sound to play. Tied to the latest CSDT location.
* CSDT sound chance ubyte Always follows a CSDI record. Chance (0-100) that the sound will play on the triggering event.
- DEST destruction data struct 8-byte struct 1 record, maybe accidental, usually object destruction data
- DSTD destruction data struct 20-byte struct 1 record, maybe accidental, usually object destruction data
- DSTF destruction flag 0-length 1 record, maybe accidental, usually object destruction data
* NAMA faceParts (?) struct Face part presets (numeric, starting from 0)
nose
int32
Nose
Unknown
int32?
Unknown, is set to -1 on most if not all humanoids
eyes
int32
Eyes
mouth
int32
Mouth
- TINI Unknown short Unknown - Tint Mask Index?
- TINC Unknown int32 Unknown - one after each TINI (Guess: Tint Mask Color, possibly in RGB format?)
- TINV Unknown int32 Unknown - one after each TINC (Guess: Tint Mask Value?)
- TIAS Unknown short Unknown - one after each TINV
Личные инструменты
Пространства имён
Варианты
Действия
Навигация
Разделы TES
Разделы Fallout
Модмейкерам
Инструменты