*CS:GO support are dropped at the moment until I found a fix*
This is a simple effects plugin that gives visual effects when a player is being hit or hurt. The visual effects are screen fading and shaking. This can be configured that the effects can be created on headshot only or do the effects whenever the player is hurt.
The plugin works on CS:S and CS:GO, and other source games but without the headshot-settings.
This plugin requires Sourcemod 1.5.0+
Install it like other plugins, download the .smx file then put it on addons/sourcemod/plugins folder.
Put these to your server.cfg or anything.
hfx_version // Plugin Version
hfx_enable 1 // Enable/Disable this plugin
hfx_fade_mode 1 // Set the fade effect mode | 1 = Always fade when hurt | 2 = Fade on headshot only | 3 = Fade on HE damage | 4 = Headshot and HE only | 0 to disable fade effects
hfx_shake_mode 4 // Set the shake effect mode | 1 = Always fade when hurt | 2 = Fade on headshot only | 3 = Fade on HE damage | 4 = Headshot and HE only | 0 to disable shake effects
hfx_disable_team 0 // Disable effects on specific team? 2 = T | 3 = CT | 0 Enable for all
hfx_disable_world_damage 0 //Disable fade effects on world damages such as falling or physics damage
hfx_fade_power 1.0 //Scales the fade effect, 1.0 = Normal , 2.0 = 2 x Stronger fade, etc
hfx_shake_power 1.0 //Scales the shake effect, 1.0 = Normal , 2.0 = 2 x Stronger shake, etc
I will rewriting and optimizing the plugin. This is messy D:
Will provide flashing red screen when low on health on the next update..
- First public release
- Added config to enable/disable effects on specific team
- Fixing a bug
- Fixed a bug when nade fade effects are too intense
- Fade effects should be more smoother now
- Fixed a bug when a player is hurt from world damage
- Added setting to disable effects on world damage
- Deleting useless things in the source code
[0.8 - 1.0] - SKIPPED / Private release
[1.1] Recommended to Update!
- Revamped the fade effects, sometimes it was too strong or too weak in the past versions
- Added cvar to modify the strength of the effects
Last edited by Furibaito; 06-16-2013 at 22:40.
Sorry for a very long reply guys, I'm currently on a mid-term test and school project and will continue to update this plugin soon..
I'll make a video and add team settings next update. Which is probably tomorrow.