Changes

Jump to navigation Jump to search

Documentation/Engine/Units/accessory truck data

78 bytes removed, 13:29, 20 June 2017
no edit summary
!Description
|-
|'''info'''
|array<string>
|
|Two '''info''' members are typically defined for '''accessory_truck_data''':
<syntaxhighlight lang="cpp">
info[]: "@@brand_peterbilt@@" // The truck brand
|Accessory types which should be required, regardless of the vehicle configuration, should be defined in '''accessory_truck_data'''. For more information, see [[Documentation/Engine/Units/accessory_data|accessory_data]].
|-
|'''behind_camera'''
|link_ptr
|
|The unit name of the camera to use for the orbit (2) view. Typically <code>camera.behind.basic</code>.
|-
|'''interior_camera'''
|link_ptr
|
|The unit name of the camera to use for the interior (1) view. Typically <code>camera.interior.<brand>.<model></code>.
|-
|'''interior_camera_oculus'''
|link_ptr
|
|The unit name of the camera to use for the interior (1) view when using a head-mounted display. Typically <code>camera.interior.<brand>.<model>.oculus</code>.
|-
|'''window_camera'''
|link_ptr
|
|The unit name of the camera to use in the lean-out (5) view. Typically <code>camera.window.basic</code>.
|-
|'''bumper_camera'''
|link_ptr
|
|The unit name of the camera to use in the bumper (6) view. Typically <code>camera.bumper.basic</code>.
|-
|'''cabin_camera'''
|link_ptr
|
|The unit name of the camera to use for the cabin-top (4) view. Typically <code>camera.cabin.basic</code>, placed at the ''cam_cabin*'' locator of the active cabin accessory variant.
|-
|'''wheel_camera'''
|link_ptr
|
|The unit name of the camera to use in the wheel (7) view. Typically <code>camera.wheel.basic</code>.
|-
|'''top_camera'''
|link_ptr
|
|Typically unused.
|-
|'''tv_camera'''
|link_ptr
|
|The unit name of the camera to use in wander mode. Typically <code>camera.wander</code>. The player typically won't encounter this mode as it is primarily used for testing.
|-
|'''debug_camera'''
|link_ptr
|
|The unit name of the camera to use for the developer/fly camera (0). Typically <code>camera.debug</code>.
|-
|'''fallback'''
|array&lt;string&gt;
|

Navigation menu