Changes

Jump to navigation Jump to search

Documentation/Engine/Truck Interior Animations and IDs

828 bytes added, 06:41, 11 October 2019
Element IDs (mostly ui::text_common type):
|gadget_anim
|
|0&rarr;1 is a full animation cycle<br />(animation will be played as a continuous loop)|This animation is played in a loop while the truck's ignition/electricity is on.
|}
* 1030 - odometer, needs space for at least six digits
* 1040 - current gear, uses N, A[number], R or R[number] for automatic and N, [number], R or R[number] for manual or sequential
* 1050 - current clock time in proper format, eg. "12:34 " (am/pm"is omitted)
* 1060 - remaining fuel in tank
* 1070 - ui::text for fuel bar, the text is cut left-to-right according to current fuel tank state
* 1075 - ui::text that defines size, orientation and range of fuel bar (typical data "H~~0~~1", horizontal range 0 to 1)
* 1080 - guessed operating range of vehicle
* 1300 - transmission gear (raw, without mode info)
* 1310 - transmission mode (without gear info)
* 1320 - battery voltage
* 1330 - battery voltage gauge, expected to be ui_gauge element type
* 1340 - oil temperature gauge, expected to be ui_gauge element type
* 1350 - ui::text for instant consumption bar, the text is cut according to current consumption value
* 1355 - ui::text that defines size, orientation and range of instant consumption bar (typical data "H~~0~~50", horizontal range 0 to 50 l/100km)
* 1360 - ui::text for average consumption bar, the text is cut according to current consumption value
* 1365 - ui::text that defines size, orientation and range of average consumption bar (typical data "H~~0~~50", horizontal range 0 to 50 l/100km)
Data for bars are entered in format "H~~0~~130", H means the bar is horizontal (or V for vertical), leftmost position represents value 0, rightmost position represents value 130. Empty text defaults to "H~~0~~1".
507
edits

Navigation menu