Robert. 94 Posted February 11, 2023 Share Posted February 11, 2023 (edited) Maybe many of you didn't even notice or just don't mind showing that "info" when you hover your mouse over an NPC, guild spot, portal, etc.. To get rid of text overlap with other "squares" on the minimap, I created a display, immediately below the window, which indicates in a much more airy way the name and coordinates of a point on the map. I know that maybe for many it seems like a easy thing and/or they didn't use the directions provided anyway, but for others it might even be a plus. I leave you with a final sentence: Details make the difference! Tutorial: atlaswindow.py (uiscript.eix/.epk) This is the hidden content, please Sign In or Sign Up uiminimap.py (root.eix/.epk) This is the hidden content, please Sign In or Sign Up I welcome any kind of feedback from you and if anyone tries this display mode, don't forget to post a picture here as well. Edited February 11, 2023 by Metin2 Dev Core X - External 2 Internal 52 10 1 31 Link to comment Share on other sites More sharing options...
Chookez 71 Posted February 12, 2023 Share Posted February 12, 2023 It works perfectly fine. 1 1 Link to comment Share on other sites More sharing options...
Nuzzo 49 Posted June 1, 2023 Share Posted June 1, 2023 On 2/11/2023 at 3:42 PM, Robert. said: Maybe many of you didn't even notice or just don't mind showing that "info" when you hover your mouse over an NPC, guild spot, portal, etc.. To get rid of text overlap with other "squares" on the minimap, I created a display, immediately below the window, which indicates in a much more airy way the name and coordinates of a point on the map. I know that maybe for many it seems like a easy thing and/or they didn't use the directions provided anyway, but for others it might even be a plus. I leave you with a final sentence: Details make the difference! Tutorial: atlaswindow.py (uiscript.eix/.epk) Hidden Content Search: "title" : uiScriptLocale.ZONE_MAP, }, Add below: { "name" : "info", "type" : "board", "x" : 0, "y" : 0, "width" : 10, "height" : 10, "children" : ( { "name" : "info_text1", "type" : "text", "x" : 15, "y" : 17, "text" : "Nume", }, { "name" : "info_text2", "type" : "text", "x" : 15, "y" : 32, "text" : "Coordonate ", } ), }, Result: uiminimap.py (root.eix/.epk) Hidden Content Search: self.board = 0 Add below: self.info = 0 Result: Search: self.board = self.GetChild("board") Add below: self.info = self.GetChild("info") self.info_text1 = self.GetChild("info_text1") self.info_text2 = self.GetChild("info_text2") Result: Search: self.board = None Add below: self.info = None Result: Search: self.tooltipInfo.Hide() Add below: self.info.Hide() self.info_text1.Hide() self.info_text2.Hide() Result: Search: self.tooltipInfo.SetText("%s(%d, %d)" % (sName, iPosX, iPosY)) Add below: self.info_text1.SetText("Nume: %s" % (sName)) self.info_text2.SetText("Coordonate: %d, %d" % (iPosX, iPosY)) Result: Comment: self.tooltipInfo.Show() Add below: self.info.Show() self.info_text1.Show() self.info_text2.Show() Result: Comment: self.infoGuildMark.Show() Result: Search: self.board.SetSize(iSizeX + 15, iSizeY + 38) Add below: self.info.SetPosition(0, iSizeY + 45) self.info.SetSize(iSizeX + 15, 10) Result: I welcome any kind of feedback from you and if anyone tries this display mode, don't forget to post a picture here as well. comment: self.infoGuildMark.Show() Just out of curiosity may I ask why? Link to comment Share on other sites More sharing options...
Debloat 88 Posted June 3, 2023 Share Posted June 3, 2023 Thank you it's working. To make this system multi language, you can: Delete: self.tooltipInfo.SetText("%s(%d, %d)" % (sName, iPosX, iPosY)) Find: self.info_text1.SetText("Nume: %s" % (sName)) self.info_text2.SetText("Coordonate: %d, %d" % (iPosX, iPosY)) Change: self.info_text1.SetText(localeInfo.MAP_NPCNAME % (sName)) self.info_text2.SetText(localeInfo.MAP_NPCPOS % (iPosX, iPosY)) locale_game.txt Add: MAP_NPCNAME Ad: %s MAP_NPCPOS Koordinat: %d, %d Result: This is the hidden content, please Sign In or Sign Up 9 2 5 Link to comment Share on other sites More sharing options...
Recommended Posts