Jump to content
  • 0

how do i add special effect sprites?


Question

17 answers to this question

Recommended Posts

Posted (edited)

you don't get what i mean from the title itself  says 

"add special effect sprites"

not script @_@

 
i mean i got a custom effect sprite i wanna implement it in game

Edited by icabit
Posted (edited)

Are you talking about turning an effect in to a headgear sprite?

to answer your question its a no. 

i wanted to put custom aura in the client(which i can download from almost anywhere xD)

i will trigger them via script using @effect xD

i need it for my custom armor. :D cause im planning to make an effect while your wearing it :>

since i plan on making tiers for my armor sets. like fighters armor, warriors armor, captains armor, hero's armor

my sample is right bellow but i doesn't say anything about the tier but lets say that is the item for hero's armor

you may try it its cool(note the effect doesn't show when you turn off effect in the game- i think you already know this though xD)

item_db2

 

31100,customsample,customsample,5,5,0,10,,10,,1,0xFFFFFFFF,7,2,4,,1,1,10,{},{ callfunc "auragg"; },{ callfunc "auragg1"; }

 

create a function script

 

 
function    script    auragg    {// triggers when equipping your item
    set aura,1;
    freeloop(1);
    while (aura==1) {//reason for looping this due to players who can't see them while they load to the map. you can test it via dual log while the other one is using the item with effect. then use another character to view him @refresh or load to that map and check that character with the aura. his aura disappears if you remove the loop cause some effects just last for a second or so.
    specialeffect2 125;// see effect_list for this
    sleep2 1000;
    }
    freeloop(0);
}
 
function    script    auragg1    {// triggers when unequipping your item
    set aura,0; // this will turn off the current effect you are looping
}
Edited by icabit
Posted

I think you would get a faster response, if you post this in the "script support" section.

the script is working fine

i just need to add custom aura's in @effect T_T

i saw this specialeffectinfo2 lua's dunno how to use them though

Posted

I think you would get a faster response, if you post this in the "script support" section.

the script is working fine

i just need to add custom aura's in @effect T_T

i saw this specialeffectinfo2 lua's dunno how to use them though

which path did you see that lua file?

Posted (edited)

 

I think you would get a faster response, if you post this in the "script support" section.

the script is working fine

i just need to add custom aura's in @effect T_T

i saw this specialeffectinfo2 lua's dunno how to use them though

which path did you see that lua file?

 

Data\luafiles514\lua files\skilleffectinfo

 

sadly i don't know how to add one using it xD

 

sorry about that post supposedly "specialeffectinfo 2 lua's"

Edited by icabit
Posted

There is no way to add new effects on the client for now.

You can just build some particles on map using lua but that's all (I didn't test it, I don't know really if it's used yet).

I don't think Gravity will add them in lua, too much of them are hardcoded in the client and impossible to convert to lua (in my own opinion).

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...