Go Back   The PokéCommunity Forums > Creative Discussions > Game Development > Pokémon Essentials
Reload this Page [Question] Showing a picture when speaking to a trainer

Notices
For all updates, view the main page.

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.



Reply
 
Thread Tools
  #1    
Old May 3rd, 2012 (04:08 PM).
Cast Cast is offline
 
Join Date: Aug 2010
Location: Japan
Gender: Male
Posts: 23
I'm trying to make it so that a picture is shown when you talk to a trainer, both before and after battle, but I need a bit of help.
I've tried using the show picture command, but the trainer event seems to ignore that, so I thought I would edit the scripts to show the picture. The problem is, I have no idea which script I need to edit.
I want to display the picture during "Comment: Battle:" and "Comment: EndBattle"

Any ideas of which script I should be editing?
Reply With Quote
  #2    
Old May 3rd, 2012 (04:30 PM).
Nickalooose Nickalooose is offline
--------------------
 
Join Date: Mar 2008
Gender: Female
Posts: 1,161
What do you mean by this?
Reply With Quote
  #3    
Old May 3rd, 2012 (05:57 PM).
Cast Cast is offline
 
Join Date: Aug 2010
Location: Japan
Gender: Male
Posts: 23
Nevermind, I simply used the pbTrainerBattle command to do what I wanted.
Reply With Quote
  #4    
Old May 3rd, 2012 (06:15 PM).
Nickalooose Nickalooose is offline
--------------------
 
Join Date: Mar 2008
Gender: Female
Posts: 1,161
I figured that's what you wanted! Was going to refer you to the Wiki... Try using the Wiki first!
Reply With Quote
  #5    
Old May 3rd, 2012 (07:06 PM).
Cast Cast is offline
 
Join Date: Aug 2010
Location: Japan
Gender: Male
Posts: 23
I had read through the wiki and the notes, but I had gotten confused by the example trainers in the test maps. They use both the Comment: Battle commands, and the pbTrainerBattle command so I thought that both were necessary, but it seems you don't need to use both.
Reply With Quote
  #6    
Old May 3rd, 2012 (07:19 PM).
Nickalooose Nickalooose is offline
--------------------
 
Join Date: Mar 2008
Gender: Female
Posts: 1,161
You don't need the comments, but pbTrainerBattle is needed.
Reply With Quote
  #7    
Old May 4th, 2012 (05:05 AM).
Pokemon 3000's Avatar
Pokemon 3000 Pokemon 3000 is offline
huh?
 
Join Date: Sep 2005
Location: Germany
Gender: Male
Nature: Rash
Posts: 70
I guess the comments are only assistance. When the game was compiled, Essentials fill the event with the required commands.

Anyway you can give Messages a "face"-Graphic. Put \f[x] to the Message, at which the X means a graphic in the Grapihcs/Pictures folder.

quod vide: http://pokemonessentials.wikia.com/wiki/Messages
Reply With Quote
  #8    
Old May 4th, 2012 (04:55 PM).
Cast Cast is offline
 
Join Date: Aug 2010
Location: Japan
Gender: Male
Posts: 23
Thanks, but I already know that command. I needed the show picture for something else.
Reply With Quote
  #9    
Old May 5th, 2012 (01:03 PM).
FL's Avatar
FL FL is offline
Pokémon Island Creator
 
Join Date: Sep 2010
Gender: Male
Posts: 1,481
Quote originally posted by Cast:
I had read through the wiki and the notes, but I had gotten confused by the example trainers in the test maps. They use both the Comment: Battle commands, and the pbTrainerBattle command so I thought that both were necessary, but it seems you don't need to use both.
Long time before, when I am starting I also had this problem, maybe Maruno should put examples in test maps using one, another and both (maybe this last isn't necessary).
__________________
Reply With Quote
  #10    
Old May 5th, 2012 (01:18 PM).
Maruno's Avatar
Maruno Maruno is offline
Lead Dev of Pokémon Essentials
Moderator
 
Join Date: Jan 2008
Location: England
Posts: 4,552
I thought the wiki explained that well enough. You just need to put in the comments, and when you compile, the game itself turns those into the proper event commands and adds them to the events. Remove the comments before tweaking those auto-generated commands, because otherwise the tweaks will just be overwritten by the comments compiling themselves again.

I suppose I could include a note about that in Essentials itself, though. There will be plenty of example trainers, at least.
__________________
Reply With Quote
Reply
Quick Reply

Sponsored Links

You may also like.. (Beta)
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

Forum Jump


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