Jump to content
  • 0

Toggle Animation Effect On Skill Icons


Question

Posted (edited)

Hi Guys,

 

Could you please tell me how I can add Toggle animation to a skill icon?

 

Is it done server or client side?

 

I've changed Totems to be toggle operated and now I must add toggle animation to their icons on bar.

 

Thanks

Edited by Sybar

11 answers to this question

Recommended Posts

  • 0
Posted

Hi Guys,

 

Could you please tell me how I can add Toggle animation to a skill icon?

 

Is it done server or client side?

 

I've changed Totems to be toggle operated and now I must add toggle animation to their icons on bar.

 

Thanks

post here the xml code and i will help you

  • 0
Posted

Thanks, here's the code for Hawk Spirit Totem:

	<!-- NOW A TOGLE SKILL -->	
	<skill id="425" levels="1" name="Hawk Spirit Totem">
		<set name="abnormalLvl" val="1"/>
		<set name="abnormalTime" val="300"/>
		<set name="abnormalType" val="possession"/>
		<set name="hitTime" val="2000"/>
		<set name="magicLvl" val="74"/>
		<set name="mpInitialConsume" val="50" />
		<set name="operateType" val="T"/>
		<set name="skillType" val="CONT"/>
		<set name="targetType" val="SELF"/>
		<cond msg="ONLY ONE TOTEM CAN BE USED AT ANY GIVE TIME!"><not><target active_effect_id="298" /></not></cond><!-- Cannot use with Rabbit Totem -->
		<cond msg="ONLY ONE TOTEM CAN BE USED AT ANY GIVE TIME!"><not><target active_effect_id="292" /></not></cond><!-- Cannot use with Bison Totem -->
		<cond msg="ONLY ONE TOTEM CAN BE USED AT ANY GIVE TIME!"><not><target active_effect_id="282" /></not></cond><!-- Cannot use with Puma Totem -->		
		<cond msg="ONLY ONE TOTEM CAN BE USED AT ANY GIVE TIME!"><not><target active_effect_id="109" /></not></cond><!-- Cannot use with Ogre Totem -->
		<cond msg="ONLY ONE TOTEM CAN BE USED AT ANY GIVE TIME!"><not><target active_effect_id="83" /></not></cond><!-- Cannot use with Wolf Totem -->
		<cond msg="ONLY ONE TOTEM CAN BE USED AT ANY GIVE TIME!"><not><target active_effect_id="76" /></not></cond><!-- Cannot use with Bear Totem -->		
		<for>
			<effect count="0x7fffffff" name="ManaDamOverTime" abnormalTime="5" val="25">
				<add stat="accCombat" val="6"/>
				<add stat="rCrit" val="100"/>
				<mul stat="cAtk" val="1.1"/>
			</effect>
		</for>
	</skill>
  • 0
Posted (edited)

 

Thanks, here's the code for Hawk Spirit Totem:

	<!-- NOW A TOGLE SKILL -->	
	<skill id="425" levels="1" name="Hawk Spirit Totem">
		<set name="abnormalLvl" val="1"/>
		<set name="abnormalTime" val="300"/>
		<set name="abnormalType" val="possession"/>
		<set name="hitTime" val="2000"/>
		<set name="magicLvl" val="74"/>
		<set name="mpInitialConsume" val="50" />
		<set name="operateType" val="T"/>
		<set name="skillType" val="OP_TOGGLE"/>
		<set name="targetType" val="SELF"/>
		<cond msg="ONLY ONE TOTEM CAN BE USED AT ANY GIVE TIME!"><not><target active_effect_id="298" /></not></cond><!-- Cannot use with Rabbit Totem -->
		<cond msg="ONLY ONE TOTEM CAN BE USED AT ANY GIVE TIME!"><not><target active_effect_id="292" /></not></cond><!-- Cannot use with Bison Totem -->
		<cond msg="ONLY ONE TOTEM CAN BE USED AT ANY GIVE TIME!"><not><target active_effect_id="282" /></not></cond><!-- Cannot use with Puma Totem -->		
		<cond msg="ONLY ONE TOTEM CAN BE USED AT ANY GIVE TIME!"><not><target active_effect_id="109" /></not></cond><!-- Cannot use with Ogre Totem -->
		<cond msg="ONLY ONE TOTEM CAN BE USED AT ANY GIVE TIME!"><not><target active_effect_id="83" /></not></cond><!-- Cannot use with Wolf Totem -->
		<cond msg="ONLY ONE TOTEM CAN BE USED AT ANY GIVE TIME!"><not><target active_effect_id="76" /></not></cond><!-- Cannot use with Bear Totem -->		
		<for>
			<effect count="0x7fffffff" name="ManaDamOverTime" abnormalTime="5" val="25">
				<add stat="accCombat" val="6"/>
				<add stat="rCrit" val="100"/>
				<mul stat="cAtk" val="1.1"/>
			</effect>
		</for>
	</skill>

ehh try that please<set name="skillType" val="OP_TOGGLE"/>

Edited by Kelrzher
  • 0
Posted

Unfortunately it didn't work... Soul Cry (below) does not have any special lines in its xml but displays the effect

	<skill id="1001" levels="10" name="Soul Cry" enchantGroup1="1">
		<!-- Confirmed CT2.5 -->
		<table name="#magicLvl"> 1 14 25 35 40 48 56 60 66 72 </table>
		<table name="#mdot"> 0 0 5 10 10 10 15 15 20 20 </table>
		<table name="#mpInitialConsume"> 1 2 3 3 4 5 6 6 7 7 </table>
		<table name="#pAtk"> 4.5 14 33.5 66.5 90.5 141.5 208.5 247 310 375.5 </table>
		<table name="#ench1patk"> 418 421 424 427 430 433 436 439 442 445 448 451 454 457 460 463 466 469 472 475 478 481 484 487 490 493 496 499 502 505 </table>
		<table name="#enchMagicLvl"> 76 76 76 77 77 77 78 78 78 79 79 79 80 80 80 81 81 81 82 82 82 83 83 83 84 84 84 85 85 85 </table>
		<set name="magicLvl" val="#magicLvl" />
		<set name="mpInitialConsume" val="#mpInitialConsume" />
		<set name="operateType" val="T" />
		<set name="skillType" val="CONT" />
		<set name="targetType" val="SELF" />
		<enchant1 name="magicLvl" val="#enchMagicLvl" />
		<for>
			<effect count="0x7fffffff" name="ManaDamOverTime" abnormalTime="5" val="#mdot">
				<add stat="pAtk" val="#pAtk" />
			</effect>
		</for>
		<enchant1for>
			<effect count="0x7fffffff" name="ManaDamOverTime" abnormalTime="5" val="20">
				<add stat="pAtk" val="#ench1patk" />
			</effect>
		</enchant1for>
	</skill>
  • 0
Posted (edited)

thats hi5? well there is an xml stat / method guide as i remember on l2jdp.com

 

 

maybe take the client side of soulcry and put the totem icon with the totem ids

Edited by Kelrzher
  • 0
Posted

thats hi5? well there is an xml stat / method guide as i remember on l2jdp.com

 

 

maybe take the client side of soulcry and put the totem icon with the totem ids

 

that shine effect on the bar is done with skillgrp if i remmeber right

you can copy a existing toggle skill's lines and change the necessary parameters and see how that works

  • 0
Posted (edited)

Yup, client part most likely as well. 3rd column stands for operation_type, so edit it to 3

 

For example

7041    1    3    ...
Edited by SweeTs
  • 0
Posted

It worked, I actually had to edit 3rd and 4th column to their below values for it to work... thanks a lot for your help guys :)

 

425 1 6 3 1 4294967295 1 2 0 X 78 icon.skill0425   0 0 0 a,none\0 0 8 10 0 a,none\0
  • 0
Posted

4th row? Ohh, could be, since I checked it on Interlude, and 4th row is for mp_consume :D

 

I'm glad you made it work. Locked.

Guest
This topic is now closed to further replies.


×
×
  • Create New...

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