The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Creative Discussions > Game Development > Pokémon Essentials
Register New Account FAQ/Rules Chat Blogs Mark Forums Read

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.



Closed Thread
Thread Tools
  #1  
Unread October 19th, 2012, 04:18 PM
Nintendork15
I'm gone. Bye.
 
Join Date: Feb 2009
Location: Undertaker. Co.
Age: 18
Gender: Male
Nature: Naughty
Probably the most silly question to ask.
But how would I make it so the player chooses the Rival's name?

Like in Red and Blue you choose a few names like ( Blue, Jon, Pete) or a New name all together?

and it sets it for me to be able to use in battles and stuff.
__________________
gone.
  #2  
Unread October 19th, 2012, 05:06 PM
hansiec's Avatar
hansiec
Scripting Genius
 
Join Date: Aug 2009
Location: Somewhere on earth where else?
Age: 16
Gender: Male
Nature: Adamant
Quote:
Originally Posted by Nintendork15 View Post
Probably the most silly question to ask.
But how would I make it so the player chooses the Rival's name?

Like in Red and Blue you choose a few names like ( Blue, Jon, Pete) or a New name all together?

and it sets it for me to be able to use in battles and stuff.
You could use:
Code:
$game_variables[x] = Kernel.pbMessageFreeText("Enter your rival's name", "", 256, false)
Sorry if I got the FreeText wrong (I might be the call or the argument structure) but this will allow you to enter a Rival's name via Keyboard.

also x = the variable ID of the rival.
__________________
My Game:


  #3  
Unread October 19th, 2012, 05:11 PM
Nintendork15
I'm gone. Bye.
 
Join Date: Feb 2009
Location: Undertaker. Co.
Age: 18
Gender: Male
Nature: Naughty
So, how do I make it show the typed in name later in game like for example:

''[RIVAL] Hey, [player's name] how ya doing?''
__________________
gone.
  #4  
Unread October 19th, 2012, 05:23 PM
hansiec's Avatar
hansiec
Scripting Genius
 
Join Date: Aug 2009
Location: Somewhere on earth where else?
Age: 16
Gender: Male
Nature: Adamant
Quote:
Originally Posted by Nintendork15 View Post
So, how do I make it show the typed in name later in game like for example:

''[RIVAL] Hey, [player's name] how ya doing?''
\v[x] -- X being again the variable number of your rival, as of in-battles I don't know although I am sure Maruno set up pre-defined variables in the Settings script.

Edit: \v[x] would be like that inside a normal message. (From the Event editor)
__________________
My Game:


  #5  
Unread October 19th, 2012, 05:35 PM
Nintendork15
I'm gone. Bye.
 
Join Date: Feb 2009
Location: Undertaker. Co.
Age: 18
Gender: Male
Nature: Naughty
When someone types a name in they get:

Quote:
---------------------------
Pokemon Essentials
---------------------------
Exception: RuntimeError

Message: Script error within event 1, map 51 (Intro):

Exception: NoMethodError

Message: Section081:116:in `insert'undefined method `>=' for false:FalseClass

***Full script:

$game_variables[90] =
Kernel.pbMessageFreeText("Enter your
rival's name", "", 256, false)


Interpreter:243:in `pbExecuteScript'

PokemonTextEntry:206:in `insert'

PokemonTextEntry:797:in `update'

PokemonTextEntry:795:in `each'

PokemonTextEntry:795:in `update'

PokemonTextEntry:788:in `each'

PokemonTextEntry:788:in `update'

PokemonTextEntry:869:in `pbFreeText'

PokemonTextEntry:866:in `loop'

PokemonTextEntry:880:in `pbFreeText'



Interpreter:276:in `pbExecuteScript'

Interpreter:1599:in `command_355'

Interpreter:494:in `execute_command'

Interpreter:193:in `update'

Interpreter:106:in `loop'

Interpreter:198:in `update'

Scene_Map:103:in `update'

Scene_Map:101:in `loop'

Scene_Map:114:in `update'

Scene_Map:68:in `main'



This exception was logged in

C:\Users\Sam\Saved Games/Pokemon Essentials/errorlog.txt.

Press Ctrl+C to copy this message to the clipboard.
---------------------------
OK
---------------------------
__________________
gone.
  #6  
Unread October 19th, 2012, 06:28 PM
hansiec's Avatar
hansiec
Scripting Genius
 
Join Date: Aug 2009
Location: Somewhere on earth where else?
Age: 16
Gender: Male
Nature: Adamant
Quote:
Originally Posted by Nintendork15 View Post
When someone types a name in they get:
sorry the layout was wrong...

Code:
$game_variables[x] = Kernel.pbMessageFreeText("Enter your rival's name", "", false, 10)
__________________
My Game:


  #7  
Unread October 19th, 2012, 08:54 PM
Shoukien's Avatar
Shoukien
Pokemon Master
 
Join Date: Oct 2012
Age: 20
Gender: Male
Nature: Naughty
I have a question related to "Rival" also.
How do you make it so at the beginning of the game, after you choose a Pokemon.
Your Rival picks the Pokemon that is super effective against yours?

Example;
You pick Charmander, and then your Rival picks Squirtle.

and how to edit his party later in the game while keeping his/her starter.
__________________
  #8  
Unread October 19th, 2012, 09:10 PM
Nintendork15
I'm gone. Bye.
 
Join Date: Feb 2009
Location: Undertaker. Co.
Age: 18
Gender: Male
Nature: Naughty
Quote:
Originally Posted by Shoukien View Post
I have a question related to "Rival" also.
How do you make it so at the beginning of the game, after you choose a Pokemon.
Your Rival picks the Pokemon that is super effective against yours?

Example;
You pick Charmander, and then your Rival picks Squirtle.

and how to edit his party later in the game while keeping his/her starter.
Only way I can think is:
Make 3 Switches:
1:Bulbasaur
2:Charmander
3quirtle.

When you pick Bulbasaur set switch 1 to on
When Charmander Set switch 2 to on
When squirtle set switch 3.

Then you need 3 pages of the rival event, one for each page.
Each page will have the rival pick the super effective, and fight with it.
You've just got to script and put in the event and fights.
__________________
gone.
  #9  
Unread October 19th, 2012, 09:29 PM
Maruno's Avatar
Maruno
Lead Dev of Pokémon Essentials
 
Join Date: Jan 2008
Location: England
Gender: Male
Let me know when you guys decide to read the wiki.
__________________
  #10  
Unread October 19th, 2012, 09:31 PM
Shoukien's Avatar
Shoukien
Pokemon Master
 
Join Date: Oct 2012
Age: 20
Gender: Male
Nature: Naughty
Quote:
Originally Posted by Nintendork15 View Post
Only way I can think is:
Make 3 Switches:
1:Bulbasaur
2:Charmander
3quirtle.

When you pick Bulbasaur set switch 1 to on
When Charmander Set switch 2 to on
When squirtle set switch 3.

Then you need 3 pages of the rival event, one for each page.
Each page will have the rival pick the super effective, and fight with it.
You've just got to script and put in the event and fights.
That was pretty easy to understand.

But even if my switch is on, How do I make it so way later in the game I can change his party while keeping his starter(evolved).


~EDIT~
I did not notice the "Route 22 Appearance" part of the Rival topic on the Wiki.
NOTE: I think the wiki could use a bit more work though, there are "Red" and unfinished links/articles.
__________________

Last edited by Shoukien; October 19th, 2012 at 09:44 PM.
  #11  
Unread October 19th, 2012, 10:01 PM
Nintendork15
I'm gone. Bye.
 
Join Date: Feb 2009
Location: Undertaker. Co.
Age: 18
Gender: Male
Nature: Naughty
Same thing as earlier. Just have the fight with the rival including the evolved form.

Quote:
Originally Posted by Maruno View Post
Let me know when you guys decide to read the wiki.
The wiki takes to long to load for my and my browser mistakes the waiting as a unrespondent page, so I never visit the wiki.
__________________
gone.

Last edited by Nintendork15; October 19th, 2012 at 10:10 PM.
  #12  
Unread October 21st, 2012, 01:56 AM
Shoukien's Avatar
Shoukien
Pokemon Master
 
Join Date: Oct 2012
Age: 20
Gender: Male
Nature: Naughty
Quote:
Originally Posted by Nintendork15 View Post
Same thing as earlier. Just have the fight with the rival including the evolved form.



The wiki takes to long to load for my and my browser mistakes the waiting as a unrespondent page, so I never visit the wiki.
Are you using Google Chrome?
I heard from several of my friends on Facebook say that Google Chrome has too many problems.
__________________
  #13  
Unread October 21st, 2012, 06:10 PM
hansiec's Avatar
hansiec
Scripting Genius
 
Join Date: Aug 2009
Location: Somewhere on earth where else?
Age: 16
Gender: Male
Nature: Adamant
Quote:
Originally Posted by Shoukien View Post
Are you using Google Chrome?
I heard from several of my friends on Facebook say that Google Chrome has too many problems.
I use chrome and not one problem has occurred.
__________________
My Game:


  #14  
Unread October 21st, 2012, 09:31 PM
Nintendork15
I'm gone. Bye.
 
Join Date: Feb 2009
Location: Undertaker. Co.
Age: 18
Gender: Male
Nature: Naughty
I do indeed use chrome.
But the problem is not Chrome. T'is indeed my internet.
__________________
gone.
  #15  
Unread February 15th, 2013, 02:19 PM
TigerQ
Unhatched Egg
 
Join Date: Feb 2013
Quote:
Originally Posted by Nintendork15 View Post
I do indeed use chrome.
But the problem is not Chrome. T'is indeed my internet.
Sorry to post in a old thread, but since my question is link to Rivals so here is it:

How can I give the specified pokemon to the rival, after player picked up a pokemon?

I mean, just like original Fire Red version, if you pick up a grass one, rival will pick up a fire one. No problem here, I know how to set different events. But after that, player and rival will have a battle. And how can I give the super effective one to rival, and let him battle with player using the super effective pokemon?

Sorry for my bad English.
  This is the last staff post in this thread.   #16  
Unread February 15th, 2013, 05:52 PM
Maruno's Avatar
Maruno
Lead Dev of Pokémon Essentials
 
Join Date: Jan 2008
Location: England
Gender: Male
Different versions of the rival trainer depending on the player's choice of starter. Read the wiki and look at the example maps.

Please don't bump threads that have been inactive for more than 2 months. Even if the topic is similar or even the same, it's against the rules. Make a new thread instead.
__________________
Closed Thread
Quick Reply

Sponsored Links


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. The time now is 12:04 PM.


Style by Perdition Haze, artwork by Sa-Dui.
Like our Facebook Page Follow us on TwitterMessage Board Statistics | © 2002 - 2013 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to Pokémon USA, Inc. and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company, Pokémon USA, Inc., The Pokémon Company International, or Wizards of the Coast. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2013 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 posts belong to the user.