Monthly Target: $400 Donations: $140
 35% 

[CSS] Hurt Effects [1.1]


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Furibaito
Member
Join Date: Aug 2012
Location: Colossal Titan
Plugin ID:
3213
Plugin Version:
1.1
Plugin Category:
General Purpose
Plugin Game:
Counter-Strike: Source
Plugin Dependencies:
    Servers with this Plugin:
    6 
    Plugin Description:
    Provides screen effects when got shot, based on damage or headshot.
    Old 09-02-2012 , 09:57   [CSS] Hurt Effects [1.1]
    Reply With Quote #1

    HURT EFFECTS
    Version 1.2 by Furibaito

    *CS:GO support are dropped at the moment until I found a fix*

    Plugin Description

    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.





    Requirements
    This plugin requires Sourcemod 1.5.0+

    Installations
    Install it like other plugins, download the .smx file then put it on addons/sourcemod/plugins folder.

    Configurations
    Put these to your server.cfg or anything.


    Code:
    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
    TODO

    I will rewriting and optimizing the plugin. This is messy D:
    Will provide flashing red screen when low on health on the next update..

    Changelog

    Code:
    [0.3] 
    - First public release
    
    [0.4] 
    - Added config to enable/disable effects on specific team
    - Fixing a bug
    
    
    [0.5] 
    - Fixed a bug when nade fade effects are too intense
    - Fade effects should be more smoother now
    
    [0.6]
    - Fixed a bug when a player is hurt from world damage
    
    [0.7]
    - 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
    Attached Files
    File Type: sp Get Plugin or Get Source (hurtfx_1_1_css.sp - 813 views - 5.4 KB)

    Last edited by Furibaito; 06-16-2013 at 22:40. Reason: Updated
    Furibaito is offline
    eyes of hunter
    Member
    Join Date: Dec 2011
    Old 09-11-2012 , 12:50   Re: [CSS] Hurt Effects [0.3]
    Reply With Quote #2

    Any chance you post a video?
    eyes of hunter is offline
    SHAREN
    Senior Member
    Join Date: Dec 2011
    Old 09-26-2012 , 11:31   Re: [CSS] Hurt Effects [0.3]
    Reply With Quote #3

    Jail on a server players do not like this plugin when they play for the CT, Furibaito, do pozhaluchsta that effect would redistribute only on T
    http://translate.google.ru
    SHAREN is offline
    Send a message via Skype™ to SHAREN
    Furibaito
    Member
    Join Date: Aug 2012
    Location: Colossal Titan
    Old 09-26-2012 , 12:46   Re: [CSS] Hurt Effects [0.3]
    Reply With Quote #4

    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.
    Furibaito is offline
    angel635
    Senior Member
    Join Date: Apr 2011
    Old 10-09-2012 , 10:50   Re: [CSS] Hurt Effects [0.5]
    Reply With Quote #5

    hi

    Log erreur
    Attached Files
    File Type: log errors_20121009.log (14.1 KB, 72 views)
    angel635 is offline
    Furibaito
    Member
    Join Date: Aug 2012
    Location: Colossal Titan
    Old 10-10-2012 , 11:43   Re: [CSS/CSGO] Hurt Effects [0.7]
    Reply With Quote #6

    UPDATED

    Code:
    [0.7] 
    - Added setting to disable effects on world damage 
    - Deleting useless things in the source code
    Also added video!

    Quote:
    Originally Posted by angel635 View Post
    hi

    Log erreur
    I could not reproduce this error, but I think it should be fixed after update.

    Last edited by Furibaito; 10-10-2012 at 11:53.
    Furibaito is offline
    InB
    SourceMod Donor
    Join Date: Aug 2012
    Location: Los Angeles
    Old 10-13-2012 , 15:35   Re: [CSS/CS:GO] Hurt Effects [0.7]
    Reply With Quote #7

    REQUEST

    Can you make this effect that when you spawn your screen shakes and fades for 3 seconds?

    And , This is an Amazing plugin good job man! It's really sick!

    Last edited by InB; 10-13-2012 at 20:28.
    InB is offline
    kylelawfirm
    BANNED
    Join Date: Oct 2012
    Old 10-13-2012 , 16:21   Re: [CSS/CS:GO] Hurt Effects [0.7]
    Reply With Quote #8

    This is a very good post. I am very much agree to learn CSS. This help me very much
    The Kyle Law Firm
    kylelawfirm is offline
    kylelawfirm
    BANNED
    Join Date: Oct 2012
    Old 10-13-2012 , 16:22   Re: [CSS/CS:GO] Hurt Effects [0.7]
    Reply With Quote #9

    This is a very good post for me, because I am very much interested to learn CSS, This post help me to learn it.
    kylelawfirm is offline
    hajmus
    Junior Member
    Join Date: Aug 2012
    Old 10-13-2012 , 18:22   Re: [CSS/CS:GO] Hurt Effects [0.7]
    Reply With Quote #10

    Nice Idea, i will try this plugin on GO...
    __________________
    hajmus is offline
    Reply


    Thread Tools
    Display Modes

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 23:37.


    Powered by vBulletin®
    Copyright ©2000 - 2017, vBulletin Solutions, Inc.
    Theme made by Freecode