Page 1 of 1

LUA Gui and Mods?

Posted: 01 Dec 2006, 07:27
by Neuralize
In the last version of Spring a mod creator was able to customize the GUI for his mod by including the appropiate text files, now this doesn't work. Is this intentional?

Edit: Lui -> LUA

Posted: 01 Dec 2006, 07:39
by trepan
1. You could not load a LUA GUI from a mod before 0.74b1
(the addition of that feature is mentionned in the changelog)

2. Renamed "ctrlpanel.lua" to "gui.lua" is also mentionned
(in case your local copies are no longer working)

https://taspring.clan-sy.com/svn/spring ... ngelog.txt

Posted: 01 Dec 2006, 19:45
by Neuralize
Ah, if I recall, Expand and Exterminate had modified their GUI menu in the last version by using ctrlpanel.txt in their mod's sdz, but if you load that version into Spring now, the menu just reverts to default settings.

Posted: 01 Dec 2006, 19:52
by trepan
There's a "ctrlpanel.txt" file included in the 0.74b1 installer.
If you remove that file, then the mod's version of the file will
be loaded instead.

Posted: 01 Dec 2006, 20:13
by knorke
Is there a way to get the transparent chatbox of E&E beta 4 in other mods too?

Posted: 01 Dec 2006, 20:21
by ZellSF
Just unextract E&E's ctrlpanel.txt file?

Posted: 01 Dec 2006, 20:41
by trepan
You could also edit the default "ctrlpanel.txt" and set it
up the way that you want it. It contains a few example
configurations for different button grids.

Posted: 02 Dec 2006, 00:29
by Forboding Angel
trepan... why can't mods specify a gui anymore?

Posted: 02 Dec 2006, 00:32
by trepan
Read my posts in this topic, carefully.

Posted: 02 Dec 2006, 01:11
by knorke
ok, thanks. feels like a whole different game now, I think the transparent chat should be the standard setting..

Posted: 02 Dec 2006, 10:05
by Chojin
Something I have been playing with:
http://ipxserver.dyndns.org/games/spring/misc/guis/

The possibilities LuaUI gives are amazing!

Posted: 06 Dec 2006, 21:15
by Neuralize
It sounds like this feature needs to be streamlined just a little. There should be an option in settings.exe or tasclient.exe where you can choose which gui to use. If you have the time, you guys should even go as far as to create a seperate directory for guis. Then, just implement a drop down box in either settings or tasclient that allows you to choose exactly which gui you want to use out of a bunch installed. You would choose your gui and then specific whether you want the mod gui to override that in the event that it exists.

So the option would be like..

select a gui:
customgui1
customfungui
default

mod gui overrides if present:
yes
no

Posted: 06 Dec 2006, 21:43
by trepan
Neuralize:
How limiting, why not allow in-game changes? ;)

P.S. There is 1 dev working on this, with X amount of
time and keystrokes available to him. All in good time.

Posted: 07 Dec 2006, 00:05
by LordMatt
NEED MOAR TREPANS! :lol:

Posted: 07 Dec 2006, 00:07
by Peet
We need more trepans like we need holes in our skulls :D

Posted: 07 Dec 2006, 05:46
by j5mello
Someone write a trepan!!! :P

Posted: 07 Dec 2006, 06:13
by Neddie
I'll switch my major to genetics. He can be my Graduate project.