R> Costume Job Sprite

kerbiii

New member
Messages
342
Points
0
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

 
Last edited by a moderator:
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:
Code:
	OnEquipScript: <" changebase Job_Novice; "> // Changes player to Novice sprite.	OnUnequipScript: <" changebase Class; "> // Changes player back to default sprite.
 
Last edited by a moderator:
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?

 
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

 
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.. 

 
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

 
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

 
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

 
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.

 
Back
Top