Only Star Gladiator can fly

luizragna

New member
Messages
114
Points
0
Location
In their hearts
Emulator
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 :/

 
Last edited by a moderator:
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 ~

 
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.

 
Back
Top