PDA

View Full Version : [q]create new npc


Zeran
09.06.2006, 04:50
Can anybody explain, what designates each parameter in npcdata.txt and how to create new NPC, whether there is any special program for it?

Alexandros
09.06.2006, 08:11
Well to create a new npc u have to add him in npcdata.txt,npc_pch.txt,npcpos.txt and then also in clientside at npcgrp.dat and npcname-e.dat
They are all txt editables so u wont need any special programms (although i think there might be some program to make all the server side work at once)

Postal
09.06.2006, 10:42
Use The Dragon Chronical Script Editor and edit a dummy npc (there is alot of them in the c4 npcdata.txt) then just decrypt the client side npcname-e.dat change the dummys name to what you want it to be repack it.

If you changed the npcs server side name in the Script Editor you will have to change the npc_pch file to match the new name too. But after that you are ready to go you can spawn him any time with your gm commands, like Alexandros says you can make him spawn like any npc/mob by adding him to the npcpos.txt

You can find The Dragon Chronical Script Editor in the L2Tools Pack.

Also offtopic, are you Zeran from ToS clan on L2Paradise?

Drag
16.06.2006, 19:10
I have question... I there any way to duplicate NPC (without any modification on client side) just with another htm and AI ?

FidoW
16.06.2006, 20:02
I have question... I there any way to duplicate NPC (without any modification on client side) just with another htm and AI ?
You can set a different AI for the same NPC throught npcpos or //setai GM command... Only specify in AI the alternative HTML and you have same npc with different AI and HTML.

Drag
17.06.2006, 07:47
Ummm... WHOOT ?

npcpos ? :|
or npcdata...

Alexandros
17.06.2006, 08:52
I think what FidoW means is that u will set a new npcpos for the 2nd npc u want to have and u will give him the ai through the gmcommand (but also u can put the new clone npc inside your npcdata but all u will change of the clone is the npc_ai right?)

m4rk
17.06.2006, 09:51
You can also set the new AI throught NPCPOS just like we do with the antipk guards

Drag
17.06.2006, 10:43
Kk... i got another problem... Cant asm npcgrp.dat :|
Field 'tex1' has no soft limit but is cntby.
Post-parse init failed (check ddf file 'npcgrp.ddf').
Total allocated by pooler: 4198400