Skip to content

Char Part Model List Format

brett19 edited this page Oct 14, 2014 · 5 revisions

Base Format

#header {
  uint32 model_count
  for(i = 0; i < model_count; ++i) {
    uint32 data_offset  // 0xFFFFFFFF for invalid model
  }
}
#data {
  for() {
    uint32 part_count
    for (j = 0; j < part_count; ++j) {
      .material {
        uint32 texture_file_hash
        uint32:1 alpha_enabled
        uint32:1 two_sided
        uint32:1 alpha_test
        uint32:1 depth_test
        uint32:1 depth_write
        uint32:1 use_specular
        uint32 blend_type
        float alpha_ref
        float opacity
      }
      uint32 mesh_file_hash
      uint32:2 attach_type
      uint32:30 attach_index
    }
  }
}

Clone this wiki locally