Skip to content

Part Color Function

Ferdinand Calo edited this page Sep 17, 2020 · 1 revision
# Function Overview
Name: Color Function
Function: adds color channels to the vehicle
From FVTM: yes

The Color Function allows you to add (more) color channels into a Vehicle.
Color channels can be adjusted freely in-game, and parts or vehicle parts that
make use of it will be colored/painted/tinted in this channel's color.

Example config:

{
    "__comment": "Part JSON file.",
    "Function": {
    	"id": "fvtm:color",
    	"colors":{
                "trimary": "#abffed",// "trimary" is the channel ID, and the other is the default color in HEX
    		"spoiler": "#cdcdcd",//e.g. colorable spoiler
    		"inner_tint": "#cdfeab",//e.g. colorable interior of a vehicle
    	}
    }
}
Clone this wiki locally