Raised This Month: $154 Target: $400
 38% 

[CSS] RealisticBulletSound(updated at 2013 2 11)


Post New Thread Reply   
 
Thread Tools Display Modes
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:
    82 
    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 - 1989 views - 6.4 KB)
    File Type: zip RealisticBulletSound(1.2.4.11).zip (2.1 KB, 654 views)
    File Type: zip RealisticBulletSound(1.3.12.23).zip (16.3 KB, 1381 views)
    __________________

    Last edited by javalia; 02-10-2013 at 13:54. Reason: updated.
    javalia is offline
    DaFox
    Senior Member
    Join Date: Mar 2005
    Old 11-23-2011 , 11:32   Re: [CSS] RealisticBulletSound
    Reply With Quote #2

    All hail king javalia.
    __________________
    Quote:
    Originally Posted by Peoples Army
    your from Finland? what country is that in?
    DaFox is offline
    javalia
    Senior Member
    Join Date: May 2009
    Location: korea, republic of
    Old 11-23-2011 , 11:36   Re: [CSS] RealisticBulletSound
    Reply With Quote #3

    Quote:
    Originally Posted by DaFox View Post
    All hail king javalia.
    u r count from now.
    __________________
    javalia is offline
    windows_hack
    New Member
    Join Date: Oct 2011
    Old 11-23-2011 , 11:59   Re: [CSS] RealisticBulletSound
    Reply With Quote #4

    Thank you.
    windows_hack is offline
    Guren
    Senior Member
    Join Date: Feb 2011
    Location: Equestria, Ponyville
    Old 11-25-2011 , 22:53   Re: [CSS] RealisticBulletSound
    Reply With Quote #5

    woooooooooooooooooow awesome
    __________________

    Nick : Chamamyungsu // Korean Brony
    Guren is offline
    blue zebra
    BANNED
    Join Date: Jun 2010
    Old 11-26-2011 , 01:06   Re: [CSS] RealisticBulletSound
    Reply With Quote #6

    Haha.
    Thanks.
    You guessed my thoughts.
    I'm going to testing on CS:S.

    Edit: It's fantastic. Works like a charm. Good job.
    Some questions.

    - Can you do to reduce these sounds to all 3-4-5-6. bullets only? Randomly. Not like now, when all bullet give a sound.
    I think now is too big voice disorder.

    - Can you do a !settings menu for this plugin to turn on or off these sounds?
    Let the player decide what he/she want.

    - You can do more realistic ingame sounds? Some randomly played background sounds?
    Like these:
    hl2/sound/explosions/battle_loop1.wav
    hl2/sound/ambient/levels/streetwar/city_battle1
    hl2/sound/ambient/levels/streetwar/city_battle4
    hl2/sound/ambient/levels/streetwar/city_battle5
    hl2/sound/ambient/levels/streetwar/city_battle8
    hl2/sound/ambient/levels/streetwar/city_battle9
    hl2/sound/ambient/levels/streetwar/heli_distant1

    Last edited by blue zebra; 11-26-2011 at 02:47.
    blue zebra is offline
    pr0gadget
    Junior Member
    Join Date: Mar 2011
    Location: Planet Earth
    Old 11-28-2011 , 11:35   Re: [CSS] RealisticBulletSound
    Reply With Quote #7

    Quote:
    Originally Posted by blue zebra View Post
    - Can you do to reduce these sounds to all 3-4-5-6. bullets only? Randomly. Not like now, when all bullet give a sound.
    I think now is too big voice disorder.

    - Can you do a !settings menu for this plugin to turn on or off these sounds?
    Let the player decide what he/she want.
    I agree with blue zebra - And tnx javalia for this interesting plugin, I enjoyed it
    EDIT: I think You should also remove ricochet sounds from glass (window), wood and ground (sand). Then it should be more realistic with less sound spam ("too big voice disorder") ;)
    __________________
    Notice: If you notice this notice you will notice that this notice is not worth noticing.

    Last edited by pr0gadget; 11-28-2011 at 14:33.
    pr0gadget is offline
    javalia
    Senior Member
    Join Date: May 2009
    Location: korea, republic of
    Old 11-28-2011 , 15:21   Re: [CSS] RealisticBulletSound(updated at 2011 11 29)
    Reply With Quote #8

    updated.
    bluezebra and pr0gadget, thanks for testing my plugin.
    and..answer to questions..
    first, adding battle bgm like that is not intending point of my plugin.
    well, maybe some other can make some BGM plugin that does that kind of works.

    second, bullet sound, hm..not sure...but i made bullet sound to a bit smaller.
    and also changed code so players far from bulletline will not able to hear the bullet sound. u can config it.

    third, the glass and wood ricochet sound, sad but i was not able to find good way to handle this, so, instead of it, i added a cvar that on/offs ricochet sound. hehe.
    __________________
    javalia is offline
    templetonpeck
    Senior Member
    Join Date: Apr 2009
    Old 12-07-2011 , 03:49   Re: [CSS] RealisticBulletSound(updated at 2011 11 29)
    Reply With Quote #9

    Could you add a Config where you can define your own paths and sounds
    to download and being played? I really would use some other Bullet Sounds
    on my Server.

    Thanxx 4 your good job on this Plugin.
    __________________
    templetonpeck is offline
    javalia
    Senior Member
    Join Date: May 2009
    Location: korea, republic of
    Old 01-13-2012 , 15:11   Re: [CSS] RealisticBulletSound(updated at 2011 11 29)
    Reply With Quote #10

    well, for now, i am not having any plan about adding that kind of sound configs.
    but u maybe easily can edit code of this plugin. it is short and will be easy to edit...
    __________________
    javalia 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 15:33.


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