Hey sup! Enjoy my first 'real' mod!
Big thanks to theli, this is based on his mod.
Big thanks to Notausgang for his awesome HoN Modification Manager.
Also thanks to the people at #honlabs on IRC for answering my noob questions
What does this mod do?
At default this mod will fade to grayscale based on your Current HP.
From 20% HP to 10% HP it will fade to grayscale.
From 10% HP to 0% HP it will stay grayscale.
- Disable blur while being dead (default on)
- Adjust the blur strength while being dead (default 20%)
- Disable grayscale while being dead (default off)
- Adjust the 'Start fading threshold' (default 20% HP)
- Adjust the 'End fading threshold' (default 10% HP)
Screenshots & a Video (HD) (going from 33% HP to 10% HP, and 20% blur when dead)
http://i45.tinypic.com/1z5mds0.jpg - Normal
http://i50.tinypic.com/t4tnj7.jpg - 40% grayscale
http://i49.tinypic.com/jfyku9.jpg - 100% grayscale
http://i47.tinypic.com/23l27k.jpg - Dead with 20% blur
This mod uses pixel shaders and I've only tested Pixel Shader Model 3.0
I've included Pixel Shader Model 2.0 as well, but this is not yet tested (any feedback on this would be great).
Linux/Mac users read:
Blur will not work for Linux/Mac users (or rather OpenGL users). In the options, (un)ticking the 'Disable blur' checkbox does nothing.
I haven't tried to make a similar shader for OpenGL yet. If one of you out there knows how, be my guest and poke around in the code and see what you can do.
Download the honmod or the s2z (the s2z has the Mod Options Framework [v0.6.2] included, you still need my custom shader for the s2z!)
Requires: Mod Options Framework
Requires: My custom shader (Linux/Mac users do NOT need this, OpenGL shader is already included in honmod/s2z!)
Extract my custom shader to your Heroes of Newerth folder (Default at C:\Program Files\Heroes of Newerth\)
It should look like this:
C:\Program Files\Heroes of Newerth\game\core\shaders\ps_2_0\post_grayscaleBlend.psh
C:\Program Files\Heroes of Newerth\game\core\shaders\ps_2_0\post_motionblurBlend.psh
C:\Program Files\Heroes of Newerth\game\core\shaders\ps_3_0\post_grayscaleBlend.psh
C:\Program Files\Heroes of Newerth\game\core\shaders\ps_3_0\post_motionblurBlend.psh
Please give feedback, bug reports or other improvements/ideas about this mod in a constructive way
Common Problems FAQ:
At the moment, none!
Q. OMG MY SCREEN JUST TURNED WHITE WHEN I'M LOW HP!
A. Install my custom shader (double check if its extracted into the right folder) and try again.
Q. Its still not working!
A. Open console(Ctrl+F8) and type ReloadShaders and press Enter
v1.33 - Changed to dropbox auto updating. /!\ You need to redownload the honmod for this! /!\
v1.32 - Now supports Mod Options Framework v0.6.2
v1.31 - Now supports Heroes of Newerth v0.3.*
v1.3 - Added grayscale OpenGL shader, no blur for OpenGL though (so in the options, (un)ticking the 'Disable blur' checkbox does nothing).
v1.21 - Fixed another variable not being saved properly.
v1.2 - Fixed variables getting saved properly now.
- It only watches your Hero's Current HP and not the one you have currently selected.
- Added the updated .posteffect and .material files to include in the s2z (I forgot them in v1.1)
- Cleaned up the code a little bit.
v1.1 - Fade to grayscale based on threshold which are configurable via options
- Removed blurring from < 10% HP, you still can enable blur, with configurable strength, while being dead
- Honmod is now auto updating
v1.0 - Public release
Make the grayscale threshold to fade to adjustable, so instead of always fading to 100% grayscale you can adjust the value.
Make a blur glsl (OpenGL) shader (very low priority).