• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

Script: Modular UI Scenes [v21.1]

1,407
Posts
10
Years
    • Seen yesterday
    Modular UI Scenes for v21.1
    Makes the Summary & Pokedex UI's modular, enabling you to easily add, remove, and/or reorder the pages in these screens.
    Modular UI Scenes [v21.1]
    Modular UI Scenes [v21.1]


    Overview
    Have you ever wanted to add a new page to the Summary or Pokedex screens, but found it too confusing, or didn't like having to rewrite/edit entire chunks of the code? Have you ever wanted to remove a page from the Summary that is irrelevant to your game (such as the Ribbons page, perhaps), but didn't know how to do it without breaking the code? Have you ever wanted to add a new page to the Pokedex to display additional information? Have you ever wanted to make a custom page that is only viewable on certain species or Pokemon, such as a special page just for Shiny or Shadow Pokemon? Or maybe you're a plugin developer who wants to add or edit a particular page in either of these UI's, but you hate that doing so requires you to rewrite several methods that breaks compatibility with other scripts?

    If any of these things sound relevant to you, then this plugin will resolve all of these issues.

    With Modular UI Scenes, all of the pages in the Summary and Pokedex are now modular. This allows you to create a simple handler that handles all of the data for a particular page in the either of these UI's, without having to dig through the entire script to add your custom content. This will not only make editing these UI's much more user friendly for inexperienced coders, but it will also vastly improve the compatibility between multiple plugins that all edit the Summary or Pokedex. I hope that fellow plugin developers utilize this plugin to maximize the plugin compatibility across the community.

    Here are a list of known plugins that all use Modular UI Scenes:

    Let me know if you had a plugin that uses Modular UI Scenes, and I'll add it to the list above!


    Plugin Features
    • Makes all of the pages in the Summary and Pokedex UI's modular.
    • Allows you to easily add, remove, and/or reorder all of the pages in the Summary or Pokedex.
    • Allows you to set up specific conditions for certain pages to become hidden/visible, such as through switches or other variables.
    • The icons that appear at the top of each UI which indicate the pages are now dynamically drawn to suit the order and number of available pages.
    • Various settings that allow you to customize certain visuals or functions in the UI's.
    • Allows you to customize the functionality of each Pokedex page when the USE button is pressed.
    • Allows you to customize the command list that appears on each Summary page when the USE button is pressed.
    • Fully implements modern gen Summary options, including nicknaming as well as learning/forgetting moves directly through the relevant Summary pages.
    • Flipping through pages or through your party while viewing the Summary will now loop, instead of coming to a hard stop when you reach the end.
    • You may now hold down a directional key to flip through your party or pages while viewing the Summary, instead of needing to repeatedly press the key.
    • While viewing the Summary, you may now use the JUMPUP and JUMPDOWN keys to instantly jump to the first or last Pokemon in your party, respectively.


    -DOWNLOAD LINK-


    Installation

    Spoiler:



    Changelog (v2.0.4)
    Spoiler:



    Plugin Tutorial
    UI Page Handlers
    Spoiler:


    Adding a Custom Page
    Spoiler:


    Customizing Icon Display
    Spoiler:


    Adding Custom Page Mechanics
    Spoiler:
     
    Last edited:
    4
    Posts
    15
    Years
    • Seen Sep 12, 2023
    How many pages indicators do you think would fit? Or would it be possible to scroll the indicators list?
     
    1,407
    Posts
    10
    Years
    • Seen yesterday
    How many pages indicators do you think would fit? Or would it be possible to scroll the indicators list?

    5 icons appear at once on the screen, but you can continuously scroll to the right indefinitely, and the icons just shift to only have 5 displayed at a time. You can see an example of this with Diglett in the first gif.
     
    1,407
    Posts
    10
    Years
    • Seen yesterday
    Minor Update (v1.0.1)


    • Included various new settings to better customize the display of page icons. A new section in the tutorial has been added which goes into detail about these new settings.
    • Added arrow icons that may be displayed to indicate additional pages to scroll to if the number of available pages exceeds the number of pages being displayed.
    • Tweaked the page icon dimensions.
     
    4
    Posts
    15
    Years
    • Seen Sep 12, 2023
    5 icons appear at once on the screen, but you can continuously scroll to the right indefinitely, and the icons just shift to only have 5 displayed at a time. You can see an example of this with Diglett in the first gif.

    That sounds perfect. I can't wait to get some time to try it out!

    Excellent work on this
     
    1,407
    Posts
    10
    Years
    • Seen yesterday
    Major Update (v2.0.0)
    **IMPORTANT**
    This is a huge update that renames the entire plugin due to its expanded functionality. If you're updating this plugin from a previous version, make sure to delete the old version from your Plugins folder first, before installing this update. Don't just replace the previous version. Many of the files in this plugin have been renamed, so they won't just automatically replace the old files.


    • Revamped this project so that it is now built for Essentials v21.1.
    • The v21.1 Hotfixes are now required for this plugin for this plugin to run.
    • Expanded the functionality of this project so that it now extends to the Pokedex UI, and not just the Summary. A ton of new code and graphics have been added to make the Pokedex UI modular in a similar fashion to the Summary UI.
     
    1,407
    Posts
    10
    Years
    • Seen yesterday
    Minor Update (v2.0.1)


    • Added new functionality that lets you edit specific properties of a menu handler without having to overwrite the entire handler.
     

    FL

    Pokémon Island Creator
    2,453
    Posts
    13
    Years
    • Seen May 10, 2024
    I guess that I found a bug. Not 100% sure if this was other dev fault.

    When adding a new page on eggs, the standard page has a ">" arrow for the new one, but the new one hasn't a "<" back arrow.
     
    1,407
    Posts
    10
    Years
    • Seen yesterday
    I guess that I found a bug. Not 100% sure if this was other dev fault.

    When adding a new page on eggs, the standard page has a ">" arrow for the new one, but the new one hasn't a "<" back arrow.

    Thanks, fixed it.
     
    1,407
    Posts
    10
    Years
    • Seen yesterday
    Minor Update (v2.0.2)


    • Fixed a bug that would allow you to use certain Summary commands when viewing the Summary during battle that you aren't supposed to be able to use, such as relearning/forgetting moves.
    • Updated the plugin to now require v1.0.3 of the Hotfixes.
     
    1,407
    Posts
    10
    Years
    • Seen yesterday
    Minor Update (v2.0.3)


    • Implemented new code that allows for the text color for each option in the Party command menu to be set to different colors.
     
    1,407
    Posts
    10
    Years
    • Seen yesterday
    Minor Update (v2.0.4)
    ***NOTE*** If you already have this plugin installed, you MUST delete your existing plugin files before installing this update. ***NOTE***
    • This plugin now automatically checks if plugins that rely on it are on their most recent version.
    • Renamed some files for more consistency across supported plugins.
     
    1,407
    Posts
    10
    Years
    • Seen yesterday
    If you installed the latest v2.0.4 update yesterday, please redownload the update. I accidentally released it with a few outdated files that I just fixed.
     
    Back
    Top