Loading...
  OR  Zero-K Name:    Password:   

Where are the GUI files?

6 posts, 315 views
Post comment
Filter:    Player:  
sort
7 years ago
I like the gameplay, but the UI is killing me. No skin presented in there makes me satisfied so I want to make something more simple looking for myself, so where do I find the files needed to make my own skin? I want to change every img related to the UI. even the buttons.
+2 / -0

7 years ago
https://github.com/ZeroK-RTS/Zero-K/tree/master/LuaUI/Widgets/chili/Skins
Go wild
+2 / -0

7 years ago
Just as clarification, if you wanna test changes to Zero-K you can do this by cloning the repo and then putting the files in Spring/games/Zero-K.SDD

Then start a local game and select Zero-K $Version as the game/mod.
+0 / -0
Technically the GUI files are fragmented into a bunch of nonsense files spread throughout 'My Games\Spring\packages' and 'My Games\Spring\pool'. The nonsense files are part of the incremental update system. You can probably override them with the "use local widgets" option and by putting exactly the right files in 'My Games\Spring\LuaUI\Widgets\...'.

There was a developing wiki page but something has happened to it. Making a new skin will involve downloading this https://github.com/ZeroK-RTS/Zero-K with git and messing around with the files.

Actually, just to be sure. What are you calling a skin? The layout of the UI is relatively easy to change. Ctrl+F11 can move UI components around and there are many settings options for changing what appears. The widget menu can be opened with F11 to remove entire panels. However, you can break something by poking around in there.
+0 / -0
7 years ago
I mean the texture files, I know how to change the layout. What I want is to change the skin, and thanks.
+0 / -0
I have not had to do this before and came up with something which turns out to work:
  • Find your Spring data directory with 'Open game data' in the ZKL settings (the cog). You should have a LuaUI folder.
  • Create the path LuaUI\Widgets\chili\Skins\Carbon.
  • Unzip this: https://github.com/ZeroK-RTS/Zero-K/files/391023/carbon.zip in the Carbon folder. The Carbon folder should not have a subfolder.
  • Edit the images.
  • If you're really advanced, edit skin.lua.
  • If you are even more advanced become a developer and change the UI structure so that it can use more distinct images.

Type '/luaui reload' ingame to update the skin with your edits without even restarting the game.
+0 / -0