Difference between revisions of "Documentation/Engine/Units/vehicle paint job accessory"

From SCS Modding Wiki
Jump to navigation Jump to search
(WIP)
 
(Attributes)
 
Line 22: Line 22:
 
|mask_r_color
 
|mask_r_color
 
|float3
 
|float3
|
+
|From accessory data
|
+
|The color to apply to the red channel of the paint job (colormask only).
 
|-
 
|-
 
|mask_g_color
 
|mask_g_color
 
|float3
 
|float3
|
+
|From accessory data
|
+
|The color applied to the green channel of the paint job (colormask only).
 
|-
 
|-
 
|mask_b_color
 
|mask_b_color
 
|float3
 
|float3
|
+
|From accessory data
|
+
|The color applied to the blue channel of the paint job (colormask only).
 
|-
 
|-
 
|flake_color
 
|flake_color
 
|float3
 
|float3
|
+
|From accessory data
|
+
|The color used for the flake component of the paint job (flipflake only).
 
|-
 
|-
 
|flip_color
 
|flip_color
 
|float3
 
|float3
|
+
|From accessory data
|
+
|The color used for the flip component of the paint job (flipflake only).
 
|-
 
|-
 
|base_color
 
|base_color
 
|float3
 
|float3
|
+
|From accessory data
|
+
|The base color of the paint job (all paint job modes).
 
|}
 
|}
  

Latest revision as of 23:31, 25 June 2017

Note: WIP — 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 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 From accessory data The color to apply to the red channel of the paint job (colormask only).
mask_g_color float3 From accessory data The color applied to the green channel of the paint job (colormask only).
mask_b_color float3 From accessory data The color applied to the blue channel of the paint job (colormask only).
flake_color float3 From accessory data The color used for the flake component of the paint job (flipflake only).
flip_color float3 From accessory data The color used for the flip component of the paint job (flipflake only).
base_color float3 From accessory data The base color of the paint job (all paint job modes).

Related Units