Jump to content
  • 0

How to add Custom Mobs?


Question

Posted (edited)

Hello, I've been trying to search on how to add Custom Mobs but most (if not all) of them links to https://github.com/rathena/rathena/wiki/Custom-Mobs.

I've checked it and it's only showing me Client side and SFX stuff. I want to know how exactly how to add monsters. A Step-by-step guide would be appreciated.

 

EDIT: I followed this guide perfectly even tho it's in a different language. But when I summon the monster, the sprite is the same as Horn instead of the new one. Also, anyone know how to put skills on custom mobs?

 

Edited by Pink Guy

7 answers to this question

Recommended Posts

  • 1
Posted

If you search through npcidentity.lub, you'll find that ID 2800 belongs to Horn's sprite. You should change your custom ID to something that does not yet exist. My own lub is rather outdated so I'm not able to give you an exact free/unused ID, but I'm *guessing* some should be free in the range of 3500. 

Once you've changed the ID, search for JT_MONSTER_LAST in the same file and increase it to a higher value (i.e 3600). After, adjust your mob_db to correspond with the new ID.

Your jobname.lub looks fine and if I'm not mistaken, jobidentity.lub need not even be edited. Good luck!

  • 0
Posted
On 2/2/2018 at 4:24 PM, Pink Guy said:

Hello, I've been trying to search on how to add Custom Mobs but most (if not all) of them links to https://github.com/rathena/rathena/wiki/Custom-Mobs.

I've checked it and it's only showing me Client side and SFX stuff. I want to know how exactly how to add monsters. A Step-by-step guide would be appreciated.

 

EDIT: I followed this guide perfectly even tho it's in a different language. But when I summon the monster, the sprite is the same as Horn instead of the new one. Also, anyone know how to put skills on custom mobs?

 

you might need to change mob sprite_name as you assigned in jobname.lub and recheck the spriteid in jobidentity.lub

  • 0
Posted
9 minutes ago, Cyro said:

you might need to change mob sprite_name as you assigned in jobname.lub and recheck the spriteid in jobidentity.lub

Here's what I have so far. 

jobidentity.lub

JT_FAHRROS = 25019,

jobname.lub

  [jobtbl.JT_FAHRROS] = "fahrros",

npcidentity.lub

  JT_FAHRROS = 10179,

mob_db.txt 

2800,fahrros,Fahrros,Fahrros,99,8388607,0,3600000,3000000,2,15000,18000,29,65,140,160,30,250,180,40,10,12,2,6,87,0x6283695,100,576,540,432,1800000,607,5500,617,5000,617,5000,5808,1000,2374,5000,2375,5000,2433,5000,7799,9000,7798,9000,0,0,0,0,0,0,0,0

 

  • 0
Posted (edited)
On 2/5/2018 at 4:09 AM, Najara said:

If you search through npcidentity.lub, you'll find that ID 2800 belongs to Horn's sprite. You should change your custom ID to something that does not yet exist. My own lub is rather outdated so I'm not able to give you an exact free/unused ID, but I'm *guessing* some should be free in the range of 3500. 

Once you've changed the ID, search for JT_MONSTER_LAST in the same file and increase it to a higher value (i.e 3600). After, adjust your mob_db to correspond with the new ID.

Your jobname.lub looks fine and if I'm not mistaken, jobidentity.lub need not even be edited. Good luck!

I see, that's why the appearance of the monster is Horn! Thank you for your help, I'll test it later when I get home. I appreciate your help!

EDIT: It worked! Btw, do you happen to know how to put skills into my monster?

Edited by Pink Guy

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