[Mod] Ingame Clocks and Timers [mtimer]

User avatar
Linuxdirk
Member
Posts: 2734
Joined: Wed Sep 17, 2014 11:21
In-game: Linuxdirk
Location: Germany
Contact:

Re: [Mod] Ingame Clocks and Timers [mtimer]

by Linuxdirk » Post

NO11 wrote:
Thu Feb 04, 2021 18:42
How do I get the timer to start at 00:00, that would be useful for a speedrun, for example (mineclone2)?
You could use the session duration (/mtimer sd) for that. This displays the time since you logged in to the server or started the singeplayer world. Just set it to {hours}:{minutes}:{seconds} because by default only hours and minutes are shown. Then configure timer display to only show {sd} and set position, size, etc. as wanted.

Image

Since mTimer is no speedrun timer it is only exact to a second based on server ticks. You might want to use LiveSplit for exact time tracking of speedruns.
Attachments
f.jpg
(277.82 KiB) Not downloaded yet

User avatar
NO11
Member
Posts: 28
Joined: Sat Dec 26, 2020 22:24
In-game: NO11
Location: Germany

Re: [Mod] Ingame Clocks and Timers [mtimer]

by NO11 » Post

Thank you, now it works. Now only change "session duration" into "Timer" in the locale :)

User avatar
Linuxdirk
Member
Posts: 2734
Joined: Wed Sep 17, 2014 11:21
In-game: Linuxdirk
Location: Germany
Contact:

Re: [Mod] Ingame Clocks and Timers [mtimer]

by Linuxdirk » Post

No, "Session Duration" is correctly describing what {sd} is for.

User avatar
Linuxdirk
Member
Posts: 2734
Joined: Wed Sep 17, 2014 11:21
In-game: Linuxdirk
Location: Germany
Contact:

Re: [Mod] Ingame Clocks and Timers [mtimer]

by Linuxdirk » Post

NO11 wrote:
Thu Feb 04, 2021 19:56
Thank you, now it works. Now only change "session duration" into "Timer" in the locale :)
Oh, but great idea with the timer. I'll look into this but likely not before the weekend.

https://gitlab.com/4w/mtimer/-/issues/10

Feel free to add your comments/suggestions on that over at GitLab.

User avatar
Linuxdirk
Member
Posts: 2734
Joined: Wed Sep 17, 2014 11:21
In-game: Linuxdirk
Location: Germany
Contact:

Re: [Mod] Ingame Clocks and Timers [mtimer]

by Linuxdirk » Post

NO11 wrote:
Thu Feb 04, 2021 18:42
How do I get the timer to start at 00:00, that would be useful for a speedrun, for example (mineclone2)?
So … based on your idea I implemented a custom timer that can be set up as needed and allows arbitrary (re)starting and stopping. The timer can be an actual timer, a countdown, or can run in continuous mode.

Since this is a beta implementation as of today there is no CDB release with the custom timer. You can try it directly in the Git version hosted on GitLab. The readme there already contains all the information that is needed.

Please keep in mind that the timer is only exact to the second calculated from server ticks. LiveSplit is still the better option for speedruns.

User avatar
NO11
Member
Posts: 28
Joined: Sat Dec 26, 2020 22:24
In-game: NO11
Location: Germany

Re: [Mod] Ingame Clocks and Timers [mtimer]

by NO11 » Post

Thank you!

User avatar
NO11
Member
Posts: 28
Joined: Sat Dec 26, 2020 22:24
In-game: NO11
Location: Germany

Re: [Mod] Ingame Clocks and Timers [mtimer]

by NO11 » Post

Is it possible to use the settings made by one for other worlds? For example, I want the timer to always be yellow.

User avatar
Linuxdirk
Member
Posts: 2734
Joined: Wed Sep 17, 2014 11:21
In-game: Linuxdirk
Location: Germany
Contact:

Re: [Mod] Ingame Clocks and Timers [mtimer]

by Linuxdirk » Post

Yes, Check the readme, there are some configuration options available.

https://gitlab.com/4w/mtimer#default-co ... ver-admins

User avatar
NO11
Member
Posts: 28
Joined: Sat Dec 26, 2020 22:24
In-game: NO11
Location: Germany

Re: [Mod] Ingame Clocks and Timers [mtimer]

by NO11 » Post

ok thanks, i missed that, sorry.

Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests