-
Notifications
You must be signed in to change notification settings - Fork 4
Curve
skzk edited this page Feb 2, 2024
·
29 revisions
Item ID: 0x2C (44)
Item file: aux
Field(s) | Description |
---|---|
struct kdop_item
|
See k-DOP item. Flags: |
token model
|
Unit name of the curve model, as defined in /def/world/curve_model.sii .
Here's the official documentation for curve units. |
array_u64 node_uids
|
Contains four elements: the UIDs of the backward node and the forward node, followed by helper nodes (if used; set to 0 otherwise). Some variants of some curves define model locators for which the editor adds nodes to the map, which other polyline items can be attached to. |
float length
|
Cached length of the segment. The maximum length of a curve segment is 1000 m. |
u32 random_seed
|
Seed for vegetation etc. |
float stretch_coef
|
Coefficient for stretching the scheme along the path. For some curves, this stretches the model; for others, it places its elements further apart. |
float scale
|
Scale of the model. Does not affect vegetation models. |
float fixed_step
|
If not 0, forces the model to repeat every n meters, overriding the default. |
token terrain_material
|
Unit name of the terrain material for models like terrain_decal_*m .
|
u32 terrain_color
|
Color tint of the terrain as RGBA. Default is #FFFFFFFF (white). |
float terrain_rot
|
UV rotation of the terrain texture. |
token first_part token last_part token center_part_variation
|
Unit names of the first part, last part and center part. |
token model_look
|
Look of the curve model, if applicable. |
u32 height_offset_count array_float height_offsets
|
Defines offsets for individual elements of the building.
Offsets are applied to elements in order. For instance, if you want the third element to have an offset of 5, the content of the array should be [0, 0, 5]. The editor uses this for the "Snap to ground" tool. |
-
.base/.aux/.snd
- Animated Model
- Bezier Patch
- Buildings
- Bus Stop
- Camera Path
- Camera Point
- City
- Company
- Compound
- Curve
- Cut Plane
- Cutscene
- Environment Area
- Far Model
- Ferry
- Fuel Pump
- Garage
- Gate
- Hinge
- Hookup
- Map Area
- Map Overlay
- Model
- Mover
- Parking
- Prefab
- Road
- Service
- Sign
- Sound
- Terrain
- Traffic Area
- Trajectory
- Trigger
- Visibility Area
- Walker