deborah Posted August 18, 2024 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 12 Reputation: 0 Joined: 05/23/12 Last Seen: Sunday at 06:53 PM Share Posted August 18, 2024 (edited) 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 August 18, 2024 by deborah Quote Link to comment Share on other sites More sharing options...
Question
deborah
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
Link to comment
Share on other sites
0 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.