Jump to content
  • 0

Change Trans Job appearance to 3rd job Appearance


Zeiyan

Question


  • Group:  Members
  • Topic Count:  49
  • Topics Per Day:  0.01
  • Content Count:  275
  • Reputation:   23
  • Joined:  01/06/13
  • Last Seen:  

Good day rathena I already tried the search button but i cant seem to find a script for this.

 

I would like to request an NPC that let's players Change their appearance from trans job to 3rd job and vice versa for a price (preferably item because i use item as currency on my server) 

 

I disabled 3rd jobs on my server but some players like 3rd job sprites and others don't so i thought i would put an npc that let's you change your appearance from trans to 3rd job. I hope i made a clear description on my request if there's another topic about this please let me know. 

Link to comment
Share on other sites

5 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1130
  • Joined:  05/27/12
  • Last Seen:  

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

changebase Job_Novice; // Changes player to Novice sprite.

changebase Class; // Changes player back to default sprite.

To make it permanent, set a permanent character variable and execute the command OnPCLoginEvent. I'd suggest making an item to do this instead (either equipment or non-consumed usable).
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  49
  • Topics Per Day:  0.01
  • Content Count:  275
  • Reputation:   23
  • Joined:  01/06/13
  • Last Seen:  

ill try it out :) thanks for the response



okay im working out the script i might try to post it here once i finish it. ahmm, im kind of new to this so can i ask how to set it permanent?

 

Im sorry but when i used 

 

changebase Job_Novice; // Changes player to Novice sprite.
changebase Class; // Changes player back to default sprite.

 

skills went missing and 3rd job skills were added.

 

nevermind :) turns out they just appear but players wont be able to put skill points on 3rd job skills and some trans job just moved to "misc" tab


 

-	script	appearance_npc	-1,{

OnPCLoginEvent:
if ((appearance_npc) == 1)
{

if(Class == 4008)
{
changebase 4054;
}

else if(Class == 4009)
{
changebase 4057;
}

else if(Class == 4010)
{
changebase 4055;
}

else if(Class == 4011)
{
changebase 4058;
}

else if(Class == 4012)
{
changebase 4056;
}

else if(Class == 4013)
{
changebase 4059;
}

else if(Class == 4015)
{
changebase 4066;
}

else if(Class == 4016)
{
changebase 4070;
}

else if(Class == 4017)
{
changebase 4067;
}

else if(Class == 4018)
{
changebase 4072;
}

else if(Class == 4019)
{
changebase 4071;
}

else if(Class == 4020)
{
changebase 4068;
}

else if(Class == 4021)
{
changebase 4069;
}
else

end;
}
}

// Change Appearance
prontera,173,179,4	script	Appearance Changer	567,{


if ((appearance_npc) == 1)
{
mes "[Appearance Changer]";
mes "Would you like to revert your appearance for free?";
next;
mes "[Appearance Changer]";
mes "Remember you will have to pay again next time you want to change appearance.";
next;
switch(select("Yes please.:No."))
{
Case 1:
next;
changebase Class;
set appearance_npc, 0;
next;
mes "[Appearance Changer]";
mes "There you go!";
close;

Case 2:
next;
mes "[Appearance Changer]";
mes "Comeback if you change your mind!";
close;
}
}

mes "[Appearance Changer]";
mes "Hello";
mes "I can change your appearance for 100 Oreo Credits";
next;
mes "[Appearance Changer]";
mes "What do you think?";
mes "Do you want to change appearance?";
next;
switch(select("Alright sure.:No thanks.")) {
Case 1:

if (countitem(29999)>99){
next;

if(Class == 4008)
{
changebase 4054;
next;
delitem 29999,100;
set appearance_npc, 1;
mes "[Appearance Changer]";
mes "Damn you look good!";
close;
}

else if(Class == 4009)
{
changebase 4057;
next;
delitem 29999,100;
set appearance_npc, 1;
mes "[Appearance Changer]";
mes "Damn you look good!";
close;
}

else if(Class == 4010)
{
changebase 4055;
next;
delitem 29999,100;
set appearance_npc, 1;
mes "[Appearance Changer]";
mes "Damn you look good!";
close;
}

else if(Class == 4011)
{
changebase 4058;
next;
delitem 29999,100;
set appearance_npc, 1;
mes "[Appearance Changer]";
mes "Damn you look good!";
close;
}

else if(Class == 4012)
{
changebase 4056;
next;
delitem 29999,100;
set appearance_npc, 1;
mes "[Appearance Changer]";
mes "Damn you look good!";
close;
}

else if(Class == 4013)
{
changebase 4059;
next;
delitem 29999,100;
set appearance_npc, 1;
mes "[Appearance Changer]";
mes "Damn you look good!";
close;
}

else if(Class == 4015)
{
changebase 4066;
next;
delitem 29999,100;
set appearance_npc, 1;
mes "[Appearance Changer]";
mes "Damn you look good!";
close;
}

else if(Class == 4016)
{
changebase 4070;
next;
delitem 29999,100;
set appearance_npc, 1;
mes "[Appearance Changer]";
mes "Damn you look good!";
close;
}

else if(Class == 4067)
{
changebase 4074;
next;
delitem 29999,100;
set appearance_npc, 1;
mes "[Appearance Changer]";
mes "Damn you look good!";
close;
}

else if(Class == 4018)
{
changebase 4072;
next;
delitem 29999,100;
set appearance_npc, 1;
mes "[Appearance Changer]";
mes "Damn you look good!";
close;
}

else if(Class == 4019)
{
changebase 4071;
next;
delitem 29999,100;
set appearance_npc, 1;
mes "[Appearance Changer]";
mes "Damn you look good!";
close;
}

else if(Class == 4020)
{
changebase 4068;
next;
delitem 29999,100;
set appearance_npc, 1;
mes "[Appearance Changer]";
mes "Damn you look good!";
close;
}

else if(Class == 4021)
{
changebase 4069;
next;
delitem 29999,100;
set appearance_npc, 1;
mes "[Appearance Changer]";
mes "Damn you look good!";
close;
}

else
{
mes "[Appearance Changer]";
mes "Sorry you are not allowed to change your appearance";
close;
}
}
else
{
mes "[Appearance Changer]";
mes "You do not have enough Oreo credits!";
close;
}
Case 2:
mes "[Appearance Changer]";
mes "Okay comeback if you change your mind!";
close;
}
}
 

 

Here's the code i made. It's actually my first code from scratch so i hope nobody judge :) i just want help on making Rune knight show mount (Royal guard is showing mount) thankyou!

 

 

 

 

EDIT: Everything is working fine except for  RK does not show mount.

Edited by ZeiyanRO
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1130
  • Joined:  05/27/12
  • Last Seen:  

A little trick, you can use 'eaclass' commands to save yourself a lot of work:

set .@job, roclass(eaclass()|EAJL_THIRD);
if (.@job)
	changebase .@job;
That line will work for all classes; read more about it in trunk/doc/ea_job_system.txt.

Not sure about the mounts.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  49
  • Topics Per Day:  0.01
  • Content Count:  275
  • Reputation:   23
  • Joined:  01/06/13
  • Last Seen:  

a little help please. you see if they reset their skills through reset npc. skill points can't be added to the trans job skills that were moved to the misc tab of skill window. but it can be obtained through command @skillall

Edited by ZeiyanRO
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  62
  • Reputation:   1
  • Joined:  10/09/13
  • Last Seen:  

A little trick, you can use 'eaclass' commands to save yourself a lot of work:

set .@job, roclass(eaclass()|EAJL_THIRD);
if (.@job)
	changebase .@job;
That line will work for all classes; read more about it in trunk/doc/ea_job_system.txt.

Not sure about the mounts.

 

 

Hi Master Euphy,

 

i have this code of yours, 

{},{ changebase roclass(eaclass()|EAJL_THIRD); },{ changebase Class; }

i tested this on the other class and its working fine, it can change Lord Knight to Rune Knight.

 

but on the other hand, i tested this on Ninja to become Kagerou or Oboro but it doesnt work.

Link to comment
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.   Paste as plain text instead

  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.

×
×
  • Create New...