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

[CSS] silence nades or with custom txt and snd


Post New Thread Reply   
 
Thread Tools Display Modes
Author
grif_ssa
BANNED
Join Date: Apr 2008
Plugin ID:
547
Plugin Version:
1.1, 1.4
Plugin Category:
General Purpose
Plugin Game:
Counter-Strike: Source
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    The silence nades plugin control 'Fire in the hole' text and sound
    Old 09-14-2008 , 14:06   [CSS] silence nades or with custom txt and snd
    Reply With Quote #1

    For CSS [OB]:
    Quote:
    Originally Posted by vertexshader View Post
    Since last update to CSS it is now possible to silence nades server-side.
    Just type in your srcds console or add to autoexec.cfg the command .
    Quote:
    sv_ignoregrenaderadio 1


    For old CSS:
    SilenceNades
    Initial purpose to remove nasty sound and text 'Fire in the hole'
    starting from version 1.2 there are presets of txts ans snds wich each player can select individualy or just leave it to be silence

    TODO:
    • add: random play sound feature
    • add: clientprefs? O.o

    CVars:
    • sm_silence_nades_sound_he_default - Default sound for HE grenades
      "" (default)
      "" - silence

    • sm_silence_nades_text_he_default - Default text for HE grenades
      "" (default)
      "" - silence

    • sm_silence_nades_sound_flash_default - Default sound for Flashbangs
      "" (default)
      "" - silence

    • sm_silence_nades_text_flash_default - Default text for Flashbangs
      "Fire in the hole! [flash]" (default)
      "" - silence

    • sm_silence_nades_sound_smoke_default - Default sound for Smoke grenades
      "" (default)
      "" - silence

    • sm_silence_nades_text_smoke_default - Default text for Smoke grenades
      "" (default)
      "" - silence

    Player settings:

    sm_silence_nades in console or in chat: /silence_nades or !silence_nades

    Example of configs/silencenades.cfg
    Code:
    "snSndTxt"
    {
            "he"
            {
                    "s_1"           "radio/ct_fireinhole.wav"
                    "s_2"           "sucks/nades/grenade_1.mp3"
                    "s_3"           "sucks/nades/grenade_2.mp3"
                    "s_4"           "sucks/nades/grenade_3.mp3"
                    "s_5"           "sucks/nades/grenade_4.mp3"
                    "t_1"           "Fire in the hole! [he]"
            }
            "fl"
            {
                    "s_1"           "radio/ct_fireinhole.wav"
                    "t_1"           "Fire in the hole! [flash]"
            }
            "sm"
            {
                    "s_1"           "radio/ct_fireinhole.wav"
                    "t_1"           "Fire in the hole! [smoke]"
            }
    }
    Changelog:
    • 1.0
      * Initial Release
    • 1.1
      * Fix: radio w/o location
    • 1.2
      * Add: individual customization
    • 1.3
      * Add: places translation
    • 1.4
      * Fix: MaxClients issue
      * Fix: STEAM_ID_PENDING issue
      * Mod: Changed defaults

    PS: attached version 1.1 just for silence
    PSS: version 1.4 pack has some russian sound for HE nades from STALKER
    Attached Files
    File Type: sp Get Plugin or Get Source (silencenades-1.1.sp - 4407 views - 2.4 KB)
    File Type: gz silencenades-1.4.tar.gz (94.9 KB, 2916 views)

    Last edited by grif_ssa; 08-17-2010 at 19:04.
    grif_ssa is offline
    Send a message via ICQ to grif_ssa
    thetwistedpanda
    Good Little Panda
    Join Date: Sep 2008
    Old 09-18-2008 , 22:42   Re: silence nades
    Reply With Quote #2

    Yay! I've been waiting months for something like this to be created.
    thetwistedpanda is offline
    Derek
    Senior Member
    Join Date: Sep 2007
    Old 09-18-2008 , 23:12   Re: silence nades
    Reply With Quote #3

    Sweet. I will be adding this to our 2 zombiemod servers.
    __________________
    Derek
    Owner
    XFactorServers
    Game Server Hosting
    Derek is offline
    grif_ssa
    BANNED
    Join Date: Apr 2008
    Old 09-20-2008 , 07:10   Re: silence nades
    Reply With Quote #4

    TODO: make it customizable for each player

    some people on my serv start complain they need that sound and text

    ктобы подогнал звуков типа "слепавуха", "дымавуха" ну или чтото типа того, чтоб мона было выбрать нетока стандартный "Fire in the hole" для всех грен, а можно было понять что именно кидают
    grif_ssa is offline
    Send a message via ICQ to grif_ssa
    HSFighter
    Veteran Member
    Join Date: Aug 2007
    Location: Flensburg - Germany
    Old 09-20-2008 , 07:57   Re: silence nades
    Reply With Quote #5

    Quote:
    Originally Posted by thetwistedpanda View Post
    Yay! I've been waiting months for something like this to be created.
    Me to

    We have a 32 Slot CSSM Server...
    I'm was creasy... every second: "Fire in the hole".


    Thx grif_ssa

    p.s.
    can you add a cvar to select between Sound and Text.

    ex:
    Code:
    // 0 = all triggers ON, 1=only text will be show, 
    // 2=only sound will be play, 3=All triggers OFF
    sn_trigger = 3 // Default 3
    __________________



    Sorry for my very bad english
    Greetings HSFighter

    Last edited by HSFighter; 09-20-2008 at 08:03.
    HSFighter is offline
    Send a message via ICQ to HSFighter
    Molli
    SourceMod Donor
    Join Date: Aug 2007
    Location: Finland
    Old 09-20-2008 , 09:06   Re: silence nades
    Reply With Quote #6

    Omg this plugin rocks.

    Veeeeery big thank you
    Molli is offline
    grif_ssa
    BANNED
    Join Date: Apr 2008
    Old 09-22-2008 , 10:51   Re: silence nades
    Reply With Quote #7

    i wanted to use ClientPrefs but it doesn't suit me

    2 HSFighter: i wanted to use custom client settings, and your idea can be done by making defaults for that settings, is it ok?

    PS: have no much time, and sorry for my english

    Last edited by grif_ssa; 09-22-2008 at 10:59.
    grif_ssa is offline
    Send a message via ICQ to grif_ssa
    HSFighter
    Veteran Member
    Join Date: Aug 2007
    Location: Flensburg - Germany
    Old 09-22-2008 , 12:25   Re: silence nades
    Reply With Quote #8

    Quote:
    Originally Posted by grif_ssa View Post
    2 HSFighter: i wanted to use custom client settings, and your idea can be done by making defaults for that settings, is it ok?
    Fine... Thx
    __________________



    Sorry for my very bad english
    Greetings HSFighter
    HSFighter is offline
    Send a message via ICQ to HSFighter
    The-Tournament
    Junior Member
    Join Date: Jun 2008
    Old 09-27-2008 , 10:30   Re: silence nades
    Reply With Quote #9

    Awesome plug-in

    I stripped GOTGAMES Warmod (Another Great Mod) right down to do this lol

    I will run this on my deathmatch server as a trial
    The-Tournament is offline
    ifx
    Senior Member
    Join Date: Apr 2008
    Old 09-28-2008 , 07:28   Re: silence nades
    Reply With Quote #10

    awesome! many thanks for it
    ifx 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 15:09.


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