- Pokémon Essentials Version
- v20.1 ➖
Original script by bo4p5678, updated to v20 by me. Since bo4p has seemingly left and took all their plugins with them, I decided I'd keep their plugins alive and bring them to newer version of Essentials (and add onto some of them if I feel like I can make useful additions)
With this plugin, you can add an animation for encounters with both wild Pokémon AND Trainers that change based on the environment, and best of all, it's customizable so you can add your own graphics and environments easily. As of now, it replicates gen 3 but in the future, a version that replicates gen 4's battle introduction might hopefully happen.
How to install and use:
Simply install the zip and place the contents in the root of your game's folder. That is all.
What does the base plugin come with?
By default, the plugin includes graphics mimicking Pokémon Emerald's introductions. These all function perfectly fine, however you can replace these with your own, better looking graphics if you wish (ones such as Water might benefit from a new graphic considering how small it is).
Check here if you want to see them in action.
How to customize and add my own graphics and environments:
Adding your own graphics and environments is easy.
How to add new environments and graphics:
Making a new environment is easy. First, register your new environment in the Environments script (or use an unused pre-existing environment that's already been created). For this example, I will be using volcano, and making a fire graphic. You can use any image program you want, whether it be Paint or Photoshop. I will be using GIMP.
If you find that your new graphic isn't showing up, check that the map's environment is correctly set in the map metadata. If you have any further questions or need help, feel free to ask.
With this plugin, you can add an animation for encounters with both wild Pokémon AND Trainers that change based on the environment, and best of all, it's customizable so you can add your own graphics and environments easily. As of now, it replicates gen 3 but in the future, a version that replicates gen 4's battle introduction might hopefully happen.
How to install and use:
Simply install the zip and place the contents in the root of your game's folder. That is all.
What does the base plugin come with?
By default, the plugin includes graphics mimicking Pokémon Emerald's introductions. These all function perfectly fine, however you can replace these with your own, better looking graphics if you wish (ones such as Water might benefit from a new graphic considering how small it is).
Check here if you want to see them in action.
Grass
Tall Grass
Cave
Sand
Water
Underwater
Tall Grass
Cave
Sand
Water
Underwater
How to customize and add my own graphics and environments:
Adding your own graphics and environments is easy.
In Graphics/Pictures/Battle Introductions, simply replace the file in there with one of your own. Each graphics is 512x384 in size, however only the top 288 pixels are shown.
The area in red can be used, the area in blue will not be shown.
Making a new environment is easy. First, register your new environment in the Environments script (or use an unused pre-existing environment that's already been created). For this example, I will be using volcano, and making a fire graphic. You can use any image program you want, whether it be Paint or Photoshop. I will be using GIMP.
Within the plugins folder, look for the 'Battle Introductions.rb' file and open it up (any text editor will do, though I would recommend anything like Notepad++).
Look down a few lines and this section.
Under
Add your own code using this format
Congratulations. You have set up an environment with this plugin.
Under
Ruby:
when :Rock, :Sand
@name = "Sand"
Ruby:
when :EnvironmentName
@name = "Graphic name"
Congratulations. You have set up an environment with this plugin.
First, create a new image that is 512x384 in size
Remember, only the top 288 pixels will be shown, as the bottom 96 are covered by the UI
Draw in your graphic, be sure that they match on on both ends for a convincing endless loop, and try to keep it pretty big, or else it might go off screen too quickly (refer to the default Water animation)
If you drew in a background guide like I did, be sure to remove it and ensure you have a transparent background before saving it
Now save the image to Pictures/Battle Introductions using the name you set earlier + Animation (in my example, I set the name to "Fire" so the graphic MUST be called "Fire Animation"
Now test your encounter in your game!
Remember, only the top 288 pixels will be shown, as the bottom 96 are covered by the UI
Draw in your graphic, be sure that they match on on both ends for a convincing endless loop, and try to keep it pretty big, or else it might go off screen too quickly (refer to the default Water animation)
If you drew in a background guide like I did, be sure to remove it and ensure you have a transparent background before saving it
Now save the image to Pictures/Battle Introductions using the name you set earlier + Animation (in my example, I set the name to "Fire" so the graphic MUST be called "Fire Animation"
Now test your encounter in your game!
If you find that your new graphic isn't showing up, check that the map's environment is correctly set in the map metadata. If you have any further questions or need help, feel free to ask.
- Credits
- Credits if used: bo4p5678, Richard PT
No need to credit me, all I did was update it