Jump to content

Recommended Posts

Posted

hello my frends on this tutorial i will show you how to add Custom NPC on Tauti Server

i'm using Allengc File Editor which can be found here: Allengc File Editor

and pack L2jeuropa which can be found here: L2JEuropa Credits for FileEditor is to Allengc and for Project is to vegax987 
 

First u need to create a new file in data/xml/npc or u can use one which exist but sould have space for more npc's there id's are from 

X to 99 like for example 60000-60099 there can be found npc with id from 6000 to 60099 if u wanna npc with id 60100 u should make a new file with name 60100-60199 so now lets start edit your file:


<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE list SYSTEM "npc.dtd">
<list>
</list>

this text should be in ur file i forgot to say that we should save it at type xml: 6000-60099.xml other wise it will not work

then between this 2 lines <list> and </list> we will add your own npc wich start with code <npc> and end at this code </npc>

Example:


<npc id="60000" name="Test" title="MaxCheaters">
<set name="aggroRange" value="0"/>
<set name="ai_type" value="CharacterAI"/>
<set name="baseAtkRange" value="40"/>
<set name="baseCON" value="75"/>
<set name="baseCritRate" value="40"/>
<set name="baseDEX" value="41"/>
<set name="baseHpMax" value="4228"/>
<set name="baseHpRate" value="1.0"/>
<set name="baseHpReg" value="7.5"/>
<set name="baseINT" value="42"/>
<set name="baseMAtk" value="470"/>
<set name="baseMAtkSpd" value="333"/>
<set name="baseMDef" value="217"/>
<set name="baseMEN" value="20"/>
<set name="baseMpMax" value="1345.8"/>
<set name="baseMpReg" value="2.7"/>
<set name="basePAtk" value="689"/>
<set name="basePAtkSpd" value="253"/>
<set name="basePDef" value="296"/>
<set name="baseRunSpd" value="120"/>
<set name="baseSTR" value="78"/>
<set name="baseShldDef" value="0"/>
<set name="baseShldRate" value="0"/>
<set name="baseWIT" value="78"/>
<set name="baseWalkSpd" value="50"/>
<set name="castle_id" value="1"/>
<set name="collision_radius" value="40.0"/>
<set name="collision_height" value="26.0"/>
<set name="level" value="70"/>
<set name="rewardExp" value="0"/>
<set name="rewardRp" value="0"/>
<set name="rewardSp" value="0"/>
<set name="shots" value="NONE"/>
<set name="type" value="Merchant"/>
<skills>
<skill id="4416" level="18"/> <!--Dwarves-->
</skills>
<attributes>
<defence attribute="fire" value="150"/>
<defence attribute="water" value="150"/>
<defence attribute="wind" value="150"/>
<defence attribute="earth" value="150"/>
<defence attribute="holy" value="150"/>
<defence attribute="unholy" value="150"/>
</attributes>
</npc>

<npc id="60000" name="Test" title="MaxCheaters">

this is our first line there is npc's ID name and title 

and we should make how we want this is our first npc and id should be first one

if ur file name is 5000-5099 npc id would be 5000 like for first one 

then you change the name which will show in game and title 

 

then we have to change our

<set name="collision_radius" value="40.0"/>
<set name="collision_height" value="26.0"/>
 
this 2 lines have to be exacly same as our tamplate which we are using if they are not same
npc cloud be at air or even worse intro ground its look ugly :D
when radius and height are same ur npc will be at ground normal how to have to be :P
 
now we have to select npc type
<set name="type" value="Merchant"/>
it can be any type Monster/Teleporter i don't know all types here u have to check then by ur self at this xml fails u can find every thing 
this is most importnant things for server side 
 
now we have to make some changes at client side becouse there too much diffrence from server to server
before there was navicat u put ur npc inside make 1-2 htm fails and u are done but now its bit harder u need 
file editor from Allengc which i'm using u can find link for it at the top of topic then u need to open 
npcgrp.dat then find ur template line/id copy whole line and put it at the end and do not forgot to remove 
all empty spaces there should be no any empty space after line becouse file editor will give you error 
like for example:

60000 LineageMonster7.orbis_arena_beast LineageMonsters7.orbis_arena_beast_m00 2 LineageMonstersTex6.orbis_arena_beast.orbis_arena_beast_t00 LineageMonstersTex6.orbis_arena_beast.orbis_arena_beast_t01 0 4 4416 3 5467 1 1.00000000 0 0 5 MonSound.Hit_Normal_7 MonSound.Hit_Metal_5 MonSound.Hit_normal_12 MonSound.Hit_Metal_1 MonSound.Hit_Metal_14 3 MonSound15.orbis_arena_beast_dmg_1 MonSound15.orbis_arena_beast_dmg_2 MonSound15.orbis_arena_beast_dmg_3 0 0 0 LineageEffect.p_u002_a 0 50.00000000 250.00000000 50.00000000 0 1 0 0 0 0 0 -1.00000000 a, 0
then u go to npcname.dat there  u should add ur npc name 
and it should be at last line w/o any free spaces after it
Example:

60000 a,test\0 a, 9C E8 A9 -1
 
now when u done all this u are almost ready u have to restart your Client and Server to Accept new changes 
when u done login to server and spawn your npc and it will be there visible and usable what left you to do is to add
some htm fails at default folder 
 
 

Video Guide: 

 

 

and on end of all, all credits for this guide is mine

FileEditor Credits Allengc

L2jeuropa project credits to vegax987

and i'm sorry for my bad english i hope u understand something :D 

this guide is for newbies please pro developers don't judge me :S :D 

Posted

PS / Server/ Installing HALO/ Lineage,exe... OP Machine? :D :D !!!

Plus... wonderfull music :)

Btw tanks for tutorial :)

its regular laptop :D this yellow icon is aim player not installing halo :D 

  • 7 months later...
  • 2 weeks later...
Posted

А shady как да ги направя тия нпц-та да ме удрят със соулшоти и да ми пускат фейм?

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
Reply to this topic...

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



  • Posts

    • What webhosting are you using? You'll need to talk with administrators of the webhosting to open outgoing connections to port 1433, maybe they won't open it for you, instead, you should get a webhosting for mu online since they always have 1433 port open for outgoing connections, let me know if you have any questions, happy to help.
    • He just doesn't answer, I've tried everything, Telegram, his own forum, everything, I don't know what's his deal, but I've tried for months
    • Send direct message to @Maxtor
    • Hello guys , does anyone know what files needed to use those cloaks for H5 client? I’m not using an interface and I don’t want to use one so there are any way to use them without interface? 
    • Closed beta testing starts in early October!        We’re looking for the most active and attentive players to help fine-tune the project before launch. This is your chance to be among the first to try out our new features and directly influence how the server develops.   What beta testers will do: — Check the client and core mechanics — Find bugs, errors, and inconsistencies — Evaluate the convenience and practicality of current solutions — Share detailed, constructive suggestions for improvement      Your feedback will be key to making the project balanced and comfortable for everyone.   Requirements: — Willingness to complete specific tasks — Experience playing on Interlude (PTS, clean client) — Experience with the HF client is a plus   Ready to help? The server launch is planned for early December, so now is the perfect time to join the test and make your contribution. To participate, you must send a direct message (DM) to one of the following: - Send a DM to our Telegram channel - Send a DM to our forum moderators: PrintF or EchØ - Send a DM to our Discord server admin @EchØ
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock