Where can i find some Ui tools ?

Everything about mods can be found here.

Moderator: Morax

Where can i find some Ui tools ?

Postby Franck75 » 24 Aug 2016, 22:04

Hi everybody,

Maybe you can help. I'm looking for tools to make my mod Ui design prettier. I really love the work done with the FAF Game lobby. It Looks just fine and professional.

I just wanna use this set of tools (windows, icons, buttons...) for my mod. This will give some Ui design consistency. Do you know where i can find theses lua files ?

Thanks a lot for your help.
Franck75
Crusader
 
Posts: 13
Joined: 22 Aug 2016, 13:56
Has liked: 2 times
Been liked: 0 time
FAF User Name: Franck

Re: Where can i find some Ui tools ?

Postby Uveso » 25 Aug 2016, 00:17

I found this at the top of "lobby.lua":

Code: Select all
GameVersion = import('/lua/version.lua').GetVersion
UIUtil = import('/lua/ui/uiutil.lua')
MenuCommon = import('/lua/ui/menus/menucommon.lua')
Prefs = import('/lua/user/prefs.lua')
MapUtil = import('/lua/ui/maputil.lua')
Group = import('/lua/maui/group.lua').Group
RadioButton = import('/lua/ui/controls/radiobutton.lua').RadioButton
MapPreview = import('/lua/ui/controls/mappreview.lua').MapPreview
ResourceMapPreview = import('/lua/ui/controls/resmappreview.lua').ResourceMapPreview
Popup = import('/lua/ui/controls/popups/popup.lua').Popup
Slider = import('/lua/maui/slider.lua').Slider
PlayerData = import('/lua/ui/lobby/data/playerdata.lua').PlayerData
GameInfo = import('/lua/ui/lobby/data/gamedata.lua')
WatchedValueArray = import('/lua/ui/lobby/data/watchedvalue/watchedvaluearray.lua').WatchedValueArray
ItemList = import('/lua/maui/itemlist.lua').ItemList
LayoutHelpers = import('/lua/maui/layouthelpers.lua')
Bitmap = import('/lua/maui/bitmap.lua').Bitmap
Button = import('/lua/maui/button.lua').Button
ToggleButton = import('/lua/ui/controls/togglebutton.lua').ToggleButton
Edit = import('/lua/maui/edit.lua').Edit
LobbyComm = import('/lua/ui/lobby/lobbyComm.lua')
Tooltip = import('/lua/ui/game/tooltip.lua')
Mods = import('/lua/mods.lua')
FactionData = import('/lua/factions.lua')
Text = import('/lua/maui/text.lua').Text
TextArea = import('/lua/ui/controls/textarea.lua').TextArea
Trueskill = import('/lua/ui/lobby/trueskill.lua')
round = import('/lua/ui/lobby/trueskill.lua').round
Player = import('/lua/ui/lobby/trueskill.lua').Player
Rating = import('/lua/ui/lobby/trueskill.lua').Rating
ModBlacklist = import('/etc/faf/blacklist.lua').Blacklist
Teams = import('/lua/ui/lobby/trueskill.lua').Teams
EscapeHandler = import('/lua/ui/dialogs/eschandler.lua')
CountryTooltips = import('/lua/ui/help/tooltips-country.lua').tooltip
SetUtils = import('/lua/system/setutils.lua')
JSON = import('/lua/system/dkson.lua').json
UnitsAnalyzer = import('/lua/ui/lobby/UnitsAnalyzer.lua')


In case you dont know where the files are:
go to:
Code: Select all
C:\ProgramData\FAForever\gamedata\

make a copy from the file:
Code: Select all
lua.nx2

Now move it to another folder. Don't edit it inside "C:\ProgramData\FAForever\gamedata\"

Rename the file:
Code: Select all
lua.nx2 to lua.zip

Extract the lua.zip archive.

You will find the lobby.lua in:
Code: Select all
lua.zip\lua\ui\lobby\lobby.lua
User avatar
Uveso
Supreme Commander
 
Posts: 1788
Joined: 11 Dec 2015, 20:56
Location: Germany
Has liked: 70 times
Been liked: 291 times
FAF User Name: Uveso

Re: Where can i find some Ui tools ?

Postby Franck75 » 26 Aug 2016, 15:10

Very usefull information again. Ty a lot Uveso.
Franck75
Crusader
 
Posts: 13
Joined: 22 Aug 2016, 13:56
Has liked: 2 times
Been liked: 0 time
FAF User Name: Franck


Return to Mods & Tools

Who is online

Users browsing this forum: No registered users and 1 guest