Vehicle Attachment Points

From TrainzOnline
Revision as of 11:46, 15 February 2019 by Rob (Talk | contribs)

Jump to: navigation, search

These are Attachment Points in 3D space giving information on various aspects of the train. Attachment Points with these reserved names should be used only for the purposes specified here. You should not attempt to re-use the attachments for other purposes, as behaviours beyond those described here may differ between Trainz builds.

Contents

Special Points

a.limfront

  • Marks the front of the train, used for coupling
  • Should be roughly the same distance from origin as a.limback
  • Bogeys can be further forward than a.limfront if desired
  • Determines the forward headlight position
  • Height above origin (or Z) = 0.89m (2’ 10.8”)

a.limback

  • Marks the rear of the train, used for coupling
  • See a.limfront
  • Height above origin (or Z) = 0.89m (2’ 10.8”)

a.bog0

  • Front bogey attachment.
  • Used for positioning the train on the track.
  • Positioned at absolute centre of front bogey.
  • Must be on the forward side of the origin (a.limfront side.)
  • Must match an actual physical bogey placement that the user can see. This should not be used as a placeholder for non-bogey purposes.

a.bog1

  • Rear bogey attachment.
  • Used for positioning the train on the track.
  • Positioned at absolute centre of rear bogey.
  • Must be on the rearward side of the origin (a.limback side.)
  • Must match an actual physical bogey placement that the user can see. This should not be used as a placeholder for non-bogey purposes.

a.bog (2, 3, etc)

  • Any other bogey attachments.
  • Must match an actual physical bogey placement that the user can see. This should not be used as a placeholder for non-bogey purposes.

a.exhaust (0, 1, etc..)

  • Smoke generator attachments (where needed.)

a.ditch* (0, 1, etc..)

  • Ditch lights a.ditch0, a.ditch2 The odd numbered light points flash together, alternating with the even numbered light points.

a.light* (0, 1, etc..)

  • Headlight attachments. Naming starts with a.light0 for the first front headlight, name them consecutively from there. For example if you have two headlights at the 'front' and two at the 'rear', front would be a.light0, a.light1 and rear would be a.light2, a.light3.

For all headlight points (front and rear) the Y axis points toward the loco rear.

If you only want a light on the rear of a vehicle, e.g. on a loco tender, place both a.light0 and a.light1 at the rear.

a.cabfront

  • Attachment point for the front cabin of a loco.
  • Located at the centre of cabin.

a.cabback

  • Attachment point for the rear cabin of a loco. Use this for dual cab locomotives.
  • Located at the centre of cabin
  • Front/back cab toggled using the ‘Alt C’ key when using the internal camera mode.

a.pant (0, 1, etc..)

  • Attachment point for pantographs (where needed, i.e. Electric locos.)

a.driver (0, 1, etc..)

  • Attachment point for driver mesh (0 is used for the first driver, 1 for the second driver in dual cab for instance.) Currently, only a.driver0 is supported.

a.outsideview (0, 1, etc..)

  • These are located external of the loco body mesh.
  • The camera is positioned to face the negative Y direction of the attachment.
  • Toggled using [ and ] using the internal camera mode after default interior camera views.

a.r.pivot/a.lever (sample names used only)

  • Special naming convention for attachment points that are to move with the animation of the asset.
  • Refer to the CCG for information.

a.whistle

  • Attachment point for particle effects being emitted when the whistle key is pressed.

a.couple0

  • Front attachment point for ACS couplers, location is (0,Y,0) where Y is 0.46 metres inboard of "a.limfront".

a.couple1

  • Rear attachment point for ACS couplers, location is (0,Y,0) where Y is 0.46 metres inboard of "a.limback".
Personal tools