Mod RealClock v1.0.0.0 for Farming Simulator 2022
Shows the current real time in the upper right corner.
This script creates an XML configuration file on first run in the modSettings folder. There you can configure the following:
* Position
* isDynamic
true: Automatically place text in the upper right corner based on its dimensions, ignore x and y
false: use x and y, ignoring text size
* x, y: position on screen, see small illustration below for details.
1.0 .. 1.1
0.0 .. 1.0
* Text color and size
* color: supports the following text values: black, white and all rgba colors separated by commas in the range [0..1], eg royal blue "0,25,0,41,0,88,1"
* fontSize: font size for display, value in the range [0..1], by default 0.015. UI Scale is used to calculate the font size for display
* Date and time string format (see list below)
Possible formats:
% abbreviated name of the day of the week (for example, Wednesday)
% Full name of the day of the week (for example, Wednesday)
% b abbreviated month name (for example, September)
% B full month name (for example, September)
% c date and time (for example, 09.16.98 23:48:10)
% d day of month (16) [01-31]
% H hour in 24-hour format (23) [00-23]
% I hour in 12 hour format (11) [01-12]
% M minutes (48) [00-59]
% m month (09) [01-12]
% p is either "am" or "pm" (pm)
% S second (10) [00-61]
% w weekday (3) [0-6 = Sunday-Saturday]
% x date (for example, 09/16/98)
% X time (e.g. 23:48:10)
% Y for full year (1998)
% y two-digit year (98) [00-99]
%% character `% ´ |