Jump to content
  • 0
Sign in to follow this  
luizragna

Only Star Gladiator can fly

Question

Hello guys! I'm creating a custom skill that can others jobs can fly.

But first, i'm edditing the skill "Union of the Sun Moon and Stars" (SG_FUSION)

doc/script_commands.txt:

0x008000 Option_Flying

When i execute the script command:

setoption(0x008000);

The character look changes to Star Gladiator flying.

I tried change the SA sprite to kagerou sprite: (And he works :D)

screen_Hercules017.jpg

 

But when i change to other job, he don't work :/

src/map/pc.h:

	if (type&OPTION_FLYING && !(p_type&OPTION_FLYING))
	{
		//new_look = JOB_STAR_GLADIATOR2; //The original
		new_look = JOB_ROYAL_GUARD; //My change
	}

He changed to RG look, but not fly :/

Edited by luizragna

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

I remember this is client issue though, correct me if I'm wrong ....
because I remember I read this topic/article before ....
it just like all those Job_Knight2/Job_Crusader2 is actually tell the client
sprite change from Job_Knight which is setmount MOUNT_NONE; into Job_Knight2 which is setmount MOUNT_PECO;

so its the same if you want to make other jobs that can mount pecopeco, has to make more custom job like example Job_Novice2 ... etc etc
Note the difference between Job_Star_Gladiator and Job_Star_Gladiator2

so yeah, the only way is to client hexing ...
erm ... Good luck ~

Share this post


Link to post
Share on other sites
  • 0
59 minutes ago, AnnieRuru said:

I remember this is client issue though, correct me if I'm wrong ....
because I remember I read this topic/article before ....
it just like all those Job_Knight2/Job_Crusader2 is actually tell the client
sprite change from Job_Knight which is setmount MOUNT_NONE; into Job_Knight2 which is setmount MOUNT_PECO;

so its the same if you want to make other jobs that can mount pecopeco, has to make more custom job like example Job_Novice2 ... etc etc
Note the difference between Job_Star_Gladiator and Job_Star_Gladiator2

so yeah, the only way is to client hexing ...
erm ... Good luck ~

 

It was as I imagined, for I searched everywhere.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.