Jump to content
  • 0

[Solve] Adding Treasure chest gravity error.


Question

Posted (edited)

I know adding new custom mob, but if adding existing little problem, correct me if i were wrong.

i want to add 4 custom treasure chest help!

when go in game @spawn gravity error.

Clientside

npcidentity

["JT_E_TREASURE1"] = 3638,

["JT_E_TREASURE1"] = 3639,

["JT_E_TREASURE1"] = 3640,

["JT_E_TREASURE1"] = 3641,

jobname

[jobtbl.JT_E_TREASURE1] = "TREASUREBOX_2.gr2",

mob_db.txt (edit for simple view)

3638,E_TREASURE1,Treasure Chest,Treasure Chest,99,10,0,0,0,0,0,0,10,10,0,0,0,0,0,0,0,0,0,0,80,0x120,0,0,0,0,0,0,0,0,0,0,0,0,5277,5,5351,10,5332,10,5176,10,5755,10,5203,10,5277,10,5381,10,0,0,0,0);

3639,E_TREASURE1,Treasure Chest,Treasure Chest,1,10,0,0,0,0,0,0,10,10,0,0,0,0,0,0,0,0,0,0,80,0x120,0,0,0,0,0,0,0,0,0,0,0,0,7559,100,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);

3640,E_TREASURE1,Treasure Chest,Treasure Chest,1,10,0,0,0,0,0,0,10,10,0,0,0,0,0,0,0,0,0,0,80,0x120,0,0,0,0,0,0,0,0,0,0,0,0,20059,100,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);

3641,E_TREASURE1,Treasure Chest,Treasure Ches',1,10,0,0,0,0,0,0,10,10,0,0,0,0,0,0,0,0,0,0,80,0x120,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);

Edited by manabeast

2 answers to this question

Recommended Posts

Posted (edited)

Try using

[jobtbl.JT_E_TREASURE1] = "E_TREASURE1",

in jobname.

You defined the spritename "TREASUREBOX_2.gr2" but you used "E_TREASURE1" in the mob_db

Edited by HollyEnix
  • Upvote 1

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...