Difference between revisions of "Message Speed Option (YEP)"

From Yanfly.moe Wiki
Jump to navigation Jump to search
(Created page with "{{MvPlugin |preview=<youtube>https://www.youtube.com/watch?v=ciZmejAmzcw</youtube> |link1=<html><iframe src="https://itch.io/embed/398022" height="167" width="552" frameborder...")
 
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{MvPlugin
 
{{MvPlugin
|preview=<youtube>https://www.youtube.com/watch?v=ciZmejAmzcw</youtube>
+
|preview = <youtube>https://www.youtube.com/watch?v=ciZmejAmzcw</youtube>
|link1=<html><iframe src="https://itch.io/embed/398022" height="167" width="552" frameborder="0"></iframe></html>
+
|link2 = <html><iframe src="https://itch.io/embed/508096" height="167" width="552" frameborder="0"></iframe></html>
|link2=[http://yanfly.moe/plugins/en/YEP_X_MessageSpeedOpt.js Mirror]
+
|link3 = <html><iframe src="https://itch.io/embed/398158" height="167" width="552" frameborder="0"></iframe></html>
  
 
}}
 
}}
 
[[Category:RPG Maker MV Core Plugins]]
 
[[Category:RPG Maker MV Core Plugins]]
  
{{ExtensionPluginsMV}}
+
{{RequiredPluginsMV}}
 
* [[ Message Core (YEP)|Message Core]]
 
* [[ Message Core (YEP)|Message Core]]
  
 
{{Yanfly Engine Plugins}}
 
{{Yanfly Engine Plugins}}
  
== Help File ==
+
== Introduction ==
  
  <nowiki>
+
  <nowiki>This plugin requires YEP_MessageCore.
============================================================================
 
Introduction
 
============================================================================
 
 
 
This plugin requires YEP_MessageCore.
 
 
Make sure this plugin is located under YEP_MessageCore in the plugin list.
 
Make sure this plugin is located under YEP_MessageCore in the plugin list.
  
Line 28: Line 23:
 
comes with speeds from 0 (slowest) to 10 (fastest) and even an "11th" speed
 
comes with speeds from 0 (slowest) to 10 (fastest) and even an "11th" speed
 
of being instant!
 
of being instant!
 +
</nowiki>
  
============================================================================
+
{{Options Core Integration MV}}
Options Core Settings - Adding the New Options
 
============================================================================
 
  
If you are using YEP_OptionsCore.js, you can add a new Option using this
+
<nowiki>If you are using YEP_OptionsCore.js, you can add a new Option using this
 
plugin. Here's the following code/parameter settings you can use with it.
 
plugin. Here's the following code/parameter settings you can use with it.
  
Line 117: Line 111:
 
Load Config Code:
 
Load Config Code:
 
// Empty. Provided by this plugin.
 
// Empty. Provided by this plugin.
 +
</nowiki>
  
============================================================================
+
== Changelog ==
Changelog
 
============================================================================
 
  
Version BETA:
+
<nowiki>Version BETA:
 
- Started Plugin!
 
- Started Plugin!
 +
</nowiki>
  
============================================================================
+
<!-- This is a comment, remove the arrows surrounding this for the categories you want to show -->
End of Helpfile
+
<!-- [[Category:RPG Maker MV Core Plugins]] -->
============================================================================
+
<!-- [[Category:RPG Maker MV Battle Plugins]] -->
</nowiki>
+
<!-- [[Category:RPG Maker MV Item Plugins]] -->
 +
<!-- [[Category:RPG Maker MV Skill Plugins]] -->
 +
<!-- [[Category:RPG Maker MV Equip Plugins]] -->
 +
<!-- [[Category:RPG Maker MV Status Menu Plugins]] -->
 +
<!-- [[Category:RPG Maker MV Gameplay Plugins]] -->
 +
<!-- [[Category:RPG Maker MV Movement Plugins]] -->
 +
<!-- [[Category:RPG Maker MV Quest Plugins]] -->
 +
<!-- [[Category:RPG Maker MV Options Plugins]] -->
 +
<!-- [[Category:RPG Maker MV Eventing Plugins]] -->
 +
<!-- [[Category:RPG Maker MV Utility Plugins]] -->
 +
<!-- [[Category:RPG Maker MV Mechanical Plugins]] -->
 +
<!-- [[Category:RPG Maker MV Visual Plugins]] -->
 +
<!-- [[Category:RPG Maker MV Menu Plugins]] -->
 +
[[Category:RPG Maker MV Message Plugins]]
 +
[[Category:RPG Maker MV Quality of Life Plugins]]
 +
<!-- [[Category:RPG Maker MV Plugin Tips & Tricks]] -->
 +
<!-- [[Category:Action Sequences (MV)]] -->
 +
<!-- [[Category:Main Menu Manager Integration (MV)]] -->
 +
<!-- [[Category:Notetags (MV)]] -->
 +
<!-- [[Category:Options Core Integration (MV)]] -->
 +
<!-- [[Category:Plugin Commands (MV)]] -->
 +
<!-- [[Category:Script Calls (MV)]] -->
 +
<!-- [[Category:Text Codes (MV)]] -->

Latest revision as of 10:38, 13 June 2020

Welcome to the wiki! This is where you can find resources from Yanfly.moe, Ækashics.moe,
VisuStella, Caz Wolf, Fallen Angel Olivia, Atelier Irina, and other affiliated content creators.



Download

System

This is a plugin created for RPG Maker MV.

For help on how to install plugins, click here.

For help on how to update plugins, click here.

Got errors with your RPG Maker MV plugin? Click here.


Masterarbeit Writer

Required Plugins

The following plugins are required in order to use this plugin.

Place the following plugins above this plugin located in the Plugin Manager.

Yanfly Engine Plugins

This plugin is a part of the Yanfly Engine Plugins library.


Introduction

This plugin requires YEP_MessageCore.
Make sure this plugin is located under YEP_MessageCore in the plugin list.

The option to control the message speed is quite common in RPG's nowadays.
Players can put in whatever option they feel like for the text to go at, or
if they wish, to have the text display instantly! This plugin will add in
the 'Message Speed' option into your Options Menu for players to adjust! It
comes with speeds from 0 (slowest) to 10 (fastest) and even an "11th" speed
of being instant!

Options Core Integration

To integrate options from this plugin into Yanfly's Options Core, use the settings below:

If you are using YEP_OptionsCore.js, you can add a new Option using this
plugin. Here's the following code/parameter settings you can use with it.

---------
Settings:
---------

Name:
\i[87]Message Speed

Help Description:
Changes the speed text is displayed during messages.

Symbol:
messageSpeed

Show/Hide:
show = Imported.YEP_X_MessageSpeedOpt;

Enable:
enabled = true;

Ext:
ext = 0;

----------
Functions:
----------

Make Option Code:
this.addCommand(name, symbol, enabled, ext);

Draw Option Code:
var rect = this.itemRectForText(index);
var statusWidth = this.statusWidth();
var titleWidth = rect.width - statusWidth;
this.resetTextColor();
this.changePaintOpacity(this.isCommandEnabled(index));
this.drawOptionsName(index);
var value = this.getConfigValue(symbol);
var rate = ((value) / 10).clamp(0, 1);
if (value > 10) {
  var gaugeColor1 = this.textColor(14);
  var gaugeColor2 = this.textColor(6);
} else {
  var gaugeColor1 = this.textColor(20);
  var gaugeColor2 = this.textColor(21);
}
this.drawOptionsGauge(index, rate, gaugeColor1, gaugeColor2);
this.drawText(this.statusText(index), titleWidth, rect.y, statusWidth, 'center');

Process OK Code:
var index = this.index();
var symbol = this.commandSymbol(index);
var value = this.getConfigValue(symbol);
value += 1;
if (value > 11) value = 0;
value = value.clamp(0, 11);
this.changeValue(symbol, value);

Cursor Right Code:
var index = this.index();
var symbol = this.commandSymbol(index);
var value = this.getConfigValue(symbol);
value += 1;
value = value.clamp(0, 11);
this.changeValue(symbol, value);

Cursor Left Code:
var index = this.index();
var symbol = this.commandSymbol(index);
var value = this.getConfigValue(symbol);
value -= 1;
value = value.clamp(0, 11);
this.changeValue(symbol, value);

Default Config Code:
// Empty. Provided by this plugin.

Save Config Code:
// Empty. Provided by this plugin.

Load Config Code:
// Empty. Provided by this plugin.

Changelog

Version BETA:
- Started Plugin!