Skyrim Mod:Save File Format/REFR Changeform

The UESPWiki – Your source for The Elder Scrolls since 1995
Jump to: navigation, search


REFR change form[edit]

  • REFR change flags:
0x01 - CHANGE_FORM_FLAGS
0x02 - CHANGE_REFR_MOVE
0x04 - CHANGE_REFR_HAVOK_MOVE
0x08 - CHANGE_REFR_CELL_CHANGED
0x10 - CHANGE_REFR_SCALE
0x20 - CHANGE_REFR_INVENTORY
0x40 - CHANGE_REFR_EXTRA_OWNERSHIP
0x80 - CHANGE_REFR_BASEOBJECT
0x2000000 - CHANGE_REFR_PROMOTED
0x4000000 - CHANGE_REFR_EXTRA_ACTIVATING_CHILDREN
0x8000000 - CHANGE_REFR_LEVELED_INVENTORY
0x10000000 - CHANGE_REFR_ANIMATION
0x20000000 - CHANGE_REFR_EXTRA_ENCOUNTER_ZONE
0x40000000 - CHANGE_REFR_EXTRA_CREATED_ONLY
0x80000000 - CHANGE_REFR_EXTRA_GAME_ONLY
0x400 - CHANGE_OBJECT_EXTRA_ITEM_DATA
0x800 - CHANGE_OBJECT_EXTRA_AMMO
0x1000 - CHANGE_OBJECT_EXTRA_LOCK
0x20000 - CHANGE_DOOR_EXTRA_TELEPORT
0x200000 - CHANGE_OBJECT_EMPTY
0x400000 - CHANGE_OBJECT_OPEN_DEFAULT_STATE
0x800000 - CHANGE_OBJECT_OPEN_STATE


Name Data Present if flag set
Initial data Initial type see Initial type
Havok data vsval count

uint8[count]

CHANGE_REFR_HAVOK_MOVE
Flags Change form flags CHANGE_FORM_FLAGS
Base object refId CHANGE_REFR_BASEOBJECT
scale float CHANGE_REFR_SCALE
Extra data Extra data if one or more of these is set:

CHANGE_REFR_EXTRA_OWNERSHIP

CHANGE_OBJECT_EXTRA_LOCK

CHANGE_REFR_EXTRA_ENCOUNTER_ZONE

CHANGE_REFR_EXTRA_GAME_ONLY

CHANGE_OBJECT_EXTRA_AMMO

CHANGE_DOOR_EXTRA_TELEPORT

CHANGE_REFR_PROMOTED

CHANGE_REFR_EXTRA_ACTIVATING_CHILDREN

CHANGE_OBJECT_EXTRA_ITEM_DATA

Inventory Inventory CHANGE_REFR_INVENTORY or CHANGE_REFR_LEVELED_INVENTORY
Animation vsval count

uint8[count]

CHANGE_REFR_ANIMATION
Explosion Explosion present if initial type == 5 and base object type is EXPL. (last refID from initial data, type can be checked from mod file)

Inventory[edit]

Name Type Description
count vsval
items Inventory item[count]

Inventory item[edit]

Name Type Description
item refId
item count sint32 eg. player have 1000 gold, then this is 1000.
extra count vsval
extra datas Extra data[extra count]


Explosion[edit]

Name Type Description
unks float[4]
unk1 uint32[2]
unks2 float[2]
unks3 float[3]
unks4 float[3]
unk5 float
refs refID[4]
unk6 float
unk7 uint32
flag uint8
NonActorMagicCaster NonActorMagicCaster present if flag != 0