Mods / Simple HUD Clock

Category: #Graphics #Utility
Author: Rhonen
Side: Client
Created: Mar 13th 2021 at 4:35 PM
Last modified: Jan 28th at 2:40 PM
Downloads: 11942
Follow Unfollow 133

Shows a simple HUD Clock in the left upper corner with the current ingame time.

  • Client side only
  • Hotkeys available
    grafik.png.6957d4da422a97870113be9e68821c96.png

  • Customize what you want to see
    grafik.png.44920bb72d320310b76d9cfa74331e1a.png

  • all mod relevant data is saved in vintagestorydata/modconfig/hudclock
  • showing claim area you entered (requires server mod)
    claimifno.jpg.00ca42caf17f8f2bff99277c3d985e6b.jpg

Version For Game version Downloads Release date Changelog Download
v2.7.0 4439 Jan 28th at 2:40 PM Show hudclock-2.7.0.zip
v2.6.0 1562 Dec 23rd 2021 at 10:09 AM Show hudclock-2.6.0.zip
v1.1.1 172 Dec 23rd 2021 at 10:08 AM Show hudclockserver-1.1.1.zip
v2.5.0 3116 Jul 7th 2021 at 4:00 PM Show hudclock-2.5.0.zip
v1.1.0 258 Jul 7th 2021 at 4:00 PM Show hudclockserver-1.1.0.zip
v2.4.2 2122 Mar 13th 2021 at 4:36 PM Show hudclock-2.4.2.zip
v1.0.1 273 Mar 13th 2021 at 4:36 PM Show hudclockserver-1.0.1.zip

18 Comments (oldest first | newest first)

Luco, Mar 29th at 8:05 PM

Hello. Here is slovak (sk) translation for this mod

{
"hudclock:hudclock-caption-time": "Čas",
"hudclock:hudclock-caption-temp-degrees": "{0} °C",
"hudclock:hudclock-caption-temp-fahrenheit": "{0} °F",
"hudclock:hudclock-caption-season-winter": "Zima",
"hudclock:hudclock-caption-season-fall": "Jeseň",
"hudclock:hudclock-caption-season-summer": "Leto",
"hudclock:hudclock-caption-season-spring": "Jar",
"hudclock:hudclock-caption-online-players": "Hráčov online: {0}",
"hudclock:hudclock-keybind-time-title": "Hud clock rozšírenie",
"hudclock:hudclock-keybind-storm-title": "Hud rozšírenie pre časovú búrku",
"hudclock:hudclock-caption-temp-storm-far-away": "Žiadna časová búrka nadohľad",
"hudclock:hudclock-caption-temp-storm-deactivated": "Časová búrka je ukonca",
"hudclock:hudclock-caption-temp-storm-approaching": "Blíži sa časová búrka {0}",
"hudclock:hudclock-caption-temp-storm-active": "Časová búrka aktívna",
"hudclock:hudclock-open-mod-settings": "Hud clock mod - nastavenia",
"hudclock:hudclock-mod-settings-temp-fahrenheit": "Zobraziť teploty vo fahrenheitoch",
"hudclock:hudclock-mod-settings-playercount-mp": "Zobraz počet hráčov (online)",
"hudclock:hudclock-mod-settings-claimed-area": "Zobraz obsadené územia",
"hudclock:hudclock-mod-settings-claimed-area-server-addon": "Vyžaduje si serverové rozšírenie módu",
"hudclock:hudclock-mod-settings-storm-dialog-shown": "Zobraz časové búrky",
"hudclock:hudclock-mod-settings-storm-dialog-shown-always": "Vždy",
"hudclock:hudclock-mod-settings-storm-dialog-shown-trigger_only": "Prichádza",
"hudclock:hudclock-mod-settings-storm-dialog-shown-never": "Nikdy",
"hudclock:hudclock-mod-caption-dialog-claimed-by": "Obsadené hráčom {0}"
}

 

Save this text into file with name sk.json if you are using slovak language in game. Then add this file sk.json inside mod between other languages. Direction is assets\hudclock\lang

Davidineo, Mar 5th at 8:32 PM

Hello! I made a brazilian portuguese translation for your mod

Para os brasileiros que querem tradução ta ai!

pt-br.json

TTastic, Feb 22nd at 8:31 PM

Would it be possible to have the wind speed added to this display as well! Only thing stopping this mod from being perfect!

Kirona, Feb 6th at 8:36 PM

Any chance for an option of a 12-hour clock instead of the current 24-hour clock?

Daro, Feb 5th at 11:49 PM

Unreal, in \ assets \ hudclock \ lang \ make a copy of the en.json file and rename it fr.json.

Unreal, Jan 30th at 8:01 PM

Hi! the mod is working fine but when i set my game lang to french it show up like this Image. A friend have his game in french and its working for him, he got the same mods as me.

Cendar, Jan 19th at 4:33 AM

Hi! I made a french translation for your mod, feel free to add it if you want. 😊

fr.json - HUD clock 2.6.0

Gamer62, Jan 16th at 4:43 PM

Hi,

Is there any chance of having your body tempreture on the hud to please ?

It really would be nice knowing at what point i'd want to start and fire before i start to shake and freeze.

And thank you for this mod even if body tempreture can't be added

Brutus, Jan 11th at 8:14 AM

Hello. And when can I count on updating the mod to version 1.16

NeverLost, Nov 5th 2021 at 3:56 AM

Hi Rhonen,

I decompiled your code and added a body temperature reading to it. Hit me up if you want the code to add it to the official mod. I also know how to how to get the temporal stability if you are wondering about that.

melodelic, Oct 24th 2021 at 7:06 PM

I've got to say that I love this mod! I would also like to have a Body Temperature reading on the hud clock! It would basically make it so I never have to press C to see about temperature/time/etc.

JingShi, Oct 7th 2021 at 4:22 PM

Please could you update hudclock for the new update.

sdkenny, Oct 1st 2021 at 12:38 AM

Would it be possible to add Body Temperature?

Rhonen, Sep 25th 2021 at 8:56 AM

OpPointBaker
as i know there is no access public api access on that data.

OpPointBaker, Sep 1st 2021 at 7:11 AM

Would you add information on the local temporal stability? Possibly an output for your current stability. That way players don't have to stop and mouse over the gear.

Rhonen, Jul 25th 2021 at 7:45 AM

And again:
That warning for a leak comes from the game itself. that is no exture of my mod. Discussed already in discord. Thx.

Aledark, Jul 24th 2021 at 11:57 PM

Found this for your mod on a developer mode :

24.7.2021 14:47:35 [Warning] Texture with texture id 581 is leaking memory, missing call to Dispose. Allocated at at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
at System.Environment.get_StackTrace()
at Vintagestory.API.Client.LoadedTexture..ctor(ICoreClientAPI capi)
at Vintagestory.API.Client.GuiElementDynamicTextHelper.AddDynamicText(GuiComposer composer, String text, CairoFont font, EnumTextOrientation orientation, ElementBounds bounds, String key)
at hudclock.src.ui.ClaimAreaDialog.PrepareRenderBounds()
at hudclock.src.ui.ClaimAreaDialog..ctor(ICoreClientAPI capi)
at hudclock.src.busineslogic.ClaimDialogController..ctor(ICoreClientAPI clientApi, ClockModSettingsController clockModSettingsController)
at hudlock.src.HUDClockMod.PlayerReady(EnumHandling& handling)
at Vintagestory.Client.NoObf.ClientEventAPI.TriggerIsPlayerReady()
at Vintagestory.Client.NoObf.GeneralPacketHandler.HandlePlayerData(_rWZFASzOfrVfZu0KwuBAjmamQBq packet)
at Vintagestory.Client.NoObf.ClientMain.ExecuteMainThreadTasks(Single deltaTime)
at _kWAroornC4OFzHEC3up4Bpv3bZr._56ZyhqUQRdVXcP01CGFRYWAAMlh(Single )
at _eJCiYuww7mZPzQbnKfiEtnI4MDD._EthRnPRd1tbvpv8nkAwvMnUFZzD(Single )
at _eJCiYuww7mZPzQbnKfiEtnI4MDD._B2re7Q8SHFC6kaTk8kmsYrPVaKB(Single )
at Vintagestory.Client.NoObf.ClientPlatformWindows.window_RenderFrame(Object sender, FrameEventArgs e)
at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
at OpenTK.GameWindow.RaiseRenderFrame(Double elapsed, Double& timestamp)
at OpenTK.GameWindow.DispatchRenderFrame()
at OpenTK.GameWindow.Run(Double updates_per_second, Double frames_per_second)
at _DlY2IRaBbEwZdipnKtrb40WUzTZ._kVFD8SxIojOmGrxNtThdBHagQeh(_7hnpozI2lFsAA8Wa5CIiUgRAbXjA , String[] )
at _gCIDaxCwdS0mkZub2rV5ATdV3hOA._kVFD8SxIojOmGrxNtThdBHagQeh(ThreadStart )
at _DlY2IRaBbEwZdipnKtrb40WUzTZ._FYLYn4vIRGO1ai2ad7yF4iFZOlq(String[] ).
24.7.2021 14:47:35 [Warning] Texture with texture id 582 is leaking memory, missing call to Dispose. Allocated at at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
at System.Environment.get_StackTrace()
at Vintagestory.API.Client.LoadedTexture..ctor(ICoreClientAPI capi)
at Vintagestory.API.Client.GuiComposer..ctor(ICoreClientAPI api, ElementBounds bounds, String dialogName)
at _bsdjXNseag5jr7GxHmAMyU72BEY._edtmRCLArrY4BIOiGzQLLyEcJFp(String , ElementBounds )
at hudclock.src.ui.ClaimAreaDialog.PrepareRenderBounds()
at hudclock.src.ui.ClaimAreaDialog..ctor(ICoreClientAPI capi)
at hudclock.src.busineslogic.ClaimDialogController..ctor(ICoreClientAPI clientApi, ClockModSettingsController clockModSettingsController)
at hudlock.src.HUDClockMod.PlayerReady(EnumHandling& handling)
at Vintagestory.Client.NoObf.ClientEventAPI.TriggerIsPlayerReady()
at Vintagestory.Client.NoObf.GeneralPacketHandler.HandlePlayerData(_rWZFASzOfrVfZu0KwuBAjmamQBq packet)
at Vintagestory.Client.NoObf.ClientMain.ExecuteMainThreadTasks(Single deltaTime)
at _kWAroornC4OFzHEC3up4Bpv3bZr._56ZyhqUQRdVXcP01CGFRYWAAMlh(Single )
at _eJCiYuww7mZPzQbnKfiEtnI4MDD._EthRnPRd1tbvpv8nkAwvMnUFZzD(Single )
at _eJCiYuww7mZPzQbnKfiEtnI4MDD._B2re7Q8SHFC6kaTk8kmsYrPVaKB(Single )
at Vintagestory.Client.NoObf.ClientPlatformWindows.window_RenderFrame(Object sender, FrameEventArgs e)
at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
at OpenTK.GameWindow.RaiseRenderFrame(Double elapsed, Double& timestamp)
at OpenTK.GameWindow.DispatchRenderFrame()
at OpenTK.GameWindow.Run(Double updates_per_second, Double frames_per_second)
at _DlY2IRaBbEwZdipnKtrb40WUzTZ._kVFD8SxIojOmGrxNtThdBHagQeh(_7hnpozI2lFsAA8Wa5CIiUgRAbXjA , String[] )
at _gCIDaxCwdS0mkZub2rV5ATdV3hOA._kVFD8SxIojOmGrxNtThdBHagQeh(ThreadStart )
at _DlY2IRaBbEwZdipnKtrb40WUzTZ._FYLYn4vIRGO1ai2ad7yF4iFZOlq(String[] ).
24.7.2021 14:47:35 [Warning] Texture with texture id 579 is leaking memory, missing call to Dispose. Allocated at at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
at System.Environment.get_StackTrace()
at Vintagestory.API.Client.LoadedTexture..ctor(ICoreClientAPI capi)
at Vintagestory.API.Client.GuiElementDynamicTextHelper.AddDynamicText(GuiComposer composer, String text, CairoFont font, EnumTextOrientation orientation, ElementBounds bounds, String key)
at hudclock.src.ui.StormDialog.DefineGuiComposer()
at hudclock.src.ui.StormDialog.Build()
at hudclock.src.busineslogic.StormDialogController..ctor(ICoreClientAPI clientApi, ClockModSettingsController settings)
at hudlock.src.HUDClockMod.PlayerReady(EnumHandling& handling)
at Vintagestory.Client.NoObf.ClientEventAPI.TriggerIsPlayerReady()
at Vintagestory.Client.NoObf.GeneralPacketHandler.HandlePlayerData(_rWZFASzOfrVfZu0KwuBAjmamQBq packet)
at Vintagestory.Client.NoObf.ClientMain.ExecuteMainThreadTasks(Single deltaTime)
at _kWAroornC4OFzHEC3up4Bpv3bZr._56ZyhqUQRdVXcP01CGFRYWAAMlh(Single )
at _eJCiYuww7mZPzQbnKfiEtnI4MDD._EthRnPRd1tbvpv8nkAwvMnUFZzD(Single )
at _eJCiYuww7mZPzQbnKfiEtnI4MDD._B2re7Q8SHFC6kaTk8kmsYrPVaKB(Single )
at Vintagestory.Client.NoObf.ClientPlatformWindows.window_RenderFrame(Object sender, FrameEventArgs e)
at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
at OpenTK.GameWindow.RaiseRenderFrame(Double elapsed, Double& timestamp)
at OpenTK.GameWindow.DispatchRenderFrame()
at OpenTK.GameWindow.Run(Double updates_per_second, Double frames_per_second)
at _DlY2IRaBbEwZdipnKtrb40WUzTZ._kVFD8SxIojOmGrxNtThdBHagQeh(_7hnpozI2lFsAA8Wa5CIiUgRAbXjA , String[] )
at _gCIDaxCwdS0mkZub2rV5ATdV3hOA._kVFD8SxIojOmGrxNtThdBHagQeh(ThreadStart )
at _DlY2IRaBbEwZdipnKtrb40WUzTZ._FYLYn4vIRGO1ai2ad7yF4iFZOlq(String[] ).
24.7.2021 14:47:35 [Warning] Texture with texture id 580 is leaking memory, missing call to Dispose. Allocated at at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
at System.Environment.get_StackTrace()
at Vintagestory.API.Client.LoadedTexture..ctor(ICoreClientAPI capi)
at Vintagestory.API.Client.GuiComposer..ctor(ICoreClientAPI api, ElementBounds bounds, String dialogName)
at _bsdjXNseag5jr7GxHmAMyU72BEY._edtmRCLArrY4BIOiGzQLLyEcJFp(String , ElementBounds )
at hudclock.src.ui.StormDialog.DefineGuiComposer()
at hudclock.src.ui.StormDialog.Build()
at hudclock.src.busineslogic.StormDialogController..ctor(ICoreClientAPI clientApi, ClockModSettingsController settings)
at hudlock.src.HUDClockMod.PlayerReady(EnumHandling& handling)
at Vintagestory.Client.NoObf.ClientEventAPI.TriggerIsPlayerReady()
at Vintagestory.Client.NoObf.GeneralPacketHandler.HandlePlayerData(_rWZFASzOfrVfZu0KwuBAjmamQBq packet)
at Vintagestory.Client.NoObf.ClientMain.ExecuteMainThreadTasks(Single deltaTime)
at _kWAroornC4OFzHEC3up4Bpv3bZr._56ZyhqUQRdVXcP01CGFRYWAAMlh(Single )
at _eJCiYuww7mZPzQbnKfiEtnI4MDD._EthRnPRd1tbvpv8nkAwvMnUFZzD(Single )
at _eJCiYuww7mZPzQbnKfiEtnI4MDD._B2re7Q8SHFC6kaTk8kmsYrPVaKB(Single )
at Vintagestory.Client.NoObf.ClientPlatformWindows.window_RenderFrame(Object sender, FrameEventArgs e)
at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
at OpenTK.GameWindow.RaiseRenderFrame(Double elapsed, Double& timestamp)
at OpenTK.GameWindow.DispatchRenderFrame()
at OpenTK.GameWindow.Run(Double updates_per_second, Double frames_per_second)
at _DlY2IRaBbEwZdipnKtrb40WUzTZ._kVFD8SxIojOmGrxNtThdBHagQeh(_7hnpozI2lFsAA8Wa5CIiUgRAbXjA , String[] )
at _gCIDaxCwdS0mkZub2rV5ATdV3hOA._kVFD8SxIojOmGrxNtThdBHagQeh(ThreadStart )
at _DlY2IRaBbEwZdipnKtrb40WUzTZ._FYLYn4vIRGO1ai2ad7yF4iFZOlq(String[] ).

WickedSchnitzel, Apr 4th 2021 at 4:18 PM

Suggestion: Pixelise the images a bit to make them fit better to the rest of the game.

delete edit