Community

The PokéCommunity

We are still working on a better slogan!

Visit Index



Advertise here

Go Back   The PokéCommunity Forums > Creative Discussions > Game Development > Pokémon Essentials
Notices

Pokémon Essentials All questions and discussion about Pokémon Essentials, the Pokémon game kit for RPG Maker XP, go in here. Also contains links to the latest downloads and the Essentials Wiki.

Post Reply
Click here to go to the first staff post in this thread.  
Thread Tools
  #1    
Old August 1st, 2013, 12:15 PM
TheRedMage
 
Join Date: Aug 2013
Gender: Male

Advertise here
I'm very familiar with the whole scripting area, as well as RPGMaker XP, however, since this program (while very awesome) has altered many (if not all, I haven't checked) of the basic scripts, I suppose rather than pour over the code for hours, I'd just ask.

Is there a way to play a battle animation (made via either the standard battle animations in the Database, or the animation editor) while already in a battle?

I know the code to do so for the standard kit and unfortunately, it does not work. Just curious if anyone knows the bit of code, or at least what scripts I can look into to find said information.

Thanks!
  #2    
Old August 1st, 2013, 05:46 PM
Jayje's Avatar
Jayje
The First Maker
Community Supporter
 
Join Date: May 2005
Location: Mountville, PA
Gender: Male
Nature: Relaxed
Send a message via AIM to Jayje Send a message via Windows Live Messenger to Jayje Send a message via Yahoo to Jayje
Am I to understand you want to play a certain animation in a battle?

Pokemon Emerald TEAM CHALLENGE!!
  #3    
Old August 1st, 2013, 07:33 PM
TheRedMage
 
Join Date: Aug 2013
Gender: Male
Yes, essentially.

Just, while within the battle scripts, when certain events happen, the code to play a battle animation, (targetable if possible on the friendly/opposing Pokemon,) or just playing in the center of the screen, if necessary.

What I'm actually doing- trying to create custom weather effects, and setting the battle animation to play just before it gives the message about it. Kind of a workaround for now, as I don't really care for the bitmaps that are in place, and this would allow me to customize exactly how I wanted to do it, in battle animation format.
  #4    
Old August 1st, 2013, 07:55 PM
Jayje's Avatar
Jayje
The First Maker
Community Supporter
 
Join Date: May 2005
Location: Mountville, PA
Gender: Male
Nature: Relaxed
Send a message via AIM to Jayje Send a message via Windows Live Messenger to Jayje Send a message via Yahoo to Jayje
Hmmmm... afraid I couldn't be of much help. not too familiar w/ essentials to help. if it was regular rmxp maybe...

Pokemon Emerald TEAM CHALLENGE!!
  #5    
Old August 1st, 2013, 08:03 PM
TheRedMage
 
Join Date: Aug 2013
Gender: Male
Exactly. If it was just the basic RMXP, I wouldn't have an issue.

Just seeing if any of the devs know before I start throwing myself headlong into the scripts.
  #6    
Old August 2nd, 2013, 02:46 AM
Maruno's Avatar
Maruno
Lead Dev of Pokémon Essentials
 
Join Date: Jan 2008
Location: England
Quote:
Originally Posted by TheRedMage View Post
What I'm actually doing- trying to create custom weather effects, and setting the battle animation to play just before it gives the message about it. Kind of a workaround for now, as I don't really care for the bitmaps that are in place, and this would allow me to customize exactly how I wanted to do it, in battle animation format.
When you say "custom weather effects", do you mean you're creating a new kind of weather (e.g. foggy), or do you just want to replace the existing weather animations with your own versions?

If the former, copy one of the existing weather effects, all of which already do what you want. If the latter, just edit the appropriate Common animations using the Editor's Animation Editor - Common animations have "Common:" in their name.
  #7    
Old August 2nd, 2013, 08:50 AM
TheRedMage
 
Join Date: Aug 2013
Gender: Male
Both, really. The former itself doesn't appear to be too difficult.

Now, for the said Common animations, how would we call them from within the script itself? Currently the base ones that I've got are: Shiny, Shadow, StatUp, StatDown. If I made one to say, for example, 'Commonandstorm' how would I then call said animation from within the script itself, to play whenever the message about the sandstorm would go off?

I very much appreciate the assistance, Maruno- having a direction to start going it the best first step.
  #8    
Old August 3rd, 2013, 05:16 AM
Maruno's Avatar
Maruno
Lead Dev of Pokémon Essentials
 
Join Date: Jan 2008
Location: England
A very quick look at the existing scripts brings up the following code:

Code:
pbCommonAnimation("Sandstorm",nil,nil)
I'll let you ponder over what that could possibly mean.

Hint: The last two things (both nil here) are the user and target of the animation, but since the "Common:Sandstorm" animation has a position of "Screen" it doesn't have a user/target.
  #9    
Old August 6th, 2013, 05:45 PM
TheRedMage
 
Join Date: Aug 2013
Gender: Male
Ah-ha. And that is why I asked.

I'm unfamiliar with these scripts and while I would have found that (eventually) it was easier to merely ask.

Appreciate the assistance, Maruno.
Post Reply
Quick Reply

Sponsored Links


Advertise here
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Minimum Characters Per Post: 25



All times are UTC -8. The time now is 05:49 AM.

About Us
© 2002 - 2014 The PokéCommunity™, pokecommunity.com. Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.

Copyright
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2014 The PokéCommunity / PokéCommunity.com. PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator. Header artwork by Jordanice of deviantART.

Social Media
If you would like to stay up-to-date with us on the go, when we're down, or other such things, follow us on social media sites--most notibly Twitter, Facebook, and Google Plus--by clicking on the links provided.

Design presented by Peitharchia. Special thanks to Hiroshi Sotomura and Ausaudriel.