Bulundu Sistem mesajları hk.

  • Konuyu açan Konuyu açan CalvinGiorgio
  • Açılış Tarihi Açılış Tarihi
  • Yanıt Yanıt 2
  • Gösterim Gösterim 591
Konu sahibinin aradığı materyalleri bulduğu için "Bulundu" öneki eklenmiştir. Eğer aynı materyalleri arıyorsanız yorumlara bakabilirsiniz. İstediğiniz materyallere bu konuda bulamadıysanız yeni konu açabilirsiniz.
Durum
İçerik kilitlendiği için mesaj gönderimine kapatıldı.

CalvinGiorgio

Üye
Üye
Mesaj
884
Çözümler
21
Beğeni
126
Puan
559
Ticaret Puanı
0
1647630435113.webp

1647630538150.webp

aradaki farkı görüyorsunuz resimleri nasıl değiştirebiliriz fonksiyonlar üzerinden araştırdım felan birşey bulamadım.
biyolog sistem mesaj yazısı
sistem mesajı
normal mesaj
efsun bot mesaj
 
Çözüm
Merhaba elimde normal mesaj , efsun mesaj ve gm mesaj payton kodu var, biyolog mesajı ve sistem mesajı elimde yok.
root / interfacemodule:
Genişlet Daralt Kopyala
Search:
    def __MakeWhisperButton(self, name):

Change like This:
    def __MakeWhisperButton(self, name):
        whisperButton = uiWhisper.WhisperButton()
        if self.IsGameMasterName(name): # Neue GM-Icon
            whisperButton.SetUpVisual("d:/ymir work/ui/game/windows/gm_logo.tga")
            whisperButton.SetOverVisual("d:/ymir work/ui/game/windows/gm_logo.tga")
            whisperButton.SetDownVisual("d:/ymir work/ui/game/windows/gm_logo.tga")
            whisperButton.SetToolTipTextWithColor(name, 0xffffa200)
        elif name == "[Switchbot]": # So kannst du z.b. [CYN3] oder [Switchbot] abfragen und eine neue Icon...
Merhaba elimde normal mesaj , efsun mesaj ve gm mesaj payton kodu var, biyolog mesajı ve sistem mesajı elimde yok.
root / interfacemodule:
Genişlet Daralt Kopyala
Search:
    def __MakeWhisperButton(self, name):

Change like This:
    def __MakeWhisperButton(self, name):
        whisperButton = uiWhisper.WhisperButton()
        if self.IsGameMasterName(name): # Neue GM-Icon
            whisperButton.SetUpVisual("d:/ymir work/ui/game/windows/gm_logo.tga")
            whisperButton.SetOverVisual("d:/ymir work/ui/game/windows/gm_logo.tga")
            whisperButton.SetDownVisual("d:/ymir work/ui/game/windows/gm_logo.tga")
            whisperButton.SetToolTipTextWithColor(name, 0xffffa200)
        elif name == "[Switchbot]": # So kannst du z.b. [CYN3] oder [Switchbot] abfragen und eine neue Icon zuweisen.
            whisperButton.SetUpVisual("d:/ymir work/ui/game/windows/switchbot_icon.tga")
            whisperButton.SetOverVisual("d:/ymir work/ui/game/windows/switchbot_icon.tga")
            whisperButton.SetDownVisual("d:/ymir work/ui/game/windows/switchbot_icon.tga")
            whisperButton.SetToolTipTextWithColor(name, 0xff7fff00)
        else: # Default
            whisperButton.SetUpVisual("d:/ymir work/ui/game/windows/btn_mail_up.sub")
            whisperButton.SetOverVisual("d:/ymir work/ui/game/windows/btn_mail_up.sub")
            whisperButton.SetDownVisual("d:/ymir work/ui/game/windows/btn_mail_up.sub")
            whisperButton.SetToolTipText(name)
        whisperButton.ToolTipText.SetHorizontalAlignCenter()
        whisperButton.SetEvent(ui.__mem_func__(self.ShowWhisperDialog), whisperButton)
        whisperButton.Show()
        whisperButton.name = name

        self.whisperButtonList.insert(0, whisperButton)
        self.__ArrangeWhisperButton()

        return whisperButton
 

Dosya Eklentileri

Çözüm
Merhaba elimde normal mesaj , efsun mesaj ve gm mesaj payton kodu var, biyolog mesajı ve sistem mesajı elimde yok.
root / interfacemodule:
Genişlet Daralt Kopyala
Search:
    def __MakeWhisperButton(self, name):

Change like This:
    def __MakeWhisperButton(self, name):
        whisperButton = uiWhisper.WhisperButton()
        if self.IsGameMasterName(name): # Neue GM-Icon
            whisperButton.SetUpVisual("d:/ymir work/ui/game/windows/gm_logo.tga")
            whisperButton.SetOverVisual("d:/ymir work/ui/game/windows/gm_logo.tga")
            whisperButton.SetDownVisual("d:/ymir work/ui/game/windows/gm_logo.tga")
            whisperButton.SetToolTipTextWithColor(name, 0xffffa200)
        elif name == "[Switchbot]": # So kannst du z.b. [CYN3] oder [Switchbot] abfragen und eine neue Icon zuweisen.
            whisperButton.SetUpVisual("d:/ymir work/ui/game/windows/switchbot_icon.tga")
            whisperButton.SetOverVisual("d:/ymir work/ui/game/windows/switchbot_icon.tga")
            whisperButton.SetDownVisual("d:/ymir work/ui/game/windows/switchbot_icon.tga")
            whisperButton.SetToolTipTextWithColor(name, 0xff7fff00)
        else: # Default
            whisperButton.SetUpVisual("d:/ymir work/ui/game/windows/btn_mail_up.sub")
            whisperButton.SetOverVisual("d:/ymir work/ui/game/windows/btn_mail_up.sub")
            whisperButton.SetDownVisual("d:/ymir work/ui/game/windows/btn_mail_up.sub")
            whisperButton.SetToolTipText(name)
        whisperButton.ToolTipText.SetHorizontalAlignCenter()
        whisperButton.SetEvent(ui.__mem_func__(self.ShowWhisperDialog), whisperButton)
        whisperButton.Show()
        whisperButton.name = name

        self.whisperButtonList.insert(0, whisperButton)
        self.__ArrangeWhisperButton()

        return whisperButton

teşekkür ederim oldu.
 
Durum
İçerik kilitlendiği için mesaj gönderimine kapatıldı.
Geri
Üst