Jump to content
  • 0
Sign in to follow this  
Aurora

Adding custom NPC sprite

Question

Okay, so what I have done so far is put the respective details on JobName.lub and NPCIdentity.lub. I am having an error

	JT_4_INVOKER = 658,	JT_4_PUDGE = 659,	JT_4_RYLAI = 660,	JT_4_RUBICK = 661,	JT_4_SHADOWFIEND = 662,	JT_4_FURION = 663,	JT_4_MAGINA = 664,	JT_4_OMNIKNIGHT = 665,	JT_4_EZALOR = 666
        [jobtbl.JT_INVOKER] = "INVOKER",	[jobtbl.JT_PUDGE] = "PUDGE",	[jobtbl.JT_RYLAI] = "RYLAI",	[jobtbl.JT_RUBICK] = "RUBICK",	[jobtbl.JT_SHADOWFIEND] = "SHADOWFIEND",	[jobtbl.JT_FURION] = "FURION",	[jobtbl.JT_MAGINA] = "MAGINA",	[jobtbl.JT_OMNIKNIGHT] = "OMNIKNIGHT",	[jobtbl.JT_EZALOR] = "EZALOR"

What did I miss?

Share this post


Link to post
Share on other sites

5 answers to this question

Recommended Posts

  • 0

what kind of error you got ?

 

 

and be sure too add your custom NPC into the const.txt file 

Edited by ossi0110

Share this post


Link to post
Share on other sites
  • 0

You need to add the SPR Name in const.txt (server side) if use a free ID (i.e.: 19998) and, if necessary, increase the id limit in source.

Share this post


Link to post
Share on other sites
  • 0

Just compare the first line of each:

JT_INVOKERJT_4_INVOKER

See what I'm talking about?

Oopsie. Didn't notice that. Thanks.

 

 

You need to add the SPR Name in const.txt (server side) if use a free ID (i.e.: 19998) and, if necessary, increase the id limit in source.

^Where in src can I increase the id limit of npc? Thanks!

 

NPCIdentity.lub

        JT_INVOKER = 19998,	JT_PUDGE = 19999,	JT_RYLAI = 20000,	JT_RUBICK = 20001,	JT_SHADOWFIEND = 20002,	JT_FURION = 20003,	JT_MAGINA = 20004,	JT_OMNIKNIGHT = 20005,	JT_EZALOR = 20006

Jobname.lub

        [jobtbl.JT_INVOKER] = "INVOKER",	[jobtbl.JT_PUDGE] = "PUDGE",	[jobtbl.JT_RYLAI] = "RYLAI",	[jobtbl.JT_RUBICK] = "RUBICK",	[jobtbl.JT_SHADOWFIEND] = "SHADOWFIEND",	[jobtbl.JT_FURION] = "FURION",	[jobtbl.JT_MAGINA] = "MAGINA",	[jobtbl.JT_OMNIKNIGHT] = "OMNIKNIGHT",	[jobtbl.JT_EZALOR] = "EZALOR"

const.txt

INVOKER	19998PUDGE	19999RYLAI	20000RUBICK	20001SHADOWFIEND	20002FURION	20003MAGINA	20004OMNIKNIGHT	20005EZALOR	20006

mapserver.bat

 

NPCSPRITE.png

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.