TamFey's Timed Button Attacks

Hi, I want to make a question.

every time I go to load the plugin, an error message like this appears, and I was wondering how I solve the problem. Thanks.

Sorry for the bad English, it's not my native language.View attachment 217299
You need to copy the arrow images from the demo that Rockenberg posted a few posts before, then paste them into the img/system folder of your own project.

Also, the notetags in the demo don't exactly work as they are there, at least not when I tried them.

The demo gives 0s in the 3rd position, but this causes the attacks to have no attack power. The notetag setup on the skill you set up needs to be something like follows:

<tba down ArrowDown 110 3 64 0>
<tba left ArrowLeft 136 3 64 0>
<tba up ArrowUp 190 4 64 0>
<tba up ArrowUp 210 3 64 0>

That causes a small amount of damage (64 HP, I believe) 4 times in a row, displaying the general arrows for the correct arrow keys. The speed of the first 2 arrows that occur at 110 and 136 is 3, then the next at interval 190 is 4, to make things interesting, and then the last one at 210 is also speed 3. This is a fairly gentle attack that doesn't do a huge amount of damage, depending on the HP of your enemy, of course.

The next has more directions, so is more difficult for the player, but causes more damage:
<tba down ArrowDown 110 3 66 0>
<tba left ArrowLeft 136 3 66 0>
<tba down ArrowDown 166 3 66 0>
<tba left ArrowLeft 177 3 66 0>
<tba up ArrowUp 190 3 66 0>
<tba up ArrowUp 210 3 66 0>

You can hopefully see what the general set up needs to be from those. I haven't quite figured out how the arrows being displayed differing from the arrow direction that the player needs to press works out yet. I can't see how that even works, apart from as a kind of 'fake' move, but there's no way of countering it, as far as I can see, so it seems a little broken. I might be doing something wrong, or just don't get it, but I haven't implemented this in the game I'm working on yet, just straightforward attacks similar to the ones above.

@Rockenberg I still get occasional times when there's a kind of bug that causes the overlay to go slightly discoloured, then when you try to press the arrow key, the game crashes, whichever key you press. Is this a bug you and the Gamefall Team are aware of? Did you manage to get it ironed out, if so? It happens about 20% of the time I gametest with this battle system.
First of all, huge thanks to @Rockenberg for updating this plugin and keeping it alive and Temfey for making it in general, I have had a blast using it so far this past few days.

I was wondering if there was a way to change the "hitSound" to match the character that is doing the attack. For example instead of the "chime" sound that is made perhaps I could change it to bones rattling it the player is fighting a skeleton boss? Would there be a plugin command for this or a way to work around? Or perhaps a way to change what sound to use within the notetags itself.
I could've sworn I posted the updated version, but I'll attach the most recent version of the timedattacks plugin that I've been using. Hopefully the update answers questions and fixes issues that most people are coming across. I recommend keeping a backup of the older version in the event that this update causes compatibility issues. I'll try to update the demo as well when I get the chance.

Again I didn't make this plugin, I just commissioned @BlueMoon to help make it more viable and they're amazing at what they've done!
turns out you can just hold down the keys and you'll automatically hit everything
turns out you can just hold down the keys and you'll automatically hit everything
Yeah, I'm having the same issue with the updated version, though the older version from the demo several posts back doesn't have this problem. (The demo itself doesn't seem to work, though, the trigger arrows don't appear).
I could've sworn I posted the updated version, but I'll attach the most recent version of the timedattacks plugin that I've been using. Hopefully the update answers questions and fixes issues that most people are coming across. I recommend keeping a backup of the older version in the event that this update causes compatibility issues. I'll try to update the demo as well when I get the chance.

Again I didn't make this plugin, I just commissioned @BlueMoon to help make it more viable and they're amazing at what they've done!
Yo, MissEffects don't seem to be able to activate common events.

Basically, what I've done is make it so the miss effect is a skill that A: Does no damage and B: performs a Common Event that increases a variable by one, when this variable reaches a certain number another event is supposed to happen, said event does not happen,
Hey its me again, is there a way to make it so that the pitch of the audio when you hit a note does not scale up, along with my initial suggestion about making each directional note have a different sound?

I understand that the later request is something I'd probably have to commission which I would be fully willing to pay for however it would really help me out if I could get rid of that pitch scaling issue. Is it just an issue on my end, if so how do I stop it?
Hey, I'm having problems with this plugin.
I know absolutely NOTHING about coding, or doing any script editing, so getting as far as I did already with this took me hours and I have no idea what I'm doing or how to fix it.

So I have the stuff falling from the screen, and when you press the buttons, it does actually respond and do the damage. So I have the thing that starts the rhythm game set as an item, so you click the item during battle and then the arrows fall and you have to click on them. However, if you click a button too early, it does this thing.
Screenshot 2023-06-01 173605.png

It also does this if you accidently click another button that isn't an arrow button while the rhythm sequence is going, like if I accidently click the 'enter' key.
I have NO CLUE how to make it stop doing this.
Screenshot 2023-06-01 173335.png


That's an image of one of the item you click during battle to activate the rhythm sequence.
I also can't figure out the damage of the sequence either? Like, whether you miss an arrow or hit one, it just all counts as hits for the item. So like, I'll have four arrows fall from the screen, and miss every single one, and then it does 4 hits of damage to the enemy, every time it's always the damage of the item, which I have set to 2 points of damage per hit right now. So it always hits no matter what I press, and I don't know now to not have that happen.

Screenshot 2023-06-01 173348.png

I have the hit and miss effects as skills, which I suspect to be the actual main problem of everything, I just don't know if I did these right.
Screenshot 2023-06-01 173358.png

I also put the skills into the actor's trait box, don't know if I should or not.

Screenshot 2023-06-01 173421.png

I think I'm supposed to write something in the noteboxes of the skills, but I have no idea what. I don't know how notetags work at all. I want the way the game to work is that when you correctly click a arrow, you do damage, or a hit. If you miss, then you miss, you do no damage. Just a simple hit or miss. Also, the skills won't show up on my menus? Like in the character menu and the battle menu? Is it supposed to be like that?
I would appreciate any help because I'm really just a noob trying to make a game for fun, and I have zero clue on what's happening or how to fix it. Thanks!
Hey, I'm having problems with this plugin.
I know absolutely NOTHING about coding, or doing any script editing, so getting as far as I did already with this took me hours and I have no idea what I'm doing or how to fix it.

So I have the stuff falling from the screen, and when you press the buttons, it does actually respond and do the damage. So I have the thing that starts the rhythm game set as an item, so you click the item during battle and then the arrows fall and you have to click on them. However, if you click a button too early, it does this thing.
View attachment 263944
It also does this if you accidently click another button that isn't an arrow button while the rhythm sequence is going, like if I accidently click the 'enter' key.
I have NO CLUE how to make it stop doing this.
View attachment 263946

That's an image of one of the item you click during battle to activate the rhythm sequence.
I also can't figure out the damage of the sequence either? Like, whether you miss an arrow or hit one, it just all counts as hits for the item. So like, I'll have four arrows fall from the screen, and miss every single one, and then it does 4 hits of damage to the enemy, every time it's always the damage of the item, which I have set to 2 points of damage per hit right now. So it always hits no matter what I press, and I don't know now to not have that happen.

View attachment 263947
I have the hit and miss effects as skills, which I suspect to be the actual main problem of everything, I just don't know if I did these right.
View attachment 263948
I also put the skills into the actor's trait box, don't know if I should or not.

View attachment 263949
I think I'm supposed to write something in the noteboxes of the skills, but I have no idea what. I don't know how notetags work at all. I want the way the game to work is that when you correctly click a arrow, you do damage, or a hit. If you miss, then you miss, you do no damage. Just a simple hit or miss. Also, the skills won't show up on my menus? Like in the character menu and the battle menu? Is it supposed to be like that?
I would appreciate any help because I'm really just a noob trying to make a game for fun, and I have zero clue on what's happening or how to fix it. Thanks!
Hey AccordionMaster! First of all, cool username! Secondly, I have minimal coding knowledge too, so don't really know what I'm doing, but at a guess from what you've posted, you might need to change some of the variables in the item notes. The 4th number in the array is the number of a skill that's being triggered, so these should be '16' not '15', I believe, if you want them to hit as the arrows look like they're appearing in the correct direction. You would only want them to select '15' as the 4th variable if it's a sort of 'false' direction to trip the player up when the arrows don't match, but as you've got 'up' with 'ArrowUp' and so on, they should all match, so the 'miss/15' skill isn't required here. The 3rd number in the array is just the 'birthtime' or the amount of time that the system waits before it spawns the arrows, so it's doing that at 16 frames after the system is started. The details are posted in the plugin's main info, so have a sift through them to check out the full set up background. Playing around through trial and error is the way I get there as well (but it's annoying when you're like me and make so many errors that it doesn't feel you're getting anywhere!)!

I'd like to add that I love Fangzarie's suggestion about changing the tone of the arrows hitting so that it doesn't go up each time to being able to select the pitch, then it'd be possible for people to play simple tunes and stuff, wouldn't it? In the code, at line 1487, there's this statement:

this.tbaSoundPitch += 5;

That looks like the part where it increases the pitch by 5 each correct hit. I'm not sure exactly what you were intending, Fangzarie, but if you just wanted the pitch to stay the same, setting it as 0 instead of 5 should do the job. If you wanted some kind of tunes, that would involve conditional coding that are way beyond my lame skills, but someone else here might be able to help with that.
I've been having some issues trying to get this to work. The game runs fine whenever I have the plugin on, but as soon as I try and create and input pattern for the skills in the game using the notetags I get this error when trying to boot up the game:
1692192565298.png
Am I doing something wrong, or is the plugin just broken again?
we need to see the notetags you use and maybe the plugin parameters
and or plugin database.

but undefined means it is missing an database entry or removed/replaced.
it can also pop up if you continue a save file instead of a new game play,
so you need to double check what you miss and not yet configured.
we need to see the notetags you use and maybe the plugin parameters
and or plugin database.

but undefined means it is missing an database entry or removed/replaced.
it can also pop up if you continue a save file instead of a new game play,
so you need to double check what you miss and not yet configured.
I was just using the example notetag from the post, but I also tried others. Any notetag relating to this plugin still results in this error.

As for the parameters, they're all the default ones, except for the hit and miss sounds:
1692211219198.png


I tried the demo and it didn't cause that bug, so it's probably not an issue with my system (though the demo also had it's problems, but since it wasn't the original it might just be outdated)
if it doesn't happen in the demo, try to compare what you did and in his.
see if everything is equal, not missing something, maybe images.

undefined means it does not exist in your database somewhere,
is hard to pinpoint what it caused.

if you use the modified version in a few post back, I never tried that one.
if it doesn't happen in the demo, try to compare what you did and in his.
see if everything is equal, not missing something, maybe images.

undefined means it does not exist in your database somewhere,
is hard to pinpoint what it caused.

if you use the modified version in a few post back, I never tried that one.
So I was really tired when I managed to make it work, so I sadly can't remember exactly what I did, but I'm pretty sure all I did was paste one of the notetags from the demo into the default "spark" skill, while also using the most up to date version of the plugin, since the demo one was broken.

Notetag that isn't working (made by me):
<tba up ArrowUp 30 3 0 11>
<tba down ArrowDown 60 3 0 11>
<tba up ArrowUp 90 3 0 11>
<tba down ArrowDown 120 3 0 11>
<tba up ArrowUp 160 3 0 11>

Notetag that worked (pasted directly from demo):
<tba left ArrowLeft 30 3 0 5>
<tba down ArrowDown 90 3 0 5>
<tba up ArrowUp 150 3 0 5>
<tba left ArrowLeft 210 3 0 5>
<tba left ArrowLeft 270 3 0 5>

Does anyone know why one could be working but the other not?
does skill 11 exist? as it will be triggered when the button misses, what if
you did 0's except the last one when all button are missed?

I dont know how the plugin works, so something is missing.

reading the helpfile, the follows you used are correct and should work.
I do not know if it uses any modifiers or something else to be set in order
to work, so I'm out of options at the moment.
So I was really tired when I managed to make it work, so I sadly can't remember exactly what I did, but I'm pretty sure all I did was paste one of the notetags from the demo into the default "spark" skill, while also using the most up to date version of the plugin, since the demo one was broken.

Notetag that isn't working (made by me):
<tba up ArrowUp 30 3 0 11>
<tba down ArrowDown 60 3 0 11>
<tba up ArrowUp 90 3 0 11>
<tba down ArrowDown 120 3 0 11>
<tba up ArrowUp 160 3 0 11>

Notetag that worked (pasted directly from demo):
<tba left ArrowLeft 30 3 0 5>
<tba down ArrowDown 90 3 0 5>
<tba up ArrowUp 150 3 0 5>
<tba left ArrowLeft 210 3 0 5>
<tba left ArrowLeft 270 3 0 5>

Does anyone know why one could be working but the other not?
I don't know why either of these would work. For me, the third number in the array is the amount of HP applied each 'hit', which looks like it wouldn't do any damage in both cases. I haven't used the plugin much, but if ShadowDragon is right and the last number in the array is the skill that's applied, I suppose it would depend which skills you have set up in 5 and 11 of your Skills list.

The way I got the attacks working was with the example I posted a bit earlier:

<tba down ArrowDown 110 3 66 0>
<tba left ArrowLeft 136 3 66 0>
<tba down ArrowDown 166 3 66 0>
<tba left ArrowLeft 177 3 66 0>
<tba up ArrowUp 190 3 66 0>
<tba up ArrowUp 210 3 66 0>
does skill 11 exist? as it will be triggered when the button misses, what if
you did 0's except the last one when all button are missed?

I dont know how the plugin works, so something is missing.

reading the helpfile, the fallows you used are correct and should work.
I do not know if it uses any modifiers or something else to be set in order
to work, so I'm out of options at the moment.
Sorry for the late reply! Yeah, I'm pretty sure the issue was that a missing skill. I tried changing the 11 to a number the project already had and it fixed the issue. Thank you so much dude!
Hey! So, sorry to bother y'all, but, within all that I read, I didn't find any mention of it working on MZ, so I have to ask, does it work on MZ? And if not, is there a way to port it to MZ?
The arrows do not work when I press them, it always damages me
I could've sworn I posted the updated version, but I'll attach the most recent version of the timedattacks plugin that I've been using. Hopefully the update answers questions and fixes issues that most people are coming across. I recommend keeping a backup of the older version in the event that this update causes compatibility issues. I'll try to update the demo as well when I get the chance.

Again I didn't make this plugin, I just commissioned @BlueMoon to help make it more viable and they're amazing at what they've done!
It looks like this version won't let me change the direction of the arrows to travel up? neither in my game or when i put this version in the demo folder. They always go down, even if i set it to "up"

Original thread: https://forums.rpgmakerweb.com/threads/tamfeys-timed-button-attacks.56684/