Npc Names

07/28/2014 00:46 NonStopCoding#1
Hello i have been having some problems with the npcs there is still a couple things i don't understand

The mesh in the npc table ??

when i try to use a mesh lets use the tokenawarder for example the mesh was 1337

when i open up the game and look at my new npc it has the same name as the tokenawarder

i know there is ini folder in the client with a npc.ini but i don't quite understand that either

sorry if these are stupid questions but i am quite confused so many numbers lol
07/28/2014 01:31 Aceking#2
Unless the packet contains a specified name, the default name will resort to the one given by its mesh.
The end of the packet contains offset for the name, check the structures.
07/28/2014 01:39 NonStopCoding#3
i gave the npc a name of General West in the npcs/twincity folder i added him in using visual studio but i dont know what to use if i wanted a custom npc name do i just hit a random number for mesh or do i need to do something different in the ini/npc.ini

Code:
[NpcType133] (whats this?)
Name=Helper
SimpleObjID=1 (?)
StandByMotion=999001100
BlazeMotion=999001190
RestMotion=999001101
Effect=none
ASB=5
ADB=6
FixDir=0
07/28/2014 01:58 Best Coder 2014#4
[Only registered and activated users can see links. Click Here To Register...]

Reading through that thread should give you enough information on how to do custom NPC names.
07/28/2014 02:04 NonStopCoding#5
Thank you coder will take a look now :)
07/28/2014 03:22 Super Aids#6
Look my source.
07/28/2014 15:17 NonStopCoding#7
Quote:
Originally Posted by Aceking View Post
Unless the packet contains a specified name, the default name will resort to the one given by its mesh.
The end of the packet contains offset for the name, check the structures.
still learning these words by packet i am guessing you mean the npc file

npc -> twincity -> [10189]General West.cs

what i need to know is do i need to touch the inf folder in client side to make new npcs?

i did manage to get my npc name to change but it did not show a picture and also if i wanted a custom npc what do i set mesh to i think i tried the same as my npc id

Quote:
Originally Posted by NonStopCoding View Post
still learning these words by packet i am guessing you mean the npc file

npc -> twincity -> [10189]General West.cs

what i need to know is do i need to touch the inf folder in client side to make new npcs?

i did manage to get my npc name to change but it did not show a picture and also if i wanted a custom npc what do i set mesh to i think i tried the same as my npc id
<<<Edit>>>

i figured it out was pretty easy to be honest can't believe i never got it at first