Changes

Jump to navigation Jump to search

Documentation/Engine/Units/dynamic cargo data

825 bytes added, 09:39, 25 November 2024
add new required attribute and dynamic cargo mover (un)loading documentation.
== Attributes ==
Many attributes can be omitted. However From 1.52 there are now two types of dynamic cargo (un)loading:*Particles - the most important dynamic cargo (obligatoryun) loading of grainhoppers added in 1.51. For this type the other required attributes are '''trailer_particle''', '''world_particle''', and '''material_path'''. For dynamic cargo data to be considered correct, you must be able to load it (world_particle), unload it (trailer_particle), and display a material on the cargo pile mesh inside the trailer (material_path).*Mover - the dynamic cargo (un)loading of logger trailers added in 1.52. This type ignores all the particle attributes, the only attributes that are considered (but not required) are ''loading_sound'' and ''unloading_sound_default'', which is the sound emitted when the log loader places a pile of logs into the trailer. Key - x = required for ALL dynamic cargo data. x' - required only for dynamic cargo data of the 'particles' type.
{|class="wikitable"
!Name
!Required
!Description
|-
|type
|enum
|x
|The type of the dynamic cargo data, currently only two are allowed (see above).
*particles
*mover
|-
|-
|trailer_particle
|string
|x'
|[[Documentation/Engine/Units|Unit name]] of the particle effect (particle_set) that is emitted from the trailer during dynamic cargo UNLOADING.
|-
|world_particle
|string
|x'
|Unit name of the particle effect that is emitted from a cargo particle hookup in the map during dynamic cargo LOADING.
|-
|string
|
|Path to the sound emitted from the trailer at the spot where the stream of cargo touches the pile of cargo during loading phase/when the log loader mover places a pile of logs inside the trailer.
|-
|unloading_sound_default
|string
|
|Path to the sound emitted from the trailer at the spot where the stream of cargo exits the trailer during unloading phase/when the log loader mover takes out a pile of logs from the trailer.
|-
|material_path
|string
|x'
|Path to the material used for the mesh representing the pile of cargo inside the trailer.
|-

Navigation menu