LUA Gui and Mods?
Moderator: Moderators
LUA Gui and Mods?
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
Edit: Lui -> LUA
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
(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
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Something I have been playing with:
http://ipxserver.dyndns.org/games/spring/misc/guis/
The possibilities LuaUI gives are amazing!
http://ipxserver.dyndns.org/games/spring/misc/guis/
The possibilities LuaUI gives are amazing!
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
So the option would be like..
select a gui:
customgui1
customfungui
default
mod gui overrides if present:
yes
no