Skip to content
WhistleWiz edited this page Feb 11, 2024 · 6 revisions

Cargo Configuration

In the car type script, you will find a dropdown named Cargo Types. You can define which cargo can be transported by your car within it.

Each cargo transported can have any number of models, including 0. If a cargo has no models (similar to the vanilla boxcars), no cargo icon will be drawn over it in the job papers.

image

Note

An amount of 1 equals the cargo transported in one of the vanilla cars. You can check the Derail Valley Wiki for how much each cargo weights, and other useful information.

Rolling Stock Cargo Models

A cargo model is setup in a similar way to the cars themselves. Create a prefab and add your models into it, then add a [colliders] child and set it up just like a car would be. Check the colliders page for information about setup.

Important

The root of the prefab will be spawned at the root of the car, so ensure there is no position, rotation or scale applied to it.

Custom Cargo Types

CCL cars accept any custom cargo type added with the Custom Cargo mod. When selecting the cargo type, pick custom and type the ID of the custom cargo you wish to use.

image

Tip

You can include custom cargo even if you do not have the mod for it. CCL will simply skip it when loading your car.

Clone this wiki locally