Chain Commands (quicktime event minigame)

mjshi

Jack of Most Trades
Veteran
Joined
Feb 16, 2013
Messages
962
Reaction score
789
First Language
English
Primarily Uses
N/A
@Darniela Did you try going here, then right-clicking "save as" ChainCommand.js? Sometimes plugins are sensitive to name changes or stuff. You could also try running this plugin in a new project and seeing if you can launch it there, if you can it might be a compatibility issue with something else you have. If it still doesn't work, wost-case zip up your project files, upload them to dropbox or something, then PM me the link. I'll try to to investigate.
 

Panthus

Warper
Member
Joined
Feb 17, 2019
Messages
3
Reaction score
0
First Language
English
Primarily Uses
RMMV
Hey @mjshi ! I love this plugin, but I can't get it to work. I get a screen saying "Syntax Error. Unexpected Identifier". Is this something you have encountered? o_O I am clueless! It would be super helpful if you had like a demo/project that I can look at and see where I'm doing stuff wrong :3
 
Last edited:

Darniela

Villager
Member
Joined
Mar 16, 2019
Messages
17
Reaction score
5
First Language
Czech
Primarily Uses
RMMV
@Darniela Did you try going here, then right-clicking "save as" ChainCommand.js? Sometimes plugins are sensitive to name changes or stuff. You could also try running this plugin in a new project and seeing if you can launch it there, if you can it might be a compatibility issue with something else you have. If it still doesn't work, wost-case zip up your project files, upload them to dropbox or something, then PM me the link. I'll try to to investigate.
It works! The problem was that I had renamed the plugin - I added "mjshi" to the title so I wouldn't forget to mention you in the credits. I had done the same with your "ConditionalBranch+" (a pretty neat thing btw) and it worked fine so I didn't expect renaming to be the cause. Thank you so much for your help and keep up the good work :wub:wub
 

BreakerZero

Veteran
Veteran
Joined
Jul 8, 2018
Messages
902
Reaction score
380
First Language
English (USA)
Primarily Uses
RMMV
This has resulted in some improvements in a hidden function of my game which I've been meaning to do for awhile, and can help with more than QTE sequencing if done properly. I'm not yet done with this aspect (in fact, I literally just implemented this!) but this plugin can do some interesting things beyond its stated purpose.

For example, here's a classic combo that you can do by adding menu to the list of accepted inputs:

ChainCommand 400 up,up,down,down,left,right,left,right,cancel,ok,menu

(Ten guesses what that is.)

Don't forget to create an icon to represent the menu input if you do this. Named accordingly, of course.

Now I'm gonna see if I can insert code for a hidden sequence event, so that I can more effectively seal the deal for the ultimate secret.

EDIT: A bit tricky for the intended mode change so for now I made a "part two" which contains modified portions of the base code and a hidemode-specific image to do everything the base version does but without the visual feedback.
 
Last edited:

mjshi

Jack of Most Trades
Veteran
Joined
Feb 16, 2013
Messages
962
Reaction score
789
First Language
English
Primarily Uses
N/A
@BreakerZero Always good to hear what people are doing with my stuff, thanks for sharing!
@Panthus Apologies on the late reply, if you're still stuck on that same problem free to PM me and I'll try to help you out!
 

falken14

Veteran
Veteran
Joined
Dec 6, 2016
Messages
55
Reaction score
20
First Language
English
Primarily Uses
@mjshi, I would love to see a battle-specific use for this excellent plugin. I had a bunch of QTE skills made with SRD's Arrow Timed Attack Sequence, but that plugin seems to have broken since I updated MV past V1.5.x. ;_; Would this need to be commissioned?

(I did try to do this by using the ChainCmd plugin command in a common event, and then call it within the skill using Yanfly's Action Sequences, but as another poster mentioned, it doesn't quite work as well as on the map).
 

mjshi

Jack of Most Trades
Veteran
Joined
Feb 16, 2013
Messages
962
Reaction score
789
First Language
English
Primarily Uses
N/A
Would this need to be commissioned?
Yes, probably. It would require some significant rewriting of the plugin as-is. I'd look into combo skill plugins if I were you, they're close enough to be substitutes.
 

falken14

Veteran
Veteran
Joined
Dec 6, 2016
Messages
55
Reaction score
20
First Language
English
Primarily Uses
Yes, probably. It would require some significant rewriting of the plugin as-is. I'd look into combo skill plugins if I were you, they're close enough to be substitutes.
Sure, I figured it wouldn't be easy. Thanks for the tip, and thanks for the great plugin! I will still be using it for a lot of map events in my game.
 

Darniela

Villager
Member
Joined
Mar 16, 2019
Messages
17
Reaction score
5
First Language
Czech
Primarily Uses
RMMV
Hello again,
I'm having trouble changing the background in the minigame. I tried two approaches:
1) doesn't work at all
upload_2019-9-24_13-39-12.png
2) turns on the mini game with the default background
upload_2019-9-24_13-42-50.png
I'm at my wit's end even though I bet this issue has a very easy solution :D Can anybody help the noob out?

EDIT: this is the customized background (for my language acquisiton game), it's in the img/chaincmd folder
background2.png
 

mjshi

Jack of Most Trades
Veteran
Joined
Feb 16, 2013
Messages
962
Reaction score
789
First Language
English
Primarily Uses
N/A
@Darniela Don't have it be a plugin command, use a script command! It should be around the same area in the event commands box. Otherwise you're doing it correctly c:
 

Darniela

Villager
Member
Joined
Mar 16, 2019
Messages
17
Reaction score
5
First Language
Czech
Primarily Uses
RMMV
@Darniela Don't have it be a plugin command, use a script command! It should be around the same area in the event commands box. Otherwise you're doing it correctly c:
IT WORKS!!! Thank you so much, you are amazing :wub:wub
 

mjshi

Jack of Most Trades
Veteran
Joined
Feb 16, 2013
Messages
962
Reaction score
789
First Language
English
Primarily Uses
N/A
No problem, glad I could help c:
 

dragon1up

Veteran
Veteran
Joined
Sep 24, 2013
Messages
128
Reaction score
40
First Language
English
Primarily Uses
RMMV
Can someone run me through the event page set-up ?

A basic sc will be plenty as I plan on doing a swimming mini-game using this plugin.

Thinking

Command

Player swims a few tiles

Command

Etc.
 

mjshi

Jack of Most Trades
Veteran
Joined
Feb 16, 2013
Messages
962
Reaction score
789
First Language
English
Primarily Uses
N/A
For each "Command" event:

(On Player Touch)

Code:
Plugin command: ChainCommand auto [sequence]

If win switch is on:
    erase event

Else:
    [player drowns/starts over?]

so you'd have like 3 or 4 of these events and place them in a line in front of the player or something.
 

dragon1up

Veteran
Veteran
Joined
Sep 24, 2013
Messages
128
Reaction score
40
First Language
English
Primarily Uses
RMMV
Omg the player can drown then ahaha

But thanks for the fast reply, I'll see how I go then :)
 

KotoYama

Veteran
Veteran
Joined
Apr 20, 2019
Messages
127
Reaction score
11
First Language
Spanish
Primarily Uses
RMMV
Could I somehow change the default font, or even replace it by images? It looks quite bad in full screen (1920x1080).
 

mjshi

Jack of Most Trades
Veteran
Joined
Feb 16, 2013
Messages
962
Reaction score
789
First Language
English
Primarily Uses
N/A
Could I somehow change the default font, or even replace it by images? It looks quite bad in full screen (1920x1080).
I'm not 100% sure what you're asking about, because there are no fonts or any text in this plugin. You can replace the default images in the img/chaincmd folder with your own and scale those up if that's what you're asking.
 

Crysillion

Veteran
Veteran
Joined
Sep 25, 2014
Messages
138
Reaction score
20
Primarily Uses
Hey mjshi. I was pleasantly surprised to see that you're still offering some support for this plugin!

I've actually run into a bit of an issue regarding FPS (frames-per-second).

It seems that with people running at 144Mhz, your plugin is actually 2.4x~ faster.

If their setup runs at 60 FPS natively, then your plugin is fine, but a lot of people are running at 144 FPS (or somewhere around) these days and the speed of your plugin increases along with it, which means that in order to fix it, I have to make it so people running with 60 FPS have a very easy time and people playing at 144 FPS have the expected difficulty as intended.

Is there any way to FPS lock your plugin to one or the other?
 

mjshi

Jack of Most Trades
Veteran
Joined
Feb 16, 2013
Messages
962
Reaction score
789
First Language
English
Primarily Uses
N/A
@Crysillion Don't worry, I plan to keep supporting my small library of code as long as I can :)

That's actually a really interesting problem to be running into!

Does pressing F2 show > 60 FPS? Does the game itself run any faster on a 60Hz monitor vs a 144Hz one (do animations appear any faster?) If so, according to this thread, the MV version the project's running on might be related to the issue. Or is it only Chain Command?

Also, does this plugin affect how it behaves at all? If you're willing to cap at 60 frames, this plugin seems to maybe fix that, but otherwise I'm totally down to try to work out this bug with you. I don't own any 144Hz monitors to test this on, unfortunately, so I might have to pass test projects back and forth with you, if you want to take this to PM's.
 

KotoYama

Veteran
Veteran
Joined
Apr 20, 2019
Messages
127
Reaction score
11
First Language
Spanish
Primarily Uses
RMMV
I'm not 100% sure what you're asking about, because there are no fonts or any text in this plugin. You can replace the default images in the img/chaincmd folder with your own and scale those up if that's what you're asking.
Oh, you're right. Thanks!
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Yesterday I made my first step towards eating more healthily.
I saw candy on discount and did not buy it.
"They yearn for what they fear for."
I always told my DA fans how much I hate slot machines. They're fine in games as a risk-and-reward system. But when you're spending REAL MONEY in a Vegas casino to try and hit the jackpot (which very, very few people will), it can really hurt your budget. Gambling is a bad habit, and I don't like wasting my money on a slim chance. Go to Vegas for the experience, not the jackpot.
Took the kids to a corn maze. They gave us a map and had lights at certain points in the maze. Not overwhelming... or underwhelming... just... whelming.

Forum statistics

Threads
104,399
Messages
1,006,105
Members
135,929
Latest member
raffle
Top