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

The PokéCommunity

Go Back     The PokéCommunity Forums > Create & Discover > Game Development > Pokémon Essentials Question Is there a script command that changes text speed?

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.

Reply Post Reply
 
Thread Tools
  #1    
Old March 4th, 2013 (3:27 PM).
Rayd12smitty's Avatar
Rayd12smitty Rayd12smitty is offline
Shadow Maker
 
Join Date: Dec 2011
Gender: Male
Posts: 647
Just like the question says. Is there a pb_____ or Kernel.pb_____
or anything I can use in an event to change the text speed like you would in the options menu?
Reply With Quote

Relevant Advertising!

  #2    
Old March 4th, 2013 (4:58 PM).
Maruno's Avatar
Maruno Maruno is offline
Lead Dev of Pokémon Essentials
Moderator
 
Join Date: Jan 2008
Location: England
Posts: 4,964
The Options menu uses the following two lines:

Code:
             $PokemonSystem.textspeed=value 
             MessageConfig.pbSetTextSpeed(pbSettingToTextSpeed(value))
...where value is (0=slow, 1=mid, 2=fast, 3=unstable superfast).

I believe value 3 will cause game-crashing hanging during battle. By default the speed is 2, and only a prat would make it slower.

So no, there's not really anything you can do about it.
Reply With Quote
  #3    
Old March 4th, 2013 (5:16 PM).
Rayd12smitty's Avatar
Rayd12smitty Rayd12smitty is offline
Shadow Maker
 
Join Date: Dec 2011
Gender: Male
Posts: 647
Quote:
Originally Posted by Maruno View Post
The Options menu uses the following two lines:

Code:
             $PokemonSystem.textspeed=value 
             MessageConfig.pbSetTextSpeed(pbSettingToTextSpeed(value))
...where value is (0=slow, 1=mid, 2=fast, 3=unstable superfast).

I believe value 3 will cause game-crashing hanging during battle. By default the speed is 2, and only a prat would make it slower.

So no, there's not really anything you can do about it.
Thanks thats perfect. I found these lines in the PokemonOptions script section but wasn't sure if they were what I needed.

I have this scene where a lot of text is going down the screen and wanted to make it go slightly slower no matter what the text speed is set at. This worked perfect as long as I set it back to 2 after.

Now I really want to try out this "Unstable Superfast" speed :D
Reply With Quote
  #4    
Old March 4th, 2013 (5:33 PM).
Maruno's Avatar
Maruno Maruno is offline
Lead Dev of Pokémon Essentials
Moderator
 
Join Date: Jan 2008
Location: England
Posts: 4,964
While it's obviously a daft thing to change the text speed, a player may do so. You'll probably want to record the value of $PokemonSystem.textspeed before you make your changes, and set it back to that value at the end, just to keep what the player chose intact.

Alternatively, there's the message command \ts[X], where X is a number (or blank for instant). In this case, values of X include 3 (slow), 2 (mid), 1 (fast) and -2 (unstable superfast). The number is actually the number of frames to wait between displaying successive text characters (or if negative, how many characters to display per frame).
Reply With Quote
Reply Post Reply
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 11:06 AM.


Contact Us Archive Privacy Statement Terms of Service Top