Sequence Groups

From NFBSP

Jump to: navigation, search

Sequence Groups may be used to spread out filesize, by storing animations of all the sequences in one sequence group in a separate file.

In Studio Model - Version 14, there is only 1 Sequence Group ("default").

Contents

C# Code

struct SequenceGroup { // Length: 104
   byte[32] Label;
   byte[64] AnimationsFile; // From bond\ folder. Null means animations are in this file.
   int Cache;
   int Data;
}

Details

  • Label: Set to "default" for the first sequencegroup, which is internal to the MDL.
  • FileName: The name of the animations file (.mdl with IDSQ tag in header) to read. Nulled for first sequencegroup.
  • Cache: A pointer to cache data. Usually null.
  • Data: Usually null.

Example

   byte[32] Label = "myseqgrp1";
   byte[64] AnimationsFile = "models\modelname01.mdl"; 
   int Cache = 0;
   int Data = 0;

See Also

Personal tools