Changes

Jump to navigation Jump to search

Documentation/Engine/Units/vehicle paint job accessory

1,615 bytes added, 02:17, 23 June 2017
WIP
{{Note|WIP — [[User:Smarty|Smarty]] ([[User talk:Smarty|talk]]) 04:17, 23 June 2017 (CEST)}}

The '''vehicle_paint_job_accessory''' unit class is used to 'attach' a paint job accessory and its [[Documentation/Engine/Units/accessory_paint_job_data|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 ==
{|class="wikitable"
!Name
![[Documentation/Engine/Units#Attribute_types|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
|
|
|}

== Related Units ==
<div style="column-count:2;-moz-column-count:2;-webkit-column-count:2">
*[[Documentation/Engine/Units/traffic_trailer|traffic_trailer]]
*[[Documentation/Engine/Units/traffic_vehicle|traffic_vehicle]]
*[[Documentation/Engine/Units/trailer|trailer]]
*[[Documentation/Engine/Units/vehicle|vehicle]]
*[[Documentation/Engine/Units/vehicle_accessory|vehicle_accessory]]
*[[Documentation/Engine/Units/vehicle_addon_accessory|vehicle_addon_accessory]]
*[[Documentation/Engine/Units/vehicle_sound_accessory|vehicle_sound_accessory]]
*[[Documentation/Engine/Units/vehicle_wheel_accessory|vehicle_wheel_accessory]]
</div>
309
edits

Navigation menu