Page 2 of 2

Posted: 12 Dec 2006, 19:18
by LordMatt
Could you post the lines you changed and in which file you did it? I modified some other things in mine...

Posted: 12 Dec 2006, 22:46
by Chojin
Well, no, actually I can't... did too much to it.

I did a few bugfixes to the gui.lua and moved it to the subfolder layout-1. I haven't kept a backup of the first gui.lua I posted there, but you should be able to spot the changes quickly using diff or some other compare tool.

The new one in subfolder layout-2 is using Draw.text to show the FPS and game time in the upper right corner. I completely had to rewrite the LayoutButtons function for this to work (to be precise: to make the text show up, even if no unit/building is selected).

Check here: http://ipxserver.dyndns.org/games/spring/misc/guis/

Trepan told me, there will be an easier way to use the OpenGL functions in the next version of Spring. But for the time being (and Trepan being offline) I see no other choice.

Posted: 17 Dec 2006, 15:27
by Pelikan
is there any way to change the size of the numers which show you how many units you have queued up into a factory?

I use smaller build icons now and it is pretty cool but the number are so tiny now that i cant read them anymore.

Posted: 03 Jan 2007, 00:42
by Tim-the-maniac
MAde a ui with econ info for allies and a kills/losses thingy
green = sharing to other allies, red = receiving from allies. tho spring likes to lie about it sometimes :wink:
piccy:
http://www.unknown-files.net/images/lua ... 864567.jpg
dl:
http://www.unknown-files.net/index.php? ... &dlid=2123
(someone might like it)

Posted: 03 Jan 2007, 02:03
by LordMatt
Niice! Any chance you could post the code you used so that those of us who maintain our own GUI.lua files could just cut and paste it in?

Posted: 03 Jan 2007, 15:15
by Tim-the-maniac
meh im probly gonna fix the econ sharing thing first, sharing resources to allies gives the right amount but receiving is pretty much random ;)

Posted: 03 Jan 2007, 20:35
by Dragon45
Sylva?

Posted: 04 Jan 2007, 17:59
by Tim-the-maniac
Made a better one which shows your teams econ info and every players kill/losses. Players name goes from green to red when they die in the kills list.
You can also hide the 2 parts of the ui by clicking on the little squares.

http://www.unknown-files.net/index.php? ... &dlid=2130

Posted: 04 Jan 2007, 18:26
by Relative
Tim-the-maniac wrote:Made a better one which shows your teams econ info and every players kill/losses. Players name goes from green to red when they die in the kills list.
You can also hide the 2 parts of the ui by clicking on the little squares.

http://www.unknown-files.net/index.php? ... &dlid=2130
Godly, but can you make the names in colour so I don't need to have .info on?

Posted: 04 Jan 2007, 19:25
by TradeMark
How to get that working... and i get some buggy shit to my screen (edited the image for adding those cursors):
Image
Those colorful random spots appeared 2 times in second or something like that.

Posted: 04 Jan 2007, 19:32
by LordMatt
Also if the storage were shown as a bar rather than a number, that would be easier to read at a glance (though I bet harder to code). Besides the code at the bottom of the gui.lua file, what did you change?

Posted: 04 Jan 2007, 22:17
by Tim-the-maniac
Relative wrote:Godly, but can you make the names in colour so I don't need to have .info on?
Which ones? (kills/losses or econ)

@ mat, Ive made a few random changes here and there but nothing important

@ TM, you takin to me? if so, wtf?

dont think im gonna do much more with it like this as trepan told me its easier to use the widget handler or something (whatever that is :-) )

Posted: 04 Jan 2007, 23:00
by Relative
Tim-the-maniac wrote:
Relative wrote:Godly, but can you make the names in colour so I don't need to have .info on?
Which ones? (kills/losses or econ)
Econ are by far more important stats than kills/losses, so go for Econ.

Posted: 05 Jan 2007, 04:04
by LordMatt
Tim-the-maniac wrote:
Relative wrote:Godly, but can you make the names in colour so I don't need to have .info on?
Which ones? (kills/losses or econ)

@ mat, Ive made a few random changes here and there but nothing important

@ TM, you takin to me? if so, wtf?

dont think im gonna do much more with it like this as trepan told me its easier to use the widget handler or something (whatever that is :-) )
Hmm, I heard on the grapevine that trepan made a version with bars that will be available soon!

Posted: 07 Jun 2007, 15:55
by Jonny5isalivetm
Hello Tim :-)

The link to your Modification seems to be no longer in existance...

Can you host it again please as Im very interested in the "Kill Counter"

:D

Cheers

Jonny

Posted: 07 Jun 2007, 15:58
by Jonny5isalivetm
Doh the original post with the Control Panels is also I dead Linky now :(

can somebody rehost pretty please ?

Thanks

Jonny

Posted: 08 Jun 2007, 19:13
by Tim-the-maniac
That stuff is outdated. Check out http://spring.unknown-files.net/categor ... a_Scripts/ for new UI stuff
I use http://spring.unknown-files.net/file/24 ... Info_v0.7/ which has a kill/losses thing