{MV} Plugin Request - Region Specific BGMs

Discussion in 'JS Plugin Requests' started by ObsceneSoul, Jan 13, 2018.

  1. ObsceneSoul

    ObsceneSoul Villager

    Messages:
    10
    Likes Received:
    2
    First Language:
    English
    Primarily Uses:
    RMMV
    Hello.

    So, I'll just get right to the point here. I thought it would be a neat idea to utilize the regions in RPG Maker MV to change the BGM that would be currently playing. I've seen Yanfly's Region Events, but I think that would be a bit of a hassle to set up. I just want something that I can use either plugin parameters or note-tags for each map. This would be quite useful for my over-world map since it is going to have lots of different countries on it, which each have their own specific themes and enemies. Any assistance will be appreciated and credited.
     
    #1
    Sauteed_Onion likes this.
  2. DaedraTalos

    DaedraTalos Evil Plugin Overlord in the making

    Messages:
    65
    Likes Received:
    49
    First Language:
    English
    Primarily Uses:
    RMMV
    Hey there! I'm pretty sure I can do this quickly, so expect news soon! :kaothx:
     
    #2
    ObsceneSoul likes this.
  3. DaedraTalos

    DaedraTalos Evil Plugin Overlord in the making

    Messages:
    65
    Likes Received:
    49
    First Language:
    English
    Primarily Uses:
    RMMV
    #3
  4. DaedraTalos

    DaedraTalos Evil Plugin Overlord in the making

    Messages:
    65
    Likes Received:
    49
    First Language:
    English
    Primarily Uses:
    RMMV
    Here's the update with the bugfixes! :kaohi:https://tinyurl.com/ybrf35ph

    Bugfixes:
    • The music will load even if you left the region and are in a non-defined region or are not in a region, game doesn't crash anymore.
    • Entering a region that has not been defined in the parameters won't cause the game to crash anymore :kaojoy:
     
    #4
  5. ObsceneSoul

    ObsceneSoul Villager

    Messages:
    10
    Likes Received:
    2
    First Language:
    English
    Primarily Uses:
    RMMV
    Cool, thanks so much for this! If I need more features added, I'll be sure to contact you. ;)
     
    #5
    DaedraTalos likes this.
  6. El Dragón Blanco

    El Dragón Blanco White dragon

    Messages:
    26
    Likes Received:
    5
    First Language:
    Spanish
    Primarily Uses:
    RMMV
    Would be possible to set the BGM in each map in notetags?
     
    #6
  7. ObsceneSoul

    ObsceneSoul Villager

    Messages:
    10
    Likes Received:
    2
    First Language:
    English
    Primarily Uses:
    RMMV
    That was a feature I thought about having in the plugin and just completely forgot to write down. Another feature I wanted was to name and display the name of the named region. Hopefully this isn't asking too much.
     
    #7
  8. DaedraTalos

    DaedraTalos Evil Plugin Overlord in the making

    Messages:
    65
    Likes Received:
    49
    First Language:
    English
    Primarily Uses:
    RMMV
    :kaoswt: I'll see about the name display tomorrow, might use a variant of the map name display ^-^

    for the permap/regionBGM, I already have a working idea on how to do it, just have to code it down

    I might go to bed first, though, sry :kaoslp:
     
    #8
  9. ObsceneSoul

    ObsceneSoul Villager

    Messages:
    10
    Likes Received:
    2
    First Language:
    English
    Primarily Uses:
    RMMV
    That's alright, I was planning on heading to bed soon myself. Kinda woke up earlier than I'm used to. Glad to hear you already have some ideas though!
     
    #9
  10. DaedraTalos

    DaedraTalos Evil Plugin Overlord in the making

    Messages:
    65
    Likes Received:
    49
    First Language:
    English
    Primarily Uses:
    RMMV
    :kaohi:Hey! Here's the new version, now including custom map regions as well as the previous default regions!: https://tinyurl.com/ybrf35ph

    To customize a region's BGM for a specific map, just add this to the map's notetag:
    map_region: regionId regionName regionBGM volume pitch pan instantBGM(true/false) fadeoutTime fadeinTime

    you can type as many as you want for each map

    Hope you like it! :kaojoy:
     
    #10
    ObsceneSoul likes this.
  11. ObsceneSoul

    ObsceneSoul Villager

    Messages:
    10
    Likes Received:
    2
    First Language:
    English
    Primarily Uses:
    RMMV
    Thanks for including that notetag, but I believe you forgot to include it in the help file. Otherwise, I'll contact you through Discord if this plugin could use anything else.

    Anyways, thanks so much for the help with this plugin. I'm already finding it to be very useful. ;D
     
    #11
  12. DaedraTalos

    DaedraTalos Evil Plugin Overlord in the making

    Messages:
    65
    Likes Received:
    49
    First Language:
    English
    Primarily Uses:
    RMMV
    Shit, I just realized a previous bug came back (where an undefined region causes an error if stepped on) :kaoeh:

    Lemme fix this! (will edit post, stay tuned ;) )

    Done! : https://tinyurl.com/y7uj6fwq

    Now, for the region name :kaoswt2:
     
    Last edited: Jan 14, 2018
    #12
    waynee95 and ObsceneSoul like this.
  13. ObsceneSoul

    ObsceneSoul Villager

    Messages:
    10
    Likes Received:
    2
    First Language:
    English
    Primarily Uses:
    RMMV
    Sweet! I just thought of some more features you could possibly add to this plugin.

    1. The region could also change the Battle BGM.

    2. An image could show up in addition to the region name if a parameter is set.

    3. Entering a new region for the first time could force an encounter with one of the troops specified to appear in that region.

    4. This should be able to work while in a vehicle as well.

    Otherwise, stay awesome, and I look forward to an even more useful plugin!

    Edit: Came up with another idea. Hopefully this is possible. :3
     
    Last edited: Jan 15, 2018
    #13
  14. DaedraTalos

    DaedraTalos Evil Plugin Overlord in the making

    Messages:
    65
    Likes Received:
    49
    First Language:
    English
    Primarily Uses:
    RMMV
    :kaothx:1, 2 and 4 seem rather doable, I'll leave the name / pic window for the end, though :LZSrasp:

    also, in 4, what do you mean, work in vehicle? it doesn't already?
     
    #14
  15. ObsceneSoul

    ObsceneSoul Villager

    Messages:
    10
    Likes Received:
    2
    First Language:
    English
    Primarily Uses:
    RMMV
    For number 4, I was stupid and forgot to define the region... xD Sorry about that.

    Edit: When entering a vehicle, if you change regions, the game plays the default song instead of the region's song.
     
    Last edited: Jan 15, 2018
    #15
  16. DaedraTalos

    DaedraTalos Evil Plugin Overlord in the making

    Messages:
    65
    Likes Received:
    49
    First Language:
    English
    Primarily Uses:
    RMMV
    :kaoback:srsly?? Guess I'll have to store the vehicle song in a variable before changing it, then remaking it default when the player leaves the vehicle / event command is written.
     
    #16
  17. El Dragón Blanco

    El Dragón Blanco White dragon

    Messages:
    26
    Likes Received:
    5
    First Language:
    Spanish
    Primarily Uses:
    RMMV
    I was looking for the script calls/notemaps/plugin commands in the help file and they are missing.
     
    #17
  18. ObsceneSoul

    ObsceneSoul Villager

    Messages:
    10
    Likes Received:
    2
    First Language:
    English
    Primarily Uses:
    RMMV
    Just a possible bug report here.

    When exiting the airship after entering it from one region, say region x, into region y, it will play region x's BGM for some reason.

    Otherwise, I hope you aren't having too many issues with the plugin DaedraTalos. Hope to hear from you soon!

    Edit: Also, when entering a region from an event tile, the default overworld music plays.
     
    #18
  19. DaedraTalos

    DaedraTalos Evil Plugin Overlord in the making

    Messages:
    65
    Likes Received:
    49
    First Language:
    English
    Primarily Uses:
    RMMV
    Hey! I already gave it to @ObsceneSoul , but for everyone else, here's the fixed version of the plugin, that fixes the issue of the default music being played when entering an airship ^-^ Also, sorry fo those of you who want a documentation, I'll get it done once I figure out all the bugs and add all the additional stuff to the plugin, unless you really want it now, in which case I wouldn't really mind doing it xD (also, added the possibility to show the name of the region on the top left corner of the screen, similar to the map name window.

    edit: forgot to mention that region BGMs can be specified for each map, on top of having a default BGM for every region, in case it's not specified :D

    :MV1:
     

    Attached Files:

    #19

Share This Page