Skip to content

Particles_Z

widberg edited this page Oct 12, 2023 · 28 revisions

Chum World PARTICLES
ImZouna Particles_Z

This has an associated Data Class.

bitfield ParticlesEmitter_Z_Flags {
    FL_PARTICLES_LOOP : 1;
    FL_PARTICLES_LOCK_H : 1;
    FL_PARTICLES_LOCK_V : 1;
    FL_PARTICLES_USE_TOTAL : 1;
    FL_PARTICLES_NOEMIT : 1;
    FL_PARTICLES_ORIENTED : 1;
    FL_PARTICLES_NODEREL : 1;
    FL_PARTICLES_BOUNDARY_ONLY : 1;
    FL_PARTICLES_FLIP_H : 1;
    FL_PARTICLES_FLIP_V : 1;
    FL_PARTICLES_SIZEX_ONLY : 1;
    FL_PARTICLES_LIGHT : 1;
    FL_PARTICLES_SCREEN : 1;
    FL_PARTICLES_SCREENXY : 1;
    FL_PARTICLES_ACCURATE : 1;
    FL_PARTICLES_LAST : 1;
    padding : 16;
};

struct ParticlesEmitter_Z {
        u16 max_quantity;
        u16 p_cloud_type;
        Vec3f p_cloud_size;
        Vec3f p_cloud_offset;
        f32 off_axis;
        f32 off_axis_variation;
        f32 off_plane;
        f32 off_plane_variation;
        f32 velocity;
        f32 velocity_variation;
        f32 emitter_speed;
        f32 emitter_speed_variation;
        f32 loop_period;
        f32 life;
        f32 life_variation;
        ParticlesEmitter_Z_Flags flags;
        KeyframerVec2fLinear_Z unknown60;
        KeyframerVec4fLinear_Z unknown61;
        KeyframerVec4fLinear_Z unknown62;
        KeyframerFloatLinear_Z unknown63;
        KeyframerVec3fLinear_Z unknown64;
        KeyframerVec3fLinear_Z unknown65;
        KeyframerFloatLinear_Z unknown66;
        Name_Z material_anim_name;
};

struct Particles_Z : Object_Z {
    std::assert(type == ObjectType::Particles_Z, "type != ObjectType::Particles_Z");
    DynArray_Z<ParticlesEmitter_Z> particles_emitters;
    DynArray_Z<Mat4f> mats;
    f32 unknown2;
    u16 unknown3;
};

Home
FAQ

For FMTK Users and Mod Developers

Read the Docs

For FMTK Developers

Asobo BigFile Format Specification
Asobo Classes
      Animation_Z
      Binary_Z
      Bitmap_Z
      Camera_Z
      CollisionVol_Z
      Fonts_Z
      GameObj_Z
      GenWorld_Z
      GwRoad_Z
      Keyframer*_Z
      Light_Z
      LightData_Z
      Lod_Z
      LodData_Z
      Material_Z
      MaterialAnim_Z
      MaterialObj_Z
      Mesh_Z
      MeshData_Z
      Node_Z
      Omni_Z
      Particles_Z
      ParticlesData_Z
      RotShape_Z
      RotShapeData_Z
      Rtc_Z
      Skel_Z
      Skin_Z
      Sound_Z
      Spline_Z
      SplineGraph_Z
      Surface_Z
      SurfaceDatas_Z
      UserDefine_Z
      Warp_Z
      World_Z
      WorldRef_Z
Asobo File Format Idioms
Asobo CRC32
Asobo LZ Compression
Asobo Arithmetic Coding Compression
Asobo Save Game File Format Specification
Asobo Audio Formats
TotemTech/ToonTech/Zouna/ACE/BSSTech/Opal Timeline
Zouna Modding Resources
Miscellaneous

Clone this wiki locally