View Single Post
Old 04.07.2006, 22:42   #1
Net-Packet
Архивный участник
 
Join Date: May 2006
Posts: 3
Default [Share] NPC selling shizz for GM's, Tutorial.. kinda

My first attempt at trying to explain something on forums, I hope this helps.

Code:
[creature ID] // Where ID = any NPC
level=60 
npcflags=4 
maxhealth=99999999 
maxmana=99999999 
faction=31 
bounding_radius=1.0000 
combat_reach=1.5 
attack=2000 2000 
damage=4 8 
name=GM Shop //Whatever name you want this is what I use.
guild=seller
type=5 
model=6089 
sell=ITEMID #name=ACTUAL ITEM NAME
money=-1
Add a skill npc for GM's, I just copied what I have above as an example, as you can see its easy to build an npc.
Code:
[creature ID] // Where ID = any NPC
trainer_type=0 
level=60 
npcflags=4 
maxhealth=99999999 
maxmana=99999999 
faction=31 
bounding_radius=1.0000 
combat_reach=1.5 
attack=2000 2000 
damage=4 8 
name=GM Shop //Whatever name you want this is what I use.
guild=trainer
type=5 
model=6089 
train=11602 //this skill is Revenge level 4 but you can add any you want.
Try not to add too many train= or sell= to the same mob, neumorous tests indicate about 80 lines of train= or sell= no more than that or you get the lovely error 132. dont add train= to a sell= npc or visa verca, I had problems with that as well.


Again I hope this helps.

-Net
Net-Packet is offline