Ive been asked this countless times, so I decided to make a tutorial on it.
Fisrt of all pick the Monster you want to make into an NPC. Then copy the GTX file and the .gb file onto the desktop (just for ease of doing this)
http://i183.photobucket.com/albums/x19/Kallyanna/Part1.png[img]
Next Make a copy of the .gb file(s) next to each other
[IMG]http://i183.photobucket.com/albums/x19/Kallyanna/part2.png
Open Swordcrypt_delphi and change the open from DAT files to select ALL Files.
Open the COPY of the .gb files with Key 04 (just scroll up to the very top and you will see it)
NOW it SHOULD look like THIS (see below)
HOWEVER - IF IT LOOKS LIKE THIS (See below) You DO NOT NEED TO DO THE NEXT FEW STEPS and you can just change the name of the file as you would any other file. As it has NO NAME ENCRYPTION on the file.
NEXT STEP Change the M to an N (or change the numbers to what you want to make it incase of overwriting another NPC)
SAVE it ( DONT WORRY IF Swordcrypt_delphi kicks an error it DID save it)
NEXT Open BOTH The Copy AND the Original in a hex editor of your choice
Now you will notice the copy only has a few "bytes" you need to select ALL of what is in the copy and OVERWRITE the first line make sure you do not add or delete ANY Bytes from the origional
Save it and delete the copy and NOW you can rename your file.
(if you wish to change the name of the texture file you will need to scroll to the very bottom of the Hex editor file) and you can change its name in there.
NOW! you will need to do this SAME proceedure for the BONES and for the Motion files!!!!!
but ONLY if you are changing the numbers for example N444 to N890.
now put the Bones and animation files into NPC - MOTION folder
Next we need to open Config.pk - Macro.dat
Now if you are not sure which Bone/Motion files are attatched with you monster (soon to be NPC) when you find the monsterinfo it will say (bone number) THE NUMBER in the BONE part is what we need next - make a copy of Monster info, and scroll down to the bottom of NPC info and paste it there and change its name to npcinfo. (NOTE if you changed the number of the file N444 - N890 for example, you will need to CHANGE the NUMBER of the npcinfo from npcinfo (key 444) to npcinfo (key 890)
Next we find monsterbone (in my case it is bone 54) (motion filenames T054_bone.gb, T054_0_A_01.gb )
once you have found monsterbone (key 54) - in my example
copy it and paste it at the bottom of npcbone
Save config.pk and now open InitNPC and change Shape id to what you just made. I picked key N340_b1.gb so my shape id for this NPC will be (shape 340) save restart your server and go check out your new NPC
Here are Swordcrypt_delphi and HxD Hex editor for you guys.
Fisrt of all pick the Monster you want to make into an NPC. Then copy the GTX file and the .gb file onto the desktop (just for ease of doing this)
http://i183.photobucket.com/albums/x19/Kallyanna/Part1.png[img]
Next Make a copy of the .gb file(s) next to each other
[IMG]http://i183.photobucket.com/albums/x19/Kallyanna/part2.png
Open Swordcrypt_delphi and change the open from DAT files to select ALL Files.
Open the COPY of the .gb files with Key 04 (just scroll up to the very top and you will see it)
NOW it SHOULD look like THIS (see below)
HOWEVER - IF IT LOOKS LIKE THIS (See below) You DO NOT NEED TO DO THE NEXT FEW STEPS and you can just change the name of the file as you would any other file. As it has NO NAME ENCRYPTION on the file.
NEXT STEP Change the M to an N (or change the numbers to what you want to make it incase of overwriting another NPC)
SAVE it ( DONT WORRY IF Swordcrypt_delphi kicks an error it DID save it)
NEXT Open BOTH The Copy AND the Original in a hex editor of your choice
Now you will notice the copy only has a few "bytes" you need to select ALL of what is in the copy and OVERWRITE the first line make sure you do not add or delete ANY Bytes from the origional
Save it and delete the copy and NOW you can rename your file.
(if you wish to change the name of the texture file you will need to scroll to the very bottom of the Hex editor file) and you can change its name in there.
NOW! you will need to do this SAME proceedure for the BONES and for the Motion files!!!!!
but ONLY if you are changing the numbers for example N444 to N890.
now put the Bones and animation files into NPC - MOTION folder
Next we need to open Config.pk - Macro.dat
Now if you are not sure which Bone/Motion files are attatched with you monster (soon to be NPC) when you find the monsterinfo it will say (bone number) THE NUMBER in the BONE part is what we need next - make a copy of Monster info, and scroll down to the bottom of NPC info and paste it there and change its name to npcinfo. (NOTE if you changed the number of the file N444 - N890 for example, you will need to CHANGE the NUMBER of the npcinfo from npcinfo (key 444) to npcinfo (key 890)
Next we find monsterbone (in my case it is bone 54) (motion filenames T054_bone.gb, T054_0_A_01.gb )
once you have found monsterbone (key 54) - in my example
copy it and paste it at the bottom of npcbone
Save config.pk and now open InitNPC and change Shape id to what you just made. I picked key N340_b1.gb so my shape id for this NPC will be (shape 340) save restart your server and go check out your new NPC
Code:
(gennpc (index 1164) (country 2) (kind 0) [COLOR=#ff0000](shape 340)[/COLOR] (html 240) (map 0) (xy 278368 267800 39910) (dir 278331 267820))
Here are Swordcrypt_delphi and HxD Hex editor for you guys.
You must be registered to see links
You must be registered to see links
Last edited: