Jump to content
  • 0

Spawn mobs. Where can I get a full guide?


aleph075

Question


  • Group:  Members
  • Topic Count:  23
  • Topics Per Day:  0.35
  • Content Count:  49
  • Reputation:   0
  • Joined:  04/10/24
  • Last Seen:  

.@map$        = instance_mapname("orcsdun02");
    .@label$      = instance_npcname(strnpcinfo(0))+"::OnMyMobDead";
    .@label_boss$ = instance_npcname(strnpcinfo(0))+"::OnMyBossDead";
    monster .@map$,0,0,"Huge Poring",1002,20,.@label$,2;
    monster .@map$,0,0,"Huge Drops",1113,15,.@label$,2;
    monster .@map$,0,0,"Huge Poporing",1031,10,.@label$,2;
    monster .@map$,0,0,"Huge Marin",1242,10,.@label$,2;
    monster .@map$,0,0,"Tiny Zombie",1015,30,.@label$,1;
    monster .@map$,0,0,"Huge Mime Monkey",1585,2,.@label$,2;
    monster .@map$,97,102,"Treasure Chest",1732,1,.@label_boss$,2;
    end;

Hi all! I am trying to create custom instances and need to familiarize with the commands.

Where can I get a full explanation about all the commands to spawn mobs? If someone could give a hand with the next questions i am glad. Or where in the rAthena manual can I read all this commands. THX!

1) I create a orcsdun02 instance, with only ONE unique level. (Copyed the code from an example). And dunno what means .@label$,<number>, and if can I ignote it, just write nothing, it will still working?

2) What is the "boss label". How to use it?

3) If i wanna an instance with multiple levels what I need?

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.01
  • Content Count:  24
  • Reputation:   4
  • Joined:  06/29/22
  • Last Seen:  

For questions 1 and 2, have you already read this? https://github.com/rathena/rathena/blob/master/doc/script_commands.txt#L6650

If so I can try to explain it in a different way, but do some testing and try to figure it out for a bit.

For an instance with multiple levels all you need is to define your extra levels as "AdditionalMaps" in the instance_db.yml: https://github.com/rathena/rathena/blob/master/db/pre-re/instance_db.yml#L37

Then there are a number of ways to warp to your next map, the most conventional being simply defining a warp on the base map that goes to a defined AdditionalMap. If you let me know how you want your level flow to look, I can give some more specific pointers here.

 

  • Upvote 1
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...