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.

Lappet Town

This Location has a size of 1 by 1 on the Region Map => 1 Point is defined:

Point = 13,12,Lappet Town,Oak's Lab,2,8,8

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

mapSize1x1.png

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:

Point = 13,12,Lappet Town,Oak's Lab,2,8,8,,Size1x1

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:

Lappet Town Highlighted

Result when this location hasn't been visited yet:

Lappet Town Unvisited

You can also add "LappetTown" instead of "Size1x1" (the image name should then be "mapLappetTown.png").

mapLappetTown.png
Point = 13,12,Lappet Town,Oak's Lab,2,8,8,,LappetTown

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:

Cedolan City

This Location has a size of 2 by 1 on the Region Map => 2 Points are defined:

Point = 13,10,Cedolan City,Cedolan Dept. Store,7,47,11,
Point = 14,10,Cedolan City,,7,47,11,

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

mapSize2x1.png

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:

Point = 13,10,Cedolan City,Cedolan Dept. Store,7,47,11,,Size2x1
Point = 14,10,Cedolan City,,7,47,11,,Size2x1

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:

Cedolan city Highlighted

Result when this Location hasn't been visited yet:

Cedolan City Unvisited

You can also add "CedolanCity" instead of "Size2x1" (the image name should then be "mapCedolanCity.png").

Point = 13,10,Cedolan City,Cedolan Dept. Store,7,47,11,,CedolanCity
Point = 14,10,Cedolan City,,7,47,11,,CedolanCity

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:

Route 2

This Location has a size of 1 by 2 on the Region Map => 2 Points are defined:

Point = 14,9,Route 2
Point = 14,8,Route 2

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

mapRoute2.png

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:

Point = 14,9,Route 2,,,,,,Route2
Point = 14,8,Route 2,,,,,,Route2

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:

Route 2 Highlighted

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.

Point = 14,9,Route 2,,,,,,BridgeRoute
Point = 14,8,Route 2,,,,,,BridgeRoute

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:

Natural Park

This Location has a size of 1 by 1 on the Region Map => 1 Point is defined:

Point = 16,8,Natural Park

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

mapSize1x1Small

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:

Point = 16,8,Natural Park,,,,,,Size1x1Small

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:

Natural Park Highlighted

Optionally, you can edit the highlight image so it looks like this:

Natural Park Highlighted

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.

Point = 16,8,Natural Park,,,,,,NaturalParkSmall

Alternativly, you could also make this image 48x48 and just name it "mapNaturalPark.png".

Point = 16,8,Natural Park,,,,,,NaturalPark

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:

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.):

Point = 15,7,Route 3
Point = 15,6,Route 3,Ice Cave
Point = 14,6,Route 3

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

mapRoute3.png

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

mapSize1x1Small.png

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.

Point = 15,7,Route 3,,,,,,Route3
Point = 15,6,Route 3,Ice Cave,,,,,Size1x1Small
Point = 14,6,Route 3,,,,,,Route3

Result when the cursor is on this location (either the 1st or 3rd Point):

Route 3 Highlighted

Result when the cursor is on this location (the 2nd Point):

Ice Cave Highlighted

Optionally, you can edit the highlight image so it looks like this:

Ice Cave Highlighted

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.

Point = 15,7,Route 3,,,,,,TrainerRoute
Point = 15,6,Route 3,Ice Cave,,,,,IceCaveSmall
Point = 14,6,Route 3,,,,,,TrainerRoute

Alternativly, you can also make this image 48x48 and just name it "mapIceCave.png".

Point = 15,7,Route 3,,,,,,TrainerRoute
Point = 15,6,Route 3,Ice Cave,,,,,IceCave
Point = 14,6,Route 3,,,,,,TrainerRoute

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