Adding new POI's

Adding new POI's

POI data is stored in datatable and string files and can be easily customised at will. You will need to make a new tre and add it to the server and client for the process to work.


Datatables


/datatables/clientpoi/clientpoi.iff

Just add rows to the table and enter the relevant information. You will need Name, Description, Planet Name and X and Y coords for your new POI.

The Name and Description need to use the same unique name but point to two different string files that display the text in the client. /clientpoi_n.stf contains the name date whilst /clientpoi_d.stf contains the description data.

The rest of the cells are for the Planet name and the X and Y coords for the actual POI. Just copy the same format.



String Files


/string/en/clientpoi_n.stf - For the POI names.

/string/en/clientpoi_d.stf - For the POI decriptions.


As mentioned above, there are two string files that contain the text for the names and descriptions of the the POI's. This is the data displayed by the client when you view the planetary map catagories. Create a new row and add the following.

The name is the same unique name used in the datatable above, after the semi colon and is used in the left hand ID column for both the name and description string files.

The actual name you wish to be shown and it's corresponding description are placed in the right hand Value column

Again just follow the existing format for your new data.


New POI Badges


If a badge is to be awarded for your new POI when you visit it for the first time, head over to Adding New Badges and follow the instructions there.

Once the new badge has been added, then you will need to add it to the spawn manager Lua script for the planet you are adding it too. These can be found in:


/bin/scripts/managers/spawn_manager/"planet".lua


Copy the naming convention and add to the list at the bottom of the script. You need the following information:

Name, X and Y coords, observer radius from waypoint and the actual badge number.

The actual badge number can be found in /src/server/zone/objects/player/badges/badge.h





Back to the top
Free Web Hosting