Bind regions to terrain tags

● ARCHIVED · READ-ONLY
Started by Skyyagiz 2 posts View original ↗
  1. Hi,

    I wanted to ask if there is any way, to bind a region to a certain terrain tag.

    I have a script whicht let's me play region effects based on the region the player

    is walking on, however for this to work i have to paint over all my maps with

    regions, which looks a bit like this...

    CH7IafS.png

    So I am wondering if there is any script or way to connect a certain region to a certain terrain tag.

    So i would bind my region that plays the water effect to a terrain tag that is set for all the water tiles etc.

    (The script used is Galv's Region Effects btw.)

    Thanks a lot in advance, very sorry for my bad english.

    -Sky
  2. I've moved this thread to RGSSx Script Support. Please be sure to post your threads in the correct forum next time. Thank you.


    Please provide a link to the script so we don't have to search for it.


    The most simple solution would be to change the script so it allows you to use terrain tags in addition to region tags.


    The drawback is that there is ONE region layer per map, but THREE terrain tag layers. You could have a ground layer with a terrain tag of 1, a higher layer with no terrain tag, and an even higher layer with a terrain tag of 3, for example. You would have to state whether you want to look at only the highest used layer, the lowest used layer, the lowest layer that is passable, etc.