Changes

Jump to navigation Jump to search
Clarify naming convention, correct that attribute is path
The '''dynamic cargo data''' unit class includes all needed data related to dynamic cargo loading feature. Units of this type are found in '''/def/vehicle/trailer/&lt;trailer_name&gt;/''', typically in the same file as [[Documentation/Engine/Units/accessory cargo data|accessory cargo data]]. Such accessory cargo data typically only contains a pointer to dynamic cargo data.  For debugging purposes, it is better to not leave this unit nameless. But choose the name carefully to avoid conflicts! The naming convention for SCS cargoes is ''dyn.cargo.data.<cargo_name>'', where you substitute <cargo_name> for the cargo that you're adding. For example ''dyn.cargo.data.potatoes_b''.
== Attributes ==
|string
|
|Sound Path to the sound emitted from the trailer at the spot where the stream of cargo touches the pile of cargo during loading phase.
|-
|unloading_sound_default
|string
|
|Sound Path to the sound emitted from the trailer at the spot where the stream of cargo exits the trailer during unloading phase.
|-
|material_path

Navigation menu