Guides by Sunrise. Thanks to everyone who help me to learn this about KO =)
Thanks to the PJKO team. Special thanks to Knightonline.cn for the new Template.
Visit our Homepage/Forum at:
http://www.knightonline.cn/bbs/forum-58-1.html

Back to index
BACK
1.3 - Creating a new NPC's


This doesn't need a big explaination, because it works like adding monsters.
Look at the table K_NPC
sSid, strName, sPid, sSize are the same as in monster table.
byGroup declares the nation of the NPC. 1=Karus, 2=El Morad and 3=Neutral, but I didn't test it...
Karus NPC's wont talk to El Moradians and the other way around.
byActType tells us, what kind of NPC it is. 21 is a vendor, and I'm pretty sure you want to make a vendor and not guards or something, but if you really want to you can look theire values up. =)
NPC's also have like monsters HP,MP,Damage etc values, but for vendors they're not important. I like to make them invincible ^^
The only important thing when making a vendor NPC is the iSellingGroup. To know what to fill in and what it does, look at the guide no3. But you'll maybe need to know how to use a tbl editor, so I'll repost a guide, first. =)


NEXT GUIDE