Skip to content

Camera Path

skzk edited this page Jan 21, 2024 · 8 revisions

Item ID: 0x2D (45)
Item file: aux

Structure

Field(s) Description
struct kdop_item

See k-DOP item.

Flags:
none.

u32 tags_count
array_token item_tags
Tags.
u32 node_count
array_u64 node_uids
The UIDs of the nodes of this path.
u32 track_nodes_count
array_u64 track_node_uids
The UIDs of the track point nodes of this path, if used.
u32 curve_control_nodes_count
array_u64 curve_control_node_uids
The UIDs of the curve control nodes of this path. If any of them are not in their default positions, all of them get a separate map node and are referenced here.
u32 keyframe_count
array_struct keyframe_states

Keyframes of the path; one per node. The keyframe struct looks as follows (edit_save_text does not write any names for them):

Field(s) Description
s32 Easing function to use for speed changes.
s32 Easing function to use for rotation changes.
float Multiplier for the main camera speed.
float Keyframe FOV.
float3 Position of the first control point.
float3 Position of the second control point.

Unlike what you'd expect, the control point positions stored here are not the positions of the backward and forward control points of node n, but rather the forward point of node n and the backward point of node n+1.

float camera_speed
Main camera speed.
Clone this wiki locally