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