< >
Hello, guest! Please log in or register.

The PokéCommunity

Go Back     The PokéCommunity Forums > Create & Discover > Game Development > Pokémon Essentials Question Rival?

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 Closed Thread
 
Thread Tools
  #1    
Old October 19th, 2012 (8:18 AM).
Lord Varion's Avatar
Lord Varion Lord Varion is offline
Guess who's back?
 
Join Date: Feb 2009
Age: 21
Gender:
Nature: Naughty
Posts: 2,648
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.

Relevant Advertising!

  #2    
Old October 19th, 2012 (9:06 AM).
Umbra's Avatar
Umbra Umbra is offline
Platinum Tier
 
Join Date: Aug 2009
Location: Nearby my feet.
Age: 19
Gender: Male
Nature: Calm
Posts: 1,689
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.
  #3    
Old October 19th, 2012 (9:11 AM).
Lord Varion's Avatar
Lord Varion Lord Varion is offline
Guess who's back?
 
Join Date: Feb 2009
Age: 21
Gender:
Nature: Naughty
Posts: 2,648
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    
Old October 19th, 2012 (9:23 AM).
Umbra's Avatar
Umbra Umbra is offline
Platinum Tier
 
Join Date: Aug 2009
Location: Nearby my feet.
Age: 19
Gender: Male
Nature: Calm
Posts: 1,689
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)
  #5    
Old October 19th, 2012 (9:35 AM).
Lord Varion's Avatar
Lord Varion Lord Varion is offline
Guess who's back?
 
Join Date: Feb 2009
Age: 21
Gender:
Nature: Naughty
Posts: 2,648
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    
Old October 19th, 2012 (10:28 AM).
Umbra's Avatar
Umbra Umbra is offline
Platinum Tier
 
Join Date: Aug 2009
Location: Nearby my feet.
Age: 19
Gender: Male
Nature: Calm
Posts: 1,689
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)
  #7    
Old October 19th, 2012 (12:54 PM).
Shoukien's Avatar
Shoukien Shoukien is offline
Pokemon Master
 
Join Date: Oct 2012
Age: 23
Gender: Male
Nature: Naughty
Posts: 5
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    
Old October 19th, 2012 (1:10 PM).
Lord Varion's Avatar
Lord Varion Lord Varion is offline
Guess who's back?
 
Join Date: Feb 2009
Age: 21
Gender:
Nature: Naughty
Posts: 2,648
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    
Old October 19th, 2012 (1:29 PM).
Maruno's Avatar
Maruno Maruno is offline
Lead Dev of Pokémon Essentials
Moderator
 
Join Date: Jan 2008
Location: England
Posts: 4,964
Let me know when you guys decide to read the wiki.
  #10    
Old October 19th, 2012 (1:31 PM). Edited October 19th, 2012 by Shoukien.
Shoukien's Avatar
Shoukien Shoukien is offline
Pokemon Master
 
Join Date: Oct 2012
Age: 23
Gender: Male
Nature: Naughty
Posts: 5
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.
  #11    
Old October 19th, 2012 (2:01 PM). Edited October 19th, 2012 by Lord Varion.
Lord Varion's Avatar
Lord Varion Lord Varion is offline
Guess who's back?
 
Join Date: Feb 2009
Age: 21
Gender:
Nature: Naughty
Posts: 2,648
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.
  #12    
Old October 20th, 2012 (5:56 PM).
Shoukien's Avatar
Shoukien Shoukien is offline
Pokemon Master
 
Join Date: Oct 2012
Age: 23
Gender: Male
Nature: Naughty
Posts: 5
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    
Old October 21st, 2012 (10:10 AM).
Umbra's Avatar
Umbra Umbra is offline
Platinum Tier
 
Join Date: Aug 2009
Location: Nearby my feet.
Age: 19
Gender: Male
Nature: Calm
Posts: 1,689
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.
  #14    
Old October 21st, 2012 (1:31 PM).
Lord Varion's Avatar
Lord Varion Lord Varion is offline
Guess who's back?
 
Join Date: Feb 2009
Age: 21
Gender:
Nature: Naughty
Posts: 2,648
I do indeed use chrome.
But the problem is not Chrome. T'is indeed my internet.
gone.
  #15    
Old February 15th, 2013 (6:19 AM).
TigerQ TigerQ is offline
 
Join Date: Feb 2013
Posts: 5
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.
  #16    
Old February 15th, 2013 (9:52 AM).
Maruno's Avatar
Maruno Maruno is offline
Lead Dev of Pokémon Essentials
Moderator
 
Join Date: Jan 2008
Location: England
Posts: 4,964
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 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 GMT -8. The time now is 4:21 AM.


Contact Us Archive Privacy Statement Terms of Service Top