Real Clock Mod Question

User avatar
ClassicTractors
Posts: 986
Joined: Sat Oct 29, 2016 11:07 pm
Contact:

Real Clock Mod Question

Post by ClassicTractors »

How do I change the color of the clock display on the real clock mod from white to another color? I've tried entering the color name and the r,g,b code, but that didn't work.
CT Modding: Bringing the past to Farming Simulator....one machine at a time.

There's bound to be rough waters
And I know I'll take some falls
But with the good Lord as my captain
I can make it through them all

- Garth Brooks
ssterling007
Posts: 6
Joined: Mon Mar 09, 2015 7:00 pm

Re: Real Clock Mod Question

Post by ssterling007 »

I have not been able to change the color on this mod either. I have tried a number of colors (spelled out) and first letters only but no success. I would like to change it from white as it is impossible to see with a sunny day backdrop.
Vaga
Posts: 14
Joined: Thu May 02, 2013 11:11 pm

Re: Real Clock Mod Question

Post by Vaga »

Did you try changing the XML file it makes in the mod folder?

Code: Select all

<?xml version="1.0"?>

-<RealClock>

<position y="0.980000" x="0.900000" isDynamic="true"/>

<rendering fontSize="0.015000" color="white"/>

<format string="%a: %I:%M:%S:%p"/>

</RealClock>
User avatar
W1der
Posts: 3795
Joined: Wed Jan 13, 2016 7:53 pm
Location: SWEDEN

Re: Real Clock Mod Question

Post by W1der »

I never tried changing the color but tried changing the position (no luck though).

However I was able to change the size and format of the numbers/time.
[Win11] Intel Core i9-13900F Tray 5.6GHz / MSI RTX4090 24GB GDDR6 / 2x16GB 5600MHz DDR5
User avatar
don_apple
Moderator
Posts: 8058
Joined: Thu Oct 28, 2010 9:31 pm
Location: Planet Earth

Re: Real Clock Mod Question

Post by don_apple »

Since I've been struggling with how to configure this mod as well I've now raised an issue for this: https://github.com/VertexDezign/RealClock/issues/3
Gruß/Regards,
don_apple

Apple iMac 27" (2017), Quad-Core i7 4.2 GHz, 48GB, AMD Radeon R580 8GB
Bitte benutzt das öffentliche Forum für Supportfragen und nicht PN/Please use the public forum for support questions and not PM
FS22 Bugtracker
log.txt Image Server Forenregeln Board rules
Vaga
Posts: 14
Joined: Thu May 02, 2013 11:11 pm

Re: Real Clock Mod Question

Post by Vaga »

don_apple wrote: Wed Jan 02, 2019 9:17 pm Since I've been struggling with how to configure this mod as well I've now raised an issue for this: https://github.com/VertexDezign/RealClock/issues/3
I was able to change the format to a 12 hour clock and add AM/PM and posted the code 2 posts above yours. I also seem unable to change the color even in the XML file seems it supports black, white or some format of RGB values but again its not specific how to do that in the XML file.
epideath
Posts: 37
Joined: Wed Apr 11, 2018 4:22 am

Re: Real Clock Mod Question

Post by epideath »

You can change the color in the xml file.

It is an RGB value though not a color name, format is (R,G,B,Alpha). Each number is from 0.0 to 1.0. For alpha the value of 1 is no transparency.

ex.
<rendering color="1,0,0,1" fontSize="0.015000"/> this is red text
pcdoc
Posts: 37
Joined: Fri Nov 23, 2018 10:24 pm

Re: Real Clock Mod Question

Post by pcdoc »

I changed the font size a little (made it bigger) and then changed "white" to "black" works fine
User avatar
Grisu118
Posts: 409
Joined: Fri Apr 08, 2011 7:55 pm
Location: Schweiz
Contact:

Re: Real Clock Mod Question

Post by Grisu118 »

Thanks for raising the issue, I improved the description
See Github: https://github.com/VertexDezign/RealClo ... 1#features

I hope this helps
Avatar: GZF 41 - Rettungsdienst Fricktal

Image
Facebook ELS Aarau - Facebook Grisu118
Post Reply