Jump to content
  • 0

Any tutorial on how to add npcs with npcpos.txt (L2OFF)?


Question

Posted

Hello everyone, I hope you are having a good day, I tell you my problem, I'm adding the buffers in my server but they do not appear because I did not put the territory, honestly I can not find tutorials l2off explaining how to configure the spawn of the npc, time, days, etc..

I leave you the code I have made to spawn 5 buffers in Giran, but they do not appear.


 

npc_begin    [buffer_npc]    pos={83084;147906;-3464;32768}    total=1    respawn=1min    npc_end
npcmaker_end
npc_begin    [buffer_npc]    pos={83077;148394;-3464;32768}    total=1    respawn=1min    npc_end
npcmaker_end
npc_begin    [buffer_npc]    pos={83083;148394;-3464;32768}    total=1    respawn=1min    npc_end
npcmaker_end
npc_begin    [buffer_npc]    pos={83080;149322;-3464;32768}    total=1    respawn=1min    npc_end
npcmaker_end

 

Someone could explain or send me tutorials so I can learn

2 answers to this question

Recommended Posts

  • 0
Posted (edited)

you need make a territory_begin/territory_end

then make a npcmaker_begin/npcmaker_end

and in npcmaker you can add your own npcs...check npcpos.txt you will find some like this:

 

territory_begin    [elitezone]    {{-16570;209381;-3684;-3364};{-16370;209381;-3684;-3364};{-16370;209581;-3684;-3364};{-16570;209581;-3684;-3364}}    territory_end
npcmaker_begin    [elitezone]    initial_spawn=all    maximum_npc=1
npc_begin    [kc_orc_captain]    pos={-16470;209481;-3664;49152}    total=1    respawn=1min    npc_end
npcmaker_end

Edited by sandeagle

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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