/luaui in .74b1

/luaui in .74b1

Various things about Spring that do not fit in any of the other forums listed below, including forum rules.

Moderator: Moderators

Post Reply
apc
Posts: 6
Joined: 13 Sep 2006, 19:50

/luaui in .74b1

Post by apc »

It is said in .74b1 changelog:

- Renamed the /layout command to /luaui
- Renamed the "ctrlpanel.lua" file to "gui.lua"

Where am I expected to find this "gui.lua"?
Chojin
Posts: 141
Joined: 04 Oct 2006, 11:22

Post by Chojin »

Hello apc,

I played with this a little, my results:
http://ipxserver.dyndns.org/games/spring/misc/guis/

I actually took an old ctrlpanel.lua found somewhere in this forum, adjusted it with the help of Trepan & Spring\docs\ua_ui_interface.txt and added a second button so far.

(there is a bug in that help document though: Use "ConfigureLayout()" instead of the new "ConfigCommand()")

Trepan also posted a lot of examples and help about it, check the development subforum.

Good luck!
Post Reply

Return to “General Discussion”