Ir para conteúdo
  • Cadastre-se

Posts Recomendados


 

Olá a todos, vim pedir ajuda para mudar algo em meu otc, descobri que estou aprendendo a editar meu cliente otc8 mas quero mudar a barra superior (onde estão os botões). https://ibb.co/NC0ry3k mas não vejo nenhum arquivo onde possa alterá-lo ou qualquer coisa.

 

para que entenda melhor, quero fazer algo assim (já tenho a imagem e tudo) https://ibb.co/F7LJZWG 

 

Eu vi esta imagem de um usuário deste fórum, e gostaria de fazer algo parecido com isso

 

Se puderem me ajudar agradeço muito, pois estive lá a tarde toda e não achei como fazer :(

 


 

 


 

 

 

 

asd.thumb.png.09003c3a4dc6038e9edd47ab7b64e66f.png

Captura.PNG

Link para o post
Compartilhar em outros sites
  • Moderador

Este tópico foi movido para a seção de Suporte Otserv.

Meu Curso sobre Programação para OTServer

Programando OTServer

 

Peça o seu script! Entre agora mesmo no grupo

Developing

 

Conteúdos:

 

Discord: Belmont#7352

Não esqueça do REP+ :)     

Link para o post
Compartilhar em outros sites

Vai em module/client_background/background.otui

 

dentro  dele  troque  :

 

anchors.top: topMenu.bottom


troque para :
 

anchors.top: parent.top


agora  vai em  data\styles\20-topmenu.otui

dentro dele :
 

TopMenuPanel < Panel
  height: 36
  image-source: /images/ui/panel_top
  image-repeated: true
  focusable: false


troque para :
 

TopMenuPanel < Panel
  height: 36
  image-repeated: true
  focusable: false


agora  em  module/client_topmenu/topmenu.otui

dentro dele agora,  troque  isso :

 TopMenuButtonsPanel
    id: leftButtonsPanel
    anchors.top: parent.top
    anchors.bottom: parent.bottom
    anchors.left: parent.left

  TopMenuButtonsPanel
    id: leftGameButtonsPanel
    anchors.top: parent.top
    anchors.bottom: parent.bottom
    anchors.left: prev.right
    visible: false

  TopMenuFrameCounterLabel
    id: fpsLabel
    text-auto-resize: true
    anchors.top: parent.top
    anchors.left: leftGameButtonsPanel.right

  TopMenuPingLabel
    color: white
    id: pingLabel
    text-auto-resize: true
    anchors.top: fpsLabel.bottom
    anchors.left: fpsLabel.left

  TopMenuButtonsPanel
    id: rightButtonsPanel
    anchors.top: parent.top
    anchors.bottom: parent.bottom
    anchors.right: parent.right
    padding-left: 0

  TopMenuButtonsPanel
    id: rightGameButtonsPanel
    anchors.top: parent.top
    anchors.bottom: parent.bottom
    anchors.right: prev.left
    visible: false


para  isso  :

 

  TopMenuButtonsPanel
    id: leftButtonsPanel
    anchors.top: parent.top
    anchors.bottom: parent.bottom
    anchors.horizontalCenter: parent.horizontalCenter
    padding-right: 10
    
  TopMenuButtonsPanel
    id: leftGameButtonsPanel
    anchors.top: parent.top
    anchors.bottom: parent.bottom
    anchors.left: prev.right
    visible: false

  TopMenuFrameCounterLabel
    id: fpsLabel
    text-auto-resize: true
    anchors.top: parent.top
    anchors.right: parent.right

  TopMenuPingLabel
    color: white
    id: pingLabel
    text-auto-resize: true
    anchors.top: fpsLabel.bottom
    anchors.left: fpsLabel.left

  TopMenuButtonsPanel
    id: rightButtonsPanel
    anchors.top: parent.top
    anchors.horizontalCenter: parent.horizontalCenter

  TopMenuButtonsPanel
    id: rightGameButtonsPanel
    anchors.top: parent.top
    anchors.bottom: parent.bottom
    anchors.horizontalCenter: parent.horizontalCenter
    visible: false



 

Link para o post
Compartilhar em outros sites
  • 3 weeks later...

Participe da conversa

Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.

Visitante
Responder

×   Você colou conteúdo com formatação.   Remover formatação

  Apenas 75 emojis são permitidos.

×   Seu link foi automaticamente incorporado.   Mostrar como link

×   Seu conteúdo anterior foi restaurado.   Limpar o editor

×   Não é possível colar imagens diretamente. Carregar ou inserir imagens do URL.

×
×
  • Criar Novo...

Informação Importante

Confirmação de Termo