[Help] Skill animation L2J 

Newbie Spellweaver
Joined
May 15, 2007
Messages
14
Reaction score
0
Hi.

I use l2j pack, version 2361

I wanted to ask for a link to a tutorial on how to change animation skills.

For example: If i want to change the necromancer death spike to a moob animation, how do i do it? what files should i edit?

Before some of you start cursing me for this threath, i want to say that i've been for the past 5 days, on every free time i had, looking in the forum for a tutorial on how to do this, i have tried the google + "ragezone" search and still haven't found what i need...

Thanks in advance
 
Last edited:
Some skills used by NPC are not visible as they have no representation in the client. To use skills that are unknown to the client because they should behave differently to skills that characters can use there [248] is the possibility to map an animation to a skill in the skill description files in XML format.

This is done by adding a variable named displayId.

An example in data/stats/skills/4001_MegaStormStrike.xml:
<?xml version="1.0" encoding="UTF-8"?>
<skill id="4001" levels="8" name="Mega Storm Strike">
<table name="#mpConsume"> 13 20 27 35 45 55 65 55 </table>
<table name="#power"> 18.0 26.0 38.0 52.0 68.0 85.0 102.0 85.0 </table>
<table name="#hitTime"> 4000 4000 4000 4000 4000 4000 4000 1000 </table>
<table name="#skillTime"> 4000 4000 4000 4000 4000 4000 4000 1000 </table>
<set name="mpConsume" val="#mpConsume"/>
<set name="power" val="#power"/>
<set name="target" val="TARGET_ONE"/>
<set name="hitTime" val="#hitTime"/>
<set name="element" val="1"/>
<set name="reuseDelay" val="8000"/>
<set name="skillTime" val="#skillTime"/>
<set name="skillType" val="MDAM"/>
<set name="isMagic" val="true"/>
<set name="operateType" val="OP_ACTIVE"/>
<set name="castRange" val="600"/>
<set name="castRange" val="600"/>
<set name="displayId" val="1177"/>
<for>
</for>
</skill>

This will show the animation of Wind Strike (id 1177) to the client, but uses the values defined in the XML for Mega Storm Strike. This skill is casted by the Krators.
 
Upvote 0
Hi again terminator23

I tried what you said and it worked but now i have a diferent problem, the caracter doesn't show the animation.

What i did was to change the necromancer's animation of the skill "death spike" id = 1148, to the overlord's animation "chill flame" id = 1100.

I know it works because i changed back to the original animation afterwords and the original animation was present but when i used the overlord's animation, the animation didin't worked, the caracter just laid still and the casting bar apeared over it's head.

I think the problem is elsewhere but don't know where and how to solve it... do you know how? can you please teach me how to do it?

Thanks in advance
 
Upvote 0
You have to use skill, whos animation for current race exists - you used Orcs animation, which has no animation on Human Mystics...
 
Upvote 0
Back