Active Member ReFresh 2340 Posted February 21, 2019 Active Member Share Posted February 21, 2019 (edited) Hey guys, is here someone who know how can I do a side bar along inventory window which will open a costume window? Thanks for answers! Sincerely, ReFresh Edited August 21, 2022 by ReFresh 1 1 I'll be always helpful! Link to comment Share on other sites More sharing options...
Active Member ReFresh 2340 Posted February 23, 2019 Author Active Member Share Posted February 23, 2019 ref I'll be always helpful! Link to comment Share on other sites More sharing options...
Active Member ReFresh 2340 Posted February 26, 2019 Author Active Member Share Posted February 26, 2019 ref I'll be always helpful! Link to comment Share on other sites More sharing options...
Active Member ReFresh 2340 Posted March 13, 2019 Author Active Member Share Posted March 13, 2019 ref I'll be always helpful! Link to comment Share on other sites More sharing options...
Active Member ReFresh 2340 Posted April 12, 2019 Author Active Member Share Posted April 12, 2019 ref 1 I'll be always helpful! Link to comment Share on other sites More sharing options...
Active+ Member HFWhite 499 Posted April 28, 2021 Active+ Member Share Posted April 28, 2021 up Link to comment Share on other sites More sharing options...
klynaTz 1 Posted April 29, 2021 Share Posted April 29, 2021 If you can code a bit in py, you can take as example the belt inventory to try this. Link to comment Share on other sites More sharing options...
Active+ Member HFWhite 499 Posted April 29, 2021 Active+ Member Share Posted April 29, 2021 If someone knows how to do this, and wants to do a tutorial.. that would be great! Link to comment Share on other sites More sharing options...
Active+ Member HFWhite 499 Posted May 4, 2021 Active+ Member Share Posted May 4, 2021 (edited) Thanks to Galadriela @ J4m What would it look like? https://metin2.download/picture/r3F9504x09DVmF8K988YXgTtGTP6KMUj/.gif 1. Replace your costumewindow.py with this one: https://pastebin.com/wXMGS6CN 2. Replace class CostumeWindow from uiinventory with this one: https://pastebin.com/ctzEAnUg 3. Search for # 인벤토리를 닫을 때 코스츔이 열려있었다면 인벤토리를 열 때 코스츔도 같이 열도록 함. if self.isOpenedCostumeWindowWhenClosingInventory and self.wndCostume: self.wndCostume.Show() 4. Replace with: # 인벤토리를 닫을 때 코스츔이 열려있었다면 인벤토리를 열 때 코스츔도 같이 열도록 함. if self.wndCostume: self.wndCostume.Show(self.isOpenedCostumeWindowWhenClosingInventory) 5. Search for self.costumeButton = self.GetChild2("CostumeButton") 6. Add below self.costumeButton.Hide() 7. Search & Delete this: if self.costumeButton and not app.ENABLE_COSTUME_SYSTEM: self.costumeButton.Hide() self.costumeButton.Destroy() self.costumeButton = 0 8. Search this: if app.ENABLE_NEW_EQUIPMENT_SYSTEM: self.wndBelt = BeltInventoryWindow(self) 9. Add below: # Costume Window if app.ENABLE_COSTUME_SYSTEM: self.wndCostume = CostumeWindow(self) 10. Search: # Costume Button if self.costumeButton: self.costumeButton.SetEvent(ui.__mem_func__(self.ClickCostumeButton)) self.wndCostume = None 11. Replace with: # Costume Button ##if self.costumeButton: ## self.costumeButton.SetEvent(ui.__mem_func__(self.ClickCostumeButton)) self.wndCostume = CostumeWindow(self) 12. Search for: self.isOpenedCostumeWindowWhenClosingInventory = self.wndCostume.IsShow() # 인벤토리 창이 닫힐 때 코스츔이 열려 있었는가? 13. Replace with: self.isOpenedCostumeWindowWhenClosingInventory = self.wndCostume.IsOpeningInventory() print "Is Opening Costume window?? ", self.isOpenedCostumeWindowWhenClosingInventory 14. Search for def OnMoveWindow(self, x, y): # print "Inventory Global Pos : ", self.GetGlobalPosition() if self.wndBelt: # print "Belt Global Pos : ", self.wndBelt.GetGlobalPosition() self.wndBelt.AdjustPositionAndSize() 15. Add below: if self.wndCostume: self.wndCostume.AdjustPositionAndSize() Edited August 28, 2022 by Metin2 Dev Core X - External 2 Internal 1 1 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now