Raised This Month: $51 Target: $400
 12% 

Crit sounds


Post New Thread Reply   
 
Thread Tools Display Modes
Author
FrozenHaxor
Senior Member
Join Date: Jun 2009
Location: Poland
Plugin ID:
1377
Plugin Version:
1.1
Plugin Category:
Fun Stuff
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Se below.
    Old 01-02-2010 , 06:28   Crit sounds
    Reply With Quote #1

    C r i t s

    Description

    This plugin emits a random crit sound from player that whenever got hurt for minimum 50dmg (can be set by a cvar). Sounds are extracted from TF2's GCF and I take no credit for them.


    Installation (Requires SourceMod 1.3+)
    Download crits.zip from here, extract addons and sound folders to server's game directory (ex. cstrike) and restart your server. Enjoy


    Cvars
    sm_crit_sounds_version - Version cvar, not changable.
    sm_crit_sounds_enabled [1/0] - Enable or disable plugin.
    sm_crit_sounds_dmg [def. 50] - Minimum damage to take to play crit sound.


    Changelog
    1.0 - Initial release
    1.0.1 - Fixed one sound that won't download and precache (Thanks psychonic)
    1.1 --
    - Added cvars
    - Changed game from CS:S to Any as it don't really have any game-specific code so it should work as well in all games.

    - Changed version cvar.
    - Changed plugin's name to more descripive one
    .
    Attached Files
    File Type: sp Get Plugin or Get Source (crits.sp - 1327 views - 2.2 KB)

    Last edited by FrozenHaxor; 01-02-2011 at 20:33. Reason: Released 1.1
    FrozenHaxor is offline
    exvel
    SourceMod Donor
    Join Date: Jun 2006
    Location: Russia
    Old 01-02-2010 , 06:34   Re: [CS:S] Crits
    Reply With Quote #2

    Nice idea. But it seems that this version cvar has already been taken by another plugin.
    __________________
    For admins: My plugins

    For developers: Colors library
    exvel is offline
    Send a message via ICQ to exvel
    FrozenHaxor
    Senior Member
    Join Date: Jun 2009
    Location: Poland
    Old 01-02-2010 , 06:34   Re: [CS:S] Crits
    Reply With Quote #3

    Yeah i know, already changed it
    FrozenHaxor is offline
    psychonic

    BAFFLED
    Join Date: May 2008
    Old 01-02-2010 , 12:33   Re: [CS:S] Crits
    Reply With Quote #4

    Quote:
    Any "extra" files must comply with the DMCA. Attaching music/sound/video files from other games or authors might cause trouble. Distribute wisely.
    http://forums.alliedmods.net/showthread.php?t=57142
    psychonic is offline
    FrozenHaxor
    Senior Member
    Join Date: Jun 2009
    Location: Poland
    Old 01-02-2010 , 16:06   Re: [CS:S] Crits
    Reply With Quote #5

    It will be OK if I upload it somewhere rather than attaching files on forum? I see you did same thing
    FrozenHaxor is offline
    psychonic

    BAFFLED
    Join Date: May 2008
    Old 01-02-2010 , 16:55   Re: [CS:S] Crits
    Reply With Quote #6

    Quote:
    Originally Posted by FrozenHaxor View Post
    It will be OK if I upload it somewhere rather than attaching files on forum? I see you did same thing
    I did indeed do the same thing. Probably not ideal, but much better than posting that stuff here.
    psychonic is offline
    FrozenHaxor
    Senior Member
    Join Date: Jun 2009
    Location: Poland
    Old 01-02-2010 , 17:00   Re: [CS:S] Crits
    Reply With Quote #7

    Done.
    FrozenHaxor is offline
    psychonic

    BAFFLED
    Join Date: May 2008
    Old 01-19-2010 , 11:09   Re: [CS:S] Crits
    Reply With Quote #8

    Line 32 should be
    PHP Code:
    for (new 05i++) 
    or
    PHP Code:
    for (new 0<= 4i++) 
    The fifth sound is not getting precached and added to the download table.
    psychonic is offline
    FrozenHaxor
    Senior Member
    Join Date: Jun 2009
    Location: Poland
    Old 01-19-2010 , 11:46   Re: [CS:S] Crits
    Reply With Quote #9

    Should be fixed now, thanks
    FrozenHaxor is offline
    FrozenHaxor
    Senior Member
    Join Date: Jun 2009
    Location: Poland
    Old 01-02-2011 , 20:36   Re: Crit sounds
    Reply With Quote #10

    Updated to version 1.1, see first post for download and details.
    __________________
    FrozenHaxor is offline
    Reply



    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 22:28.


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