Difference between revisions of "Template:VisuMZ Visual State Effects Notetags"

From Yanfly.moe Wiki
Jump to navigation Jump to search
(Hover Notetags)
Line 169: Line 169:
  
 
---
 
---
 +
 +
[[File:VisualStateEffectsHover.gif]]
  
 
<pre>
 
<pre>

Revision as of 16:48, 27 August 2020

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.

State-Related Notetags

The following notetags are made for states.

---

<Hide State Popup>

- Used for: State Notetags
- Don't display any of the popups for this state.

---

<State Popup>
 text color: c
 flash color: r, g, b, a
 flash duration: d
</State Popup>

- Used for: State Notetags
- Changes the settings of the state popup from the defaults declared by the
  Plugin Parameters. Each of the settings are optional. If the lines do not
  appear in the notetag, then the default values from the Plugin Parameters
  will be used instead.
- Replace 'c' #rrggbb for custom colors or insert a regular number for text
  colors from the Window Skin.
- Replace 'r', 'g', 'b', 'a' with number values ranging from 0 to 255 for
  'red', 'green', 'blue', and 'alpha' to determine the flash color.
- Replace 'd' with a number representing the amount of frames you want the
  flash duration to last for.

Examples:

<State Popup>
 text color: 3
</State Popup>

<State Popup>
 text color: #abcdef
 flash color: 255, 255, 0, 160
</State Popup>

<State Popup>
 flash color: 0, 255, 255, 160
 flash duration: 90
</State Popup>

<State Popup>
 flash duration: 777
</State Popup>

---

<Add Animation: x>

- Used for: State Notetags
- Determines the battle animation to play when the state is applied.
- Replace 'x' with a number representing the ID of the animation you wish
  to play when the state is added.
- This does not work for states without icons nor the death state.

---

<Erase Animation: x>

- Used for: State Notetags
- Determines the battle animation to play when the state is removed.
- Replace 'x' with a number representing the ID of the animation you wish
  to play when the state is removed.
- This does not work for states without icons nor the death state.

---

VisualStateEffectsRepeatCycle.gif

<Repeat Animation: x>

- Used for: State Notetags
- Determines the battle animation to play in intervals when the battler is
  affected by it.
- Replace 'x' with a number representing the ID of the animation you wish
  to play on repeat while the battler is affected by the state.
- The battler will cycle through the various repeating state animations
  available through states.
- WARNING: Abusing Repeat Animations can jeopardize game performance.

---

<Repeat Animation Cycle: x>

- Used for: State Notetags
- Determines the cycle/duration of this specific state's repeating animation
  if you do not wish to use the plugin parameter's default setting.
- Replace 'x' with the number of frames you wish to play this animation for
  before moving onto the next animation.
- WARNING: Lower numbers can jeopardize game performance.

---

<State Motion: Walk>
<State Motion: Wait>
<State Motion: Chant>
<State Motion: Guard>
<State Motion: Damage>
<State Motion: Evade>
<State Motion: Thrust>
<State Motion: Swing>
<State Motion: Missile>
<State Motion: Skill>
<State Motion: Spell>
<State Motion: Item>
<State Motion: Escape>
<State Motion: Victory>
<State Motion: Dying>
<State Motion: Abnormal>
<State Motion: Sleep>
<State Motion: Dead>

- Used for: State Notetags
- Lets you determine what kind of state motion to play when the battler is
  affected by the state.
- The battler will only play the highest priority state motion.

---

<State Motion Lock>

- Used for: State Notetags
- If an actor or animated sideview enemy is affected by a state that has
  this notetag, their animation will be locked in place while this state
  is in effect.

---

<State Tone: red, green, blue, gray>

- Used for: State Notetags
- Tints the battler with a tone determined by the state.
- Replace 'red', 'green', 'blue' with a value between -255 and 255.
- Replace 'gray' with a value between 0 and 255.
- If a battler has multiple states with tones, then the state with the
  highest priority value is applied to the battler.

---

Hover Notetags

---

VisualStateEffectsHover.gif

<Visual Hover Effect>
 Base: x
 Speed: y
 Rate: z
 Death: case
</Visual Hover Effect>

- Used for: Actor, Class, Skill, Item, Weapon, Armor, Enemy, State Notetags
- Creates a hover effect when tied to a trait object.
- The 'base' value determines the minimum height above the ground for the
  hover effect. Replace 'x' with a number representing the pixel height.
- The 'speed' value determines the flat adjustment towards the wobbling
  change. Replace 'y' with a number representing the speed. Lower values
  move faster while higher values move slower.
- The 'rate' determines the fluctuation rate when the hover effect bobbles
  up and down. Replace 'z' with a number representing the fluctuation rate.
- The 'death' scenario lets you decide if you want the hovering battler to
  remain hovering if they're dead or fall down to the floor. Replace 'case'
  with 'Hover' or 'Floor'.

Example:

<Visual Hover Effect>
 Base: 100
 Speed: 20
 Rate: 5.0
 Death: floor
</Visual Hover Effect>

---