Go Back   The PokéCommunity Forums > Creative Discussions > Game Development > Pokémon Essentials
Reload this Page [Question] Is there a script command that changes text speed?

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 March 4th, 2013 (03: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
  #2    
Old March 4th, 2013 (04:58 PM).
Maruno's Avatar
Maruno Maruno is offline
Lead Dev of Pokémon Essentials
Moderator
 
Join Date: Jan 2008
Location: England
Posts: 4,128
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 (05:16 PM).
Rayd12smitty's Avatar
Rayd12smitty Rayd12smitty is offline
Shadow Maker
 
Join Date: Dec 2011
Gender: Male
Posts: 647
Quote originally posted by Maruno:
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 (05:33 PM).
Maruno's Avatar
Maruno Maruno is offline
Lead Dev of Pokémon Essentials
Moderator
 
Join Date: Jan 2008
Location: England
Posts: 4,128
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
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 -8. The time now is 09:20 AM.