Strašná kokotina!!!Budík neustále houká a alarm nejde vypnout. Špatné ovladání celého přístroje. To tu není nikdo kdo umí udělat funkční hodiny se snadným používáním bez alarmu? Pokud ne tak hodiny nedělejte vůbec žádné protože tohle je příšerný
the mod is really well done, but there are some problems. The custom color is not kept and you always have to reactivate it by interacting with the clock and the alarm is always reset every time you load the save and cannot be permanently removed.
Hello, how do you set the time on the UI and close it? When I try to set the time, the black box shows on the bottom of the screen but there is no cursor to click on it, none of the buttons I press changes any of the values and I cant close it. Any help is appreciated
Likewise with drummer111, I had issues with the alarm going off all the time. I made a fix in DigitalClockBehaviour.Update(). Looks like the alarm firing check missed checking if _alarmEnabled first. I changed the bottom of Update() to the following if (_alarmEnabled) { _alarmTimeText.text = string.Format("{0:0}:{1:00}", (object) _alarmHour, (object) _alarmMinute); if (this._alarmArmed && _clock.Hour24 == _alarmHour && _clock.Minute == _alarmMinute) _alarmSound.Play();
if (_alarmSound.isPlaying) if ((_clock.Minute -_alarmMinute) < 0 ? (_clock.Minute - _alarmMinute) + 60 >= 10 : _clock.Minute - _alarmMinute >= 10) //Silence alarm automatically after 10 minutes _alarmSound.Stop();
For those who don't want to have to compile this themselves, I uploaded a compiled DLL with the change. If you don't quite trust the DLL you can decompile it with dotPeek (https://www.jetbrains.com/decompiler/download/#section=standalone) and have a look yourself.
I can only endorse this mod because of your fix. So let me endorse the fix as well (although I haven't scanned the file with anything). Without it, the clock is a proper annoyance. As if there weren't enough of them in the game already. Maybe the alarm malfunction in the unfixed mod is intentional. :P
I know you aren't hte mod's author and it seems to be abandonned, but I noticed another issue; the LED color default to red when loading the game, and only turn to the set-up one (green in my case) when I interact with it. Not a big deal tho :p
16 comments
Může někdo udělat prosím ty samé hodiny bez alarmu!!!
Špatné ovladání celého přístroje.
To tu není nikdo kdo umí udělat funkční hodiny se snadným používáním bez alarmu?
Pokud ne tak hodiny nedělejte vůbec žádné protože tohle je příšerný
The custom color is not kept and you always have to reactivate it by interacting with the clock and the alarm is always reset every time you load the save and cannot be permanently removed.
I made a fix in DigitalClockBehaviour.Update(). Looks like the alarm firing check missed checking if _alarmEnabled first.
I changed the bottom of Update() to the following
if (_alarmEnabled)
{
_alarmTimeText.text = string.Format("{0:0}:{1:00}", (object) _alarmHour, (object) _alarmMinute);
if (this._alarmArmed && _clock.Hour24 == _alarmHour && _clock.Minute == _alarmMinute)
_alarmSound.Play();
if (_alarmSound.isPlaying)
if ((_clock.Minute -_alarmMinute) < 0 ? (_clock.Minute - _alarmMinute) + 60 >= 10 : _clock.Minute - _alarmMinute >= 10) //Silence alarm automatically after 10 minutes
_alarmSound.Stop();
this._alarmArmed = this._clock.Hour24 != this._alarmHour || this._clock.Minute != this._alarmMinute;
}
For those who don't want to have to compile this themselves, I uploaded a compiled DLL with the change. If you don't quite trust the DLL you can decompile it with dotPeek (https://www.jetbrains.com/decompiler/download/#section=standalone) and have a look yourself.
https://www.dropbox.com/s/hp6859ygxnnnr1a/TwentyFourClock.dll?dl=0
I know you aren't hte mod's author and it seems to be abandonned, but I noticed another issue; the LED color default to red when loading the game, and only turn to the set-up one (green in my case) when I interact with it.
Not a big deal tho :p