[Tutorial] Add a mob/npc
#1

Hey all,

 

I was bored tonight, so i decided to share my little secret of today Tongue

 

Lets show you how to add a mob/npc

 

Add a shopkeeper works! Just take geres flag, edit the shopAll file and save the .data file from the developer studio (in the shopAll editor : file > save; select the data folder and replace the title of the file by "Shops.data" (with "))

 

~ 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!

 

~ 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

 

The idea is the same to add any npc; but if you need help to add a particular npc, just tell me.

 

Heres my little zoo :

 

 

Have fun!



Messages In This Thread
[No subject] - by Koko - 07-30-2011, 09:56 PM
[No subject] - by megachombas - 07-30-2011, 10:11 PM
[No subject] - by Koko - 07-30-2011, 10:14 PM
[No subject] - by Wizatek - 07-30-2011, 11:28 PM
[No subject] - by LooniboonS - 07-31-2011, 01:11 AM
[No subject] - by Koko - 07-31-2011, 08:40 AM
[No subject] - by megachombas - 07-31-2011, 09:41 AM
[No subject] - by Koko - 07-31-2011, 09:53 AM
[No subject] - by megachombas - 07-31-2011, 10:01 AM
[No subject] - by Koko - 07-31-2011, 10:28 AM
[No subject] - by Wizatek - 07-31-2011, 10:54 AM
[No subject] - by megachombas - 07-31-2011, 11:08 AM
[No subject] - by Wizatek - 07-31-2011, 11:18 AM
[No subject] - by megachombas - 07-31-2011, 11:31 AM
[No subject] - by Infinity - 07-31-2011, 11:38 AM
[No subject] - by megachombas - 07-31-2011, 11:45 AM
[No subject] - by Wrong - 07-31-2011, 05:01 PM
[No subject] - by Koko - 07-31-2011, 05:15 PM
[No subject] - by Wrong - 07-31-2011, 05:16 PM
[No subject] - by Koko - 07-31-2011, 05:58 PM
[No subject] - by Wrong - 07-31-2011, 06:02 PM
[No subject] - by Koko - 07-31-2011, 06:40 PM
[No subject] - by Koko - 08-05-2011, 09:10 AM
[No subject] - by Natzn - 08-05-2011, 11:25 AM
[No subject] - by Koko - 08-05-2011, 11:32 AM
[No subject] - by Natzn - 08-05-2011, 11:46 AM
[No subject] - by Koko - 08-05-2011, 12:23 PM
[No subject] - by pwner - 09-01-2011, 10:54 PM
[No subject] - by cobra2 - 11-14-2011, 06:40 PM
[No subject] - by gilles303 - 11-26-2011, 12:35 AM
[No subject] - by Koko - 11-27-2011, 12:27 PM
[No subject] - by srider2 - 02-20-2012, 04:19 PM
[No subject] - by lordzik112 - 02-23-2012, 10:12 PM
[No subject] - by Koko - 02-27-2012, 10:59 PM
[No subject] - by Propor123 - 05-14-2012, 05:53 PM
[No subject] - by dethunter12 - 05-16-2012, 08:34 PM
[No subject] - by spammer - 05-26-2012, 09:07 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)