NPCs

Play Now

ExJamo

Dedicated Member
Dedicated Member
Apr 18, 2006
25
0
28
I know how to script my own NPC for a 2.3 server but let's say I just scripted a basic Pet Npc in Notepad or something. Now how would I implement the script into my server onto an NPC?
 

wanabee

Golden Oldie
Golden Oldie
Jul 10, 2004
723
4
155
newbury
I know how to script my own NPC for a 2.3 server but let's say I just scripted a basic Pet Npc in Notepad or something. Now how would I implement the script into my server onto an NPC?

scripts work the same way as 1.9 files, in your enviro folder you will have 2 folders one called npc def and other called market def.

now you make the script file and name it something like pet-0 the 0 is the bichion map and then put this script into the npc def folder.

now go to the data.mdf or sql and then add the npc for the map you want
should be tbl_npc.

will look like something like this below.

hope it helps

name of script map cords npc look
pet hz999 69 73 8
 
Last edited:
Upvote 0

ExJamo

Dedicated Member
Dedicated Member
Apr 18, 2006
25
0
28
scripts work the same way as 1.9 files, in your enviro folder you will have 2 folders one called npc def and other called market def.

now you make the script file and name it something like pet-0 the 0 is the bichion map and then put this script into the npc def folder.

now go to the data.mdf or sql and then add the npc for the map you want
should be tbl_npc.

will look like this below.

hope it helps

IDFLD_NAMEFLD_TYPEFLD_MAPNAMEFLD_XFLD_YFLD_FLAGFLD_APPEARANCEFLD_ENABLED89LightRose00268191071-1
Well that's the best help I've ever found on NPCs but I have another question: I'm not the owner of the server and am just a GM, I have the data, map, and wav folders, mir.exe files etc but don't have all the other files or folders I hear people mention such the Enviroment folder. Where could I get these? Thank you for your help.
 
Upvote 0

lifco

Untrusted Member
Legendary
Golden Oldie
Loyal Member
Jul 6, 2004
3,400
66
175
UK/Italy
Envir folder is part of the server files and nothing to do with the client side

lif
 
Upvote 0

ExJamo

Dedicated Member
Dedicated Member
Apr 18, 2006
25
0
28
Envir folder is part of the server files and nothing to do with the client side

lif
Does that mean I'd have to get the owner of the server, who would have the envir folder, to put my script into there and stuff?
 
Last edited:
Upvote 0