@@ -534,6 +534,36 @@ and the mirrors.
534534The control blocks are like the one shown for the cab light. The Type strings
535535are ORTS_LEFTDOOR, ORTS_RIGHTDOOR and ORTS_MIRRORS.
536536
537+ .. _cabs-generic-items :
538+
539+ Cab controls for generic items
540+ ------------------------------
541+
542+ OR supports the cabview controls for two generic two-state items.
543+ The cabview controls aree called ``<ORTS_GENERIC_ITEM1> `` and
544+ ``<ORTS_GENERIC_ITEM2> ``. Their state can be toggled also by respectively
545+ clicking keys ``<Shift+.> `` and ``<Shift+,> ``.
546+
547+ Sound events are associated, that is::
548+
549+ 240: GenericItem1On
550+ 241: GenericItem1Off
551+ 242: GenericItem2On
552+ 243: GenericItem2Off
553+
554+ Animations within the .s file of the locomotive, either stopped/moving or
555+ two-state can be associated to the item state. Linked stopped/moving (wiper type)
556+ animations are named ``<ORTSITEM1CONTINUOUS> `` and ``<ORTSITEM2CONTINUOUS> ``.
557+ Linked two-state animations (doors type) are named ``<ORTSITEM1TWOSTATE> `` and
558+ ``<ORTSITEM2TWOSTATE> ``.
559+ The default animation speed for stopped/moving type animations is 8 FPS.
560+ It may be modified with following parameter in the .sd file::
561+
562+ ESD_CustomAnimationSpeed ( 8 )
563+
564+ Examples of use are fan control, open/close of aerodynamic coverages of couplers
565+ in high speed trains, menu pages switching.
566+
537567
538568High-resolution Cab Backgrounds and Controls
539569--------------------------------------------
0 commit comments