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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and 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..

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock