Create a new NPC
#1

Hello,

I "only" want to ask, how I create an own NPC(-Trader)? It would be very nice, if you answer me.

#2
Push pls help !

#3

Im currently trying to add a shopkeeper; unfortunately everything works unless the file Shops.data, which is the problem. But in the future Wizatek will probably edit his tools to connect the lod files directly to everything (db and data files), so be patient Wink But if you wanna add a mob for example, i can help.

 

Ill also try to add a skill master, ill keep you inform.

#4
Ok, this would be very nice, but we dont need monsters a the moment

#5

Maybe Wiza will add a settable lvl cap in a future update, so we never know Wink

 

edit : add a skill master work great!

 

Ill make a tutorial tomorrow, or maybe tonight before sleeping.

#6
Nice Smile and whats about trader Big GrinBig Grin

#7
I told you, i cant cause replace .data file doesnt work Wink

#8
Ah ok sry Big Grin

#9
Np Smile

#10

So, heres my tutorial; ill also post it in guide section.

 

~ Add a mob

 

Dont worry, its really easy!

 

First, dont forget to backup modALL_usa.lod & mobname_usa.lod.

 

Then download LcDevStudio (made, once again, by wizatek) : 2

 

Open the program, put your actuals mobALL & mobname from your client in the same folder than the program, and open those files with the studio.

 

Unless you know how to create a texture for mobs with smc, bmc, tex files etc., were going to copy an existing mob. So choose your mob & press the button "Copy2New".

 

 

At the end of the list will appear a new mob with a new ID; dont touch the flag, but you can edit lvl etc.

 

 

When its done, select any other npc, & click on yes on the message to save you new mob. If you get an error message, click on continue. Then click on file > save and replace you mobALL file in the program folder, and export > mobname to do the same with mobname.lod. Now the client part is done. (ps : if you want to edit the texture of the mob, you must convert you .tex file to .tga with textool [go to chaosprojekt to download it]; then edit it with any program of your choice [when you save it, dont compress it!], and at last convert it back to .tex. You will have to create a new mob folder with all the files from the original mob + your texture edited; dont forget to open the .smc file with a hex editor to edit the adress of the texture to your new mob folder).

 

Now open you t_npc table and add a new line. Put the same id and fill everything you can (dont forget smc & idle, attack etc). When its done save & restart you gameserver if it was open.

 

At last, login, go to the zone of your choice and use /summon to see your mob Smile

 

~ Add a skillmaster

 

Almost the same. Copy your skill master, edit the name, smc line, and other things if you want. Dont touch the flag once again, and @ Skill master line, fill with the value of the class skill master; heres the list:

 

Titan : -256Knight : -255

Healer : -254

Mage : -253

Rogue : -252

Sorc : -251

Ns : -250

 

Heres my little zoo :

 



Forum Jump:


Users browsing this thread: 1 Guest(s)