Open main menu

UESPWiki β

Oblivion Mod:Mod File Format/INFO

< Mod / Oblivion: Oblivion Mod: Modding: Mod File Format

An INFO record defines a dialogue response. There is a sequence of TRDT, NAM1 and NAM2 subrecords for each response associated with the INFO record. There is a CTDA subrecord for each dialogue condition, a TCLT subrecord for each choice, and a NAME subrecord for each add topic.

The INFO records are contained in a Topic group. The INFO records must occur in the order defined by the PNAM subrecords. The first INFO record in the group has a PNAM subrecord containing a form ID of 0. The second INFO record has a PNAM subrecord containing the form ID of the first INFO record. And so forth.

Subrecord Type Info
DATA ubyte Dialogue type
0=Topic
1=Conversation
2=Combat
3=Persuasion
4=Detection
5=Service
6=Miscellaneous
ubyte Next speaker
0=Target
1=Self
2=Either
ubyte Flags
0x0001 = Goodbye
0x0002 = Random
0x0004 = Say Once
0x0008 = Run Immediately
0x0010 = Info Refusal
0x0020 = Random End
0x0040 = Run for Rumors
QSTI formid Quest ID
PNAM formid Previous INFO ID
TRDT long Emotion type
0=Neutral
1=Anger
2=Disgust
3=Fear
4=Sad
5=Happy
6=Surprise
long Emotion value
ubyte[4] Unknown
ubyte Response number
ubyte[3] Unknown
NAM1 zstring Response text
NAM2 zstring Actor notes
CTDA ubyte Condition type where the upper 4 bits contain the compare operator and the lower 4 bits contain flags.
Compare operator
0=Equal to
2=Not equal to
4=Greater than
6=Greater than or equal to
8=Less than
10=Less than or equal to
Flags
0x01=OR
0x02=Run on target
0x04=Use global
ubyte[3] Unknown
float Comparison value
long Function index. See Functions for a list of function indices.
formid/long First parameter. This can be a number or a Form ID depending on the function.
formid/long Second parameter. This can be a number of a Form ID depending on the function
formid/long? Third parameter?
TCLT formid Choice
NAME formid Add topic
SCHR struct Result script data. See SCHR for more information.
SCDA struct Compiled result script. See SCDA for more information.
SCTX string Result script source.
SCRO formid Global variable reference. There is an SCRO subrecord for each global reference.
CTDT 20 bytes Seems to be the same structure as the CTDA except missing the last 4 bytes. This may be an 'older' version of the CTDA subrecord which needed to be expanded at some point. New/modified INFOs seem to use CTDA subrecords even if the original record used CTDTs.