Name |
# bytes |
Data Type |
Description |
DSQ version number |
2 |
S16 |
DSQ version of this file. Note that the current DSQ version (for files saved by T3D) is 26. Most DTS exporters and the ShowToolPro tool only read/write version 24. There is actually no difference between v26 and v24, but files generated by T3D will always use the latest DTS version number. |
Exporter version number |
2 |
S16 |
For tracking version of the exporter that generated this file. Can usually be ignored. |
numNodes |
4 |
S32 |
Number of nodes in the shape |
nodeNames |
numNodes * ? |
S32 and char[] |
Node names stored as a 4-byte length followed by N characters (terminating NULL not included in length or DSQ file) |
dummy |
4 |
S32 |
Dummy value |
numObjects |
4 |
S32 |
Number of objects in the shape |
numNodeRotations |
4 |
S32 |
Number of node rotation keyframes |
nodeRotations |
numNodeRotations * 8 |
Quat16 { S16 x, S16 y, S16 z, S16 w } |
Array of quaternions for node rotation keyframes (all sequences) |
numNodeTranslations |
4 |
S32 |
Number of node translation keyframes |
nodeTranslations |
numNodeTranslations * 12 |
Point3F { F32 x, F32 y, F32 z } |
Array of points for node translation keyframes (all sequences) |
numNodeUniformScales |
4 |
S32 |
Number of node uniform scale keyframes |
nodeUniformScales |
numNodeUniformScales * 4 |
F32 |
Array of floats for node uniform scale keyframes (all sequences) |
numNodeAlignedScales |
4 |
S32 |
Number of node aligned scale keyframes |
nodeAlignedScales |
numNodeAlignedScales * 12 |
Point3F { F32 x, F32 y, F32 z } |
Array of points for node aligned scale keyframes (all sequences) |
numNodeArbScales |
4 |
S32 |
Number of node arbitrary scale keyframes |
nodeArbScaleRots |
numNodeArbScales * 8 |
Quat16 { S16 x, S16 y, S16 z, S16 w } |
Array of quaternions for node arbitrary scale rotation keyframes (all sequences) |
nodeArbScaleFactors |
numNodeArbScales * 12 |
Point3F { F32 x, F32 y, F32 z } |
Array of points for node arbitrary scale factor keyframes (all sequences) |
numGroundFrames |
4 |
S32 |
Number of ground transform keyframes |
groundTranslations |
4 |
Point3F { F32 x, F32 y, F32 z } |
Array of points for ground transform keyframes (all sequences) |
groundRotations |
2 |
Quat16 { S16 x, S16 y, S16 z, S16 w } |
Array of quaternions for ground transform keyframes (all sequences) |
dummy |
4 |
S32 |
Dummy value |
numSequences |
4 |
S32 |
Number of sequences in the shape |
sequences |
numSequences * ? |
Sequence |
Array of Sequences - size of each sequence depends on which nodes are affected etc. |
numTriggers |
4 |
S32 |
Number of triggers (all sequences) |
triggers |
4 |
Trigger { U32 state, F32 pos } |
Array of sequence triggers (all sequences) |