Page 1 of 1

Edit Sunrise/Sunset

Posted: Thu Nov 15, 2018 6:51 pm
by johnellis75
Hi,

Had a quick search but nothing has come up - Is there a way of editing the sunrise/sunset time?

Example; Some routes have a darker 1800hrs than other routes which makes me think that there is somewhere within the editor that you can change?

Thanks in advance......

Re: Edit Sunrise/Sunset

Posted: Thu Nov 15, 2018 7:27 pm
by gptech
johnellis75 wrote:Example; Some routes have a darker 1800hrs than other routes
That could be because of the season that's set in whatever scenario you're looking at.

Re: Edit Sunrise/Sunset

Posted: Thu Nov 15, 2018 7:41 pm
by skoda
Just had a quick look in the DTG folder at a randomly picked route (Cardiff Swansea) and there's a folder called "Time of day" and in there are 4 season .bin files that if you open with RWtools show the rise time and set time of the sun .

Summer .bin example :

Code: Select all

							<RiseTime>
								<sTimeOfDay>
									<_iHour d:type="sInt32">5</_iHour>
									<_iMinute d:type="sInt32">0</_iMinute>
									<_iSeconds d:type="sInt32">0</_iSeconds>
								</sTimeOfDay>
							</RiseTime>
							<SetTime>
								<sTimeOfDay>
									<_iHour d:type="sInt32">21</_iHour>
									<_iMinute d:type="sInt32">0</_iMinute>
									<_iSeconds d:type="sInt32">0</_iSeconds>
								</sTimeOfDay>
							</SetTime>
I'm assuming that's something that could be adjusted ?

Re: Edit Sunrise/Sunset

Posted: Sat Nov 17, 2018 8:38 am
by johnellis75
That's the one - Thanks.

Few more entries than just Rise/Set. Also times for dusk/dawn and also moon rise/set.

Thanks again.