05-31-2011, 08:28 PM
Posted 4.5 and 4.8.1. Now I'm working on a new feature for Player's Current Position Indicator (for RPG Maker XP) which lets creator go advanced (if they need to) with specifying terrain tags which would hide or show the indicator.
First, they have to set the advanced flags to true, then they could get to work on going advanced with the terrain tags. Here's how it would work:
The format:
Example:
^ Normally, when the system comes across a tile tagged with one of the terrain tags specified in PK8_PCPI['pass_terr_show'] or PK8_PCPI['pass_terr_hide'], it would do what it's supposed to do. Activate or deactivate the indicator.
If the player is in a map that uses Tileset ID 2, and if the dev decides to turn on the PK8_PCPI['pass_terr_show_adv_flag'] and PK8_PCPI['pass_terr_hide_adv_flag'] settings, the system would instead look for terrain tags specified in PK8_PCPI['pass_terr_show_adv'][2] and PK8_PCPI['pass_terr_hide_adv'][2].
If this is too much, the dev could always turn the flags off.
I'm actually not sure how people would make use of it.
First, they have to set the advanced flags to true, then they could get to work on going advanced with the terrain tags. Here's how it would work:
The format:
Code:
PK8_PCPI['pass_terr_show_adv'][tileset_id] = [terrain tags which shows the indicator]
PK8_PCPI['pass_terr_hide_adv'][tileset_id] = [terrain tags which hides the indicator]
...
Example:
Code:
PK8_PCPI['pass_terr_show'] = [6, 7]
PK8_PCPI['pass_terr_hide'] = [2, 3]
PK8_PCPI['pass_terr_show_adv_flag'] = true
PK8_PCPI['pass_terr_hide_adv_flag'] = true
PK8_PCPI['pass_terr_show_adv'][2] = [5]
PK8_PCPI['pass_terr_hide_adv'][2] = [6]
...
If the player is in a map that uses Tileset ID 2, and if the dev decides to turn on the PK8_PCPI['pass_terr_show_adv_flag'] and PK8_PCPI['pass_terr_hide_adv_flag'] settings, the system would instead look for terrain tags specified in PK8_PCPI['pass_terr_show_adv'][2] and PK8_PCPI['pass_terr_hide_adv'][2].
If this is too much, the dev could always turn the flags off.
I'm actually not sure how people would make use of it.