Adds a new Timed Attack system that is similar to a clock hand revolving around the face of the clock. – SRD_TimedAttack_Clock.js
- タイトル
- Adds a new Timed Attack system that is similar to a clock hand revolving around the face of the clock.
- 作者名
- SumRndmDde様
- ヘルプ
-
Timed Attack: Clock
Version 1.10
SumRndmDde
This Plugin requires the Timed Attack Core Plugin (SRD_TimedAttackCore)
http://sumrndm.site/timed-attack-core
This is a Timed Attack that is based off of the movement of a hand of a
clock that revolves around the face of the clock.
The goal for the Player is to press the "OK" button or tap the screen
when the "clock hand" is on top of the target area.
==========================================================================
How to Customize Skill's Damage/Effect from Timed Attack
==========================================================================
Use $gameTemp.tas_power to have the power affect the skill.
This value will be a value from 0 to 1 depending on how close the
"Timed Attack" was to being perfect.
For example:
(a.atk4 - b.def2)($gameTemp.tas_power)
In that example, getting a perfect hit in the "Timed Attack" would result
in full damage, and getting any besides perfect would give only a percent
of the full damage.
==========================================================================
How to Set a Skill to Use a Timed Attack (Clock)
==========================================================================
Use the Notetag:
<Timed Attack: clock>
<End Timed Attack>
Setting those in a Skill's notebox will activate the "Timed Attack System"
for that Skill.
The part that says "clock" can be changed to have other types of "Timed
Attacks" be used.
==========================================================================
How to Set up Targets
==========================================================================
<Timed Attack: clock>
Target 1: 150, 180, #00ff00, 1
Target 2: 220, 260, #0000ff, 1
<End Timed Attack>
As shown above, one can set up multiple targets per each Clock Timed Attack.
There can be a maximum of 5 Targets per each Timed Attack.
Each target has four properties:
- Start Position
- End Position
- Color
- Power
They must be seperated with commas in that order.
The Start/End Positions are based off of angular degrees (example: 0 - 360)
The Color can just be any JavaScript of HTML color
The Power determines how effective hitting this part will be.
1 is about the default amount, but it can be given more of less power.
==========================================================================
Clock Timed Attack Properties
==========================================================================
You can manipulate the properties of each Timed Attack by adding them
in the Notetags. For example:
<Timed Attack: clock>
Speed: 2
Cooldown: 5
Start Position: 145
End Position: 200
<End Timed Attack>
As you can see, there are a couple of factors you can use to even make one
individual Timed Attack different for each Skill it is used with.
Here are all the properties for Clock Timed Attack:
Sound Effect: (Input filename of Sound Effect in /audio/se/)
Background Image: (Input filename of for in /img/SumRndmDde/tas/)
Repeat Type: (Input one of the following: None, Repeat, Reverse)
Speed: (Input a Positive Number or JavaScript Formula)
Height: (Input a Positive Number)
Start Position: (Input a Positive Angular Degree)
End Position: (Input a Positive Angular Degree)
Length: (Input a Positive Number)
Hand Color: (Input a JavaScript or HTML Color)
Base Color: (Input a JavaScript or HTML Color)
Fade Color: (Input a JavaScript or HTML Color)
Background Color: (Input a JavaScript or HTML Color)
Thickness: (Input a Positive Number)
Cooldown: (Input a Positive Number)
Flash Rate: (Input a Positive Number)
Flash Time: (Input a Positive Number)
The JavaScript Formula can use 'f' to represent "Frame Count".
Leave blank to use default clock image
==========================================================================
End of Help File
==========================================================================
Welcome to the bottom of the Help file.
Thanks for reading!
If you have questions, or if you enjoyed this Plugin, please check
out my YouTube channel!
https://www.youtube.com/c/SumRndmDde
Until next time,
~ SumRndmDde - パラメータ
-
param == Default Props. == default param Sound Effect desc The default Sound Effect when one is not specified.
Input filename of Sound Effect in /audio/se/default Sword2 param Background Image desc The default Background Image when one is not specified.
Input filename of Background Image in /img/SumRndmDde/tas/default param Repeat Type desc The default Repeat Type when one is not specified.
The choices are: None, Repeat, Reversedefault None param Speed desc The default Speed when one is not specified.
Input a Positive Number or JavaScript Formuladefault 5 param Length desc The default Speed when one is not specified.
Input a Positive Number or JavaScript Formuladefault 60 param Height desc The default Height when one is not specified.
Input a Positive Numberdefault 150 param Thickness desc The default Ring Thickness when one is not specified.
Input a Positive Numberdefault 4 param Start Position desc The default Start Position when one is not specified.
Input a Positive Angular Degreedefault 0 param End Position desc The default Start Position when one is not specified.
Input a Positive Angular Degreedefault 360 param Hand Color desc The default Hand Color when one is not specified.
Input a JavaScript or HTML Colordefault #ffffff param Base Color desc The default Base Color when one is not specified.
Input a JavaScript or HTML Colordefault #000000 param Fade Color desc The default Fade Color when one is not specified.
Input a JavaScript or HTML Colordefault #cccccc param Background Color desc The default Background Color when one is not specified.
Input a JavaScript or HTML Colordefault #5e6b6e param Outline Color desc The default Background Color when one is not specified.
Input a JavaScript or HTML Colordefault #000000 param Outline Width desc The default Background Color when one is not specified.
Input a JavaScript or HTML Colordefault 2 param Target 1 desc The default Target 1 when one is not specified.
Use the formula: start, finish, color, powerdefault 165, 195, #F25B60, 1 param Target 2 desc The default Target 2 when one is not specified.
Use the formula: start, finish, color, powerdefault param Target 3 desc The default Target 3 when one is not specified.
Use the formula: start, finish, color, powerdefault param Target 4 desc The default Target 4 when one is not specified.
Use the formula: start, finish, color, powerdefault param Target 5 desc The default Target 5 when one is not specified.
Use the formula: start, finish, color, powerdefault param Cooldown desc The default Cooldown when one is not specified.
Input a Positive Numberdefault 16 param Flash Rate desc The default Flash Rate when one is not specified.
Input a Positive Numberdefault 16 param Flash Time desc The default Flash Time when one is not specified.
Input a Positive Numberdefault 40 - ライセンス表記
紹介ページ https://github.com/SumRndmDde/RPG-Maker-MV-Plugins/blob/master/SRD_TimedAttack_Clock.js