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

    • Hey everyone, I was wondering if anyone knows where the client loads all the .dat files. Is there some kind of manifest or list you can specify which dat files the client loads?
    • 🔥 Welcome to Lineage 2 Haruna x3 – True Classic Interlude Experience 🔥 At Haruna x3, we’re bringing back the true essence of Interlude – slow, meaningful progression where every level matters, every item has value, and PvP is real. We’re not about fast servers, pay-to-win advantages, or fake populations. Our goal is simple: create a fair, stable, and long-term server where players can enjoy real competition, strategic clan warfare, and the thrill of open-world PvP. 💎 What Makes Haruna x3 Special? x3 Rates – Perfect for steady, rewarding progression Classic Interlude Mechanics – Relive the nostalgia of Interlude Stable & Lag-Free Gameplay – Optimized for thousands of players online Fair & Balanced – No pay-to-win, every victory is earned PvP & Clan Warfare Focused – Every battle counts 🌟 Quality of Life Features to Enhance Your Experience We keep the classic feel while adding features that make the game more convenient and enjoyable, including: Shift + Click to view monster droplists Free item mail and buy/sell via Adena Daily login rewards & Stream Rewards ALT+K Skill Panel & Alt+Click buffs removal Offline shop system Captcha for security Donate Coins currency (cannot be traded, dropped, or destroyed) Classic P110 client – no custom interface 🏰 Our Philosophy We believe Lineage 2 is about the journey, not just the destination. Haruna x3 is designed for months and years of growth, not weeks. We provide a community-driven environment where honest gameplay, fair competition, and strategic teamwork are at the forefront. 🌍 Join Our Community Whether you’re a veteran of Interlude or a returning player seeking a true classic experience, Haruna x3 offers a place to fight, trade, and grow alongside dedicated players. Step into the world of Haruna x3 – where every decision matters, every fight counts, and every victory is yours to earn. Discord: https://discord.gg/7DDC9Dsxnh Website : www.l2haruna.com
    • No, the real purpose is cheating and custom  development for games.  I'm building a custom AI moderator specially for checking illegal activity and flag current topica.
    • Hello trying to edit Armorgrp_Classic.dat using L2ClientDat Editor - l2jmobius edition I can normally open a file but can't save, even can't save "clean" version of file (just open and then click save) Other files i can normally open, edit and save. but there is problem with Armorgrp_Classic.dat Anyone find solution, or other Editor for protocol 166 ?   [25/12 15:10:11] --------------------------------------- [25/12 15:10:11] Open file: Armorgrp_Classic.dat [25/12 15:10:11] File Armorgrp_Classic.dat encrypted. Lineage2Ver413 decrypt ... [25/12 15:10:11] Decrypt Armorgrp_Classic.dat file successfully by v413_encdec decrypter. [25/12 15:10:11] Read the file structure ... [25/12 15:10:11] Unpacking [L2GameDataName.dat] [25/12 15:10:11] GameDataName: Load 97534 count. [25/12 15:10:11] Completed. [25/12 15:11:32] Wrong param count for wrapper: fertheia_mesh_add, paramIndex: 1, params: {{{[LineageAccessory3.fertheia_pvp_Hrm_ad11];[None];[LineageAccessory3.fertheia_pvp_Hrm_ad11];[None];[LineageAccessory3.fertheia_pvp_Hrm_ad11;[none]};{{109;114};{0;-1};{109;114};{0;-1};{109;114}}};{[Mantleguild.kingdom.E_elmd_1_t00];[None];[Mantleguild.kingdom.E_elmd_1_t00];[None];[Mantleguild.kingdom.E_elmd_1_t00];[None]};[None]} -node: fertheia_mesh_add[WRAPPER][null][null] param: {{{[LineageAccessory3.fertheia_pvp_Hrm_ad11];[None];[LineageAccessory3.fertheia_pvp_Hrm_ad11];[None];[LineageAccessory3.fertheia_pvp_Hrm_ad11;[none]};{{109;114};{0;-1};{109;114};{0;-1};{109;114}}};{[Mantleguild.kingdom.E_elmd_1_t00];[None];[Mantleguild.kingdom.E_elmd_1_t00];[None];[Mantleguild.kingdom.E_elmd_1_t00];[None]};[None]} org.l2jmobius.xml.exceptions.PackDataException: Wrong param count for wrapper: fertheia_mesh_add, paramIndex: 1, params: {{{[LineageAccessory3.fertheia_pvp_Hrm_ad11];[None];[LineageAccessory3.fertheia_pvp_Hrm_ad11];[None];[LineageAccessory3.fertheia_pvp_Hrm_ad11;[none]};{{109;114};{0;-1};{109;114};{0;-1};{109;114}}};{[Mantleguild.kingdom.E_elmd_1_t00];[None];[Mantleguild.kingdom.E_elmd_1_t00];[None];[Mantleguild.kingdom.E_elmd_1_t00];[None]};[None]} -node: fertheia_mesh_add[WRAPPER][null][null] param: {{{[LineageAccessory3.fertheia_pvp_Hrm_ad11];[None];[LineageAccessory3.fertheia_pvp_Hrm_ad11];[None];[LineageAccessory3.fertheia_pvp_Hrm_ad11;[none]};{{109;114};{0;-1};{109;114};{0;-1};{109;114}}};{[Mantleguild.kingdom.E_elmd_1_t00];[None];[Mantleguild.kingdom.E_elmd_1_t00];[None];[Mantleguild.kingdom.E_elmd_1_t00];[None]};[None]} at org.l2jmobius.xml.DescriptorWriter.packData(DescriptorWriter.java:275) at org.l2jmobius.xml.DescriptorWriter.packData(DescriptorWriter.java:184) at org.l2jmobius.xml.DescriptorWriter.parseData(DescriptorWriter.java:100) at org.l2jmobius.actions.SaveDat.action(SaveDat.java:70) at org.l2jmobius.actions.ActionTask.doInBackground(ActionTask.java:48) at org.l2jmobius.actions.ActionTask.doInBackground(ActionTask.java:27) at java.desktop/javax.swing.SwingWorker$1.call(SwingWorker.java:303) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:328) at java.desktop/javax.swing.SwingWorker.run(SwingWorker.java:340) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1095) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:619) at java.base/java.lang.Thread.run(Thread.java:1447) [25/12 15:11:32] buff == null.  
    • Leave your contact information or write to me on Telegram @dieorditsa
  • 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