How can I remove the Damage Flash?
I would like to remove the Damage flash in Minetest. There does not seem to be any setting in the game to remove it.
I am trying to remove the damage flash by removing that code from the files that are contained in the Minetest directory. I was able to use this method to remove the blood particles. The problem is that I am not a coder, and although I have a reasonably good gist of what the code is doing, I cannot find the code that creates the damage flash for every time you take damage.
Could someone help me find this code? If not, do you know of another way to remove the damage flash from the game? Thanks!
Solution 1:
Apparently you can't since it's a harcoded feature, in any case you may somehow mitigate the effec:
*You can use minetest.register_on_player_hpchange, but if you try to remove fall damage completely, players will still experience the “red damage flash” because fall damage is calculated client-wise
*Nodes that deal direct damage do so always once per second (with damage_per_second); no other time interval is possible
*How breath works in general You lose breath or take drowning damage every 2 seconds, and you regain breath every 0.5 seconds
I know this is bad news, but if this is part of the core design of the game, I guess the only way is to convince the game developer to do it...
For more reference, take a look here