Clock Widget

Clock Widget

Discuss Lua based Spring scripts (LuaUI widgets, mission scripts, gaia scripts, mod-rules scripts, scripted keybindings, etc...)

Moderator: Moderators

Post Reply
CaptainMaim
Posts: 265
Joined: 04 Sep 2005, 01:25

Clock Widget

Post by CaptainMaim »

I've been wondering if someone could edit the clock widget so it can be dragged about. Mine sits under the player names and pings so I can only clearly make out the seconds the game's been going on.
ZellSF
Posts: 1187
Joined: 08 Jul 2006, 19:07

Post by ZellSF »

Spring\LuaUI\Config\widget_data.lua

you can manually change it there
User avatar
stilicho
Posts: 46
Joined: 21 Mar 2007, 02:49

Post by stilicho »

Or open up gui_clock.lua in the widgets folder and change "local yposf = 0.010" to "local yposf = 0.95". That should place it just below the the resource bar on the top right.
CaptainMaim
Posts: 265
Joined: 04 Sep 2005, 01:25

Post by CaptainMaim »

Thanks! That worked. Though I did move it a tad down so another widget wasn't on top of, or underneath it.
Post Reply

Return to “Lua Scripts”