Looking to Change either Region Ids or Map Encounters based on Day/Night

● ARCHIVED · READ-ONLY
Started by RedFoxGaming 4 posts View original ↗
  1. My game is going to have a Day/Night system. I've evented a very simple one, and it relies on mainly variables, but also one switch. I have it to set a switch to true when it is night, but I can also check if a variable is a certain number to check if it is night or not.

    I want to make it to where when it is night, you can encounter different enemies than when it was day, and also increase the encounter rate.

    I've solved increasing the encounter rate with Yanfly's Repel and Lure script, but I cannot figure out anyway to either mass change regions ids on the world map when it turns night and then change them back to normal when it is day, or otherwise just change what encounters happen when it is night.

    For the region id idea, I am reserving the next number down the list to the night version of the previous number. So, if its region id 1, region id 2 would be reserved for the night encounters for 1. 3 would be a new region id with 4 reserved for the night encounters for 3, and so on. Basically, odd numbers are day encounters and even numbers are night encounters.

    Any help on this topic would be greatly appreciated.
  2. region IDs are supposed to be constant, there is no way to change them without going into plugins.
    I think there was a plugin from tsukihime to change the encounter table, but I might confuse that with an ace script - check her blog to see if that was for MV or Ace or both.

    Alternatively you could make a copy of your map and change going there depending on day or night
  3. I've thought about making two copies of the world map depending on day or night, that just seems redundant to me and a lot of extra work. But as a last resort, I can make that work.

    I've looked at tsukihime's blog, there is an encounter update script but its for VX Ace and not for MV.
  4. maybe post the link and someone can convert it? Or maybe ask Hime for a conversion?

    I wouldn't go with changing regions, because if you use other plugins that use regions, they likely load on map load and might not pick up changed regions due to day/night.