how to make npc's.

Mu online season 21 - grand opening

myname

Dedicated Member
Dedicated Member
Aug 11, 2003
157
0
92
hi. wondering i have alot of the actual npc scripts like kitman etc but i dont know how to actually make them and put them ingame and wat to do with the files. ne1 give me a full tutorial plz. thnx in advance.
 

DaBop

LOMCN Veteran
Veteran
Loyal Member
Aug 14, 2003
290
0
92
York,England
Inserting NPC's to the game
All you need to do is write up your NPC script in your text editor, i.e. Notepad and save it in the mir200/envir/market_def folder under a name of your choice followed by -(mapno.)
EG. if you wanted a kitman in bw you would save it as kitman-0.txt. After that open your merchant.txt file (located in mir200/envir) and add the details. The 1st part of the line represents the name of the NPC file without the map no. (so it would just be kitman). The 2nd part is the map no. which is on the end of the file name (which would be 0). The 3rd and 4th parts are the X and Y co-ordinates. The 5th is the name you would like to appear on the NPC.
I'm not too sure about the 6th and the 8th, but the 7th part is where you put the number which represenst the NPC skin you would like. (I always just put 0 in both the 6th and 8th parts).
Hope that helps anyway m8 :)