• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Console-Chat Style

Nekokan

New Member
Joined
Mar 13, 2022
Messages
8
Reaction score
1
GitHub
SirNekokan
Hello,

I want to move the console chat to be placed here [Movable and able to be resized].
1680623297235.png


I have found in console.lua
Lua:
  consolePanel = g_ui.loadUI('console', modules.game_interface.getBottomPanel())
  consoleTextEdit = consolePanel:getChildById('consoleTextEdit')
  consoleContentPanel = consolePanel:getChildById('consoleContentPanel')
  consoleTabBar = consolePanel:getChildById('consoleTabBar')
  consoleTabBar:setContentWidget(consoleContentPanel)
  channels = {}

I have tried to modify those, also taking into account action bars inits, but I still do not know how to this idea...

Has anyone been able to do it?
 
Check how terminal is made. And you will be able to achieve what you want.
 
Check how terminal is made. And you will be able to achieve what you want.
you mean terminal lua and otui files? I thought that was for terminal module [ctr+t] to check logs or errors from client, not the chat. Sorry I'm still learning about OT.
 
It is for terminal, but you can take some part from otui to make chat in "window".
 
Back
Top