Difference between revisions of "Variable Gauges VisuStella MZ"

From Yanfly.moe Wiki
Jump to navigation Jump to search
(Gauge List Settings)
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{MzPlugin
 
{{MzPlugin
|preview = <youtube>link</youtube>
+
|preview = <youtube>https://www.youtube.com/watch?v=nP1QCj918J4</youtube>
|link1 = Link not yet available.
+
|link1 = <html><iframe frameborder="0" src="https://itch.io/embed/1339999" width="552" height="167"><a href="https://visustellamz.itch.io/variable-gauges">Variable Gauges plugin for RPG Maker MZ by VisuStellaMZ</a></iframe></html>
 
|link2 = {{VisuStella Custom Construct Vol 2}}
 
|link2 = {{VisuStella Custom Construct Vol 2}}
  
Line 8: Line 8:
 
<!-- Preview -->
 
<!-- Preview -->
  
{|
+
[[File:VariableGauges_PreviewA.gif]]
| [[File:VisuMZ_Polish.png|400px]]
 
| [[File:VisuMZ_Polish.png|400px]]
 
 
|-
 
  
| [[File:VisuMZ_Polish.png|400px]]
+
[[File:VariableGauges_PreviewB.gif]]
| [[File:VisuMZ_Polish.png|400px]]
 
 
 
|}
 
  
 
{| style="width: 800px;" cellspacing="0" cellpadding="0"
 
{| style="width: 800px;" cellspacing="0" cellpadding="0"
Line 37: Line 30:
  
 
== Introduction ==
 
== Introduction ==
 +
 +
[[File:VariableGauges_PreviewA.gif]]
  
 
This plugin allows you, the game dev, to place gauges on the screen whose
 
This plugin allows you, the game dev, to place gauges on the screen whose
Line 60: Line 55:
  
 
{{MZ Tier 4}}
 
{{MZ Tier 4}}
 +
 +
== Extra Features ==
 +
 +
There are some extra features found if other VisuStella MZ plugins are found
 +
present in the Plugin Manager list.
 +
 +
---
 +
 +
=== [[Visual Gauge Styles VisuStella MZ]] ===
 +
 +
If VisuMZ's Visual Gauge Styles plugin is installed, you can apply gauge
 +
styles to the various gauges for this plugin.
 +
 +
---
  
 
== VisuStella MZ Compatibility ==
 
== VisuStella MZ Compatibility ==
Line 86: Line 95:
 
---
 
---
  
== Notetags ==
+
{{Notetags MZ}}
  
The following are notetags that have been added through this plugin. These
+
{{VisuMZ Variable Gauges Notetags}}
notetags will not work with your game if this plugin is OFF or not present.
 
  
---
+
{{Plugin Commands MZ}}
  
=== Map-Related Notetags ===
+
{{VisuMZ Variable Gauges Plugin Commands}}
  
---
+
== Plugin Parameters ==
  
<pre>
+
=== Gauge List Settings ===
<Hide Variable Gauges>
 
 
 
- Used for: Map Notetags
 
- Prevents Variable Gauges from being visible on the current map.
 
</pre>
 
 
 
---
 
 
 
<pre>
 
<Force Variable Gauge: key>
 
<Force Variable Gauges: key, key, key>
 
 
 
- Used for: Map Notetags
 
- Overrides map settings for the visible Variable Gauges and makes it so
 
  that only the listed Variable Gauges (marked by their keys) are visible
 
  while on this map.
 
- No other Variable Gauges are visible while on this map.
 
- Replace 'key' with a string representing the Variable Gauge that should be
 
  visible on the map.
 
</pre>
 
 
 
---
 
 
 
<pre>
 
<Extra Variable Gauge: key>
 
<Extra Variable Gauges: key, key, key>
 
 
 
- Used for: Map Notetags
 
- Shows extra Variable Gauge(s) in addition to the ones that are normally
 
  visible on the map while on this map.
 
- Replace 'key' with a string representing the Variable Gauge that is also
 
  visible on the map.
 
</pre>
 
 
 
---
 
 
 
== Plugin Commands ==
 
 
 
The following are Plugin Commands that come with this plugin. They can be
 
accessed through the Plugin Command event command.
 
 
 
---
 
 
 
=== Battle Plugin Commands ===
 
 
 
---
 
 
 
<pre>
 
Battle: Add Variable Gauge(s)
 
- Adds Variable Gauge(s) to be visible in battle.
 
 
 
  Key(s):
 
  - List the key(s) of the Variable Gauge(s) you want visible in battle.
 
</pre>
 
 
 
---
 
 
 
<pre>
 
Battle: Remove Variable Gauge(s)
 
- Remove Variable Gauge(s) from view in battle.
 
 
 
  Key(s):
 
  - List the key(s) of the Variable Gauge(s) you want removed from battle.
 
</pre>
 
 
 
---
 
 
 
<pre>
 
Battle: Remove All Gauge(s)
 
- Remove All Variable Gauge(s) from view in battle.
 
</pre>
 
 
 
---
 
 
 
=== Map Plugin Commands ===
 
 
 
---
 
 
 
<pre>
 
Map: Add Variable Gauge(s)
 
- Adds Variable Gauge(s) to be visible on the map.
 
 
 
  Key(s):
 
  - List the key(s) of the Variable Gauge(s) you want visible on the map.
 
</pre>
 
 
 
---
 
 
 
<pre>
 
Map: Remove Variable Gauge(s)
 
- Remove Variable Gauge(s) from view in battle.
 
 
 
  Key(s):
 
  - List the key(s) of the Variable Gauge(s) you want removed from the
 
    map scene.
 
</pre>
 
 
 
---
 
 
 
<pre>
 
Map: Remove All Gauge(s)
 
- Remove All Variable Gauge(s) from view on the map.
 
</pre>
 
 
 
---
 
 
 
=== Refresh Plugin Commands ===
 
 
 
---
 
 
 
<pre>
 
Refresh: All Variable Gauge(s)
 
- Refresh all Variable Gauges currently visible.
 
</pre>
 
 
 
---
 
 
 
<pre>
 
Refresh: Target Variable Gauge(s)
 
- Refresh Target Variable Gauges currently visible.
 
 
 
  Key(s):
 
  - List the key(s) of the Variable Gauge(s) you want refreshed.
 
</pre>
 
 
 
---
 
  
=== System Plugin Commands ===
+
[[File:VariableGauges_PreviewA.gif]]
  
---
+
[[File:VariableGauges_Param1.png]]
  
<pre>
+
[[File:VariableGauges_Param1a.png]]
System: Variable Gauge Visibility
 
- Shows/hides all variable gauges on the screen.
 
 
 
  Visibility:
 
  - Shows/hides all Variable Gauges on the screen.
 
</pre>
 
 
 
---
 
 
 
== Plugin Parameters ==
 
 
 
=== Gauge List Settings ===
 
  
 
A list of the gauges you wish to show on screen. Here is where you adjust
 
A list of the gauges you wish to show on screen. Here is where you adjust
Line 301: Line 171:
 
     - Horizontal - Goes Left to Right
 
     - Horizontal - Goes Left to Right
 
     - Vertical - Goes Down to Up
 
     - Vertical - Goes Down to Up
 +
 +
  Visual Gauge Style:
 +
  - Select the gauge style to use for this gauge.
 +
  - Requires VisuMZ_3_VisualGaugeStyles!
  
 
   JS: Position:
 
   JS: Position:
Line 316: Line 190:
  
 
=== Tooltip Settings ===
 
=== Tooltip Settings ===
 +
 +
[[File:VariableGauges_PreviewB.gif]]
 +
 +
[[File:VariableGauges_Param2.png]]
  
 
Settings for the Variable Gauges Tooltips Window.
 
Settings for the Variable Gauges Tooltips Window.
Line 362: Line 240:
  
 
== Changelog ==
 
== Changelog ==
 +
 +
Version 1.02: February 16, 2023
 +
* Compatibility Update!
 +
** Added compatibility functionality for future plugins.
 +
*** VisuMZ_3_VisualGaugeStyles
 +
**** You can now apply a style for each gauge in the "Gauge List" Plugin Parameters as long as VisuMZ_3_VisualGaugeStyles is installed.
 +
* Documentation Update!
 +
** Help file updated for new features.
 +
** Added section: "Extra Features" for VisuMZ_3_VisualGaugeStyles:
 +
*** If VisuMZ's Visual Gauge Styles plugin is installed, you can apply gauge styles to the various gauges for this plugin.
 +
* New Features!
 +
** New Plugin Parameters added by Arisu:
 +
*** Plugin Parameters > Gauge List > Settings > Visual Gauge Style
 +
**** Select the gauge style to use for this gauge.
 +
**** Requires VisuMZ_3_VisualGaugeStyles!
 +
 +
 +
 +
Version 1.01: January 20, 2022
 +
* Feature Update!
 +
** Added fail safes for event test play to prevent crashes on maps without any tilesets assigned. Update made by Arisu.
 +
 +
  
 
Version 1.00 Official Release Date: February 11, 2022
 
Version 1.00 Official Release Date: February 11, 2022

Revision as of 16:30, 15 February 2023

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 MZ.

InstallPluginsMz.png

UpdatePlugins.png

Troubleshooting.jpg

Click here for help on how to install plugins and an explanation on the Tier Hierarchy System.

Click here to learn how to update plugins.

Click here for how to troubleshoot plugins if you get an error.


Masterarbeit Writer


VariableGauges PreviewA.gif

VariableGauges PreviewB.gif


VisuStella MZ

This plugin is a part of the VisuStella MZ Plugin Library.

Click here if you want to help support VisuStella on Patreon.

Introduction

VariableGauges PreviewA.gif

This plugin allows you, the game dev, to place gauges on the screen whose values are governed by variables. These gauges can appear on the map screen or the battle screen to your liking. Their maximum values, placements, type, colors, and more can be adjusted to suit your needs. Mark them with icons and have tooltip windows appear explaining their purpose when the player hovers the mouse cursor over them.

Features include all (but not limited to) the following:

  • Display an unlimited number of Variable Gauges on the screen.
  • Variable Gauges will automatically update when their assigned variables are updated through event commands.
  • Adjust their screen position, colors, horizontal or vertical style type.
  • Mark the gauges with icons to let the player distinguish them quickly.
  • Provide tooltip support for when the player hovers the mouse cursor over them for more clarity on what the gauges are for.
  • Adjust their visibility through Plugin Commands and Notetags.

Requirements

This plugin is made for RPG Maker MZ. This will not work in other iterations of RPG Maker.


Tier 4

This plugin is a Tier 4 plugin. Place it under other plugins of lower tier value on your Plugin Manager list (ie: 0, 1, 2, 3, 4, 5).

This is to ensure that your plugins will have the best compatibility with the rest of the VisuStella MZ Plugin library.


Extra Features

There are some extra features found if other VisuStella MZ plugins are found present in the Plugin Manager list.

---

Visual Gauge Styles VisuStella MZ

If VisuMZ's Visual Gauge Styles plugin is installed, you can apply gauge styles to the various gauges for this plugin.

---

VisuStella MZ Compatibility

While this plugin is compatible with the majority of the VisuStella MZ plugin library, it is not compatible with specific plugins or specific features. This section will highlight the main plugins/features that will not be compatible with this plugin or put focus on how the make certain features compatible.

---

Message Core VisuStella MZ

Word Wrap does not work the tooltips. This is because the tooltips are automatically sized based on the text at hand.

---

Message Keywords VisuStella MZ

Message Keywords do not work with the tooltips because you cannot hover the mouse cursor over a window that only appears when hovering over a specific section of the screen.

---

Notetags

RPG Maker MZ's editor is unable to allow for custom traits/properties that a game dev may wish to associate with a database object, event, map, etc. Notetags are used to work around such limitations by allowing the game dev to tag certain traits/properties using specific Notetags declared by the related plugin.

Here is a list of Notetag(s) that you may use.


The following are notetags that have been added through this plugin. These notetags will not work with your game if this plugin is OFF or not present.

---

Map-Related Notetags

VariableGauges PreviewA.gif

---

<Hide Variable Gauges>

- Used for: Map Notetags
- Prevents Variable Gauges from being visible on the current map.

---

<Force Variable Gauge: key>
<Force Variable Gauges: key, key, key>

- Used for: Map Notetags
- Overrides map settings for the visible Variable Gauges and makes it so
  that only the listed Variable Gauges (marked by their keys) are visible
  while on this map.
- No other Variable Gauges are visible while on this map.
- Replace 'key' with a string representing the Variable Gauge that should be
  visible on the map.

---

<Extra Variable Gauge: key>
<Extra Variable Gauges: key, key, key>

- Used for: Map Notetags
- Shows extra Variable Gauge(s) in addition to the ones that are normally
  visible on the map while on this map.
- Replace 'key' with a string representing the Variable Gauge that is also
  visible on the map.

---

Plugin Commands

PluginCommandsMZ.png

Plugin Commands are event commands that are used to call upon functions added by a plugin that aren't inherently a part of RPG Maker MZ.

Here is a list of Plugin Command(s) that you may use:

---


The following are Plugin Commands that come with this plugin. They can be accessed through the Plugin Command event command.

---

Battle Plugin Commands

VariableGauges PreviewA.gif

---

Battle: Add Variable Gauge(s)
- Adds Variable Gauge(s) to be visible in battle.

  Key(s):
  - List the key(s) of the Variable Gauge(s) you want visible in battle.

---

Battle: Remove Variable Gauge(s)
- Remove Variable Gauge(s) from view in battle.

  Key(s):
  - List the key(s) of the Variable Gauge(s) you want removed from battle.

---

Battle: Remove All Gauge(s)
- Remove All Variable Gauge(s) from view in battle.

---

Map Plugin Commands

VariableGauges PreviewB.gif

---

Map: Add Variable Gauge(s)
- Adds Variable Gauge(s) to be visible on the map.

  Key(s):
  - List the key(s) of the Variable Gauge(s) you want visible on the map.

---

Map: Remove Variable Gauge(s)
- Remove Variable Gauge(s) from view in battle.

  Key(s):
  - List the key(s) of the Variable Gauge(s) you want removed from the
    map scene.

---

Map: Remove All Gauge(s)
- Remove All Variable Gauge(s) from view on the map.

---

Refresh Plugin Commands

VariableGauges PreviewB.gif

---

Refresh: All Variable Gauge(s)
- Refresh all Variable Gauges currently visible.

---

Refresh: Target Variable Gauge(s)
- Refresh Target Variable Gauges currently visible.

  Key(s):
  - List the key(s) of the Variable Gauge(s) you want refreshed.

---

System Plugin Commands

VariableGauges PreviewA.gif

---

System: Variable Gauge Visibility
- Shows/hides all variable gauges on the screen.

  Visibility:
  - Shows/hides all Variable Gauges on the screen.

---

Plugin Parameters

Gauge List Settings

VariableGauges PreviewA.gif

VariableGauges Param1.png

VariableGauges Param1a.png

A list of the gauges you wish to show on screen. Here is where you adjust ALL of the settings related to the Variable Gauges that can appear in your game. Every setting needs to be carefully adjusted.

---

Main

 Key:
 - Identification key used to reference this gauge.
 - Use unique keys for this to work.
 - If you do not change the ID Key for this Variable Gauge and leave it as
   >>>ATTENTION<<<, then the game will not let you move forward.
 Variable ID:
 - Select a variable to bind this gauge to.
 - Use a Variable ID other than 0 for this to work.
 JS: Maximum Value:
 - Code used to determine the maximum value for the gauge.

---

Gauge Colors

 Color 1:
 Color 2:
 - Use #rrggbb for custom colors or regular numbers for text colors from
   the Window Skin.

---

Default Visibility

 Map Visible:
 Battle Visible:
 - Do you want this gauge to be visible or hidden by default?

---

Icon Settings

 Icon Index:
 - Pairs the gauge with an icon.
 - Use 0 to not use any icons.
 Icon Buffer:
 - Pixel distance to buffer icon from gauge.
 - Direction depends on Gauge Type.

---

Screen Settings

 Gauge Type:
 - What is the gauge type like?
   - Horizontal - Goes Left to Right
   - Vertical - Goes Down to Up
 Visual Gauge Style:
 - Select the gauge style to use for this gauge.
 - Requires VisuMZ_3_VisualGaugeStyles!
 JS: Position:
 - Code used to determine the screen position for this gauge.

---

Tooltip Settings

 Tooltip Text:
 - Tooltip text that's displayed when the mouse hovers over.
 - Text codes allowed. Does not work with Word Wrap.

---

Tooltip Settings

VariableGauges PreviewB.gif

VariableGauges Param2.png

Settings for the Variable Gauges Tooltips Window.

---

Appearance

 Scale:
 - What scale size do you want for the tooltip?
 - Use 1.0 for normal size.
 Skin Filename:
 - What window skin do you want to use for the tooltip?
 Skin Opacity:
 - What opacity setting is used for the tooltip?
 - Use a number between 0 and 255.

---

Offset

 Offset X:
 - Offset the tooltip X position from the mouse?
 - Negative: left. Positive: right.
 Offset Y:
 - Offset the tooltip Y position from the mouse?
 - Negative: up. Positive: down.

---


Terms of Use

1. These plugins may be used in free or commercial games provided that they have been acquired through legitimate means at VisuStella.com and/or any other official approved VisuStella sources. Exceptions and special circumstances that may prohibit usage will be listed on VisuStella.com.

2. All of the listed coders found in the Credits section of this plugin must be given credit in your games or credited as a collective under the name: "VisuStella".

3. You may edit the source code to suit your needs, so long as you do not claim the source code belongs to you. VisuStella also does not take responsibility for the plugin if any changes have been made to the plugin's code, nor does VisuStella take responsibility for user-provided custom code used for custom control effects including advanced JavaScript notetags and/or plugin parameters that allow custom JavaScript code.

4. You may NOT redistribute these plugins nor take code from this plugin to use as your own. These plugins and their code are only to be downloaded from VisuStella.com and other official/approved VisuStella sources. A list of official/approved sources can also be found on VisuStella.com.

5. VisuStella is not responsible for problems found in your game due to unintended usage, incompatibility problems with plugins outside of the VisuStella MZ library, plugin versions that aren't up to date, nor responsible for the proper working of compatibility patches made by any third parties. VisuStella is not responsible for errors caused by any user-provided custom code used for custom control effects including advanced JavaScript notetags and/or plugin parameters that allow JavaScript code.

6. If a compatibility patch needs to be made through a third party that is unaffiliated with VisuStella that involves using code from the VisuStella MZ library, contact must be made with a member from VisuStella and have it approved. The patch would be placed on VisuStella.com as a free download to the public. Such patches cannot be sold for monetary gain, including commissions, crowdfunding, and/or donations.

7. If this VisuStella MZ plugin is a paid product, all project team members must purchase their own individual copies of the paid product if they are to use it. Usage includes working on related game mechanics, managing related code, and/or using related Plugin Commands and features. Redistribution of the plugin and/or its code to other members of the team is NOT allowed unless they own the plugin itself as that conflicts with Article 4.

8. Any extensions and/or addendums made to this plugin's Terms of Use can be found on VisuStella.com and must be followed.

Terms of Use: Japanese


『VisuStella MZ』利用規約

1. これらのプラグインは、VisuStella.comおよび/または公式に承認されたVisuStellaのソースから合法的な手段で入手したものである限り、フリーゲームや商用ゲームに使用することができます。例外的に使用が禁止される場合については、VisuStella.comの記載をご確認ください。

2. 本プラグインの「クレジット」部分に記載されているすべてのコーダーの名前は、ゲーム内にクレジット表記を行うか、もしくは「VisuStella」という名前の下にまとめて表記する必要があります。

3. ソースコードを自分のものだと主張しない限りは、必要に応じて編集することが可能です。ただしプラグインのコードに変更が加えられた場合、VisuStellaはそのプラグインに対して一切の責任を負いません。高度なJavaScriptのノートタグやJavaScriptコードを許可するプラグインのパラメータを含む、カスタムコントロールエフェクトに使用される、ユーザー提供のカスタムコードについても、VisuStellaは一切の責任を負いません。

4. これらのプラグインやプラグイン内のコードを、「自分のもの」として再配布したり使用したりすることはできません。これらのプラグインとそのコードは、VisuStella.comおよび、その他の公式/承認済みVisuStellaソースからのみダウンロードすることができます。公式/承認済みのソースのリストは、VisuStella.comでご確認いただけます。

5. VisuStellaは、意図しない使用方法による問題、VisuStella MZライブラリ以外のプラグインとの非互換性の問題、プラグインのバージョンが最新でないことによる問題、第三者による互換性パッチが適切に動作していないことなどが原因でゲーム内で発生した問題については、一切の責任を負いません。VisuStellaは、高度なJavaScriptのノートタグやJavaScriptコードを許可するプラグインのパラメータを含む、カスタムコントロールエフェクトに使用される、ユーザー提供のカスタムコードに起因するエラーについても、一切の責任を負いません。

6. VisuStella MZライブラリのコードを使用した互換性パッチをVisuStellaとは関係のない第三者を通じて作成する必要がある場合は、まずVisuStellaのメンバーと連絡を取り、承認を得る必要があります。パッチはVisuStella.comに公開され、誰でも無料でダウンロードすることができるようになります。このようなパッチを、制作発注やクラウドファンディングの対象にしたり、寄付などの金銭的な利益を得るために販売することはできません。

7. このVisuStella MZプラグインが商用製品である場合、プロジェクトチームのすべてのメンバーは、それを使用するため、それぞれ製品を購入しなければなりません。使用方法には、関連するゲームメカニクスの作業、関連するコードの管理、および/または関連するプラグインコマンドや機能の使用、が含まれます。プラグインそのものやそのコードをチームの他のメンバーに再配布することは第4項に抵触するため、そのメンバーがプラグインそのものを所有していない限りは許可されません。

8. このプラグインの利用規約の追加項目や補足については、VisuStella.comに掲載されていますので、それを参照し従ってください。

Credits

If you are using this plugin, credit the following people in your game:

Team VisuStella

Changelog

Version 1.02: February 16, 2023

  • Compatibility Update!
    • Added compatibility functionality for future plugins.
      • VisuMZ_3_VisualGaugeStyles
        • You can now apply a style for each gauge in the "Gauge List" Plugin Parameters as long as VisuMZ_3_VisualGaugeStyles is installed.
  • Documentation Update!
    • Help file updated for new features.
    • Added section: "Extra Features" for VisuMZ_3_VisualGaugeStyles:
      • If VisuMZ's Visual Gauge Styles plugin is installed, you can apply gauge styles to the various gauges for this plugin.
  • New Features!
    • New Plugin Parameters added by Arisu:
      • Plugin Parameters > Gauge List > Settings > Visual Gauge Style
        • Select the gauge style to use for this gauge.
        • Requires VisuMZ_3_VisualGaugeStyles!


Version 1.01: January 20, 2022

  • Feature Update!
    • Added fail safes for event test play to prevent crashes on maps without any tilesets assigned. Update made by Arisu.


Version 1.00 Official Release Date: February 11, 2022

  • Finished Plugin!

End of File