WTF, i want to choose my own UI

WTF, i want to choose my own UI

A dynamic game undergoing constant development and refinement, that attempts to balance playability with fresh and innovative features.

Moderator: Content Developer

Post Reply
Some1Simple
Posts: 2
Joined: 29 Jan 2010, 10:18

WTF, i want to choose my own UI

Post by Some1Simple »

Regret wrote: Not to mention CA disables all your local widgets and you have to know how to re-enable them or you're screwed, yeaaa that's not intrusive.
THIS

:|

Seriously, i haven't played for a while and back then CA (along with XTA) was my favorite Spingmod. Now its just immensly frustrating since i cannot get it to work.
Stop forcing some POS widgets on me, and let me choose my own.
Last edited by Some1Simple on 29 Jan 2010, 16:46, edited 1 time in total.
==Troy==
Posts: 376
Joined: 29 Oct 2008, 15:55

Re: WTF, i want to use my own UI

Post by ==Troy== »

Get one of the widgets they are using. Open it in a text file or similar, add in your GUI widget.


Or, if you have a usless widget in CA, you can just rename your GUI widget into the *** name and replace the file. Should work just as well. (afaik)


In the end, if nothing works, depending on your frustration, you could simply take spring source and cut out the check for the widgets.

Edit : removed the quote.
User avatar
zwzsg
Kernel Panic Co-Developer
Posts: 7052
Joined: 16 Nov 2004, 13:08

Re: WTF, i want to use my own UI

Post by zwzsg »

Actually, neither will work.

- Local widget files aren't even read, so you can't override CA widgets just by having the same name.

- Modifying and recompiling Spring from its source is not only hard for a normal person, and risky in term of desync, but wouldn't even change CA widget lock, since it's controlled by the widget handler, which is inside the mod archive.

Licho wrote:If you want to enable your own widgets (at your own risk)
create file "UnlockLocalWidgets-IKnowWhatImDoing.txt" in your widgets folder.

If you know some good widgets that are usefull for most players, tell us about it and we might include it in CA by default instead.
Looking forward to hearing from someone simple about how CA is a crap because he got widget conflicts.
==Troy==
Posts: 376
Joined: 29 Oct 2008, 15:55

Re: WTF, i want to use my own UI

Post by ==Troy== »

zwzsg wrote:Actually, neither will work.

- Local widget files aren't even read, so you can't override CA widgets just by having the same name.

- Modifying and recompiling Spring from its source is not only hard for a normal person, and risky in term of desync, but wouldn't even change CA widget lock, since it's controlled by the widget handler, which is inside the mod archive.
Hmm, seems that I have missed that one. Will know now thanks. Not a biggie to kill that one either (even if the actual solution was not provided)
trepan
Former Engine Dev
Posts: 1200
Joined: 17 Nov 2005, 00:52

Re: WTF, i want to use my own UI

Post by trepan »

Find lockFile.FileExists() in LuaUI.cpp, adjust to your tastes,
recompile (modifying LuaUI behaviour should not cause desync
issues).
User avatar
zwzsg
Kernel Panic Co-Developer
Posts: 7052
Joined: 16 Nov 2004, 13:08

Re: WTF, i want to choose my own UI

Post by zwzsg »

Oh ok then. I stand corrected.
Some1Simple
Posts: 2
Joined: 29 Jan 2010, 10:18

Re: WTF, i want to choose my own UI

Post by Some1Simple »

Soooo. This is kinda awkward.

Image

What i did was the following:

I enabled all the stock widget crap (in the hope i missed an usuable GUI), just to find a function of crudemenu "enable local lua" (or similar).
I enabled it, restarted the SP match, whereafter the loading screen hangs on "loading Lua", with 25% cpu usage (quadcore). So i removed the testing version, tried stable, same thing.

So since i really wanted a game of CA, i looked on my backup drive for an old version, and i found Stable-5274, placed it in Mods and there we go. My familiar IceUI.
Everything was working like usual so i tried (no clue why) CA-Testing-6690 again, and totally unexpected, it loaded up IceUI, and all my other mods. Even when i disable "local widgets config"-widget (what does this do?), my own widgets are working fine.

Anyway, im glad that it is working.
SirMaverick
Posts: 834
Joined: 19 May 2009, 21:10

Re: WTF, i want to choose my own UI

Post by SirMaverick »

Some1Simple wrote:Even when i disable "local widgets config"-widget (what does this do?), my own widgets are working fine.
As the name indicates it's a widget for configuration and nothing more.

How to enable local widgets (works with default spring):
Either type "/localwidgetsconfig" or via Crude Menu (hit ESC, Menu -> Settings -> Misc) and select the box that says to enable local widgets.
Needs "/luaui reload" to take effect.
Post Reply

Return to “Zero-K”