Jump to content

Orion Project - Server Files

Piciu

Add custom skill to pet

Recommended Posts

Hello, im trying to add to baby pets, Kookabura, Buffallo and Cougar summon skills like Gift of Cat Queen or Blessing of Seraphym. 1st i tried in database in npcskills i added Baby Kookabura id and skill id i want to add but it doesnt appear in action window of the pet. Then i tried to change in client side in actionname-e.dat but i don't think the line that i added is ok despite the fact is encoding the file. If someone have any suggestion or the code line for client side please help :).

Thank you in advance!

Share this post


Link to post
Share on other sites
On 12/4/2023 at 10:35 AM, Piciu said:

Hello, im trying to add to baby pets, Kookabura, Buffallo and Cougar summon skills like Gift of Cat Queen or Blessing of Seraphym. 1st i tried in database in npcskills i added Baby Kookabura id and skill id i want to add but it doesnt appear in action window of the pet. Then i tried to change in client side in actionname-e.dat but i don't think the line that i added is ok despite the fact is encoding the file. If someone have any suggestion or the code line for client side please help :).

Thank you in advance!

Hello,
First of all what you need to doΒ - add new lineΒ in actionname-e.dat file correctly. If you did this right then new icon appears.

Share this post


Link to post
Share on other sites
37 minutes ago, Vilmis said:

Hello,
First of all what you need to doΒ - add new lineΒ in actionname-e.dat file correctly. If you did this right then new icon appears.

I did that and worked, thank you.Β 

If i want to create a custom skill like blessing of queen but only available for the pet owner is that possible? Or you need to code in java source too?

Share this post


Link to post
Share on other sites
3 minutes ago, Piciu said:

I did that and worked, thank you.Β 

If i want to create a custom skill like blessing of queen but only available for the pet owner is that possible? Or you need to code in java source too?

It should be enough from client and datapack sides only.

Share this post


Link to post
Share on other sites
On 12/5/2023 at 12:50 PM, Vilmis said:

It should be enough from client and datapack sides only.

The only way to make skills to appear is to use a high number id, i used 90004. The skill appeared in my skill list but if i relog my character the skill disappears.Β 

I created a different skill using battle heal id 1015 skill id template. Same thing. If i restart my character skill dissappears. In database at characters_skills i have the skill but is missing in game.

Any suggestion what im doing wrong? Does server have any protection? I turned setting in config for checking skills on enter to false and it does not help. Thank you in advance.Β Β 

Share this post


Link to post
Share on other sites
12 minutes ago, Piciu said:

The only way to make skills to appear is to use a high number id, i used 90004. The skill appeared in my skill list but if i relog my character the skill disappears.Β 

I created a different skill using battle heal id 1015 skill id template. Same thing. If i restart my character skill dissappears. In database at characters_skills i have the skill but is missing in game.

Any suggestion what im doing wrong? Does server have any protection? I turned setting in config for checking skills on enter to false and it does not help. Thank you in advance.Β Β 

This config is false or true ->Β AltGameSkillLearn? (general.ini)
Also, there is the limit from core side which is: 9001

Share this post


Link to post
Share on other sites
8 hours ago, Vilmis said:

This config is false or true ->Β AltGameSkillLearn? (general.ini)
Also, there is the limit from core side which is: 9001

It was from core side limit. I used id 7065 for a custom skill and works.Β Β 

The only problem i have is that i can't link the 7065Β  skill to a pet. I think it needs to be linked from core side. It only let me use the default action buttons from other summons or pets. I am trying to add a custom skill to Baby Kookaburra and Baby Cougar and Baby Buffallo in pet action window, like you have on summons like Queen Cat. There is no line in actionname-e.dat that can be edited to link to 7065 skill.Β 

12781 is Baby Kookaburra pet id

1	1011	-1	5	44	12781		a,Gift of Seraphim\0	a,icon.action108\0	a,Temporarily shortens your party's spell re-use timer.\0	skill7002

Please tell my if is from java so that i can go to sleep :))))

Thank you!

Β 

Edited by Piciu

Share this post


Link to post
Share on other sites
14 hours ago, Piciu said:

It was from core side limit. I used id 7065 for a custom skill and works.Β Β 

The only problem i have is that i can't link the 7065Β  skill to a pet. I think it needs to be linked from core side. It only let me use the default action buttons from other summons or pets. I am trying to add a custom skill to Baby Kookaburra and Baby Cougar and Baby Buffallo in pet action window, like you have on summons like Queen Cat. There is no line in actionname-e.dat that can be edited to link to 7065 skill.Β 

12781 is Baby Kookaburra pet id


1	1011	-1	5	44	12781		a,Gift of Seraphim\0	a,icon.action108\0	a,Temporarily shortens your party's spell re-use timer.\0	skill7002

Please tell my if is from java so that i can go to sleep :))))

Thank you!

Β 

Look, it's easy to add, but it needs core support. Add these 2 lines to bottom of actionname-e.dat:
acionname-e.txt



Β 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


Γ—