kerbiii 5 Posted December 13, 2013 (edited) 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 December 13, 2013 by kerbiii Quote Share this post Link to post Share on other sites
0 Mhalicot 392 Posted December 13, 2013 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. 2 kerbiii and ShankS reacted to this Quote Share this post Link to post Share on other sites
0 kerbiii 5 Posted December 13, 2013 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? Quote Share this post Link to post Share on other sites
0 Mhalicot 392 Posted December 13, 2013 visit http://herc.ws/wiki/Custom_Items 2 ShankS and kerbiii reacted to this Quote Share this post Link to post Share on other sites
0 kerbiii 5 Posted December 14, 2013 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 Quote Share this post Link to post Share on other sites
0 Mhalicot 392 Posted December 14, 2013 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.. 1 kerbiii reacted to this Quote Share this post Link to post Share on other sites
0 kerbiii 5 Posted December 14, 2013 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! Quote Share this post Link to post Share on other sites
0 ShankS 0 Posted November 26, 2014 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 Quote Share this post Link to post Share on other sites
0 Mhalicot 392 Posted November 27, 2014 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 1 ShankS reacted to this Quote Share this post Link to post Share on other sites
0 ShankS 0 Posted November 27, 2014 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 Quote Share this post Link to post Share on other sites
0 Mhalicot 392 Posted November 28, 2014 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. Quote Share this post Link to post Share on other sites
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 kerbiiiShare this post
Link to post
Share on other sites