Raised This Month: $32 Target: $400
 8% 

[CSS] Hurt Effects [1.1]


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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:
    4 
    Plugin Description:
    Provides screen effects when got shot, based on damage or headshot.
    Old 09-02-2012 , 08: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 - 2648 views - 5.4 KB)

    Last edited by Furibaito; 06-16-2013 at 21:40. Reason: Updated
    Furibaito is offline
     



    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:16.


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