07-30-2011, 09:56 PM
Hey all,
I was bored tonight, so i decided to share my little secret of today

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!


