BreakerZero

Veteran
Veteran
Joined
Jul 8, 2018
Messages
1,106
Reaction score
485
First Language
English (USA)
Primarily Uses
RMMV
Ready to Rumble version 2.1

Created by BreakerZero with consultation from OS87 and Waterguy. Credit Zero Break Game Design or BreakerZero in any released games.

Update regarding sanctions related to the Ukraine conflict

The Zero Break Game Design label is intended to provide gaming experiences that echo the best of classic retro console experiences with modern ingenuity, and it is the intent to push those experiences to the public conscience in a manner supported by sound policies and devoid of influence and struggle from public conflict. With that in mind (and due to policies related to the war in Ukraine) it has been decided under international sanctions and the principles of goodwill and justice to ban the distribution of Zero Break products and services within Chinese, Russian and Belarusian territories. Your understanding in this matter is appreciated with sincerest apologies for the inconvenience.

About the plugin
A lot of games these days offer a rumble mode that activates in response to certain game events (an explosion set off during a major plot twist, getting knocked out during a fight, or simply taking a hard fall to the ground) and this plugin has been designed to bring that experience to RPG Maker.

Release history:
v1.0: Initial RTM
v1.1: Unanticipated bugfix
v1.2: Added control switch assignment to change rumble mode status
v1.3: Small change to accommodate the possibility of a crash when a gamepad is disconnected. Also set the maximum supported values to eliminate possibility of the effect not working if set too high or too low.
v1.4: Replaces control switch with option menu function, and directs the effect to the most recenty-used gamepad. A very special thanks to YoraeRasante for this update.
v1.5: Added verification to detect the availability of a supported gamepad. As of this update, the functions will not be available if gamepad detection fails.
v1.6: Changed to a commercial, non-redistribution license.
v2.0: Added code and instructions for the Universal Windows interface, as well as for mobile device rumble. Additionally, the commercial license now uses a "pay your way" model; you can download without charge from any of my authorized storefronts, or pay as you believe the plugin is worth.
v2.1: Changed the plugin status to an MZ plugin due to compatibility verification. Also changed the mobile device rumble detection method due to unexpected issues with the prior method. You can still use the plugin with MV through special procedures.

Using the plugin
To activate the rumble feature in a given event or scene, use the following script call:

Code:
Rumble(strong,weak,time)

Strong is the maximum velocity of the effect's magnitude.
Weak is the exact opposite: the weak end of the effect.
Time is defined in milliseconds, so 1000::1 and 5000 is 5 seconds. (Get it?)
Note that neither weak nor strong can go over 1.0, and that magnitude values of 0.1 are completely ignored (and for obvious reasons). Also, the values for weak and strong can be reversed and still work properly.

For example:
Code:
Rumble(1,1,1000)
Rumble(0.4,0.2,500)
Rumble(0.3,0.6,5000)

Q&A

What should I say if my customers are complaining of rumble malfunctioning?

Provided the gamepad has a rumble feature there shouldn't be an issue. But in rare cases, making a change to the rumble option while the gamepad is connected may desync the rumble feature. If this occurs, simply unplug and reconnect your gamepad to cycle access to the rumble interface.

I have a console-targeted game project. Does the plugin support console rumble?

The code is primarily aimed at NW.JS which does not support game console deployment. For this use case you may need to add separate code to read the state of the rumble parameters or implement your own, with the sole exception of Xbox builds which are covered in the Building for Xbox help section. There is also a rumble call for mobile devices.

How do I resolve compiler and/or script errors or game crashes in UWP builds?

The rumble event handlers for Universal Windows must be added to a WinRT component project independently of the main app in order to work; however the project can still be hosted in the same solution for as long as it is referenced by the host app. You must also set both the host project and the WinRT component project to require Windows 10 build 14393 as a minimum release target.

Can I use this with MV?

If you follow special preparation procedures you can use the plugin with MV. Refer to the download pages for more information.

Is this plugin supported in all world markets?

Unfortunately, no. Due to sanctions related to the war in Ukraine (among other factors) you cannot legally use this plugin in China, Russia or Belarus. It is requested not to download the plugin for use by consumers within these territories. Any violations of this policy will be prosecuted for digital content piracy and/or the infraction of international trade laws. Please read the posted statement at the top of this page for complete information.

Download Now
Get it on itch.io
Get it on Gumroad
 
Last edited:

isquarei

Warper
Member
Joined
Aug 22, 2015
Messages
3
Reaction score
1
Hi there. Curious if there's a way to get this to work in battle's across the board generally (taking damage etc) as opposed to manually setting it in events etc.
 

ramza

Lunatic Coder
Veteran
Joined
Jan 28, 2013
Messages
1,012
Reaction score
654
First Language
English
Primarily Uses
RMMV
Hi there. Curious if there's a way to get this to work in battle's across the board generally (taking damage etc) as opposed to manually setting it in events etc.
Aside from the obvious, of EVALing the script call into your action sequences (if you use them), you could modify the core scripts to call the plugin script call automatically.

As a dirty example, you could modify the action result isCritical() function to call the script in a monkeypatch if it returns true, so whenever something critically hits, it also causes the rumble effect.
 

Splatterguy

Villager
Member
Joined
Jun 17, 2016
Messages
6
Reaction score
1
First Language
German/English
Primarily Uses
Hi there!
I really like the PlugIn, it's just awesome!

But is there a way, to turn it off?
When I turn it off in the options, it's still activated in the game.
(The GamePad still rumbles.)
So that option seems useless to me.


I'm using the PlugIn-Version 2.1.
RPG Maker MV 1.6.2 (Steam)
NWJS v0.49.2
PixiJS 4.8.9
using Windows 10 64bit
GamePad: Logitech Rumblepad 2 Gamepad

I'm using a X-Box Controller Emulator for rumble to work,
because my GamePad is very old and the Rumble wouldn't work at all.

I'm using the Yanfly CoreOption, but I already tried it, without other PlugIns - same problem.


Screenshot:
Screenshot.jpg
 

BreakerZero

Veteran
Veteran
Joined
Jul 8, 2018
Messages
1,106
Reaction score
485
First Language
English (USA)
Primarily Uses
RMMV
Thanks. I'll look into it.

Also, I have not added this to all my pages yet but I wanted to confirm that I have banned this plugin and all of my future projects in China, Russia and Belarus. (You can probably guess why.)

EDIT: I forgot to ask, but I think it would be easier to analyze this from within a demo project.
 
Last edited:

Splatterguy

Villager
Member
Joined
Jun 17, 2016
Messages
6
Reaction score
1
First Language
German/English
Primarily Uses
Thanks. I'll look into it.

Also, I have not added this to all my pages yet but I wanted to confirm that I have banned this plugin and all of my future projects in China, Russia and Belarus. (You can probably guess why.)

EDIT: I forgot to ask, but I think it would be easier to analyze this from within a demo project.
Thanks for the feedback!
I will privately send you a link to my project file.
 

Latest Threads

Latest Profile Posts

Messing around with fragment shaders (filters). This thing is HUGE and I'm surprised almost no one makes good use of. Even the number of plugins that do this stuff are limited.
ScreenShot_6_28_2022_3_2_40.png

There's 7 main areas in the game that are all connected. This train get's you from an underground lab to the center of someone's subconscious. inside the train you can talk to some of the passengers. but going to the top of it, there's battles.
Speedrunning all character portraits just so they all have the same quality. Not sure if this was a good idea, but now I'm almost done.
We now have a gameplay video!
DrBuni wrote on Akiritas's profile.
That is a cute Link picture, reminds me of the Samurai Jack artstyle.

Forum statistics

Threads
123,152
Messages
1,154,436
Members
161,500
Latest member
VerehrER
Top