Çözüldü Hızlı Menüden Bazı Buton ları Kaldırma.

Bu konu çözüme ulaştırılmıştır. Çözüm için konuya yazılan tüm yorumları okumayı unutmayın. Eğer konudaki yorumlar sorununuzu çözmediyse yeni bir konu açabilirsiniz.
Durum
İçerik kilitlendiği için mesaj gönderimine kapatıldı.

Afraz

Cehalet yenilmesi gereken en büyük düşmandır.
Yardımsever Üye
MT Üye
Mesaj
678
Çözümler
30
Beğeni
181
Puan
604
Ticaret Puanı
0
Screenshot_4.webp


Buradaki en alttan 3ünü ve tam ekranı kaldırmak istiyorum hangi yerden yapıyoruz?
 
Çözüm
:b.m.z2:
Sorun çözülmüştür.

locale_tr/locale/tr/ui/inventorywindow.py den düzenlemeler yapıldı.

inventorywindow.py:
Genişlet Daralt Kopyala
import uiScriptLocale
import item
SLOT_WING = item.COSTUME_SLOT_START

EQUIPMENT_START_INDEX = 225

window = {
    "name" : "InventoryWindow",
    "x" : SCREEN_WIDTH - 176 - 38 - 72+50,
    "y" : SCREEN_HEIGHT - 37 - 565 -55,
    "style" : ("movable", "float",),
    "width" : 176+70,
    "height" : 585,
    "children" :
    (
        {
            "name" : "buttonboard",
            "type" : "board",
            "style" : ("attach",),
            "x" : 73 - 70,
            "y" : 10,
            "width" : 50,
            "height" : 260,
            "children" :
            (
            
                ## MallButton...
Hızlı Menü sistemini root , uiscript , locale , quest ve lib dosyasında kodlar oluyor. Oradan kaldırabilirsiniz. Olmadı Team Viewer'den yardımcı olurum size. Tam ekran dediğinizi biraz daha açıklarmısınız.
 
Hızlı Menü sistemini root , uiscript , locale , quest ve lib dosyasında kodlar oluyor. Oradan kaldırabilirsiniz. Olmadı Team Viewer'den yardımcı olurum size. Tam ekran dediğinizi biraz daha açıklarmısınız.
Tam ekran hızlı menüde üstten 3.sırada olan ona basınca tam ekran oluyor o butonuda kaldırmak istiyorum anlamında söylemiştim. Özel mesaj yoluyla daha ayrıntılı yardım edebilirseniz sevinirim. 1-2 Göz gezdiriyorum uiinventory.py ve beltinventorywindow.py'ye fakat pek anlamadım :D
 
systemwindow.py atarsan yardımcı olabilirim


systemwindow.py yok onun yerine beltinventorywindow.py atıyorum.


beltinventorywindow.py:
Genişlet Daralt Kopyala
import uiScriptLocale
import item

EQUIPMENT_START_INDEX = 225

window = {
    "name" : "BeltInventoryWindow",

    ## 600 - (width + 오른쪽으로 부터 띄우기 24 px)
    "x" : SCREEN_WIDTH - 176 - 148,
    "y" : SCREEN_HEIGHT - 37 - 565 + 209 + 32,
#    "x" : -148,
#    "y" : 241,
    "width" : 148,
    "height" : 139,

    "type" : "image",
    #"image" : "d:/ymir work/ui/game/belt_inventory/bg.tga",
    

    "children" :
    (
        ## Expand Buttons
        {
            "name" : "ExpandBtn",
            "type" : "button",

            "x" : 2,
            "y" : 15,

            #"default_image" : "d:/ymir work/ui/game/belt_inventory/btn_expand_normal.tga",
            #"over_image" : "d:/ymir work/ui/game/belt_inventory/btn_expand_over.tga",
            #"down_image" : "d:/ymir work/ui/game/belt_inventory/btn_expand_down.tga",
            #"disable_image" : "d:/ymir work/ui/game/belt_inventory/btn_expand_disabled.tga",
        },

        
        ## Belt Inventory Layer (include minimize button)
        {
            "name" : "BeltInventoryLayer",
#            "type" : "board",
#            "style" : ("attach", "float"),

            "x" : 5,
            "y" : 0,

            "width" : 148,
            "height" : 139,

            "children" :
            (
                ## Minimize Button
                {
                    "name" : "MinimizeBtn",
                    "type" : "button",

                    "x" : 2,
                    "y" : 15,

                    "width" : 10,

                    #"default_image" : "d:/ymir work/ui/game/belt_inventory/btn_minimize_normal.tga",
                    #"over_image" : "d:/ymir work/ui/game/belt_inventory/btn_minimize_over.tga",
                    #"down_image" : "d:/ymir work/ui/game/belt_inventory/btn_minimize_down.tga",
                    #"disable_image" : "d:/ymir work/ui/game/belt_inventory/btn_minimize_disabled.tga",
                },

                ## Real Belt Inventory Board
                {
                    "name" : "BeltInventoryBoard",
                    "type" : "board",
                    "style" : ("attach", "float"),

                    "x" : 10,
                    "y" : 0,

                    "width" : 138,
                    "height" : 139,

                    "children" :
                    (
                        ## Belt Inventory Slots
                        {
                            "name" : "BeltInventorySlot",
                            "type" : "grid_table",

                            "x" : 5,
                            "y" : 5,

                            "start_index" : item.BELT_INVENTORY_SLOT_START,
                            "x_count" : 4,
                            "y_count" : 4,
                            "x_step" : 32,
                            "y_step" : 32,

                            #"image" : "d:/ymir work/ui/public/Slot_Base.sub"
                        },
                    ),
                },
            )
        },

    ),
}
 
:b.m.z2:
Sorun çözülmüştür.

locale_tr/locale/tr/ui/inventorywindow.py den düzenlemeler yapıldı.

inventorywindow.py:
Genişlet Daralt Kopyala
import uiScriptLocale
import item
SLOT_WING = item.COSTUME_SLOT_START

EQUIPMENT_START_INDEX = 225

window = {
    "name" : "InventoryWindow",
    "x" : SCREEN_WIDTH - 176 - 38 - 72+50,
    "y" : SCREEN_HEIGHT - 37 - 565 -55,
    "style" : ("movable", "float",),
    "width" : 176+70,
    "height" : 585,
    "children" :
    (
        {
            "name" : "buttonboard",
            "type" : "board",
            "style" : ("attach",),
            "x" : 73 - 70,
            "y" : 10,
            "width" : 50,
            "height" : 260,
            "children" :
            (
            
                ## MallButton
                {
                    "name" : "MallButton",
                    "type" : "button",
                    "x" : 8,
                    "y" : 9,
                    "tooltip_x" : -45,
                    "tooltip_y" : 0,
                    "tooltip_text" : uiScriptLocale.MALL_TITLE,
                    "default_image" : "d:/ymir work/ui/game/TaskBar/Mall_Button_01.tga",
                    "over_image" : "d:/ymir work/ui/game/TaskBar/Mall_Button_02.tga",
                    "down_image" : "d:/ymir work/ui/game/TaskBar/Mall_Button_03.tga",
                },
                #CostumeButton
                {
                    "name" : "CostumeButton",
                    "type" : "button",
                    "x" : 8,
                    "y" : 9+35,
                    "tooltip_x" : -45,
                    "tooltip_y" : 0,
                    "tooltip_text" : "Kostüm ",
                    "default_image" : "costume_001.tga",
                    "over_image" : "costume_002.tga",
                    "down_image" : "costume_003.tga",
                },
                #TAMEKRAN
                {
                    "name" : "TamEkran",
                    "type" : "button",
                    "x" : 8,
                    "y" : 9+35+35,
                    "tooltip_x" : -45,
                    "tooltip_y" : 0,
                    "tooltip_text" : "Tam Ekran",
                    "default_image" : "3.tga",
                    "over_image" : "4.tga",
                    "down_image" : "3.tga",
                },
                #PETMENU
                {
                    "name" : "PetButton",
                    "type" : "button",
                    "x" : 8,
                    "y" : 9+35+35+35+35,
                    "tooltip_x" : -45,
                    "tooltip_y" : 0,
                    "tooltip_text" : "Pet Menusu",
                    "default_image" : "d:/ymir work/ui/pet_up.tga",
                    "over_image" : "d:/ymir work/ui/pet_over.tga",
                    "down_image" : "d:/ymir work/ui/pet_down.tga",
                },
                #HIZLIEKIPMAN
                {
                    "name" : "EkipmanButton",
                    "type" : "button",
                    "x" : 8,
                    "y" : 9+35+35+35,
                    "tooltip_x" : -45,
                    "tooltip_y" : 0,
                    "tooltip_text" : "Hizli Ekipman",
                    "default_image" : "d:/ymir work/ui/hzl.tga",
                    "over_image" : "d:/ymir work/ui/hzl2.tga",
                    "down_image" : "d:/ymir work/ui/hzl.tga",
                },
                #PAKET
                {
                    "name" : "PaketButton",
                    "type" : "button",
                    "x" : 8,
                    "y" : 9+35+35+35+35+35,
                    "tooltip_x" : -45,
                    "tooltip_y" : 0,
                    "tooltip_text" : "Item Paketleme Sistemi",
                    "default_image" : "d:/ymir work/ui/paket.tga",
                    "over_image" : "d:/ymir work/ui/paket1.tga",
                    "down_image" : "d:/ymir work/ui/paket.tga",
                },
                #BAR_TAKAS
                {
                    "name" : "BarButton",
                    "type" : "button",
                    "x" : 8,
                    "y" : 9+35+35+35+35+35+35,
                    "tooltip_x" : -45,
                    "tooltip_y" : 0,
                    "tooltip_text" : "Bar Takaslama Sistemi",
                    "default_image" : "d:/ymir work/ui/bar_takas.tga",
                    "over_image" : "d:/ymir work/ui/bar_takas1.tga",
                    "down_image" : "d:/ymir work/ui/bar_takas.tga",
                },
            ),
        },
        ## Inventory, Equipment Slots
        {
            "name" : "board",
            "type" : "board",
            "style" : ("attach",),

            "x" : 37+45+30 - 70,
            "y" : 0,

            "width" : 185,
            "height" : 611,

            "children" :
            (
                ## Title
                {
                    "name" : "TitleBar",
                    "type" : "titlebar",
                    "style" : ("attach",),

                    "x" : 8,
                    "y" : 7,

                    "width" : 170,
                    "color" : "yellow",

                    "children" :
                    (
                        { "name":"TitleName", "type":"text", "x":77, "y":3, "text":uiScriptLocale.INVENTORY_TITLE, "text_horizontal_align":"center" },
                    ),
                },


                ## Slot echipament
                {
                    "name" : "Gender_Equipment",
                    "type" : "image",

                    "x" : 10,
                    "y" : 33,

                    "image" : "d:/ymir work/ui/equipment_bg_with_ring.tga",

                    "children" :
                    (
                        {
                            "name" : "EquipmentSlot",
                            "type" : "slot",

                            "x" : 3,
                            "y" : 3,

                            "width" : 150,
                            "height" : 182,


                            "slot" :
                            (
                                {"index":EQUIPMENT_START_INDEX+0, "x":43, "y":37, "width":32, "height":64},
                                {"index":EQUIPMENT_START_INDEX+1, "x":43, "y":2, "width":32, "height":32},
                                {"index":EQUIPMENT_START_INDEX+2, "x":43, "y":149, "width":32, "height":32},
                                {"index":EQUIPMENT_START_INDEX+3, "x":81, "y":72, "width":32, "height":32},
                                {"index":EQUIPMENT_START_INDEX+4, "x":3, "y":3, "width":32, "height":96},
                                {"index":EQUIPMENT_START_INDEX+5, "x":120, "y":73, "width":32, "height":32},
                                {"index":EQUIPMENT_START_INDEX+6, "x":116, "y":43, "width":32, "height":32}, #Cercei
                                {"index":EQUIPMENT_START_INDEX+7, "x":7, "y":149, "width":32, "height":32},
                                {"index":EQUIPMENT_START_INDEX+8, "x":80, "y":149, "width":32, "height":32},
                                {"index":EQUIPMENT_START_INDEX+9, "x":114, "y":2, "width":32, "height":32}, #Sãgeti
                                {"index":EQUIPMENT_START_INDEX+10, "x":83, "y":44, "width":32, "height":32}, #Scut
                                {"index":item.EQUIPMENT_RING1, "x":117, "y":109, "width":32, "height":32}, #Inel special 1
                                {"index":item.EQUIPMENT_RING2, "x":118, "y":149, "width":32, "height":32}, #Inel special 2
                                {"index":item.EQUIPMENT_BELT, "x":81, "y":103, "width":32, "height":32}, #Curea
                                {"index":item.EQUIPMENT_WING, "x":80, "y":3, "width":32, "height":32},
                            ),
                        },   
                         {
                            "name" : "Equipment_Tab_01",
                            "type" : "radio_button",

                            "x" : 86,
                            "y" : 161,

                            "default_image" : "d:/ymir work/ui/game/windows/tab_button_small_01.sub",
                            "over_image" : "d:/ymir work/ui/game/windows/tab_button_small_02.sub",
                            "down_image" : "d:/ymir work/ui/game/windows/tab_button_small_03.sub",

                            "children" :
                            (
                                {
                                    "name" : "Equipment_Tab_01_Print",
                                    "type" : "text",

                                    "x" : 0,
                                    "y" : 0,

                                    "all_align" : "center",

                                    "text" : "I",
                                },
                            ),
                        },
                        {
                            "name" : "Equipment_Tab_02",
                            "type" : "radio_button",

                            "x" : 86 + 32,
                            "y" : 161,

                            "default_image" : "d:/ymir work/ui/game/windows/tab_button_small_01.sub",
                            "over_image" : "d:/ymir work/ui/game/windows/tab_button_small_02.sub",
                            "down_image" : "d:/ymir work/ui/game/windows/tab_button_small_03.sub",

                            "children" :
                            (
                                {
                                    "name" : "Equipment_Tab_02_Print",
                                    "type" : "text",

                                    "x" : 0,
                                    "y" : 0,

                                    "all_align" : "center",

                                    "text" : "II",
                                },
                            ),
                        },

                    ),
                },
                ##Inventory Board
                {
                    "name" : "inv_board",
                    "type" : "new_board",
                
                    "x" : 9,
                    "y" : 258,
                
                    "width" : 169,
                    "height" : 297,

                },
                {
                    "name" : "Inventory_Tab_01",
                    "type" : "radio_button",

                    "x" : 7,
                    "y" : 33 + 191,

                    "default_image" : "d:/ymir work/interface/tab_buttons/tab_normal.tga",
                    "over_image" : "d:/ymir work/interface/tab_buttons/tab_hover.tga",
                    "down_image" : "d:/ymir work/interface/tab_buttons/tab_active.tga",

                    "tooltip_text" : uiScriptLocale.INVENTORY_PAGE_BUTTON_TOOLTIP_1,

                    "children" :
                    (
                        {
                            "name" : "Inventory_Tab_01_Print",
                            "type" : "text",

                            "x" : 0,
                            "y" : 0,

                            "all_align" : "center",

                            "text" : "I",
                            "color" : 0xfff8d090,
                        },
                    ),
                },
                {
                    "name" : "Inventory_Tab_02",
                    "type" : "radio_button",

                    "x" : 7 + 32,
                    "y" : 33 + 191,

                    "default_image" : "d:/ymir work/interface/tab_buttons/tab_normal.tga",
                    "over_image" : "d:/ymir work/interface/tab_buttons/tab_hover.tga",
                    "down_image" : "d:/ymir work/interface/tab_buttons/tab_active.tga",

                    "tooltip_text" : uiScriptLocale.INVENTORY_PAGE_BUTTON_TOOLTIP_2,

                    "children" :
                    (
                        {
                            "name" : "Inventory_Tab_02_Print",
                            "type" : "text",

                            "x" : 0,
                            "y" : 0,

                            "all_align" : "center",

                            "text" : "II",
                            "color" : 0xfff8d090,
                        },
                    ),
                },
                {
                    "name" : "Inventory_Tab_03",
                    "type" : "radio_button",

                    "x" : 7 + 32*2,
                    "y" : 33 + 191,

                    "default_image" : "d:/ymir work/interface/tab_buttons/tab_normal.tga",
                    "over_image" : "d:/ymir work/interface/tab_buttons/tab_hover.tga",
                    "down_image" : "d:/ymir work/interface/tab_buttons/tab_active.tga",

                    "tooltip_text" : uiScriptLocale.INVENTORY_PAGE_BUTTON_TOOLTIP_3,

                    "children" :
                    (
                        {
                            "name" : "Inventory_Tab_03_Print",
                            "type" : "text",

                            "x" : 0,
                            "y" : 0,

                            "all_align" : "center",

                            "text" : "III",
                            "color" : 0xfff8d090,
                        },
                    ),
                },
                {
                    "name" : "Inventory_Tab_04",
                    "type" : "radio_button",

                    "x" : 7 + 32*3,
                    "y" : 33 + 191,

                    "default_image" : "d:/ymir work/interface/tab_buttons/tab_normal.tga",
                    "over_image" : "d:/ymir work/interface/tab_buttons/tab_hover.tga",
                    "down_image" : "d:/ymir work/interface/tab_buttons/tab_active.tga",

                    "tooltip_text" : uiScriptLocale.INVENTORY_PAGE_BUTTON_TOOLTIP_4,

                    "children" :
                    (
                        {
                            "name" : "Inventory_Tab_04_Print",
                            "type" : "text",

                            "x" : 0,
                            "y" : 0,

                            "all_align" : "center",

                            "text" : "IV",
                            "color" : 0xfff8d090,
                        },
                    ),
                },
                {
                    "name" : "Inventory_Tab_05",
                    "type" : "radio_button",

                    "x" : 7 + 32*4,
                    "y" : 33 + 191,

                    "default_image" : "d:/ymir work/interface/tab_buttons/tab_normal.tga",
                    "over_image" : "d:/ymir work/interface/tab_buttons/tab_hover.tga",
                    "down_image" : "d:/ymir work/interface/tab_buttons/tab_active.tga",

                    "tooltip_text" : uiScriptLocale.INVENTORY_PAGE_BUTTON_TOOLTIP_5,

                    "children" :
                    (
                        {
                            "name" : "Inventory_Tab_05_Print",
                            "type" : "text",

                            "x" : 0,
                            "y" : 0,

                            "all_align" : "center",

                            "text" : "V",
                            "color" : 0xfff8d090,
                        },
                    ),
                },
            
                ## Yang Board
                {
                    "name" : "Yang_board",
                    "type" : "new_board",
                
                    "x" : 9,
                    "y" : 552+5,
                
                    "width" : 169,
                    "height" : 0,
                
                },

                ## Item Slot
                {
                    "name" : "ItemSlot",
                    "type" : "grid_table",

                    "x" : 12,
                    "y" : 258+5,

                    "start_index" : 0,
                    "x_count" : 5,
                    "y_count" : 9,
                    "x_step" : 32,
                    "y_step" : 32,

                    "image" : "d:/ymir work/interface/inventory/slot.tga"
                },

                ## Print
                {
                    "name":"Money_Slot",
                    "type":"button",

                    "x":8,
                    "y":22*2,
                
                    "horizontal_align":"center",
                    "vertical_align":"bottom",
                
                    "default_image" : "d:/ymir work/interface/inventory/chenar_yang.tga",
                    "over_image" : "d:/ymir work/interface/inventory/chenar_yang.tga",
                    "down_image" : "d:/ymir work/interface/inventory/chenar_yang.tga",

                    "children" :
                    (
                    
                        {
                            "name":"Money_Icon",
                            "type":"image",

                            "x":-9*3,
                            "y":0,

                            "image":"d:/ymir work/interface/inventory/yang.tga",
                        },
                        {
                            "name" : "Money",
                            "type" : "text",

                            "x" : 4*3,
                            "y" : 6,

                            "horizontal_align" : "right",
                            "text_horizontal_align" : "right",
                            "color" : 0xfff8d090,
                            "text" : "123456789",
                        },
                    ),
                },
            ),
        },
    ),
}

Kodların tamamı incelendi. İstenilen sistemler kaldırıldı.

inventorywindow.py:
Genişlet Daralt Kopyala
import uiScriptLocale
import item
SLOT_WING = item.COSTUME_SLOT_START

EQUIPMENT_START_INDEX = 225

window = {
    "name" : "InventoryWindow",
    "x" : SCREEN_WIDTH - 176 - 38 - 72+50,
    "y" : SCREEN_HEIGHT - 37 - 565 -55,
    "style" : ("movable", "float",),
    "width" : 176+70,
    "height" : 585,
    "children" :
    (
        {
            "name" : "buttonboard",
            "type" : "board",
            "style" : ("attach",),
            "x" : 73 - 70,
            "y" : 10,
            "width" : 50,
            "height" : 260,
            "children" :
            (
            
                ## MallButton
                {
                    "name" : "MallButton",
                    "type" : "button",
                    "x" : 8,
                    "y" : 9,
                    "tooltip_x" : -45,
                    "tooltip_y" : 0,
                    "tooltip_text" : uiScriptLocale.MALL_TITLE,
                    "default_image" : "d:/ymir work/ui/game/TaskBar/Mall_Button_01.tga",
                    "over_image" : "d:/ymir work/ui/game/TaskBar/Mall_Button_02.tga",
                    "down_image" : "d:/ymir work/ui/game/TaskBar/Mall_Button_03.tga",
                },
                #CostumeButton
                {
                    "name" : "CostumeButton",
                    "type" : "button",
                    "x" : 8,
                    "y" : 9+35,
                    "tooltip_x" : -45,
                    "tooltip_y" : 0,
                    "tooltip_text" : "Kostüm ",
                    "default_image" : "costume_001.tga",
                    "over_image" : "costume_002.tga",
                    "down_image" : "costume_003.tga",
                },
                #HIZLIEKIPMAN
                {
                    "name" : "EkipmanButton",
                    "type" : "button",
                    "x" : 8,
                    "y" : 9+35+35,
                    "tooltip_x" : -45,
                    "tooltip_y" : 0,
                    "tooltip_text" : "Hizli Ekipman",
                    "default_image" : "d:/ymir work/ui/hzl.tga",
                    "over_image" : "d:/ymir work/ui/hzl2.tga",
                    "down_image" : "d:/ymir work/ui/hzl.tga",
                },
            ),
        },
        ## Inventory, Equipment Slots
        {
            "name" : "board",
            "type" : "board",
            "style" : ("attach",),

            "x" : 37+45+30 - 70,
            "y" : 0,

            "width" : 185,
            "height" : 611,

            "children" :
            (
                ## Title
                {
                    "name" : "TitleBar",
                    "type" : "titlebar",
                    "style" : ("attach",),

                    "x" : 8,
                    "y" : 7,

                    "width" : 170,
                    "color" : "yellow",

                    "children" :
                    (
                        { "name":"TitleName", "type":"text", "x":77, "y":3, "text":uiScriptLocale.INVENTORY_TITLE, "text_horizontal_align":"center" },
                    ),
                },


                ## Slot echipament
                {
                    "name" : "Gender_Equipment",
                    "type" : "image",

                    "x" : 10,
                    "y" : 33,

                    "image" : "d:/ymir work/ui/equipment_bg_with_ring.tga",

                    "children" :
                    (
                        {
                            "name" : "EquipmentSlot",
                            "type" : "slot",

                            "x" : 3,
                            "y" : 3,

                            "width" : 150,
                            "height" : 182,


                            "slot" :
                            (
                                {"index":EQUIPMENT_START_INDEX+0, "x":43, "y":37, "width":32, "height":64},
                                {"index":EQUIPMENT_START_INDEX+1, "x":43, "y":2, "width":32, "height":32},
                                {"index":EQUIPMENT_START_INDEX+2, "x":43, "y":149, "width":32, "height":32},
                                {"index":EQUIPMENT_START_INDEX+3, "x":81, "y":72, "width":32, "height":32},
                                {"index":EQUIPMENT_START_INDEX+4, "x":3, "y":3, "width":32, "height":96},
                                {"index":EQUIPMENT_START_INDEX+5, "x":120, "y":73, "width":32, "height":32},
                                {"index":EQUIPMENT_START_INDEX+6, "x":116, "y":43, "width":32, "height":32}, #Cercei
                                {"index":EQUIPMENT_START_INDEX+7, "x":7, "y":149, "width":32, "height":32},
                                {"index":EQUIPMENT_START_INDEX+8, "x":80, "y":149, "width":32, "height":32},
                                {"index":EQUIPMENT_START_INDEX+9, "x":114, "y":2, "width":32, "height":32}, #Sãgeti
                                {"index":EQUIPMENT_START_INDEX+10, "x":83, "y":44, "width":32, "height":32}, #Scut
                                {"index":item.EQUIPMENT_RING1, "x":117, "y":109, "width":32, "height":32}, #Inel special 1
                                {"index":item.EQUIPMENT_RING2, "x":118, "y":149, "width":32, "height":32}, #Inel special 2
                                {"index":item.EQUIPMENT_BELT, "x":81, "y":103, "width":32, "height":32}, #Curea
                                {"index":item.EQUIPMENT_WING, "x":80, "y":3, "width":32, "height":32},
                            ),
                        },   
                         {
                            "name" : "Equipment_Tab_01",
                            "type" : "radio_button",

                            "x" : 86,
                            "y" : 161,

                            "default_image" : "d:/ymir work/ui/game/windows/tab_button_small_01.sub",
                            "over_image" : "d:/ymir work/ui/game/windows/tab_button_small_02.sub",
                            "down_image" : "d:/ymir work/ui/game/windows/tab_button_small_03.sub",

                            "children" :
                            (
                                {
                                    "name" : "Equipment_Tab_01_Print",
                                    "type" : "text",

                                    "x" : 0,
                                    "y" : 0,

                                    "all_align" : "center",

                                    "text" : "I",
                                },
                            ),
                        },
                        {
                            "name" : "Equipment_Tab_02",
                            "type" : "radio_button",

                            "x" : 86 + 32,
                            "y" : 161,

                            "default_image" : "d:/ymir work/ui/game/windows/tab_button_small_01.sub",
                            "over_image" : "d:/ymir work/ui/game/windows/tab_button_small_02.sub",
                            "down_image" : "d:/ymir work/ui/game/windows/tab_button_small_03.sub",

                            "children" :
                            (
                                {
                                    "name" : "Equipment_Tab_02_Print",
                                    "type" : "text",

                                    "x" : 0,
                                    "y" : 0,

                                    "all_align" : "center",

                                    "text" : "II",
                                },
                            ),
                        },

                    ),
                },
                ##Inventory Board
                {
                    "name" : "inv_board",
                    "type" : "new_board",
                
                    "x" : 9,
                    "y" : 258,
                
                    "width" : 169,
                    "height" : 297,

                },
                {
                    "name" : "Inventory_Tab_01",
                    "type" : "radio_button",

                    "x" : 7,
                    "y" : 33 + 191,

                    "default_image" : "d:/ymir work/interface/tab_buttons/tab_normal.tga",
                    "over_image" : "d:/ymir work/interface/tab_buttons/tab_hover.tga",
                    "down_image" : "d:/ymir work/interface/tab_buttons/tab_active.tga",

                    "tooltip_text" : uiScriptLocale.INVENTORY_PAGE_BUTTON_TOOLTIP_1,

                    "children" :
                    (
                        {
                            "name" : "Inventory_Tab_01_Print",
                            "type" : "text",

                            "x" : 0,
                            "y" : 0,

                            "all_align" : "center",

                            "text" : "I",
                            "color" : 0xfff8d090,
                        },
                    ),
                },
                {
                    "name" : "Inventory_Tab_02",
                    "type" : "radio_button",

                    "x" : 7 + 32,
                    "y" : 33 + 191,

                    "default_image" : "d:/ymir work/interface/tab_buttons/tab_normal.tga",
                    "over_image" : "d:/ymir work/interface/tab_buttons/tab_hover.tga",
                    "down_image" : "d:/ymir work/interface/tab_buttons/tab_active.tga",

                    "tooltip_text" : uiScriptLocale.INVENTORY_PAGE_BUTTON_TOOLTIP_2,

                    "children" :
                    (
                        {
                            "name" : "Inventory_Tab_02_Print",
                            "type" : "text",

                            "x" : 0,
                            "y" : 0,

                            "all_align" : "center",

                            "text" : "II",
                            "color" : 0xfff8d090,
                        },
                    ),
                },
                {
                    "name" : "Inventory_Tab_03",
                    "type" : "radio_button",

                    "x" : 7 + 32*2,
                    "y" : 33 + 191,

                    "default_image" : "d:/ymir work/interface/tab_buttons/tab_normal.tga",
                    "over_image" : "d:/ymir work/interface/tab_buttons/tab_hover.tga",
                    "down_image" : "d:/ymir work/interface/tab_buttons/tab_active.tga",

                    "tooltip_text" : uiScriptLocale.INVENTORY_PAGE_BUTTON_TOOLTIP_3,

                    "children" :
                    (
                        {
                            "name" : "Inventory_Tab_03_Print",
                            "type" : "text",

                            "x" : 0,
                            "y" : 0,

                            "all_align" : "center",

                            "text" : "III",
                            "color" : 0xfff8d090,
                        },
                    ),
                },
                {
                    "name" : "Inventory_Tab_04",
                    "type" : "radio_button",

                    "x" : 7 + 32*3,
                    "y" : 33 + 191,

                    "default_image" : "d:/ymir work/interface/tab_buttons/tab_normal.tga",
                    "over_image" : "d:/ymir work/interface/tab_buttons/tab_hover.tga",
                    "down_image" : "d:/ymir work/interface/tab_buttons/tab_active.tga",

                    "tooltip_text" : uiScriptLocale.INVENTORY_PAGE_BUTTON_TOOLTIP_4,

                    "children" :
                    (
                        {
                            "name" : "Inventory_Tab_04_Print",
                            "type" : "text",

                            "x" : 0,
                            "y" : 0,

                            "all_align" : "center",

                            "text" : "IV",
                            "color" : 0xfff8d090,
                        },
                    ),
                },
                {
                    "name" : "Inventory_Tab_05",
                    "type" : "radio_button",

                    "x" : 7 + 32*4,
                    "y" : 33 + 191,

                    "default_image" : "d:/ymir work/interface/tab_buttons/tab_normal.tga",
                    "over_image" : "d:/ymir work/interface/tab_buttons/tab_hover.tga",
                    "down_image" : "d:/ymir work/interface/tab_buttons/tab_active.tga",

                    "tooltip_text" : uiScriptLocale.INVENTORY_PAGE_BUTTON_TOOLTIP_5,

                    "children" :
                    (
                        {
                            "name" : "Inventory_Tab_05_Print",
                            "type" : "text",

                            "x" : 0,
                            "y" : 0,

                            "all_align" : "center",

                            "text" : "V",
                            "color" : 0xfff8d090,
                        },
                    ),
                },
            
                ## Yang Board
                {
                    "name" : "Yang_board",
                    "type" : "new_board",
                
                    "x" : 9,
                    "y" : 552+5,
                
                    "width" : 169,
                    "height" : 0,
                
                },

                ## Item Slot
                {
                    "name" : "ItemSlot",
                    "type" : "grid_table",

                    "x" : 12,
                    "y" : 258+5,

                    "start_index" : 0,
                    "x_count" : 5,
                    "y_count" : 9,
                    "x_step" : 32,
                    "y_step" : 32,

                    "image" : "d:/ymir work/interface/inventory/slot.tga"
                },

                ## Print
                {
                    "name":"Money_Slot",
                    "type":"button",

                    "x":8,
                    "y":22*2,
                
                    "horizontal_align":"center",
                    "vertical_align":"bottom",
                
                    "default_image" : "d:/ymir work/interface/inventory/chenar_yang.tga",
                    "over_image" : "d:/ymir work/interface/inventory/chenar_yang.tga",
                    "down_image" : "d:/ymir work/interface/inventory/chenar_yang.tga",

                    "children" :
                    (
                    
                        {
                            "name":"Money_Icon",
                            "type":"image",

                            "x":-9*3,
                            "y":0,

                            "image":"d:/ymir work/interface/inventory/yang.tga",
                        },
                        {
                            "name" : "Money",
                            "type" : "text",

                            "x" : 4*3,
                            "y" : 6,

                            "horizontal_align" : "right",
                            "text_horizontal_align" : "right",
                            "color" : 0xfff8d090,
                            "text" : "123456789",
                        },
                    ),
                },
            ),
        },
    ),
}

root/uiinventory.py dosyayı açıp sileçeğimiz sistemlerin sistem adlarını silicez.

uiinventory.py:
Genişlet Daralt Kopyala
def ClickTamEkran(self):
        constInfo.MANAGER_OPEN = 1

def ClickPetButton(self):
        import constInfo
        qid = constInfo.LOAD_QUEST_HORSE_BUTTON
        event.QuestButtonClick(qid)

def ClickBarButton(self):
        import constInfo
        qid = constInfo.LOAD_QUEST_BAR_BUTTON
        event.QuestButtonClick(qid)

def ClickPaketButton(self):
        import constInfo
        qid = constInfo.LOAD_QUEST_PAKET_BUTTON
        event.QuestButtonClick(qid)
         
if self.TamEkran:
            self.TamEkran.SetEvent(ui.__mem_func__(self.ClickTamEkran))
             
if self.paketButton:
            self.paketButton.SetEvent(ui.__mem_func__(self.ClickPaketButton))

if self.PetButton:
            self.PetButton.SetEvent(ui.__mem_func__(self.ClickPetButton))

if self.BarButton:
            self.BarButton.SetEvent(ui.__mem_func__(self.ClickBarButton))

Kodlar tek tek aratılıp silindi.

Silinen sistemler ;
  1. Bar Sistemi
  2. Pet Sistemi
  3. Paket Sistemi
  4. Tam ekran Sistemi

:mmt-resimler:

bandicam 2021-02-10 18-27-23-364.jpg
 
Son düzenleme:
Çözüm
Durum
İçerik kilitlendiği için mesaj gönderimine kapatıldı.
Geri
Üst