Real Clock Mod Question

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

Real Clock Mod Question

Post by ClassicTractors » Thu Dec 06, 2018 6:52 pm

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: 5
Joined: Mon Mar 09, 2015 7:00 pm

Re: Real Clock Mod Question

Post by ssterling007 » Tue Jan 01, 2019 11:05 pm

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 » Wed Jan 02, 2019 2:17 am

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: 3578
Joined: Wed Jan 13, 2016 7:53 pm
Location: SWEDEN

Re: Real Clock Mod Question

Post by W1der » Wed Jan 02, 2019 9:25 am

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.
[Win10] Intel i7-6700K 4.0GHz / GTX1070 Dual OC 8GB GDDR5 / 32GB 2133MHz DDR4 SDRAM

User avatar
don_apple
Moderator
Posts: 4940
Joined: Thu Oct 28, 2010 9:31 pm
Location: Planet Erde

Re: Real Clock Mod Question

Post by don_apple » 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
Gruß/Regards,
don_apple

Apple iMac 27" (late 2013), Quad-Core i7 3.5 GHz, 16GB, Nvidia GTX 780M
Bitte benutzt das öffentliche Forum für Supportfragen und nicht PN/Please use the public forum for support questions and not PM
Wo findet man den FarmingSimulator Ordner / Where to find the FarmingSimulator folder 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 » Wed Jan 02, 2019 11:47 pm

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: 27
Joined: Wed Apr 11, 2018 4:22 am

Re: Real Clock Mod Question

Post by epideath » Thu Jan 03, 2019 1:39 am

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: 36
Joined: Fri Nov 23, 2018 10:24 pm

Re: Real Clock Mod Question

Post by pcdoc » Thu Jan 03, 2019 9:51 am

I changed the font size a little (made it bigger) and then changed "white" to "black" works fine

User avatar
Grisu118
Posts: 407
Joined: Fri Apr 08, 2011 7:55 pm
Location: Schweiz
Contact:

Re: Real Clock Mod Question

Post by Grisu118 » Sat Jan 05, 2019 3:29 pm

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