-
Notifications
You must be signed in to change notification settings - Fork 17
Zone Chunk Format
brett19 edited this page Oct 14, 2014
·
20 revisions
#header {
uint32 object_count
uint32 lightmap_count
uint32 effect_count
uint32 meshanim_count
uint32 waterplane_count
}
#data {
uint32 lightmap_file_hash
float heights[65*65]
uint32 tiles[16*16]
for(i = 0; i < object_count; ++i) {
uint32:1 is_deco
uint32:31 model_id
float3 position
float4 rotation
float3 scale
}
for(i = 0; i < lightmap_count; ++i) {
uint32:24 object_id
uint32:8 part_id
uint32 lightmap_tex_hash
uint32:16 lightmap_object_num
uint32:16 lightmap_objects_per_axis
}
for(i = 0; i < effect_count; ++i) {
uint32 effect_file_hash
float3 position
float4 rotation
float3 scale
}
for(i = 0; i < meshanim_count; ++i) {
uint32 meshani_type_id
float3 position
float4 rotation
float3 scale
}
for(i = 0; i < waterplane_count; ++i) {
float3 start
float3 end
}
}