benilla-re systems structs docs

M2Sequence

struct · models · 68 bytes

Meaning
Holds a sequence record of an MD20 file: time range, flags, variation data, repeats, blend time and bounds
Confidence
verified, proof one
Finding
models/records#sequence-record

Finding: Sequence record in models: records

A sequence is 0x44 bytes.

offsetholds
+0x04, +0x08start and end, milliseconds
+0x10flags: 1 plays once
+0x14probability among its variations
+0x18, +0x1cminimum and maximum repeats
+0x20blend time, milliseconds
+0x24, +0x3cbounding box, six floats; bounding radius
+0x40next variation, 16-bit

The derivation is in the doc.

Fields 9

offsetsizetypenamemeaningconfidencefinding
0x00048uint32_t[2]m_rangeHolds the start and end in millisecondsverified, proof onemodels/records#sequence-record
0x000c4floatm_moveSpeedHolds the speed the sequence moves its model atverified, proof onemodels/model#sequence-info
0x00104uint32_tm_flagsHolds the flags, 1 playing onceverified, proof onemodels/records#sequence-record
0x00144uint32_tm_probabilityHolds the probability among the variationsverified, proof onemodels/records#sequence-record
0x00188uint32_t[2]m_repeatsHolds the minimum and maximum repeatsverified, proof onemodels/records#sequence-record
0x00204uint32_tm_blendTimeHolds the blend time in millisecondsverified, proof onemodels/records#sequence-record
0x002424float[6]m_boundsHolds the bounding boxverified, proof onemodels/records#sequence-record
0x003c4floatm_radiusHolds the bounding radiusverified, proof onemodels/records#sequence-record
0x00402uint16_tm_nextVariationHolds the next variationverified, proof onemodels/records#sequence-record