LUA scipt request .. about adding a clock to display

LUA scipt request .. about adding a clock to display

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

Moderator: Moderators

Post Reply
User avatar
genblood
Posts: 862
Joined: 19 Jan 2005, 03:37

LUA scipt request .. about adding a clock to display

Post by genblood »

If someone have some free time can someone make a lua script
that displays a clock in the up right end of the display. Not game
time, but the time of day ...
Last edited by genblood on 09 Aug 2007, 10:47, edited 1 time in total.
User avatar
Tim Blokdijk
Posts: 1242
Joined: 29 May 2005, 11:18

Post by Tim Blokdijk »

And while at it an alarm function for it. :-)
gunblob
Posts: 9
Joined: 27 May 2007, 09:21

Post by gunblob »

http ://spring.unknown-files.net/file/3406/Simple_Clock/
made a simple clock. (but with no alarm yet) :|
User avatar
genblood
Posts: 862
Joined: 19 Jan 2005, 03:37

Post by genblood »

gunblob

Thanks for the script .. ...
User avatar
genblood
Posts: 862
Joined: 19 Jan 2005, 03:37

Post by genblood »

I'm getting a lua error
it's failing to load spring.h.lua ..

Where can I get it ...
User avatar
very_bad_soldier
Posts: 1397
Joined: 20 Feb 2007, 01:10

Post by very_bad_soldier »

I think it was part of Spring 0.74b3, so you could probably get it from there. Otherweise you could extract it from this package http://spring.unknown-files.net/file/33 ... A_Pack_v5/
User avatar
genblood
Posts: 862
Joined: 19 Jan 2005, 03:37

Post by genblood »

Thanks for the fix ...
User avatar
zwzsg
Kernel Panic Co-Developer
Posts: 7052
Joined: 16 Nov 2004, 13:08

Post by zwzsg »

Just removing the line include("spring.h.lua") worked for my widgets.
Post Reply

Return to “Lua Scripts”