Zone (.luz)
Note
- id:
luz
- file-extension:
luz
- endian:
le
- imports:
../common/common
Sequence
[u4] file_version
- if:
file_version >= 36
[u4] file_revision
[u4] zone_id
- if:
file_version >= 38
[common::vector3] player_start_pos
- if:
file_version >= 38
[common::quaternion] player_start_rot
[switch-on:file_version >= 37] num_scene_files
True u4
False u1
[scene] scenes
repeat-expr:num_scene_files
[u1] num_zone_boundary_lines
[boundary_info] boundary_lines
repeat-expr:num_zone_boundary_lines
[common::u1_str] raw_filename
- if:
file_version >= 31
[common::u1_str] zone_name
- if:
file_version >= 31
[common::u1_str] zone_description
- if:
file_version >= 32
[transition_data] zone_transition_data
- if:
file_version >= 35
[u4] path_chunk_size
- if:
file_version >= 35
[path_chunk] path_chunk
Size:path_chunk_size
Type scene
Sequence
[common::u1_str] scene_file_name
- if:
_root.file_version >= 33 or _root.file_version < 30
[u4] scene_id
- if:
_root.file_version >= 33
[u4] layer_id
- if:
_root.file_version >= 33
[common::u1_str] scene_display_name
- if:
_root.file_version == 33
[common::vector3] unknown1
- if:
_root.file_version == 33
[f4] unknown2
- if:
_root.file_version >= 33
[u1] scene_color_r
- if:
_root.file_version >= 33
[u1] scene_color_g
- if:
_root.file_version >= 33
[u1] scene_color_b
Type boundary_info
Sequence
[common::vector3] normal
[common::vector3] point
[u4] dest_zone_id
[u4] dest_scene_id
[common::vector3] spawn_loc
Type transition_data
Sequence
[u4] num_transitions
[transition_info] transitions
repeat-expr:num_transitions
Type transition_info
Sequence
- if:
_root.file_version < 40
[common::u1_str] unknown1
- if:
_root.file_version < 40
[f4] unknown2
[transition_point] transition_points
repeat-expr:(_root.file_version <= 33 or _root.file_version >= 39) ? 2 : 5
Type transition_point
Sequence
[u4] scene_id
[u4] layer_id
[common::vector3] transition_point
Type path_chunk
Sequence
[u4] path_chunk_version
[u4] num_paths
[path] paths
repeat-expr:num_paths
Type path
Sequence
[u4] version
[common::u1_wstr] name
- if:
version <= 2
[common::u1_wstr] type_name
[u4:path_type] type
[u4] flags
[u4:path_behavior] behavior
[switch-on:type] data
path_type::platform platform_data
path_type::property property_data
path_type::camera camera_data
path_type::spawner spawner_data
[u4] num_waypoints
[waypoint] waypoints
repeat-expr:num_waypoints
Type platform_data
Sequence
- if:
_parent.version >= 13 and _parent.version < 18
[common::u1_wstr] traveling_audio_guid
- if:
_parent.version >= 18
[common::bool] time_based_movement
Type property_data
Sequence
[u4:property_path_type] property_path_type
[u4] price
[u4] time
[u8] associated_zone
- if:
_parent.version >= 5
[common::u1_wstr] name
- if:
_parent.version >= 5
[common::u4_wstr] description
- if:
_parent.version >= 6
[u4:property_type] property_type
- if:
_parent.version >= 7
[u4] clone_limit
- if:
_parent.version >= 7
[f4] reputation_multiplier
- if:
_parent.version >= 7
[u4] period_type
- if:
_parent.version >= 8
[u4] achievement_required
- if:
_parent.version >= 8
[common::vector3] zone_position
- if:
_parent.version >= 8
[f4] max_build_height
Type camera_data
Sequence
[common::u1_wstr] next_path
- if:
_parent.version >= 14
[common::bool] rotate_player
Type spawner_data
Sequence
[common::lot] spawned_lot
[u4] respawn_time
[s4] max_to_spawn
[u4] num_to_maintain
[common::object_id] object_id
- if:
_parent.version >= 9
[common::bool] activate_on_load
Type waypoint
Sequence
[common::vector3] position
[switch-on:_parent.type] data
path_type::npc npc_waypoint_data
path_type::platform platform_waypoint_data
path_type::camera camera_waypoint_data
path_type::spawner spawner_waypoint_data
path_type::racing racing_waypoint_data
path_type::rail rail_waypoint_data
Type npc_waypoint_data
Sequence
[lnv] config
Type platform_waypoint_data
Sequence
[common::quaternion_wxyz] rotation
[common::bool] lock_player
[f4] speed
[f4] wait
- if:
_parent._parent.version >= 13
[common::u1_wstr] depart_audio_guid
- if:
_parent._parent.version >= 13
[common::u1_wstr] arrive_audio_guid
Type camera_waypoint_data
Sequence
[common::quaternion_wxyz] rotation
[f4] time
[f4] fov
[f4] tension
[f4] continuity
[f4] bias
Type spawner_waypoint_data
Sequence
[common::quaternion_wxyz] rotation
[lnv] config
Type racing_waypoint_data
Sequence
[common::quaternion_wxyz] rotation
[common::bool] is_reset_node
[common::bool] is_non_horizontal_camera
[f4] plane_width
[f4] plane_height
[f4] shortest_distance_to_end
Type rail_waypoint_data
Sequence
[common::quaternion_wxyz] rotation
- if:
_parent._parent.version > 16
[f4] speed
[lnv] config
Type lnv
Sequence
[u4] num_entries
[lnv_entry] entries
repeat-expr:num_entries
Type lnv_entry
Sequence
[common::u1_wstr] name
[common::u1_wstr] type_value
Enum path_type
- 0:
npc
- 1:
platform
- 2:
property
- 3:
camera
- 4:
spawner
- 5:
buildarea
- 6:
racing
- 7:
rail
Enum path_behavior
- 0:
loop
- 1:
bounce
- 2:
once
Enum property_path_type
- 0:
bounded
- 1:
entire_zone
- 2:
generated_rectangle
Enum property_type
- 0:
premiere
- 1:
prize
- 2:
lup
- 3:
headspace