Difference between revisions of "Floor Damage (YEP)"

From Yanfly.moe Wiki
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{MvPlugin
 
{{MvPlugin
 
|preview = <youtube>https://www.youtube.com/watch?v=GJsjXhJv13E</youtube>
 
|preview = <youtube>https://www.youtube.com/watch?v=GJsjXhJv13E</youtube>
|link1 = <html><iframe src="https://itch.io/embed/399537" height="167" width="552" frameborder="0"></iframe></html>
+
|link2 = <html><iframe src="https://itch.io/embed/508223" height="167" width="552" frameborder="0"></iframe></html>
|link2 = [http://yanfly.moe/plugins/en/YEP_FloorDamage.js Mirror]
+
|link3 = <html><iframe src="https://itch.io/embed/398158" height="167" width="552" frameborder="0"></iframe></html>
  
 
}}
 
}}
Line 19: Line 19:
 
</nowiki>
 
</nowiki>
  
== Notetags ==
+
{{Notetags MV}}
  
 
  <nowiki>
 
  <nowiki>
Line 43: Line 43:
 
</nowiki>
 
</nowiki>
  
== Lunatic Mode - Custom Floor Damage ==
+
{{Lunatic Mode MV}}
  
 
  <nowiki>
 
  <nowiki>
Line 74: Line 74:
 
- Finished Plugin!
 
- Finished Plugin!
 
</nowiki>
 
</nowiki>
 +
 +
<!-- This is a comment, remove the arrows surrounding this for the categories you want to show -->
 +
<!-- [[Category: RPG Maker MV Core Plugins]] -->
 +
<!-- [[Category: RPG Maker MV Battle Plugins]] -->
 +
<!-- [[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: Comment Tags (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:56, 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

Yanfly Engine Plugins

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


Introduction

For those who would like to make different tiles deal different amount of
damage, this plugin will allow you to accomplish such a thing. This way,
some tiles can deal more damage than others instead of dealing a static 10
damage each character. In addition to that, you are also able to change the
color of the damage flash, too!

Notetags

NotetagsMV.png

RPG Maker MV'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.

---

Insert the following notetags into the noteboxes for your tilesets:

Tileset Notetag:

  <Floor Damage x: y>
  - 'x' is the terrain tag to mark the tileset with. By default, terrain
  tags are set to 0. They will go up as high as 7. 'y' will be the amount of
  damage dealt to each actor in the party. For example, <Floor Damage 2: 50>
  will cause all damage tiles marked with terrain tag 2 to deal 50 damage.
  * Note: You will still need to mark the tile itself as a damage tile in
  the database editor.

  <Floor Flash x: r, g, b, o>
  - 'x' is the terrain tag to mark the tileset with. Replace 'r', 'g', 'b',
  and 'o' with values between 0-255 to indicate the red, green, blue, and
  opacity values respectively. This will make the screen flash this color
  combination when the player takes damage from this tile.
  * Note: You will still need to mark the tile itself as a damage tile in
  the database editor.

Lunatic Mode

JavaScript.png

For advanced users who have an understanding of JavaScript, you can use the following features added by the plugin to further enhance what you can do with your game project.

For those with JavaScript experience, you can make certain terrain tags deal
custom amounts of damage to your actors.

Tileset Notetag:

  <Custom Floor Damage x>
   value = actor.level;
  </Custom Floor Damage x>
  - 'x' is the terrain tag to mark the tileset with. By default, terrain
  tags are set to 0. They will go up as high as 7. 'y' will be the amount of
  damage dealt to each actor in the party. 'value' is the final damage value
  that will be added upon the <Floor Damage x: y> value. 'actor' will refer
  to the actor being damaged currently.

Changelog

Version 1.02:
- Bypass the isDevToolsOpen() error when bad code is inserted into a script
call or custom Lunatic Mode code segment due to updating to MV 1.6.1.

Version 1.01:
- Updated for RPG Maker MV version 1.5.0.

Version 1.00:
- Finished Plugin!