Difference between revisions of "Documentation/Engine/Units/vehicle paint job accessory"
< Documentation | Engine | Units
Jump to navigation
Jump to search
(→Attributes) |
(WIP) |
||
Line 22: | Line 22: | ||
|mask_r_color | |mask_r_color | ||
|float3 | |float3 | ||
− | | | + | | |
− | | | + | | |
|- | |- | ||
|mask_g_color | |mask_g_color | ||
|float3 | |float3 | ||
− | | | + | | |
− | | | + | | |
|- | |- | ||
|mask_b_color | |mask_b_color | ||
|float3 | |float3 | ||
− | | | + | | |
− | | | + | | |
|- | |- | ||
|flake_color | |flake_color | ||
|float3 | |float3 | ||
− | | | + | | |
− | | | + | | |
|- | |- | ||
|flip_color | |flip_color | ||
|float3 | |float3 | ||
− | | | + | | |
− | | | + | | |
|- | |- | ||
|base_color | |base_color | ||
|float3 | |float3 | ||
− | | | + | | |
− | | | + | | |
|} | |} | ||
Revision as of 02:17, 23 June 2017
The vehicle_paint_job_accessory unit class is used to 'attach' a paint job accessory and its data to vehicle and trailer configurations. Units of this type are typically nameless and declared within the same context as the configuration that owns/uses them.
Attributes
Name | Type | Default Value | Description |
---|---|---|---|
wear | float | 0.0 | This attribute is used to track damage and wear to the accessory. 0 corresponds to an unworn state and 1 corresponds to a completely worn state. |
data_path | string | Full path to the SII file containing a suitable accessory data unit. | |
mask_r_color | float3 | ||
mask_g_color | float3 | ||
mask_b_color | float3 | ||
flake_color | float3 | ||
flip_color | float3 | ||
base_color | float3 |