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

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

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.