Set Icons to ignore screen tint

I've been looking everywhere for a solution to this.
I have interaction icons that pop up over the player when near events. In default lighting the icons look fine but when the screen is tinted dark, the icons are as well and it makes them hard to see. Is there a way to set the entire icon sheet to ignore screen tinting?
Screenshot 1_5.png
screen tint is above pictures as well, cannot tell for certain.
to ignore the entire screen tint for icons everywhere, you need
probably add a zIndex to window base somehow.

but I cannot tell how exactly at this point, which I need to dig around
to find the solution as the way it is being drawn, I cant see it.

otherwise, it require a new function in order to make it work.
screen tint is above pictures as well, cannot tell for certain.
to ignore the entire screen tint for icons everywhere, you need
probably add a zIndex to window base somehow.

but I cannot tell how exactly at this point, which I need to dig around
to find the solution as the way it is being drawn, I cant see it.

otherwise, it require a new function in order to make it work.
Theres actually only a handful of icons i plan to use, so I could settle for those specific icon numbers ignoring tint, if that makes things easier than ALL icons ignoring tint. I just dont know if need a script or plugin
technically (?) the tone to tint to is passed around between procedures until it gets to the spriteset, which tints the viewport that renders the tiles, so *teeeeechnically* you could intercept it?
maybe adding a new viewport to render only your UI?
IDK how easy that'd be to set up... I'm not that savvy in MV code, but it's possible.
If "hard to see" is the problem, you could try editing the icons themselves to help them pop. E.g. maybe add a white outline and/or a drop-shadow.

Otherwise you will need something (i.e. a plugin) to tell the engine to "skip tint" on these icons...one way or another.

(Technical: for tinting MV uses a PIXI filter in WebGL mode, or an overlay sprite in Canvas mode, both of which effectively only apply to the lower layer, _baseSprite. Cf Spriteset_Map#createLowerLayer.)

Pictures are already part of the upper layer, unaffected by Tint Screen, so one option could be to use pictures instead. If your map can scroll then you'll need to run a 1-frame Move Picture command every frame to keep the icon(s) in place...or find a plugin that lets you bind pictures to the map.

Otherwise...I don't know of any way to exempt specific child elements from their parent effects; you'd typically need to change the parent-child assignments instead. That's doable (e.g. as here) but if you want a plugin for it then we'd need to know more about how you've set this up. E.g. if you're already using a plugin for these interaction icons then you'll need to provide a link to that plugin.
If "hard to see" is the problem, you could try editing the icons themselves to help them pop. E.g. maybe add a white outline and/or a drop-shadow.

Otherwise you will need something (i.e. a plugin) to tell the engine to "skip tint" on these icons...one way or another.

(Technical: for tinting MV uses a PIXI filter in WebGL mode, or an overlay sprite in Canvas mode, both of which effectively only apply to the lower layer, _baseSprite. Cf Spriteset_Map#createLowerLayer.)

Pictures are already part of the upper layer, unaffected by Tint Screen, so one option could be to use pictures instead. If your map can scroll then you'll need to run a 1-frame Move Picture command every frame to keep the icon(s) in place...or find a plugin that lets you bind pictures to the map.

Otherwise...I don't know of any way to exempt specific child elements from their parent effects; you'd typically need to change the parent-child assignments instead. That's doable (e.g. as here) but if you want a plugin for it then we'd need to know more about how you've set this up. E.g. if you're already using a plugin for these interaction icons then you'll need to provide a link to that plugin.
Im using Galvs Action Indicators
Im using Galvs Action Indicators
Great, Galv's stuff is usually easy to work with! Something like this might help (untested):
Spoiler: plugin code
JavaScript:
/*:
 * @target MV MZ
 * @plugindesc Puts Galv's Action Indicator sprite above the tilemap.
 * @author Caethyril
 * @url https://forums.rpgmakerweb.com/posts/1492160
 * @base Galv_ActionIndicators
 * @orderAfter Galv_ActionIndicators
 * @help Load this plugin after Galv_ActionIndicators.
 *
 * Free to use and/or modify for any project, no credit required.
 */
;void (function() {
"use strict";
  if (!(Imported && Imported.Galv_ActionIndicators))
    throw new ReferenceError("This plugin must be loaded after Galv_ActionIndicators.");

  // Revert - do not add action icon to lower layer.
  Spriteset_Map.prototype.createLowerLayer = Galv_Spriteset_Map_createLowerLayer;

  // Patch - add icon as an upper layer.
  void (function(alias) {
    Spriteset_Map.prototype.createUpperLayer = function() {
      alias.apply(this, arguments);
      this.createActionIconSprite();
    };
  })(Spriteset_Map.prototype.createUpperLayer);

  // Override - add icon to the spriteset, not its tilemap.
  Spriteset_Map.prototype.createActionIconSprite = function() {
    this._actionIconSprite = new Sprite_ActionIcon();
    this.addChild(this._actionIconSprite);
  };

})();
You can use Triacontane's CharacterGraphicExtend

Post in thread 'Darken whole screen except character sprite' https://forums.rpgmakerweb.com/inde...n-except-character-sprite.170834/post-1461320
Great, Galv's stuff is usually easy to work with! Something like this might help (untested):
Spoiler: plugin code
JavaScript:
/*:
 * @target MV MZ
 * @plugindesc Puts Galv's Action Indicator sprite above the tilemap.
 * @author Caethyril
 * @url https://forums.rpgmakerweb.com/posts/1492160
 * @base Galv_ActionIndicators
 * @orderAfter Galv_ActionIndicators
 * @help Load this plugin after Galv_ActionIndicators.
 *
 * Free to use and/or modify for any project, no credit required.
 */
;void (function() {
"use strict";
  if (!(Imported && Imported.Galv_ActionIndicators))
    throw new ReferenceError("This plugin must be loaded after Galv_ActionIndicators.");

  // Revert - do not add action icon to lower layer.
  Spriteset_Map.prototype.createLowerLayer = Galv_Spriteset_Map_createLowerLayer;

  // Patch - add icon as an upper layer.
  void (function(alias) {
    Spriteset_Map.prototype.createUpperLayer = function() {
      alias.apply(this, arguments);
      this.createActionIconSprite();
    };
  })(Spriteset_Map.prototype.createUpperLayer);

  // Override - add icon to the spriteset, not its tilemap.
  Spriteset_Map.prototype.createActionIconSprite = function() {
    this._actionIconSprite = new Sprite_ActionIcon();
    this.addChild(this._actionIconSprite);
  };

})();
Nice! Thank you so much! So do I just save this as a js file then simply activate in the editor (below galvs)? Or will there be edits Ill have to make to the code?
Yep, just save it as a plugin then import it as usual. I recommend placing it (click+drag) right after Galv's in the Plugin Manager list.

Plaintext-to-plugin instructions:
  1. Copy + paste the code into a text editor (e.g. Notepad).
  2. File > Save As:
    • File Type: All Files
    • Filename: whatever.js
      (This works because .js files are plaintext.)
  3. Import that file as a plugin.
  4. Save your project to apply Plugin Manager changes.
  5. Test!
Yep, just save it as a plugin then import it as usual. I recommend placing it (click+drag) right after Galv's in the Plugin Manager list.

Plaintext-to-plugin instructions:
  1. Copy + paste the code into a text editor (e.g. Notepad).
  2. File > Save As:
    • File Type: All Files
    • Filename: whatever.js
      (This works because .js files are plaintext.)
  3. Import that file as a plugin.
  4. Save your project to apply Plugin Manager changes.
  5. Test!
Ok followed those steps and nothing seems to have changed. Icons are still affected by tint.
I really appreciate the help 🙂
Oops. I missed the fact that various parts of Galv's plugin are inside an IIFE, causing an error in my plugin because they're not directly accessible. (You can press F8 or F12 during playtest to view the dev tools window: errors are shown on its Console tab.) Plugins that error out during game boot are effectively ignored.

It's OK, though, we can use a different approach here! Try this instead:
Spoiler: plugin code v2
JavaScript:
/*:
 * @target MV MZ
 * @plugindesc Puts Galv's Action Indicator sprite above the tilemap.
 * @author Caethyril
 * @url https://forums.rpgmakerweb.com/posts/1492933
 * @base Galv_ActionIndicators
 * @orderAfter Galv_ActionIndicators
 * @help Load this plugin after Galv_ActionIndicators.
 *
 * Free to use and/or modify for any project, no credit required.
 */
;void (function() {
"use strict";
  if (!("Imported" in window && Imported.Galv_ActionIndicators))
    throw new ReferenceError("This plugin must be loaded after Galv_ActionIndicators.");

  // Patch - move icon sprite from the tilemap to the spriteset itself.
  void (function(alias) {
    Spriteset_Map.prototype.createActionIconSprite = function() {
      alias.apply(this, arguments);
      this.addChild(this.removeChild(this._actionIconSprite));
    };
  })(Spriteset_Map.prototype.createActionIconSprite);

  // Patch - remove action icon from lower layer.
  void (function(alias) {
    Spriteset_Map.prototype.createLowerLayer = function() {
      alias.apply(this, arguments);
      this.removeChild(this._actionIconSprite);
      delete this._actionIconSprite;
    };
  })(Spriteset_Map.prototype.createLowerLayer);

  // Patch - add icon as an upper layer.
  void (function(alias) {
    Spriteset_Map.prototype.createUpperLayer = function() {
      alias.apply(this, arguments);
      this.createActionIconSprite();
    };
  })(Spriteset_Map.prototype.createUpperLayer);

})();
That seemed to work for me in Galv's demo project~ 👋

Original thread: https://forums.rpgmakerweb.com/threads/set-icons-to-ignore-screen-tint.174444/