Vehicle Redirector Assets
Vehicle Redirector Assets help consolidate legacy colored vehicle variants into a single vehicle asset.
Prior to the addition of paintable vehicles, it was common to create duplicates of a vehicle asset with the color being the only difference. One of many downsides with this approach was the increased hassle of keeping changes consistent between all of the variants; for example, when tuning physics.
Vehicle redirector assets ensure compatibility with existing saves and content while merging colored vehicle variants into one unified asset.
Game Data File
Note that the TargetVehicle
property is required for this asset to function.
Properties
Property Name |
Type |
Default Value |
---|---|---|
Property Descriptions
TargetVehicle Asset Pointer
Actual vehicle to use when attempting to load or spawn this asset.
LoadPaintColor color
If set, overrides the default random paint color when loading a vehicle from a save file. Used to preserve colors of vehicles in existing saves.
SpawnPaintColor color
If set, overrides the default random paint color when spawning a new vehicle. Optionally used to preserve colors of vehicles in spawn tables.