[HowTo] Custom NPCs

03/09/2014 22:26 berkmen1#61
I'm adding the code correctly, but the place is added where and how can I find?
03/09/2014 22:48 eziorav#62
Quote:
Originally Posted by berkmen1 View Post
I'm adding the code correctly, but the place is added where and how can I find?
come on man this thread was 3 years ago
why didn't you just put your question in help thread ?
05/19/2014 15:28 carambola99#63
Hi all, i read this tut many times.
i create an .lua file with editor
.Lua script here

Now i have a question, where to insert Y,X,Z (spawn) coordinates? i want that my npc spawn in Horizon, how to do?
i saved this file in resource folder, do the client load it automatically? or i have to insert it in auth database? pls help me.
05/19/2014 17:53 ThunderNikk#64
[Only registered and activated users can see links. Click Here To Register...]

You can run to any place on the map and type /position and the server will announce your position in coordinates in the chat window.

Do this where you want your NPC and that is where you set the coordinates for your NPC in dbo.NPCResource where the contact script is equal to your .lua file.

Then you are going to need to set up a market lalalalalala in dbo.MaerketResource
05/19/2014 19:28 carambola99#65
Quote:
Originally Posted by thndr View Post
[Only registered and activated users can see links. Click Here To Register...]

You can run to any place on the map and type /position and the server will announce your position in coordinates in the chat window.

Do this where you want your NPC and that is where you set the coordinates for your NPC in dbo.NPCResource where the contact script is equal to your .lua file.

Then you are going to need to set up a market lalalalalala in dbo.MaerketResource
Oh, but how i can add my npc.lua in NPCResource? can you give me your skype name?
05/19/2014 19:59 ThunderNikk#66
You don't add the .lua in NPC resource.

You put the .lua in your server scripts folder and then have an NPC in NPC Resource that will fire the .lua via contact_script
05/20/2014 19:05 carambola99#67
Quote:
Originally Posted by thndr View Post
You don't add the .lua in NPC resource.

You put the .lua in your server scripts folder and then have an NPC in NPC Resource that will fire the .lua via contact_script

thndr pls give me your skype id, or any other program like xfire.


PS.
sorry for possible OT.
05/20/2014 22:51 ThunderNikk#68
Quote:
Originally Posted by carambola99 View Post
thndr pls give me your skype id, or any other program like xfire.


PS.
sorry for possible OT.
Sorry but no, I do not give out my skype to just anyone, there is a help thread here for a reason and if you were using it you would see a lot more posts and help on the same topic recently...

[Only registered and activated users can see links. Click Here To Register...]
05/22/2014 03:09 asddom#69
DarknessFight ?

No Hope :( ?