Timed Traffic Light Buttons
Last modified: 09 June 2024Overview
The Timed Traffic Lights UI includes some button images which can be translated to other languages if desired; this article explains how.
Images
There are 4 icons as detailed below:
tip
The
xx
in the filename should be replaced with the 2-letter language code (TM:PE team can do that for you if you are unsure of which code to use).
Icon | File name | Dimensions | Notes |
---|---|---|---|
![]() |
| 103 x 95 px | Text should be centered at top of button. Bottom half of button should be blank (the current step number is overlaid in that area). |
![]() |
| 103 x 95 px | Text should be centered in middle of button. |
![]() |
| 73 x 70 px | Text should be centered in middle of yellow area. Bottom part of button should be transparent as it overlays other UI elements. |
![]() |
| 73 x 70 px | Text should be centered in middle of yellow area. Bottom part of button should be transparent as it overlays other UI elements. |
Sadly we don't yet have blank templates for those images; just copy/paste blank section of the image over the existing text.
tip
TM:PE devs: The filename is determined
via LoadTexturesWithTranslation()
;
tip
as long as correct locale is in the resource filename, it should work as expected.
Send us the file / get help
Once you're done, or if you need any help, let us know via Discord chat, or create a * Translation* issue in our tracker.
See also
General Settings - select language to use
Localisation Guidelines - help us localize TM:PE
Speed Limit Icon Themes - country-specific speed limit icons