Jump to content

Can someone explain me how to add npc correctly.


Recommended Posts

So i downloaded NPC. from this topic: 

 

 

i,m using Acis on my server. There is 2 folders server side and client side. I copy client side to my L2 files and i write extra line at NPCgrp.

Server side now: There is just one file for Acis its Custom NPC.xml where i need to copy that file ? Do i need to copy all file o text from that file to somewhere? 

 

Link to comment
Share on other sites

3 hours ago, PainInTheAss said:

So i downloaded NPC. from this topic: 

 

 

i,m using Acis on my server. There is 2 folders server side and client side. I copy client side to my L2 files and i write extra line at NPCgrp.

Server side now: There is just one file for Acis its Custom NPC.xml where i need to copy that file ? Do i need to copy all file o text from that file to somewhere? 

 


-Take one random npc from npc.xml copy from start to end, paste it at the bottom of npc.xml
~> change the npc id to that you add on your npcgrp.dat ~> change radius and height ,example:
if u add an npc like human,elf,darkelf radius must be 8-12 and height 21-23 !
-Make sure that rHand and lHand are val=0  or else npc will seen like it is peeing XD

-After you do it you can reload xml in server to find the perfect radius/height.
.
IF you want to add a new monster then you need to add a line like this :
 

Spoiler

 if its mob take the gremlin as example and then you add your "ID of npc" and edit everything i example: name="name" .   tittle="fhiwhfw" .level val="80" and etc.

     <npc id="20001" name="Gremlin" title="">
        <set name="level" val="1"/>
        <set name="radius" val="10"/>
        <set name="height" val="15"/>
        <set name="rHand" val="0"/>
        <set name="lHand" val="0"/>
        <set name="type" val="Monster"/>
        <set name="exp" val="29"/>
        <set name="sp" val="2"/>
        <set name="hp" val="39.74519"/>
        <set name="mp" val="40"/>
        <set name="hpRegen" val="2"/>
        <set name="mpRegen" val="0.9"/>
        <set name="pAtk" val="8.47458"/>
        <set name="pDef" val="44.44444"/>
        <set name="mAtk" val="5.78704"/>
        <set name="mDef" val="29.5916164000214"/>
        <set name="crit" val="4"/>
        <set name="atkSpd" val="253"/>
        <set name="str" val="40"/>
        <set name="int" val="21"/>
        <set name="dex" val="30"/>
        <set name="wit" val="20"/>
        <set name="con" val="43"/>
        <set name="men" val="20"/>
        <set name="corpseTime" val="7"/>
        <set name="walkSpd" val="20"/>
        <set name="runSpd" val="50"/>
        <set name="dropHerbGroup" val="0"/>
        <ai type="DEFAULT" ssCount="0" ssRate="0" spsCount="0" spsRate="0" aggro="0" canMove="true" seedable="true"/>
        <skills>
            <skill id="4416" level="13"/>
        </skills>
    </npc>


 

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now


×
×
  • Create New...