• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

How to make a Monster into an NPC

Status
Not open for further replies.
Banned
Banned
Joined
Jul 8, 2007
Messages
1,628
Reaction score
1,619
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)

Kallyanna - How to make a Monster into an NPC - RaGEZONE Forums

Kallyanna - How to make a Monster into an NPC - RaGEZONE Forums


NOW it SHOULD look like THIS (see below)

Kallyanna - How to make a Monster into an NPC - RaGEZONE Forums


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.
Kallyanna - How to make a Monster into an NPC - RaGEZONE Forums



NEXT STEP Change the M to an N (or change the numbers to what you want to make it incase of overwriting another NPC)
Kallyanna - How to make a Monster into an NPC - RaGEZONE Forums


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
Kallyanna - How to make a Monster into an NPC - RaGEZONE Forums
Kallyanna - How to make a Monster into an NPC - RaGEZONE Forums


Kallyanna - How to make a Monster into an NPC - RaGEZONE Forums



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

Kallyanna - How to make a Monster into an NPC - RaGEZONE Forums

Kallyanna - How to make a Monster into an NPC - RaGEZONE Forums

Kallyanna - How to make a Monster into an NPC - RaGEZONE Forums


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.



 
Last edited:
Newbie Spellweaver
Joined
Jun 30, 2007
Messages
76
Reaction score
74
Very clear tutorial Kallyanna ;)
I will use it after my all maps are done and objects ofc.
Liked to :)
 

DG1

Junior Spellweaver
Joined
Jun 16, 2012
Messages
126
Reaction score
45
Awe Some Work and Thanks Very Much
 
Newbie Spellweaver
Joined
Nov 3, 2009
Messages
92
Reaction score
25
maybe theres a way like you did with changing mobs to pets, O:
anway great work !
 
Newbie Spellweaver
Joined
May 1, 2013
Messages
15
Reaction score
0
doesnt work for me :/ cant see my npc ingame
 
Status
Not open for further replies.
Back
Top