Manual PBS Editing
This page will explain you how to edit the PBS file manually
Overview
I'll jump right into this by giving a few examples showing the possibilities (not all of them are shown because there are too many).
Each point needs following elements:
x point : required
y point : required
location name : required
point of interest name : optional
Fly Point : optional (requires all 3 if used)
Map ID : required
X : required
Y : required
Switch ID : optional
Image name : required for this plugin
Example 1
The 1st point is Lappet Town.
This Location has a size of 1 by 1 on the Region Map => 1 Point is defined:
Looking into the highlight folder, we find an image named "mapSize1x1.png"
Graphics > Pictures > RegionMap > Higlights > Others for v20.1
Graphics > UI > Town Map > Highlights > Others for v21.1
To make the script use this Image when the cursor is on that Point, we add "Size1x1" at the end of this line for this Point:
Pay attention that before "Size1x1" I added an extra , as that would normally be where we define a switch for this Point.
Result when the cursor is on this location:
Result when this location hasn't been visited yet:
You can also add "LappetTown" instead of "Size1x1" (the image name should then be "mapLappetTown.png").
When changing or adding new Images, always recompile your game an extra time. I noticed this for myself too that it would say that an image is not present while it actually is.
Example 2
The 3rd and 4th points are Cedolan City:
This Location has a size of 2 by 1 on the Region Map => 2 Points are defined:
Looking into the highlight folder, we find an image named "mapSize2x1.png" (2 tiles wide and 1 tile high)
Graphics > Pictures > RegionMap > Higlights > Others for v20.1
Graphics > UI > Town Map > Highlights > Others for v21.1
To make the script use this Image when the cursor is on one of these 2 Points, we add "Size2x1" at the end of both lines for these Points:
Pay attention that before "Size2x1" I added an extra , as that would normally be where we define a switch for this Point.
Result when the cursor is on this location:
Result when this Location hasn't been visited yet:
You can also add "CedolanCity" instead of "Size2x1" (the image name should then be "mapCedolanCity.png").
When changing or adding new Images, always recompile your game an extra time. I noticed this for myself too that it would say that an image is not present while it actually is.
Example 3
The 5th and 6th points are Route 2:
This Location has a size of 1 by 2 on the Region Map => 2 Points are defined:
Looking into the highlight folder, we find an image named "mapRoute2.png"
Graphics > Pictures > RegionMap > Higlights > Routes for v20.1
Graphics > UI > Town Map > Highlights > Routes for v21.1
To make the script use this Image when the cursor is on one of these 2 Points, we add "Route2" at the end of both lines for these Points:
Pay attention that before "Route2" I added 6 extra , as that would normally be where we define a point of interest, fly point (map id, x and y value) and a switch for this Point.
Result when the cursor is on this location:
You can also add "BridgeRoute" instead of "Route2" (the image name should then be "mapBridgeRoute.png"). Make sure this image is in the "Routes" folder and "Route" is included in it's name. (If you don't include "Route", the script will assume the image is in the "Others" folder.
When changing or adding new Images, always recompile your game an extra time. I noticed this for myself too that it would say that an image is not present while it actually is.
Example 4
The 8th point is Natural Park:
This Location has a size of 1 by 1 on the Region Map => 1 Point is defined:
Looking into the highlight folder, we find an image named "mapSize1x1Small.png"
Graphics > Pictures > RegionMap > Highlights > Others for v20.1
Graphics > UI > Town Map > Highlights > Others for v21.1
To make the script use this image when the cursor is on this Point, we add "Size1x1Small" at the end of the line for this Point:
Pay attention that before "Size1x1Small" I added an extra , as that would normally be where we define a switch for this Point.
Result when the cursor is on this location:
Optionally, you can edit the highlight image so it looks like this:
The difference here might not be that noticable but it's a nice little detail.
You can also add "NaturalParkSmall" instead of "Size1x1Small" (the image name should then be "mapNaturalParkSmall.png"). "Small" should still be included since the image is only 16x16 in size and is in the "Others" folder. This is because the script adds the offset by default, this will not be the case when "Small" is included.
Alternativly, you could also make this image 48x48 and just name it "mapNaturalPark.png".
When chaning or adding new Images, always recompile your game an extra time. I noticed this for myself too that it would say that an image is not present while it actually is.
Example 5
The 9th, 10th and 11th Points are Route 3:
This Location has a size of 2 by 2 on the Region Map => 3 Points are defined. (The bottom left point is not defined as it's not needed for this Location.):
Looking into the highlight folder, we'll have to find 2 images this time. (one for Route 3 and one for Ice Cave.)
For Route 3 we find an image called "mapRoute3.png"
Graphics > Pictures > RegionMap > Highlights > Routes for v20.1
Graphics > UI > Town Map > Highlights > Routes for v21.1
For Ice Cave we'll use the image called "mapSize1x1Small.png"
Graphics > Pictures > RegionMap > Highlights > Others for v20.1
Graphics > UI > Town Map > Highlights > Others for v21.1
To make the script use either of these images when the cursor is on their respective point, we add "Route3" to the 1st and 3rd point and "Size1x1Small" to the 2nd Point. at the end of each line for these Points.
Result when the cursor is on this location (either the 1st or 3rd Point):
Result when the cursor is on this location (the 2nd Point):
Optionally, you can edit the highlight image so it looks like this:
The difference here might not be that noticable but it's a nice little detail.
You can also add (for the 1st and 3rd point) "TrainerRoute" instead of "Route3" and (for the 2nd point) "IceCaveSmall" instead of "Size1x1Small". (for the 2nd point, "Small" should still be included since the image is only 16x16 in size and is in the "Othere's folder This is because the script adds the offset by default, this will not be the case when "Small" is included.
Alternativly, you can also make this image 48x48 and just name it "mapIceCave.png".
When changin or adding new images, always recompile your game and extra time. I notices this for myself too that it would say that an iamge is not present while it actually is.
That's it for the examples. Of course you're free to do this the way you want as long as the result is how you expect it to be, the possibilities are endless.
Last updated