Sevenfoldia 28 Posted April 13, 2019 Share Posted April 13, 2019 Hello devs, can you please help me, how can i change position of sash from costume window to inventory window like in picture? Thank you for replies. Link to comment Share on other sites More sharing options...
Sevenfoldia 28 Posted April 14, 2019 Author Share Posted April 14, 2019 Ref. Link to comment Share on other sites More sharing options...
Sevenfoldia 28 Posted April 15, 2019 Author Share Posted April 15, 2019 Ref. Link to comment Share on other sites More sharing options...
Sevenfoldia 28 Posted April 16, 2019 Author Share Posted April 16, 2019 Ref. Link to comment Share on other sites More sharing options...
Sevenfoldia 28 Posted April 19, 2019 Author Share Posted April 19, 2019 Ref. Link to comment Share on other sites More sharing options...
Sevenfoldia 28 Posted April 22, 2019 Author Share Posted April 22, 2019 Ref. Link to comment Share on other sites More sharing options...
Forum Moderator VegaS™ 10266 Posted April 24, 2019 Forum Moderator Share Posted April 24, 2019 Already i posted that in another forum some years ago, but i can't share the link here, check your inbox. 1 Check my GitHub Profile Click to find all the threads started by me [TOOL] Text file loader + JSON Link to comment Share on other sites More sharing options...
thespeedy 20 Posted April 24, 2019 Share Posted April 24, 2019 vor 10 Stunden schrieb VegaS™: Already i posted that in another forum some years ago, but i can't share the link here, check your inbox. can you pm to? Link to comment Share on other sites More sharing options...
Sevenfoldia 28 Posted April 24, 2019 Author Share Posted April 24, 2019 32 minutes ago, thespeedy said: can you pm to? You have it in PM Link to comment Share on other sites More sharing options...
Forum Moderator VegaS™ 10266 Posted April 25, 2019 Forum Moderator Share Posted April 25, 2019 Ok, there're many guys which want that and wroted me in PM, i'll leave the code here. root/uiInventory.py Spoiler #1.1) Search for: def RefreshItemSlot(self): self.RefreshBagSlotWindow() self.RefreshEquipSlotWindow() #1.1) Replace with: def RefreshItemSlot(self): self.RefreshBagSlotWindow() self.RefreshEquipSlotWindow() self.RefreshCostumeSlot() #1.2) Search for: def SetItemToolTip(self, tooltipItem): self.tooltipItem = tooltipItem #1.2) Add after: def RefreshCostumeSlot(self): for i in xrange(item.COSTUME_SLOT_COUNT): slotNumber = item.COSTUME_SLOT_START + i self.wndEquip.SetItemSlot(slotNumber, player.GetItemIndex(slotNumber), 0) #1.3) Search in def RefreshEquipSlotWindow(self) for: self.wndEquip.RefreshSlot() #1.3) Add before: self.RefreshCostumeSlot() locale/en/ui/InventoryWindow.py Spoiler #1.1) Search for: import item #1.1) Add after: COSTUME_START_INDEX = item.COSTUME_SLOT_START #1.2) Search in "slot" : ( for: {"index":item.EQUIPMENT_BELT, "x":39, "y":106, "width":32, "height":32}, #1.2) Add after: #{"index":COSTUME_START_INDEX+0, "x":80, "y":3, "width":32, "height":32}, # Costume - Body #{"index":COSTUME_START_INDEX+1, "x":80, "y":3, "width":32, "height":32}, # Costume - Hair {"index":COSTUME_START_INDEX+2, "x":80, "y":3, "width":32, "height":32}, # Costume - Acce 1 5 Check my GitHub Profile Click to find all the threads started by me [TOOL] Text file loader + JSON 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