Experienced Elementalist
- Joined
- Jun 12, 2005
- Messages
- 260
- Reaction score
- 4
I'm not updating any of my guides/downloads on RaGEZONE anymore. Please go
This guide will teach you how to add and edit the location of npc's on your eAthena server.
First, find a script you'd like to add. You can find a poop load of 'em
Once you've found a script, save it as a .txt file. Now open up your eAthena folder, and go into the folder called "npc". Right click anywhere and click on "New" and then "Folder". Name the folder "My NPCs". This is the place that you should put all of your scripts. Place your script in this folder.
Now click "Back" and open up a file called "scripts_custom.conf" with your favorite text editor. Scroll down a bit 'till you find something like this:
This is where you'll set the paths to your scripts. It'll work as if you start in your eAthena folder. So from there, to get to your script, you'd have to go into your npc folder, then My NPCs folder, and then your script so it'd look something like:
Always make sure you have "npc:" before the path to the script. You can also put the npc's name/description above the location by simply putting a "//" in front of it. Example:
You don't have to, but it could organize you a little bit.
Open up your NPC's file with a text editor. Search for something like:
It should be near the top of the script. I'll break it down with color codes.
alberta.gat,111,59,5 script Bulletin Board#1 837,{
Map File: This is the map that the NPC will be located on. To find out which map you're on, go in-game, and type "/where". The map is the file that ends with .gat
Coordinates: These are the coordinates where the NPC will be found on the map specified before. To find out the coordinates of where your standing in-game, simply type "/where". The coordinates are the two numbers seperated by a comma.
NPC Position: This is the way that the NPC will be looking. You can change this anywhere from 1-8. I don't have anymore detail on this 'cause I'm not an expert scripter, but just play around with it until you find which numbers make the NPC point where.
Script Type: Leave this alone 'cause you might mess up the entire script ^.^
NPC Name: This will be the name of the NPC that shows under the NPC in-game.
NPC ID: This is the ID of which NPC sprites to use. For a full list of NPC ID's, go
That's it for now, but I might add a little bit more to it later.
You must be registered to see links
for more up-to-date downloads and guides along with more support.How To Add & Edit NPC's
By: Yetsuki
By: Yetsuki
This guide will teach you how to add and edit the location of npc's on your eAthena server.
-=-=-=-=-=Getting The Script=-=-=-=-=-
First, find a script you'd like to add. You can find a poop load of 'em
You must be registered to see links
. You can also get support for scripts that have bugs or whatever there.-=-=-=-=-=Set Up=-=-=-=-=-
Once you've found a script, save it as a .txt file. Now open up your eAthena folder, and go into the folder called "npc". Right click anywhere and click on "New" and then "Folder". Name the folder "My NPCs". This is the place that you should put all of your scripts. Place your script in this folder.
-=-=-=-=-=Placing The Path=-=-=-=-=-
Now click "Back" and open up a file called "scripts_custom.conf" with your favorite text editor. Scroll down a bit 'till you find something like this:
Code:
// ------------------------- My Scripts -------------------------
//npc: npc/location/to/script.txt <----You can delete this if you want.
// Your scripts go here!! <----You can delete this if you want.
// --------------------------------------------------------------
Code:
npc: npc/My NPCs/Script.txt
Code:
//My Script - The best script ever!
npc: npc/My NPCs/Script.txt
-=-=-=-=-=Editing The NPC's Location=-=-=-=-=-
Open up your NPC's file with a text editor. Search for something like:
Code:
alberta.gat,111,59,5 script Bulletin Board#1 837,{
alberta.gat,111,59,5 script Bulletin Board#1 837,{
Map File: This is the map that the NPC will be located on. To find out which map you're on, go in-game, and type "/where". The map is the file that ends with .gat
Coordinates: These are the coordinates where the NPC will be found on the map specified before. To find out the coordinates of where your standing in-game, simply type "/where". The coordinates are the two numbers seperated by a comma.
NPC Position: This is the way that the NPC will be looking. You can change this anywhere from 1-8. I don't have anymore detail on this 'cause I'm not an expert scripter, but just play around with it until you find which numbers make the NPC point where.
Script Type: Leave this alone 'cause you might mess up the entire script ^.^
NPC Name: This will be the name of the NPC that shows under the NPC in-game.
NPC ID: This is the ID of which NPC sprites to use. For a full list of NPC ID's, go
You must be registered to see links
.-=-=-=-=-=End Note=-=-=-=-=-
That's it for now, but I might add a little bit more to it later.
Last edited: