Skip to content

PARTICLES

Jocelyn Beedie edited this page Aug 6, 2021 · 1 revision
struct Particles {
    TransformationHeader header;
    uint16_t unk1;
    uint16_t unk2; // probably related to number of particles
    float unk3[15];
    uint32_t unk4;
    Track<float> track1; // [0.0, 2.0]
    Track<float> track2; // [0.0, 2.0]
    Track<float> track3; // [-1.0, 1.0]
    Track<float> track4; // [0.0, 2.0]
    Track<float> track5; // [0.0, 2.0]
    Track<Vector3> track6; // [(0.0, 0.0, 0.0), (255.0, 255.0, 255.0)] Color?
    Track<float> track7; // [-1.0, 1.0]
    Track<float> track8; // [0.0, 2.0]
    Track<float> track9; // [-1.0, 1.0]
    Track<float> track10; // [0.0, 2.0]
    Track<Vector3> track11; // [(0.0, 0.0, 0.0), (255.0, 255.0, 255.0)] Color?
    Track<float> track12; // [0.0, 1.0] probably ALPHA?
    Track<float> track13; // [-1.0, 1.0]
    int32_t materialanim_id;
};
struct Frame<T> {
    uint16_t frame;
    char junk[2];
    T value;
};
struct Track<T> {
    uint16_t interpolation;
    uint32_t num_frames;
    Frame<T> frames[num_frames];
}
Clone this wiki locally