Difference between revisions of "Conditional Random Encounters VisuStella MZ"
(Created page with "{{MzPlugin |preview = <youtube>link</youtube> |link1 = <html>Not yet available</html> |link2 = {{VisuStella Battle Technician Vol 1}} }} <!-- Preview --> {| | File:VisuM...") |
|||
Line 36: | Line 36: | ||
{{Visustella MZ}} | {{Visustella MZ}} | ||
− | == | + | == Introduction == |
+ | |||
+ | Do you use Random Encounters for your RPG but want certain troops to appear | ||
+ | only after certain conditions have been met? For example, a pack of wolves | ||
+ | that appear when a specific switch is on, or a school of piranhas that show | ||
+ | up if they detect you have bait in your inventory? This plugin allows that | ||
+ | to be possible! | ||
+ | |||
+ | Features include all (but not limited to) the following: | ||
+ | |||
+ | * Conditional Random Encounter requirements will prevent certain troops from being a part of the random encounter pool until the requirements are met. | ||
+ | * Also applies to the "Battle Processing" event command's "Same As Random Encounters" feature. | ||
+ | * Requirements range from switch conditions, variable values, item counts, weapon counts, armor counts, alive members, and more. | ||
+ | * Additional Comment Tags to force specific BGM's to play for specific troop encounters. | ||
+ | |||
+ | == Requirements == | ||
+ | |||
+ | This plugin is made for RPG Maker MZ. This will not work in other iterations | ||
+ | of RPG Maker. | ||
+ | |||
+ | {{MZ Tier 4}} | ||
+ | |||
+ | == Notetags == | ||
+ | |||
+ | To make these comment tags work, insert any of the below comment tags inside | ||
+ | a comment found within any of the troop's pages. The page's conditions do | ||
+ | not need to be met and can even work with the "Don't Run" condition. | ||
+ | |||
+ | If there are multiple comments, the comments will be stringed together | ||
+ | allowing for more than 6 lines of conditions. | ||
+ | |||
+ | If using the Battle Core's "Base Troop ID(s)" Plugin Parameter, the comments | ||
+ | from the Base Troop pages will also be copied over. | ||
+ | |||
+ | --- | ||
+ | |||
+ | === Requirement Comment Tags === | ||
+ | |||
+ | --- | ||
+ | |||
+ | <pre> | ||
+ | <Random Encounter Requirements> | ||
+ | condition | ||
+ | condition | ||
+ | condition | ||
+ | condition | ||
+ | </Random Encounter Requirements> | ||
+ | |||
+ | - Used for: Troop Page Comment Tags | ||
+ | - Create conditional requirements for this random encounter to be met before | ||
+ | it would appear in the random encounter pool for the map. | ||
+ | - Replace 'condition' with any of the conditions listed in below section. | ||
+ | - Insert and/or remove 'condition' lines to add/remove conditions. | ||
+ | </pre> | ||
+ | |||
+ | === Condition List === | ||
+ | |||
+ | Replace 'condition' in the notetags in the above section with any of the | ||
+ | following to make conditions. These conditions are also used in the Plugin | ||
+ | Parameters for the default conditions, too. | ||
+ | |||
+ | --- | ||
+ | |||
+ | <pre> | ||
+ | x >= y | ||
+ | x > y | ||
+ | x === y | ||
+ | x !== y | ||
+ | x < y | ||
+ | x <= y | ||
+ | |||
+ | - Replace 'x' and 'y' with any of the following: | ||
+ | |||
+ | - 'Switch x' (replace 'x' with a number) for switch x's current state. | ||
+ | - 'TRUE', 'FALSE', 'ON', 'OFF' for the opposite x/y value. | ||
+ | - Using any of these boolean modifiers must be paired with '===' or '!==' | ||
+ | |||
+ | - 'Variable x' (replace 'x' with a number) for variable x's current value. | ||
+ | - A numeric value representing a hard number. | ||
+ | - '50%' or any other percentile number to represent a rate. | ||
+ | - '0.5' or any other float number to represent a rate. | ||
+ | |||
+ | - 'Item id Count' for the number of specific items the party owns. | ||
+ | - Replace 'id' with the ID of the item. | ||
+ | - 'Item name Count' for the number of specific items the party owns. | ||
+ | - Replace 'name' with the ID of the item. | ||
+ | |||
+ | - 'Weapon id Count' for the number of specific weapons the party owns. | ||
+ | - Replace 'id' with the ID of the weapon. | ||
+ | - 'Weapon name Count' for the number of specific weapons the party owns. | ||
+ | - Replace 'name' with the ID of the weapon. | ||
+ | |||
+ | - 'Armor id Count' for the number of specific armors the party owns. | ||
+ | - Replace 'id' with the ID of the armor. | ||
+ | - 'Armor name Count' for the number of specific armors the party owns. | ||
+ | - Replace 'name' with the ID of the armor. | ||
+ | |||
+ | - 'Alive Members' for the number of alive party members when drops are | ||
+ | being determined. | ||
+ | |||
+ | - 'Battle Members' for the number of participating party members in battle. | ||
+ | |||
+ | - 'Dead Members' for the number of dead party members when drops are | ||
+ | being determined. | ||
+ | |||
+ | - 'Death Turn' for the turn the enemy died. If an enemy was revived during | ||
+ | battle, then take the most recent turn the enemy has died. | ||
+ | |||
+ | - 'Party Gold' for the party's current gold value when drops are | ||
+ | being determined. | ||
+ | |||
+ | - 'Party Members' for the number of total party members in battle. | ||
+ | </pre> | ||
+ | |||
+ | --- | ||
+ | |||
+ | === BGM Comment Tags === | ||
+ | |||
+ | --- | ||
<pre> | <pre> | ||
− | This | + | <Forced BGM> |
+ | Name: filename | ||
+ | Volume: x | ||
+ | Pitch: x | ||
+ | Pan: x | ||
+ | </Forced BGM> | ||
+ | |||
+ | - Used for: Troop Page Comment Tags | ||
+ | - Forces a specific BGM to play whenever this specific encounter is primed | ||
+ | for battle. | ||
+ | - This will override any database settings or music changes from event | ||
+ | commands. | ||
+ | - Replace 'filename' with the filename of the BGM you want to play. | ||
+ | - Do NOT include the file extension. | ||
+ | - Replace 'volume' with a number to determine sound volume. | ||
+ | - Replace 'pitch' with a number to determine sound pitch. | ||
+ | - Replace 'pan' with a number to determine sound panning. | ||
</pre> | </pre> | ||
+ | |||
+ | --- | ||
{{VisuStella MZ Terms of Use}} | {{VisuStella MZ Terms of Use}} | ||
Line 50: | Line 186: | ||
Team VisuStella | Team VisuStella | ||
− | * | + | * [[Irina]] |
− | * | + | * [[Arisu]] |
− | * | + | * [[Olivia]] |
− | * | + | * [[Yanfly]] |
== Changelog == | == Changelog == | ||
− | + | Version 1.00 Official Release Date: September 10, 2021 | |
− | * | + | * Finished Plugin! |
== End of File == | == End of File == | ||
Line 66: | Line 202: | ||
<!-- This is a comment, remove the arrows surrounding this for the categories you want to show --> | <!-- This is a comment, remove the arrows surrounding this for the categories you want to show --> | ||
<!-- [[Category: RPG Maker MZ Core Plugins]] --> | <!-- [[Category: RPG Maker MZ Core Plugins]] --> | ||
− | + | [[Category: RPG Maker MZ Battle Plugins]] | |
<!-- [[Category: RPG Maker MZ Item Plugins]] --> | <!-- [[Category: RPG Maker MZ Item Plugins]] --> | ||
<!-- [[Category: RPG Maker MZ Skill Plugins]] --> | <!-- [[Category: RPG Maker MZ Skill Plugins]] --> | ||
<!-- [[Category: RPG Maker MZ Equip Plugins]] --> | <!-- [[Category: RPG Maker MZ Equip Plugins]] --> | ||
<!-- [[Category: RPG Maker MZ Status Menu Plugins]] --> | <!-- [[Category: RPG Maker MZ Status Menu Plugins]] --> | ||
− | + | [[Category: RPG Maker MZ Gameplay Plugins]] | |
<!-- [[Category: RPG Maker MZ Movement Plugins]] --> | <!-- [[Category: RPG Maker MZ Movement Plugins]] --> | ||
<!-- [[Category: RPG Maker MZ Quest Plugins]] --> | <!-- [[Category: RPG Maker MZ Quest Plugins]] --> | ||
<!-- [[Category: RPG Maker MZ Options Plugins]] --> | <!-- [[Category: RPG Maker MZ Options Plugins]] --> | ||
<!-- [[Category: RPG Maker MZ Eventing Plugins]] --> | <!-- [[Category: RPG Maker MZ Eventing Plugins]] --> | ||
− | + | [[Category: RPG Maker MZ Utility Plugins]] | |
− | + | [[Category: RPG Maker MZ Mechanical Plugins]] | |
<!-- [[Category: RPG Maker MZ Visual Plugins]] --> | <!-- [[Category: RPG Maker MZ Visual Plugins]] --> | ||
<!-- [[Category: RPG Maker MZ Menu Plugins]] --> | <!-- [[Category: RPG Maker MZ Menu Plugins]] --> |
Revision as of 17:12, 12 August 2021
VisuStella, Caz Wolf, Fallen Angel Olivia, Atelier Irina, and other affiliated content creators.
Download
| ||
SystemThis is a plugin created for RPG Maker MZ. | ||
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. |
VisuStella MZThis plugin is a part of the VisuStella MZ Plugin Library. Click here if you want to help support VisuStella on Patreon. IntroductionDo you use Random Encounters for your RPG but want certain troops to appear only after certain conditions have been met? For example, a pack of wolves that appear when a specific switch is on, or a school of piranhas that show up if they detect you have bait in your inventory? This plugin allows that to be possible! Features include all (but not limited to) the following:
RequirementsThis plugin is made for RPG Maker MZ. This will not work in other iterations of RPG Maker.
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.
NotetagsTo make these comment tags work, insert any of the below comment tags inside a comment found within any of the troop's pages. The page's conditions do not need to be met and can even work with the "Don't Run" condition. If there are multiple comments, the comments will be stringed together allowing for more than 6 lines of conditions. If using the Battle Core's "Base Troop ID(s)" Plugin Parameter, the comments from the Base Troop pages will also be copied over. --- Requirement Comment Tags--- <Random Encounter Requirements> condition condition condition condition </Random Encounter Requirements> - Used for: Troop Page Comment Tags - Create conditional requirements for this random encounter to be met before it would appear in the random encounter pool for the map. - Replace 'condition' with any of the conditions listed in below section. - Insert and/or remove 'condition' lines to add/remove conditions. Condition ListReplace 'condition' in the notetags in the above section with any of the following to make conditions. These conditions are also used in the Plugin Parameters for the default conditions, too. --- x >= y x > y x === y x !== y x < y x <= y - Replace 'x' and 'y' with any of the following: - 'Switch x' (replace 'x' with a number) for switch x's current state. - 'TRUE', 'FALSE', 'ON', 'OFF' for the opposite x/y value. - Using any of these boolean modifiers must be paired with '===' or '!==' - 'Variable x' (replace 'x' with a number) for variable x's current value. - A numeric value representing a hard number. - '50%' or any other percentile number to represent a rate. - '0.5' or any other float number to represent a rate. - 'Item id Count' for the number of specific items the party owns. - Replace 'id' with the ID of the item. - 'Item name Count' for the number of specific items the party owns. - Replace 'name' with the ID of the item. - 'Weapon id Count' for the number of specific weapons the party owns. - Replace 'id' with the ID of the weapon. - 'Weapon name Count' for the number of specific weapons the party owns. - Replace 'name' with the ID of the weapon. - 'Armor id Count' for the number of specific armors the party owns. - Replace 'id' with the ID of the armor. - 'Armor name Count' for the number of specific armors the party owns. - Replace 'name' with the ID of the armor. - 'Alive Members' for the number of alive party members when drops are being determined. - 'Battle Members' for the number of participating party members in battle. - 'Dead Members' for the number of dead party members when drops are being determined. - 'Death Turn' for the turn the enemy died. If an enemy was revived during battle, then take the most recent turn the enemy has died. - 'Party Gold' for the party's current gold value when drops are being determined. - 'Party Members' for the number of total party members in battle. --- BGM Comment Tags--- <Forced BGM> Name: filename Volume: x Pitch: x Pan: x </Forced BGM> - Used for: Troop Page Comment Tags - Forces a specific BGM to play whenever this specific encounter is primed for battle. - This will override any database settings or music changes from event commands. - Replace 'filename' with the filename of the BGM you want to play. - Do NOT include the file extension. - Replace 'volume' with a number to determine sound volume. - Replace 'pitch' with a number to determine sound pitch. - Replace 'pan' with a number to determine sound panning. ---
Terms of Use1. 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. 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. 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は一切の責任を負いません。 5. VisuStellaは、意図しない使用方法による問題、VisuStella MZライブラリ以外のプラグインとの非互換性の問題、プラグインのバージョンが最新でないことによる問題、第三者による互換性パッチが適切に動作していないことなどが原因でゲーム内で発生した問題については、一切の責任を負いません。VisuStellaは、高度なJavaScriptのノートタグやJavaScriptコードを許可するプラグインのパラメータを含む、カスタムコントロールエフェクトに使用される、ユーザー提供のカスタムコードに起因するエラーについても、一切の責任を負いません。 8. このプラグインの利用規約の追加項目や補足については、VisuStella.comに掲載されていますので、それを参照し従ってください。 CreditsIf you are using this plugin, credit the following people in your game: Team VisuStella ChangelogVersion 1.00 Official Release Date: September 10, 2021
End of File |