new shop

10/14/2010 07:52 B&C#1
hi can someone help me to create a new shop like armorer etc....? how can i make a new npc type and what is all npc type. ex in my npc.ini i have this:
[NpcType168]
Name=Moron
SimpleObjID=30017
StandByMotion=999008100
BlazeMotion=999008190
RestMotion=999008101
Effect=none
ASB=5
ADB=6
FixDir=0
npc type is 168 right? if i put that npctype in NPCs.txt like that
2070 168 2 0 1036 212 182
on server appear another name (not Moron for ex.) and dont know how can i use that. can someone help me pls.ty
10/14/2010 11:16 BitzIn#2
Heres guide on how to make a new shop:
[Only registered and activated users can see links. Click Here To Register...]

since the NPC type is 168 the mesh would be
1680 2 0 1036 182 not 2070 . . . .
10/14/2010 12:17 B&C#3
i try to make on that guide and doesn't work, and why there is 1680?
10/14/2010 19:14 Arcо#4
Cause you add a 0-7 at the end of the number for thee direction
10/14/2010 20:42 nTL3fTy#5
Quote:
Originally Posted by B&C View Post
i try to make on that guide and doesn't work, and why there is 1680?
Simple equation:
Code:
lookface = NpcType * 10 + Direction
lookface = 168 * 10 + 5
lookface = 1680     + 5
lookface = 1685
The equation results in the Npc lookface (as named by TQ) which is basically the way of representing the Npc's mesh (look) and the direction it's facing (face).