Documentation/Engine/Units/vehicle paint job accessory

From SCS Modding Wiki
< Documentation‎ | Engine‎ | Units
Revision as of 02:17, 23 June 2017 by Smarty (talk | contribs) (WIP)

(diff) ← Older revision | Approved revision (diff) | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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
mask_g_color float3
mask_b_color float3
flake_color float3
flip_color float3
base_color float3

Related Units