SCEN records contain information on scenes.
Main RecordEdit
The three lists have no terminator and simply repeat until a field designates that the next block is starting.
C | V | Field | Name | Type/Size | Info |
---|---|---|---|---|---|
+ | EDID | Editor ID | zstring | Editor ID. | |
- | VMAD | script info | byte[] | scripting info | |
+ | FNAM | Flags | uint32 |
|
|
+ | Phases | Phases[] | List of phases. | ||
+ | Actors | Actors[] | List of actors. | ||
+ | Actions | Actions[] | List of actions. | ||
- | SCHR | Old Script | SCHR | Old scripting field. | |
+ | PNAM | Parent Quest | formid | Parent quest. | |
+ | INAM | Max Action | uint32 | Highest action number. Note: in rare cases, this may be higher than the highest action number, possibly indicating deleted actions. | |
+ | VNAM | Behavior Settings | uint32[4] | Each uint32 corresponds to the "Set all" check boxes at the top of the Actor Behavior dialogue.
|
|
- | CTDA | Conditions | struct | Scene Data conditions. |
PhasesEdit
C | V | Field | Name | Type/Size | Info |
---|---|---|---|---|---|
+ | HNAM | Start Marker | 0-length | ||
+ | NAM0 | Description | zstring | Phase description. Always present, even if just a null-terminator. | |
* | CTDA | Start Conditions | struct | ||
+ | NEXT | Marker | 0-length | Delineates start conditions from completion conditions. | |
* | CTDA | Completion Conditions | struct | ||
- | SCHR | Old Script | SCHR | Old scripting field. | |
+ | NEXT | Marker | 0-length | ||
- | SCHR | Old Script | SCHR | Old scripting field. | |
+ | WNAM | Width | uint32 | Display width. | |
+ | HNAM | End Marker | 0-length |
ActorsEdit
C | V | Field | Name | Type/Size | Info |
---|---|---|---|---|---|
+ | ALID | Alias ID | uint32 | Alias ID of actor. | |
- | LNAM | Flags | uint32 | Actor flags. | |
- | DNAM | Behaviors | uint32 | Actor behaviors. |
ActionsEdit
C | Field | Name | Type/Size | Info | |
---|---|---|---|---|---|
+ | ANAM | Type | uint16 | Start of Action block. Type of action.
|
|
+ | NAM0 | Description | zstring | Action description. | |
+ | ALID | Alias ID | uint32 | Alias ID of actor performing action. | |
+ | INAM | Action Num | uint32 | Action number.
Note: Two records in Skyrim.esm contain actions with overlapping numbers (T03WorshippersScene (0x0001C608) and DGScene04 (0x0001B113)). In all other cases, action numbers are unique within any given scene. |
|
- | FNAM | Flags | uint32 | Flags.
To date, all other flags are unused. |
|
+ | SNAM | Start Phase | uint32 | Phase action starts at. Zero-based, add one to value to match CK display values. | |
+ | ENAM | End Phase | uint32 | Phase action ends at. Zero-based, add one to value to match CK display values. | |
Dialogue Actions Only | |||||
+ | DATA | Topic | formid | Topic ID. | |
- | HTID | Head Tracking ID | int32 | Head-tracking alias ID. Values range from -1–225, 435 (0x1B3). High bit may be flag. | |
- | DMAX | Looping Max | float32 | Looping max. | |
- | DMIN | Looping Min | float32 | Looping min. | |
- | DEMO | Emotion Type | uint32 | Emotion type.
|
|
- | DEVA | Emotion Value | uint32 | Emotion value. | |
Package Actions Only | |||||
* | PNAM | Package IDs | formid | Package IDs. | |
Timer Actions Only | |||||
+ | SNAM | Duration | float32 | Duration of timer. Note: SNAM is repurposed within timer actions and appears in addition to the action start phase SNAM field. | |
- | SCHR | Old Script | SCHR | Old scripting field. | |
+ | ANAM | End Marker | 0-sized | End of Action block. |