Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 09.06.2006, 04:50   #1
Zeran
Архивный участник
 
Join Date: Mar 2006
Posts: 97
Default [q]create new npc

Can anybody explain, what designates each parameter in npcdata.txt and how to create new NPC, whether there is any special program for it?
Zeran is offline  
Old 09.06.2006, 08:11   #2
Alexandros
Архивный участник
 
Join Date: Oct 2005
Posts: 161
Default

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)
Alexandros is offline  
Old 09.06.2006, 10:42   #3
Postal
Архивный участник
 
Join Date: May 2006
Posts: 23
Default

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?
Postal is offline  
Old 16.06.2006, 19:10   #4
Drag
Архивный участник
 
Join Date: Mar 2006
Posts: 241
Default

I have question... I there any way to duplicate NPC (without any modification on client side) just with another htm and AI ?
Drag is offline  
Old 16.06.2006, 20:02   #5
FidoW
Архивный участник
 
Join Date: Sep 2005
Posts: 1,014
Default

Quote:
Originally Posted by Drag
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.
FidoW is offline  
Old 17.06.2006, 07:47   #6
Drag
Архивный участник
 
Join Date: Mar 2006
Posts: 241
Default

Ummm... WHOOT ?

npcpos ? :|
or npcdata...
Drag is offline  
Old 17.06.2006, 08:52   #7
Alexandros
Архивный участник
 
Join Date: Oct 2005
Posts: 161
Default

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?)
Alexandros is offline  
Old 17.06.2006, 09:51   #8
m4rk
Архивный участник
 
Join Date: Jan 2006
Posts: 607
Default

You can also set the new AI throught NPCPOS just like we do with the antipk guards
m4rk is offline  
Old 17.06.2006, 10:43   #9
Drag
Архивный участник
 
Join Date: Mar 2006
Posts: 241
Default

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


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 18:52.