npc help

Desolation Mir2 (Med Rate Server)

DeanTurner

Dedicated Member
Dedicated Member
Feb 27, 2009
37
0
32
hi

ive been searching the forums for help on adding a npc and not had any luck.

i have set up a offline server to mess about with in my spare time and i would like to add some npc's, ive found out how to make basic npc scripts and would like to test them out on my server.

does any 1 know of any guides to adding them to my server

thanks and sorry about being a noob :lol1:

EDIT: i forgot to add tht im using td 2.3 files just incase u need to know :)
 
Last edited:

Gezza

Golden Oldie
Golden Oldie
Sep 23, 2008
2,202
65
135
uk
hi, if i made a map how would i go about adding it into the game

thanks :)

Add the map to the server files /mirserver/m2server/map also add it to the client map folder, if your using sql add it to the mapinfo table it should look something like this like this ...


Code:
 mymap HighlvlCave 0 121 122 SAFE


mymap being the map u made or what ever you named it, HighlvlCave being the name, 0 being the serverindex which is always 0 i believe, 121 being the minimap index, 122 being the bigmap, SAFE making the map a safezone.

If your using 2.6 files just goto C:\MirServer\M2Server\Envir\mapinfo.txt and add it like this... [mymap HighlvlCave 0] SAFE
 
Upvote 0

DeanTurner

Dedicated Member
Dedicated Member
Feb 27, 2009
37
0
32
sorry to be a pest, but how do i add items i have serched for a wile and not found anything is there a guide somewere that im not seeing ?

thanks

EDIT: ive managed to add a item but it has no skin :S lol
 
Last edited:
Upvote 0

Weikster

LOMCN Veteran
Veteran
Jan 21, 2009
421
11
44
36th chamber
Armours and weapons need a shape number and an imageindex number.
Any other item you just need a imageindex.
Look for your item in the stateitem.wil, this will how it will look on the Char Screen.
The image should be the same number in items.wil and dnitems.wil
Items.wil=bag looks.
dnitem.wil=on the ground looks.
 
Upvote 0