MV A plugin to add specific options for players with photosensitivity

I'd like to add the following options to my game:

  • Screen flash - enabled/disabled (default to enabled) - when disabled, this disables all instances of the Flash Screen command, flashes in the battle transition and all flashes in battle animations
  • Screen shake - enabled/disabled (default to enabled) - when disabled, this disables all instances of the screen shake command, everywhere
  • Photosensitivity Mode - enabled/disabled (default to enabled) - when enabled, a specific in-game switch always matches this setting, or some other means that can be checked in-game. Can be used with IF/THEN statements in-game to disable or change certain things which could cause issues for users who are photosensitive
Has anyone written a plugin which does this? I half-expected someone to have written one already, for MV/MZ, but I can't find one which seems to do this (just flashes).
A plugin specifically like this hasn't been written afaik but you can do this with the help of an options plugin and some switches. The options plugin (which one you use if up to you. I remember using SRD's options plugin which was pretty easy to use) will toggle switches ON/OFF. Depending on that switch value, you can make a conditional branch to determine if flash/shake will happen or not. So in your case, you'll need three switches for flash, shake and photosensitivity mode.
use switches = easier, and a conditional branch:

if Switch is OFF
shake screen
else
(leave blank here)
end

as a very basic setup for shake screen, this basic idea can be used,
just define the switch in SRD or YEP_OptionsCore where you can toggle it
ON or OFF (you might need persistent switches/variablees) though, in case
you do it from the title scene.
A plugin specifically like this hasn't been written afaik but you can do this with the help of an options plugin and some switches. The options plugin (which one you use if up to you. I remember using SRD's options plugin which was pretty easy to use) will toggle switches ON/OFF. Depending on that switch value, you can make a conditional branch to determine if flash/shake will happen or not. So in your case, you'll need three switches, each for flash, shake and photosensitivity mode.

Unfortunately, that won't work for me in this case, as I'm retroactively applying it to a game which is really quite long, and it would take a long time to do.

For my next game I want to look into stuff like this from the start, but I'm looking for something which can fix all the screen shakes and flashes with a single code change, rather than going through all the cutscenes and level scripts by eye.

use switches = easier, and a conditional branch:

It's not easier in my case, for the reasons mentioned above.
I thought something like this didn't exist but I guess you're in luck cause I just found this:
Maybe it'll work for you.
I thought something like this didn't exist but I guess you're in luck cause I just found this:
Maybe it'll work for you.
Yeah; I'd seen that one - that's why I said "just flashes" in the original post; but I'd really like to do screen shake too. I also don't think that will stop the flash in the battle transition.

I may need to commission this, from the looks of things. The 3rd option will probably be taken care of by the stuff we've already seen, but the first two don't seem to exist.
There are plug-ins that change the battle transistion (eliminating the flash entirely) and plug-ins that alter the screen shake. Maybe the approach should be to handle each of them separately? Do you need battle transition flashes, could you use one that doesn't flash if there is concern for the effects?
There are plug-ins that change the battle transistion (eliminating the flash entirely) and plug-ins that alter the screen shake. Maybe the approach should be to handle each of them separately? Do you need battle transition flashes, could you use one that doesn't flash if there is concern for the effects?

Can you point me to a plugin which I can add which will allow me to modify all screen shakes, if an option is selected? I can't seem to find this. I can find plugins that modify the shake functionality, but again, I'm trying to not have to go through my game and manually put in IF statements, considering that I want to enable/disable ALL screen shakes via a menu option.
How are you achieving the screen shakes? Are you using the default ones, do you also have events utilizing this directly?
How are you achieving the screen shakes? Are you using the default ones, do you also have events utilizing this directly?
The default ones. I don't even use them that much, though that's even more of a problem as I'd have to hunt them down.

As I said, it would be ideal if I could just have an Options Menu option that can enable/disable the flashes (including the battle transition), and an Options Menu option that can do the same for the screen shake function.

I'm looking into using the Yanfly thing for the third thing (changing an in-game switch from the options menu) but I may not be able to do it, because I'm not a scripter and I'm struggling to understand the instructions. It also does LOOOAAADS of stuff that is faaaar beyond what I want to do, and I kinda try to make it a rule to not have big plugins that extend functionality far beyond what I need.

This latter bit is kinda my issue; you're right in what you've said; I could, for example, install a plugin that allows me to do stuff with battle transitions to fix the flash, but that's a lot of additional functionality, just so I can turn something off. I'm always concerned about introducing bugs due to plugin incompatibilities and I try to avoid bringing stuff in unless I need to.
I think you should make a thread asking for a js snippet with a clear and specific title so as many people can see it. I don't think disabling flashes and shakes will take too much code.
Like in this thread someone had somewhat of a similar issue and the fix wasn't that complex: https://forums.rpgmakerweb.com/inde...ite-screen-flash-when-entering-battle.113123/
If anyone else plans to reply to this, you can hold off. I'm going to post a thread at some point soon where I nail down precisely what I need, and offer to commission someone to write the plugin - as I don't want to "open up" my plugins list with several large plugins after I've already done so much testing.
Ethanfox, I think @Hyouryuu-Na recommended the best solution for you, without getting a plug in that does a lot more than what you desire, there is likely a snippet that can work. I don't have enough experience to recommend what that would be however, so hopefully your other post gets some responses. Good luck!
Thanks everyone!

I was able to do what I needed via a combination of that flash plugin, an adapted version of that script for the shake, and the DreamX Options plugin for the switches. It's not perfect but it'll do.

Original thread: https://forums.rpgmakerweb.com/threads/a-plugin-to-add-specific-options-for-players-with-photosensitivity.130759/