Page 1 of 2

ctrlpanels.

Posted: 07 Oct 2006, 11:34
by NOiZE
Cheer trepan!!! he basicly made all this!!!

Putting this ctrlpanel.txt into your spring root will give you this:

Image

Or

Putting this ctrlpanel.lua into your spring root will give you this:

Image

Or you can put them both into your spring root which will give you:

Image

Or you can use this ctrlpanel.txt to get this:

Image

Or you can combine with this ctrlpanel.txt

Image

trepan also made this ctrlpanel.lua . But this one isn't complete yet with units with a lot of buildoptions some of them won't be shown and there isn't a way to scroll trough the pages.

<trepan> group buttons don't expand, the command panel isn't done in keygrid format, haven't added the config menus (shadows/water/font), etc ... ;)

Image


Also you can edit these files to fit your needs!

Have fun!

Re: ctrlpanels.

Posted: 07 Oct 2006, 18:34
by LordMatt
NOiZE wrote: Also you can edit these files to fit your needs!
If you come up with something you think is good, post it!

Posted: 07 Oct 2006, 19:16
by Dragon45
GUI v1.5 = WIN.


Much <3 to trepan! :D

Now if only we could have a mouseradius in selectionkeys text that was relative to screen, and not relative to whole map - lets say you have a mouse selectradius of 600 and your mouse is on a particular point. You use the hotkey, and select the units.

Now, the problem is that if you zoom in a LOT, you'll still select the same units!


Big problem with that!

Posted: 07 Oct 2006, 19:59
by Bhaal
OH YES THX.

Now i don t know which design i like most ;P *g

i can t decide :/

Posted: 07 Oct 2006, 20:00
by Machiosabre
Do any of these put the commanders orders on the last page? and make a separate page for commands and units for all the factories?
because that would be boss.

Posted: 08 Oct 2006, 02:33
by Ishach
http://img178.imageshack.us/my.php?imag ... 243of3.jpg


Chose this one for maximum build page not-changing

Posted: 08 Oct 2006, 05:37
by FireCrack
Hmmm.. it would be nice to be able to split the panel into an area for orders and an area for construction, that way you could have all the build-orders start on the same line and thus be easy to assign keys to...

Posted: 08 Oct 2006, 11:22
by Comp1337
That last one looks killer.

Posted: 09 Oct 2006, 09:58
by Touchski
:shock:

I know what I'm downloading when I get home!

Posted: 03 Dec 2006, 03:33
by TradeMark
Cool, this is what i have been looking for long time.

Can we have possibility to define those boxes spacing? Or is there already...

Hey, and, could we also have possibility to select the minimap starting position and size? AND the minimap border colors and size.

--

This is what i like to use:
Image

:)

Posted: 04 Dec 2006, 02:43
by bwansy
Great. What's that thing with

NW 31
1
71 SE

at the bottom?

Posted: 04 Dec 2006, 22:39
by disturbedsaint
I've just tried a couple of combinations and it seems like my spring only responds to the ctrlpanel.txt files.
I have rename the .lua files to gui.lua to test them.

I'm running the latest Spring 0.74b1 on linux.

Anybody got an idea what could be wrong?

Posted: 05 Dec 2006, 12:34
by AF
ui.lua?

Posted: 05 Dec 2006, 18:07
by disturbedsaint
AF wrote:ui.lua?
Instead of gui.lua?
Doesn't work either.
(it said in the changelog for 0.74b1 that the filename was changed to gui.lua).

Posted: 05 Dec 2006, 20:47
by Neddie
I dropped one in, but it doesn't seem to change anything. Is there a protocol for implementing the .txt files? It doesn't seem like there should be, but you never know.

Posted: 06 Dec 2006, 09:18
by Ling_Lover
youve gotta change a function...

its like, from layouticons to layoutbuttons or something like that...

all i know is that once you get it working, its awesome! :P

Posted: 06 Dec 2006, 09:55
by Chojin
I played with it, maybe you can use it as example:
http://ipxserver.dyndns.org/games/spring/misc/guis/

Posted: 12 Dec 2006, 04:23
by Uberleechen
Oh hell yes.
The quad-width buildmenu is great.

And I, also, do not understand the implementation of .lua's.

Edit: This and teamcolornano should be included in the distro of spring....

Posted: 12 Dec 2006, 05:11
by LordMatt
To fix a bug with the verion of these files provided here:
in ctrlpanel.txt change

Code: Select all

newAttackMode     1  // enable attack by area selection
to 0. Trepan has fixed the bug in SVN so it will new attack mode will work properly in the next version. Currently having newAttackMode 1 will cause you to be unable to forcefire.

Posted: 12 Dec 2006, 06:30
by Chojin
LordMatt wrote:To fix a bug with the verion of these files provided here:...
Thanks Matt, set to 0 for the time being.

Also, I added another version with time & fps shown the top right corner. Check the link I posted again.