Adding Points of Interest
In this tutorial we'll add Points of Interest to both our Map and Tracking Windows.
Let's create a Point of Interest for the bindpoint we created in the Bindstones tutorial.
1. Open your mission file found here: ~\test.game\data\missions\zoneone.mis using a text editor.
2. Using the find function locate the rpgBindPoint. Note the 3 position numbers, mine are: 297.258 -194.181 67.338.
3. Load the Torque MMO Kit IDE. Open ~\mud\client\gui\pointsOfInterest.py. First we need to create a Point of Interest set assigned to Zone One and then we need to define what the points of interest are and where they are located. Add the following lines to this file:
POI["Zone One"]=[ ("Bind Stones",297.258, -194.181, 67.338), ]
Notes:
- Use the '.niceName' of the zone as defined in ~\test.game\genesis\zone\zoneone\zoneone.py.
- Use commas to separate the name of the point of interest and the three location numbers.
- Note that there is a comma after the closing parenthesis, if you have a list of items make sure that the last item has the comma inside of the parenthesis.
4. Save the file. Select World -> Compile World and verify that there are no errors in the message window.
5. Select World -> Edit Zone and load zoneone, verify that the Bind Stones show up in both the (T)racking and (M)ap windows.
Return to Tutorials

