View topic - BA.lua Widget Config [Solved]



All times are UTC + 1 hour


Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: 13 Jul 2010, 06:25 

Joined: 07 Jul 2010, 04:37
I would like to configure the widgets in BA to custom settings primarily for UI customization.

From my understanding this can be done via <install>/.spring/LuaUI/Config/<mod>.lua (where BA is the mod in this case) which is generated via widgets.lua (in /usr/share).
When I run Spring with the selected mod (BA712), the BA.lua file becomes overwritten with default values before game start.
I have both changed permissions on this file and modified the widgets.lua script so that changes are not written. The BA.lua file is then not overwritten, but the UI does not reflect appropriate changes.
I can never get widgets to reflect modifications from BA.lua.

?Is BA.lua just a reference file, not meant to control user experience?
?Who is able to adjust this file with results showing in game?

Note: I have successfully modified these setting directly from the mod, extracting, modifying and then compressing. The mod loaded in spring then shows the changes.


Example modification:
return { data = {
["Red Console"] = {
Config = {
console = {
fontsize = 9
}}}
}

Edit: Changed to [Solved].


Last edited by Buglouse on 14 Jul 2010, 21:56, edited 2 times in total.

Top
 Offline Profile  
 
PostPosted: 14 Jul 2010, 21:55 

Joined: 07 Jul 2010, 04:37
I was trying to modify values that were overridden by the installed Widget.

Solution: Extract Widgets from mod into local spring directory and modify values directly from within the Widget.

Status: Solved


Top
 Offline Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: Xangi and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Site layout created by Roflcopter et al.