L2JMobius

Interlude How To Create NPC?!

ZhanetL2 · 11 · 2363

Offline ZhanetL2

  • Heir
  • **
    • Posts: 23
Hello guys , today i have question where is the npc.sql or customnpc.sql or there don’t have it?! So my question it’s if i want to create new npc where i need to add it .
Thanks to everyone .
And sorry for my stupid question.


Online Skache

  • Distinguished King
  • *****
    • Posts: 825
    • l2skale.com
They are in game\data\stats\npcs

NPCs are no longer in database.



Offline ZhanetL2

  • Heir
  • **
    • Posts: 23
can you give an example ? If i  want to create merchant with id 50099 where to put it ?


Online Skache

  • Distinguished King
  • *****
    • Posts: 825
    • l2skale.com
custom folder?

Just look around how are made others and you will figure out.


Offline ZhanetL2

  • Heir
  • **
    • Posts: 23
Okey thanks for your time , have a good night and take care .


Online dramaa

  • Baron
  • *****
    • Posts: 267
    • L2Equinox
Code: [Select]
<npc id="50002" displayId="30138" type="Merchant" name="Alfiva" usingServerSideName="true" title="Silver Shop" usingServerSideTitle="true">
<status attackable="false" />
<collision>
<radius normal="8" />
<height normal="24.5" />
</collision>
</npc>
npc id="50002" - custom unused id with what you call that npc.
displayId="30138" - other npc id to give it a look, for example f you want rabbit as shop, you have to use it's id
type - for example merchant, teleporter, monster  and so on...
<collision> - you need to take those parametres of the npc you are cloning, in short you cant use those numbers randomly


Offline ZhanetL2

  • Heir
  • **
    • Posts: 23
Code: [Select]
<npc id="50002" displayId="30138" type="Merchant" name="Alfiva" usingServerSideName="true" title="Silver Shop" usingServerSideTitle="true">
<status attackable="false" />
<collision>
<radius normal="8" />
<height normal="24.5" />
</collision>
</npc>
npc id="50002" - custom unused id with what you call that npc.
displayId="30138" - other npc id to give it a look, for example f you want rabbit as shop, you have to use it's id
type - for example merchant, teleporter, monster  and so on...
<collision> - you need to take those parametres of the npc you are cloning, in short you cant use those numbers randomly



 Okey thanks for the info , it’s there any ready npc pack for l2jmobius interlude ?  Like buffer gm shop , custom gk and more?!!


Online Naker

  • Count
  • *****
    • Posts: 450
  • Coding Dreams
Check on google or use the search button 🤷🏽


Online BazookaRpm

  • Count
  • *****
    • Posts: 444
  • Lineage II - lover - Heirophant
You can search for a general GM hop and following the merchant structure, create your own NPC GM shop, for the gatekeeper replica you search in GK global, with teleport, and reuse the html according to your taste.
Atte BazooKa.RPM

Lineage II Lovers


Offline ZhanetL2

  • Heir
  • **
    • Posts: 23
Check on google or use the search button 🤷🏽

LOOOL  I didn't think of that


Online Naker

  • Count
  • *****
    • Posts: 450
  • Coding Dreams
LOOOL  I didn't think of that
Then do it...
it's not a difficult thing to do, if you can't find it, then do it.