Jump to content
  • 0
Sign in to follow this  
kerbiii

R> Costume Job Sprite

Question

i want to make a armor costume that when equipped your appearance will change into diferent job sprite depending on the costume your wear..

 

 

sample item is:

 

Ranger Outfit = Makes your char sprite a ranger

Warlock Outfit = makes your char sprite a warlock

Sura Outfit = same

RK Outfit = same

GX Outfit =  same

Edited by kerbiii

Share this post


Link to post
Share on other sites

10 answers to this question

Recommended Posts

  • 0

try to use

 

*changebase <job ID number>;

 
This command will change the appearance of the invoking character to that 
of a specified job class. Nothing but appearance will change.
 
Example:
	OnEquipScript: <" changebase Job_Novice; "> // Changes player to Novice sprite.	OnUnequipScript: <" changebase Class; "> // Changes player back to default sprite.

Share this post


Link to post
Share on other sites
  • 0

 

try to use

 

*changebase <job ID number>;

 
This command will change the appearance of the invoking character to that 
of a specified job class. Nothing but appearance will change.
 
Example:
	OnEquipScript: <" changebase Job_Novice; "> // Changes player to Novice sprite.	OnUnequipScript: <" changebase Class; "> // Changes player back to default sprite.

thnx will try this, btw what is the Loc: ### of costume for armor?

Share this post


Link to post
Share on other sites
  • 0

 

try to use

 

*changebase <job ID number>;

 
This command will change the appearance of the invoking character to that 
of a specified job class. Nothing but appearance will change.
 
Example:
	OnEquipScript: <" changebase Job_Novice; "> // Changes player to Novice sprite.	OnUnequipScript: <" changebase Class; "> // Changes player back to default sprite.

the script change my job, not sprite only

Share this post


Link to post
Share on other sites
  • 0

yeah it will change your sprite, and you can still use your original job skill, check your misc. tab.

 

what you see that the script change your job is just an illusion.. 

Share this post


Link to post
Share on other sites
  • 0

yeah it will change your sprite, and you can still use your original job skill, check your misc. tab.

 

what you see that the script change your job is just an illusion.. 

i see, thanks!

Share this post


Link to post
Share on other sites
  • 0

Sir how about this

 

if i wear the item named "Costume of Youth"

 

if my Job is Paladin =  //change my Current Job Sprite   to Crusader Sprite

Assasin Cross = // Assasin

Stalker = // Rouge

Champion = // Monk

 

And so on ...

 

 

in just On Custom suit  item??

 

Lemme know bro , thankyou in advance

Share this post


Link to post
Share on other sites
  • 0

Sir how about this

 

if i wear the item named "Costume of Youth"

 

if my Job is Paladin =  //change my Current Job Sprite   to Crusader Sprite

Assasin Cross = // Assasin

Stalker = // Rouge

Champion = // Monk

 

And so on ...

 

 

in just On Custom suit  item??

 

Lemme know bro , thankyou in advance

Just replace

	OnEquipScript: <" changebase Job_Novice; "> // Changes player to Novice sprite. Replace with any Job Sprite you want.	OnUnequipScript: <" changebase Class; "> // Changes player back to default sprite.

you can check all possible job in const.txt

Share this post


Link to post
Share on other sites
  • 0

 

  Id: 30138	AegisName: "Costume of Youth"	Name: "Baby Novice Suit"	Type: 5	Buy: 20	Weight: 8000	Def: 2	Slots: 1	Loc: 136	EquipLv: 94	Refine: false	OnEquipScript: <" changebase Job_Knight; ">	OnEquipScript: <" changebase Job_Priest; ">	OnEquipScript: <" changebase Job_Wizard; ">	OnEquipScript: <" changebase Job_Blacksmith; ">	OnEquipScript: <" changebase Job_Hunter; ">	OnEquipScript: <" changebase Job_Assassin; ">	OnEquipScript: <" changebase Job_Knight2; ">	OnEquipScript: <" changebase Job_Crusader; ">	OnEquipScript: <" changebase Job_Monk; ">	OnEquipScript: <" changebase Job_Sage; ">	OnEquipScript: <" changebase Job_Rogue; ">	OnEquipScript: <" changebase Job_Alchem; ">	OnEquipScript: <" changebase Job_Alchemist; ">	OnEquipScript: <" changebase Job_Bard; ">	OnEquipScript: <" changebase Job_Dancer; ">	OnEquipScript: <" changebase Job_Crusader2; ">	OnUnequipScript: <" changebase Class; "> // Changes player back to default sprite.},) 

I did this bro .. but it only change to Knight Sprite When any 2nd job wear the item

Share this post


Link to post
Share on other sites
  • 0

because you did not add proper checking for wearer's job.. you must add if statement.. for example:

if (BaseJob == Job_Knight) {		OnEquipScript: <" changebase Job_Knight; ">	} else if (BaseJob == Job_Priest) {		OnEquipScript: <" changebase Job_Priest; ">	} else if (BaseJob == Job_Wizard) {		OnEquipScript: <" changebase Job_Wizard; ">	} else if (BaseJob == Job_Blacksmith) {		OnEquipScript: <" changebase Job_Blacksmith; ">	} else if (BaseJob == Job_Hunter) {		OnEquipScript: <" changebase Job_Hunter; ">	} else if (BaseJob == Job_Assassin) {		OnEquipScript: <" changebase Job_Assassin; ">	} else if (BaseJob == Job_Crusader) {		OnEquipScript: <" changebase Job_Crusader; ">	} else if (BaseJob == Job_Monk) {		OnEquipScript: <" changebase Job_Monk; ">	} else if (BaseJob == Job_Sage) {		OnEquipScript: <" changebase Job_Sage; ">	} else if (BaseJob == Job_Rogue) {		OnEquipScript: <" changebase Job_Rogue; ">	} else if (BaseJob == Job_Alchemist) {		OnEquipScript: <" changebase Job_Alchemist; ">	} else if (BaseJob == Job_Bard) {		OnEquipScript: <" changebase Job_Bard; ">	} else if (BaseJob == Job_Dancer) {		OnEquipScript: <" changebase Job_Dancer; ">	} else end;

if the char job is Ninja, SL, SG, GS nothing will happen.

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.