Jump to content

Recommended Posts

Posted

Im looking for change just the size of the "symbol.grade_X" from current to width 16 and height 16, do somebody know where is the size integer ?
i found this part but function "GetItemGradeString(Item.CrystalType)" is not inside on any class (or .uc) of Interface.u

//Grade Mark
function AddTooltipItemGrade(ItemInfo Item)
{
    local string strTmp;
    
    strTmp = GetItemGradeString(Item.CrystalType);
    if (Len(strTmp)>0)
    {
        StartItem();
        m_Info.eType = DIT_TEXT;
        m_Info.t_bDrawOneLine = true;
        m_Info.t_strText = " ";
        EndItem();
        
        StartItem();
        m_Info.eType = DIT_TEXT;
        m_Info.t_bDrawOneLine = true;
        m_Info.t_strText = "`" $ strTmp $ "`";
        EndItem();
    }
}

H5 AddTooltipItemGrade


//Grade Mark
function AddTooltipItemGrade(ItemInfo Item)
{
    local string TextureName;
    
    TextureName = GetItemGradeTextureName(Item.CrystalType);
    //debug ("TextureName" @ TextureName);
    //debug (TextureName @  Item.CrystalType @ GetItemGradeTextureName(Item.CrystalType));
    if (Len(TextureName)>0)
    {
        StartItem();
        m_Info.eType = DIT_TEXTURE;
        m_Info.nOffSetX = 2;
        m_Info.nOffSetY = 0;
        
        //S80 그레이드일 경우에 한해 아이콘 텍스쳐 크기를 2배로 늘린다.
        //debug ("텍스쳐 이름"@ Item.CrystalType );
        if (Item.CrystalType == 6 || Item.CrystalType == 7)
        {
            m_Info.u_nTextureWidth = 32;
            m_Info.u_nTextureHeight = 16;
            
            m_Info.u_nTextureUWidth = 32;
            m_Info.u_nTextureUHeight = 16;
            
            //debug (TextureName @  Item.CrystalType @ GetItemGradeTextureName(Item.CrystalType));
        }
        //기타 그레이드에 대해 아이콘 텍스쳐 크기를 세팅한다. 
        else
        {
            m_Info.u_nTextureWidth = 16;
            m_Info.u_nTextureHeight = 16;
            
            m_Info.u_nTextureUWidth = 16;
            m_Info.u_nTextureUHeight = 16;
        }
        m_Info.u_strTexture = TextureName;
        EndItem();
    }
}

 

but the:
            m_Info.u_nTextureWidth = 16;
            m_Info.u_nTextureHeight = 16;


            m_Info.u_nTextureUWidth = 16;
            m_Info.u_nTextureUHeight = 16;
not working on IL

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...