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.


  • Posts

    • 📜 • Mass PVP – Craft – Progressive Server (ITEMS, ARMOR, WEAPONS, ETC) 🕹️ • Chronicles: Lineage 2 - Interlude (C6) 🛠️ • Retail status 🕒 • Server Time: GMT -3 🏙️ • Main Town: Giran ✨ • Teleportation for all Towns, Gk Global 🛡️ • NPC BUFFER - GMSHOP B-GRADE - DONATION SHOP - AUCTION MANAGER 🐉 • Epic Bosses: Chaotic Zones 🔁 • Protection respawn: 15 seconds ⏰ • Restart Server: 05:00 AM Today 💸 • RTM allowed between players (ask Staff if in doubt) 📊 SERVER RATES: • EXP: x8 • SP: x10 • Adena: x3 • Seal Stone: x3 • Drop: x3 • Spoil: x5 • Raid EXP/SP/Drop: x3 • Premium Rates: x2 🌐 Website: https://www.l2roosters.com 💬 Discord: https://discord.gg/cUyYXrfy 🔥 Join us now and forge your legacy at Roosters Gaming!
    • Hello, lovely people, how are you? I just finished compiling the L2jFrozen project Rev: 1132 (very old). I don't mind it being too old, since the project is for me and my children. (LAN/Offline) it's not meant to be put online. I want to learn and give my children more comfort when playing. And for my part, I also experiment with the game. My problem is that I don't know much about the subject. I was able to make some basic configurations to my liking and that of my children, but it never compiles or anything like that... I would really need help from you, the community... I simply want to remove all subclass restrictions, remove the restriction on "Overlord, Warsmith, and Dark Elf subclasses with White Elves and vice versa." Thank you very much in advance! Greetings, community.
    • Warriors, prepare for a new era! We are pleased to announce that on July 12, with the morning restart, Airin will be updated to Chronicle 4: Scions of Destiny. - Open Beta Testing (OBT) will begin on July 9. Everyone will be able to test the update in advance, including class mechanics, quests, and new content. - The Clan Hall Auction will take place on July 13. We’ve also prepared a traditional bonus start - details will be shared in the coming days. The full list of changes is available in the official patch notes. Thank you for your support and participation in the project. See you in Chronicle 4! The game client download will be available soon.
    • We are taking new orders. Kindly DM us on Telegram!
  • Topics

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