Jump to content

Costume Weapon Problem


Recommended Posts

Hi all, soo I put the costume weapon free version and I know this is 100% functional but I have this error.

Also when I make the sword /i 19 he gives me in the 3 inventori and dont let me to put in 1 or 2.

Thanks for your help. 

P.D: Type 28 and sub9

HQh92ui.png

 

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Solved.

lwdhp1Z.png

Solucion in subtype put 2 and type 28

And in uiscript -> costumewindows put this.

Spoiler

import uiScriptLocale
import item

COSTUME_START_INDEX = item.COSTUME_SLOT_START

window = {
    "name" : "CostumeWindow",
    "x" : SCREEN_WIDTH - 175 - 140,
    "y" : SCREEN_HEIGHT - 37 - 565,
    "style" : ("movable", "float",),
    "width" : 140,
    "height" : 180 + 47,
    "children" :
    (
        {
            "name" : "board",
            "type" : "board",
            "style" : ("attach",),
            "x" : 0,
            "y" : 0,
            "width" : 140,
            "height" : 180 + 47,
            "children" :
            (
                {
                    "name" : "TitleBar",
                    "type" : "titlebar",
                    "style" : ("attach",),
                    "x" : 6,
                    "y" : 6,
                    "width" : 130,
                    "color" : "yellow",
                    "children" :
                    (
                        { "name":"TitleName", "type":"text", "x":60, "y":3, "text":uiScriptLocale.COSTUME_WINDOW_TITLE, "text_horizontal_align":"center"},
                    ),
                },
                
                {
                    "name" : "Costume_Base",
                    "type" : "image",
                    "x" : 13,
                    "y" : 38,
                    "image" : "d:/ymir work/ui/costume_bg.dds",
                    "children" :
                    (
                        {
                            "name" : "CostumeSlot",
                            "type" : "slot",
                            "x" : 3,
                            "y" : 3,
                            "width" : 127,
                            "height" : 145,
                            "slot" : (
                                        {"index":COSTUME_START_INDEX+0, "x":61, "y":45, "width":32, "height":64},
                                        {"index":COSTUME_START_INDEX+1, "x":61, "y": 8, "width":32, "height":32},
                                        {"index":COSTUME_START_INDEX+2, "x":61, "y":125, "width":32, "height":32},
                                        {"index":COSTUME_START_INDEX+3, "x":13, "y":15, "width":32, "height":96},
                            ),
                        },
                    ),
                },
            ),
        },
    ),
}

 

Edited by Metin2 Dev
Core X - External 2 Internal
  • Metin2 Dev 1
Link to comment
Share on other sites

  • 2 months later...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.