Changes

Jump to navigation Jump to search

Documentation/Engine/Units/accessory paint job data

122 bytes added, 07:45, 3 August 2017
Attributes: Changed base_texture to base_texture_override. (still hidden)
|mask_r_color
|rowspan="3"|float3
|rowspan="3"|(1, 0, 0)
|rowspan="3"|colormask
|rowspan="3"|Defines the default color applied to each channel of the color mask.
|-
|mask_g_color
|(0, 1, 0)
|-
|mask_b_color
|(0, 0, 1)
|-
|base_color
|float3
|(1, 1, 1)
|all
|Defines the default color of the paint job.
|mask_r_locked
|rowspan="3"|bool
|rowspan="3"|true
|rowspan="3"|colormask
|rowspan="3"|When false, the player may change each channel's color via the color picker.
|-
|mask_g_locked
|true
|-
|mask_b_locked
|true
|-
|base_color_locked
|bool
|true
|all
|When false, the player may change the base color via the color picker.
|flip_color_locked
|bool
|true
|flipflake
|When false, the player may change the flip color via the color picker.
|flake_color_locked
|bool
|true
|flipflake
|When false, the player may change the flake color via the color picker.
|flip_color
|float3
|(1, 0, 0)
|flipflake
|Defines the color of the flip effect.
|flip_strength
|float
|0.27
|flipflake
|Defines the relative strength of the flip effect.
|flake_color
|float3
|(0, 1, 0)
|flipflake
|Defines the color of the flake effect.
|flake_uvscale
|float
|32.0
|flipflake
|Defines how many times the flake_noise texture repeats within one UV tile. (Another way to think of this is that the UV coordinates are divided by this factor when addressing flake_noise.)
|flake_density
|float
|1.0
|flipflake
|Defines how 'tight' the flake effect is to the specular highlight. Higher values result in a smaller area of the flake effect, while smaller values result in a broad area having it.
|flake_shininess
|float
|50.0
|flipflake
|
|flake_clearcoat_rolloff
|float
|2.2
|flipflake
|Adjusts the sharpness of the clearcoat specular highlight. Higher values yield sharper edges.
|flake_noise
|string
|"/material/custom/flake_noise.tobj"
|flipflake
|Path to the flipflake texture. The RGB component multiplies the flake_color, and the A component masks the flake effect.
|flipflake
|bool
|false
|
|When true, flipflake (metallic/pearlescent) behavior and attributes are enabled. Cannot be used with colormask.
|airbrush
|bool
|false
|
|When true, airbrush behavior and attributes are enabled. Cannot be used with colormask.
|alternate_uvset
|bool
|false
|all
|When true, the resulting material will have the ''altuv'' flavor. This triggers usage of the alternate UV layout, if configured.
|stock
|bool
|false
|all
|Defaults to '''truefalse'''. This was previously used to mark paintjobs available when purchasing a truck when true, and only available from the upgrade shop when false. Currently must be set to '''false''' to avoid undesirable behavior.
|-
|paint_job_mask
|string
|
|colormask, airbrushall|Defines the path to the texture resource (.tobj) to be used for color masking (colormask) or for blending (airbrush).If empty mask is ignored and final result is composed purely from color attributes.<!--
|-
|base_texturebase_texture_override
|string
|
|all
|Can be used to override the base texture of the truckpaint material. Requires that all truckpaint materials on the vehicle use the same base texture in the first place.-->
|}
309
edits

Navigation menu