Skip to content

Vanilla Prefabs

WhistleWiz edited this page Mar 1, 2024 · 2 revisions

Instead of modelling cargo yourself to use on vanilla wagons, it's possible to use existing prefabs.

To do so, create a new empty object by right clicking the Hierarchy window, and choosing Create Empty. Add a UseCargoPrefab component to it, and pick which one you want from the list.

image

image

These prefabs keep all functionality their base versions had, if such properties are enabled in the cargo's properties.

Important

The component must be added to the root of the prefab to work.

Warning

The prefab will be COMPLETELY replaced.

Available Prefabs

Containers

All shipping containers are available.

Hazmat containers

All hazmat containers are available.

Military containers

All military containers are available.

Hazmat warnings

All hazmat warnings are available. These prefabs will disappear if the cargo reaches 100% damage.

Coming soon: images

Clone this wiki locally