Skip to content

Vegetation Struct

skzk edited this page Aug 13, 2023 · 5 revisions

Parameters for procedurally placed vegetation. In some items, not all fields are present.

Structure

Field(s) Description
token vegetation Unit name of the vegetation type.
u16 density Density of the vegetation, multiplied by 10.
u8 hi_poly_distance Cutoff point for high poly models, multiplied by 10.
u8 scale_type Scale of vegetation models.

    0: 80% to 120%
    1: 60% to 100%
    2: 50% to 80%
    3: 100% to 140%
    4: 35% to 50%
    5: 100%
    6: 80%
    7: 60%

u16 start
u16 end
Where vegetation starts and stops being placed, multiplied by 10.
Clone this wiki locally