- Mesaj
- 742
- Çözümler
- 15
- Beğeni
- 99
- Puan
- 539
- Ticaret Puanı
- 0
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
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...
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
Merhaba elimde normal mesaj , efsun mesaj ve gm mesaj payton kodu var, biyolog mesajı ve sistem mesajı elimde yok.root / interfacemodule: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