Skip to content
This repository has been archived by the owner on Nov 6, 2022. It is now read-only.

Use Real Time mod time instead of day/night clock if day/night cycle is disabled #48

Closed
Ibigoo opened this issue Mar 16, 2021 · 6 comments
Labels
future Discussion for future unconfirmed feature
Milestone

Comments

@Ibigoo
Copy link

Ibigoo commented Mar 16, 2021

Hi! I just noticed the vehicle count on every line remain the same regardless the starting hour. For details please check the attached screenshot. Please let me know if you need more information. Thank you.
tml

@klyte45 klyte45 added the bug label Mar 16, 2021
@klyte45
Copy link
Owner

klyte45 commented Mar 16, 2021

Weirdly, seems the game is set to 12h (look the TLM clock, that's the reference clock for budget), typically this happens when the day/night cycle is disabled. Is this the case in your game?

The time from TLM comes from game's clock, not from the RealTime. Generally they are the same, and I thought it wouldn't be allowed. I will check the possibility to allow disabled day/night cycle savegames to set the line budget properly

@Ibigoo
Copy link
Author

Ibigoo commented Mar 16, 2021

Yepp, that was the secret. With enabled day/night cycle the vehicle count is fine.
Thanks if you look into it.

@klyte45 klyte45 added future Discussion for future unconfirmed feature and removed bug labels Mar 16, 2021
@klyte45
Copy link
Owner

klyte45 commented Mar 16, 2021

Changed to future due this will be actually a new feature, not exactly a bugfix once the feature is working as designed.

Will be added an option to select the source from the time: if from day/night cycle (like it's now) or from calendar time.
The first will work for every scenario, except when disabling day/night cycle. The another shall be used if the day/night cycle is off and real time is on. If both are off, there's no way the dynamic budget work, since the game regular time passing is too fast.

The manual selection will be preferred over an automatic detection because of there are other mods that change the game's time speed making clock run slower, not exclusively the Rush Hour, and detect all them could be too greedy for the target result.

This new feature shall be a global setting, saved globally and shared between saves.

@klyte45 klyte45 added this to the v14 milestone Mar 16, 2021
@Ibigoo
Copy link
Author

Ibigoo commented Mar 17, 2021

Sounds definitely good. Thank you.
Dunno how it is work on GitHub, but from my side you can close this post.

@klyte45
Copy link
Owner

klyte45 commented Mar 17, 2021

I guess I will close only after the implementation - just for I know what I have in to-do list

@klyte45 klyte45 changed the title Vehicle count not changing by starting hour Use Real Time mod time instead of day/night clock if day/night cycle is disabled Apr 13, 2021
@klyte45
Copy link
Owner

klyte45 commented Apr 25, 2021

The option was added. It only will be read if the day/night cycle is disabled.
Currently at alpha branch
image

Note: The default value of this option is FALSE, so it need to be manually enabled to work

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
future Discussion for future unconfirmed feature
Projects
None yet
Development

No branches or pull requests

2 participants