-
Notifications
You must be signed in to change notification settings - Fork 0
Components
Car Changer provides a bunch of components to help you bring your changes to life. Here's a list of what they are and do.
Probably the most important, this allows you to use the default material of a car without having to include it with your mod. It also makes it work with skins.
The material you want to use. You can find the list of supported materials of each car here.
If the material isn't available through the Source Material dropdown, but it exists in the car, you can use this to specify a path to a transform with the material you want. Use RUE (Runtime Unity Editor) to check ingame where your object actually is.
If the path to the material should use the interior object instead of the main car object.
In case the exploded variant of a material isn't available, you can use check this option to procedurally create that material from its corresponding "normal" version.
Note
Using this component on bogies isn't currently supported.
This component can hide a list of transforms when the change is applied. You can use it in cases the option isn't provided by the mod, or with the extra flexibility provided by mods such as Locomotive Mesh Splitter.
The path to the transforms. This component is context aware, so if on the body it is relative to the car root, if on the interactables or interior it's relative to the interior root.
Tip
You can use this on colliders to disable them.
Similar to the component above, but for moving transforms. Do not use this to move controls, or you may get unexpected results.
Alter the corresponding parameters of the transforms in the list.
If true, the previous transformations are applied to the original ones, otherwise they are set to the provided values. For example:
- Original transform position: (0, 2, 1)
- Position change: (0, 0, 1)
- With relative:
- Result: (0, 2, 2)
- Without relative:
- Result: (0, 0, 1)
The path to the transforms. This component is context aware, so if on the body it is relative to the car root, if on the interactables or interior it's relative to the interior root.