Jump to content
  • 0

About adding icon custom effect


deborah

Question


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  12
  • Reputation:   0
  • Joined:  05/23/12
  • Last Seen:  

Hi, good day! Is there anyone who can help me with how to make a custom effect icon show?

=====================

[status.hpp]

SC_VIPSTATE = 1500,

EFST_VIPSTATE = 1500,

=====================

[status.cpp]

case SC_VIPSTATE:

=====================

[script_constants.hpp]

export_constant(EFST_VIPSTATE);

export_constant(SC_VIPSTATE);

=====================

[core.hpp]

#define VIP_ENABLE

=====================

[status.yml]

  - Status: VIPSTATE
    Icon: EFST_VIPSTATE
    Flags:
      NoRemoveOnDead: true
      NoDispell: true

=====================

[item_db.yml] (script)

sc_start SC_VIPSTATE, 3600 * 1000, 0;

=====================

[lua files]

[stateiconimginfo.lub]

[EFST_IDs.EFST_VIPSTATE] = "VIPSTATE.tga",

=====================

[stateiconinfo.lub]

StateIconList[EFST_IDs.EFST_VIPSTATE] = {
    haveTimeLimit = 1,
    posTimeLimitStr = 2,
    descript = {
        { "VIP Account", COLOR_TITLE_BUFF },
        { "%s", COLOR_TIME },
        { "Activated VIP" }
    }
}

====================

[efstids.lub]

EFST_VIPSTATE = 1500,

====================

grf

[data/texture/effect]

VIPSTATE.tga

====================

 

I've already recompiled my server, and there are no errors, but the icon still isn't showing.

Please help me 🙏

 

 

 

Edited by deborah
Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   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...