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

[CSS] RealisticBulletSound(updated at 2013 2 11)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
javalia
Senior Member
Join Date: May 2009
Location: korea, republic of
Plugin ID:
2682
Plugin Version:
1.3.12.23
Plugin Category:
Gameplay
Plugin Game:
Counter-Strike: Source
Plugin Dependencies:
    Servers with this Plugin:
    64 
    Plugin Description:
    makes ricochet/nearmiss sound of every bullets
    Old 11-23-2011 , 11:12   [CSS] RealisticBulletSound(updated at 2013 2 11)
    Reply With Quote #1

    <RealisticBulletSound>




    Introdution

    Q. what is this plugin does?
    A. this plugin makes ricochet/nearmiss sound of bullet.
    to make yo enemy/yoself get scary. k.

    Q. isnt this pretty useless? stop making useless plugins.
    A. Fxxx u.



    Requirements

    this plugin needs the things listed below to work:
    • SDKHooks



    Installation

    to install this plugin
    • put the smx file in the sourcemod/plugins folder
    • put realisticbulletsound.txt in your sourcemod/configs/realisticbulletsound/ folder
    to compile this plugin manually
    • put sp file in the sourcemod/scripting folder
    • compile.



    Configuration
    to configurate this plugin, you need to edit two config files.
    one is auto generated config file for convar of this plugin.
    another one is realisticbulletsound.txt that you have placed in
    sourcemod/configs/realisticbulletsound/ folder.
    that txt file has comments to help you edit it.
    • to use auto generated cfg file
      • run the plugin once, then the cfg will be generated in the cfg/sourcemod folder
      • take a look at the options and change them to your preferences
      • the options you choose in the cfg will be loaded on every map change
    • cvarlist for this version
    Code:
    // This file was auto-generated by SourceMod (v1.5.0-dev+3773)
    // ConVars for plugin "RealisticBulletSound.smx"
    
    
    // bullet will make nearmiss sound if bullet has flied longer than this
    // -
    // Default: "256.0"
    RealisticBulletSound_bulletmakesound "256.0"
    
    // 1 for enable, 0 for disable
    // -
    // Default: "1"
    RealisticBulletSound_enablenearmisssound "1"
    
    // 1 for enable, 0 for disable
    // -
    // Default: "1"
    RealisticBulletSound_enablericochetsound "0"
    
    // positive value will make clients hear nearmiss sound even bullet didnt passed away the client.
    // negative value will force the bullet to pass away client at least absolute value of this value
    // -
    // Default: "16.0"
    RealisticBulletSound_nearmissadjust "16.0"
    
    // distance to client from bullet line that let u hear the nearmiss sound
    // -
    // Default: "64.0"
    RealisticBulletSound_nearmissdistance "64.0"


    Known Bugs & Limits Of the Mod
    • it will make ricochet sound even bullet hits some grass or that things. i was not able to fix it, so i just added cvar to turn ricochet sound off. and it`s disabled by default.
    • is not r u k i a!!!!!!!!!!!!!!!!!



    Special Thanks To

    i want to say thanks to these guys
    • someone whom will get interested on my plugin and test this.
    • Chamamyungsu for helping me to kill boring times.
    • cybermind for helping me on irc about math



    Change Log

    all the date`s format is y/m/d
    Code:
    update at 2013 2 11(ver 1.3.12.23)
    
    • added config file support for custom bullet sounds.
    • now plugin will make only one bullet nearmiss sound for one bullet.
    • now plugin needs sdkhooks to work.
    • made ricochet sound to smaller and disabled it in default.
    • improved mathematics code.
    • added new cvar RealisticBulletSound_nearmissadjust, so you need to remove old convar cfg file to use new one.
    update at 2012 12 09(ver 1.2.4.11)
    • not a real update but just fixed version cvar to not recoded in cfg file anymore.
    • made a separated zip file to save 1000+ download of my old code file. haha.
    update at 2011 11 29(ver 1.2.3.9)
    • added some code but i dont think it will prevent ricochet sound on glass.
    update at 2011 11 29(ver 1.2.3.8)
    • changed base math codes.
    • added cvar for plugin
    update at 2011 11 24(ver 1.0.0.4)
    • fixed all the wrong math codes.....i hope so.
    • removed non existing sound file from sound list
    update at 2011 11 24(ver 1.0.0.2)
    • fixed wrong math code
    update at 2011 11 24(ver 1.0.0.1)
    • changed code to not make ricochet soun when hited on player and water
    update at 2011 11 24(ver 1.0.0.0)
    • released
    Attached Files
    File Type: sp Get Plugin or Get Source (RealisticBulletSound.sp - 3712 views - 6.4 KB)
    File Type: zip RealisticBulletSound(1.2.4.11).zip (2.1 KB, 1083 views)
    File Type: zip RealisticBulletSound(1.3.12.23).zip (16.3 KB, 2370 views)
    __________________

    Last edited by javalia; 02-10-2013 at 13:54. Reason: updated.
    javalia is offline
     


    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 20:37.


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