Dynamic Things Posted November 8, 2016 Share Posted November 8, 2016 Olá TMoore Tutorials, este tutorial é para quem procura mudar a cor do pergaminho do "send_letter". Ficheiros a editar: questlib.lua;interfacemodule.py Cliente Abrir o ficheiro InterfaceModule.py e procurar por: def BINARY_RecvQuest Vamos substituir a função inteira por: Hidden Content Give reaction to this post to see the hidden content. Files Abrir o ficheiro questlib.lua e procura pela função send_letter_ex Substituir a função por: Hidden Content Give reaction to this post to see the hidden content. Como funciona? Com o send_letter_ex permite-nos usar mais cores ao notificar a existência de novas quest's, assim podendo organizar quest por cores por exemplo: Missões de caça cor azul, Missões de procura cor verde, etc... O send_letter_ex atualmente suporta as seguintes cores Verde;Azul;Roxo;Dourado;Magenta;Azul claro. Pode ser adicionado mais cores basta adicionar novas imagens e adicionando na função BINARY_RecvQuest, de seguinte forma, procurar por 0xFF e em seguida o +#HEX, tal como podem ver no exemplo: Hidden Content Give reaction to this post to see the hidden content. blink - Com isto as quest's também vão ficar a piscar como as mensagens, ficam antes de serem lidas. ex - (uma marca fictícia para separá-lo de "info" e "item"). Lembrando que o nome que têm de colocar na quest, será o nome da imagem que querem, por exemplo: scroll_open_green.tga Cor verde: Hidden Content Give reaction to this post to see the hidden content. Hidden Content Give reaction to this post to see the hidden content. Hidden Content Give reaction to this post to see the hidden content. Hidden Content Give reaction to this post to see the hidden content. Fazer download do conteúdo que se segue, e adicionar ao vosso cliente. Hidden Content Give reaction to this post to see the hidden content. (em caso de duvidas sinta-se livre de partilhar) Créditos: MartySama Link to comment Share on other sites More sharing options...
Marco Posted November 8, 2016 Share Posted November 8, 2016 Algo não está bem ... Hidden Content Give reaction to this post to see the hidden content. Link to comment Share on other sites More sharing options...
Dynamic Things Posted November 8, 2016 Author Share Posted November 8, 2016 Algo não está bem ... Hidden Content Give reaction to this post to see the hidden content. Posta a quest, e prints de como tens feito a instalação aqui do tutorial sff. Link to comment Share on other sites More sharing options...
Marco Posted November 9, 2016 Share Posted November 9, 2016 Resolvido! Era na quest* Obrigado Link to comment Share on other sites More sharing options...
Dynamic Things Posted November 9, 2016 Author Share Posted November 9, 2016 Quest: send_letter("A Investigação do Biólogo") q.set_icon("scroll_open_green.tga") Hidden Content Give reaction to this post to see the hidden content. Link to comment Share on other sites More sharing options...
Marco Posted November 9, 2016 Share Posted November 9, 2016 Resolvido! Era na quest* Obrigado Tinha editado o outro post e nem reparei que tinhas respondido, desculpa. E obrigado desde já Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now