Skip to content

Far Model

skzk edited this page Oct 3, 2024 · 14 revisions

Item ID: 0x2B (43)
Item file: aux

Structure

Field(s) Description
struct kdop_item

See k-DOP item.

Flags:
Bit 0: Water reflection
Bit 1: Use map items
Bit 2: Far shadows

float half_size_x
float half_size_y

Width and height of the area, in meters, in which the models will be visible, divided by 2.

u32 model_count Amount of models. It appears that, as of 1.46 (map version 896), there is no longer a limit on how many models you can add to one Far Model item.

If "Use map items" is true, this field is 0.

Repeated for each:
token model Unit name of the model, as defined in /def/world/far_model.sii.
float3 scale Scale of the model.
End of repeated section
u32 children_count
u64 child_uid (repeated) 
UIDs of referenced map items parented by this Far Model.

If "Use map items" is true, children_count is 0.

u32 node_count
array_u64 node_uids
UIDs of the nodes of the item. The first entry is the node of this Far Model item itself, the others are the model nodes (if "Use map items" is false).
Clone this wiki locally