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

[CS:GO] Player Breathing Sounds (v1.22, 19 March - 2020)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
LuqS
AlliedModders Donor
Join Date: Jun 2019
Location: Israel
Plugin ID:
6990
Plugin Version:
1.22
Plugin Category:
General Purpose
Plugin Game:
Counter-Strike: GO
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    simulate the breathing of the players allowing other players to hear it like in real life.
    Old 03-17-2020 , 19:12   [CS:GO] Player Breathing Sounds (v1.22, 19 March - 2020)
    Reply With Quote #1

    Description:
    This plugin simulate the breathing of the players allowing other players to hear it like in real life.

    Console-Variables:
    Quote:
    breathe_are_bots_breathing (def: 1):
    Whether or not bots make breath sounds.
    breathe_who_should_breathe (def: 0):
    who should make breathe sounds - 0 - Both teams, 1 - Only Terrorists, 2 - Only Counter-Terrorists.
    breathe_walking_sound (def: 0):
    0 - walking0.mp3, 1 - walking1.mp3, 2 - walking2.mp3, 3 - random sound.
    breathe_running_sound (def: 0):
    0 - running0.mp3, 1 - running1.mp3, 2 - running2.mp3, 3 - ramdom sound.
    breathe_hold_mode (def: m):
    r - When not running, m - When not moving, c - On crouch.
    breathe_volume (def: 5):
    Control Breathe-Volume (0-7).
    Installation instructions:
    • Place all sounds into "csgo/sound" (in your game server or fdl if using) and breathe.smx into the plugins folder (game server only).


    Changelog:
    Quote:
    19 March - 2020 [v1.22]
    • Made the code more readable.

    19 March - 2020 [v1.21] BIG UPDATE
    • Added 6 Breathe sounds, 3 for walking, 3 for running.

    • Added ConVar for Breathe volume.

    • Added ConVar for walking breathing sound (choose from 3 different sounds when player is using the SHIFT button or standing still).

    • Added ConVar for running breathing sound (choose from 3 different sounds when player is NOT using the SHIFT button and he is in movement).

    • Added ConVar "holding your breathe". add up to 3 different options. player will hold his breathe : 'r' - When not running, 'm' - When not moving, 'c' - On crouch (for example: when set to "mc", player will not make breathe sounds while not moving (m) or / and crouching (c)).

    • Added late load for client timers (if the client never downloaded the sound files, map change is required).

    18 March - 2020 [v1.11]
    BUG FIX: breathing sound stopped working on team switch.

    18 March - 2020 [v1.01]
    • Edited all old syntax to the new syntax.

    18 March - 2020 [v1.0]
    • Initial release.
    Plans:
    • Make the code more readable.

    If you have any suggestions / bugs you found please write them below!
    Attached Files
    File Type: sp Get Plugin or Get Source (breathe.sp - 534 views - 6.0 KB)
    File Type: zip sound.zip (131.5 KB, 313 views)
    __________________
    You like my work? You want to support?
    Consider Donating!

    Need signatures / offsets for CS:GO?
    Contact me:

    Last edited by LuqS; 05-31-2020 at 00:07.
    LuqS is offline
    NanoC
    Veteran Member
    Join Date: Jan 2016
    Location: Argentina
    Old 03-17-2020 , 19:52   Re: [CS:GO] Player Breathing Sounds (v1.0, 18 March - 2020)
    Reply With Quote #2

    I remember when i've used this old plugin in my first server, it's really nice, congrats for the remake!
    Also i've decided to modify it just a bit, to add a public command to toggle player breathing (enable-disable), so people can choose if they want to listen the sound effect or not. The option will be saved (using clientspref) and it's enabled by default.
    Not sure if people will use this modified version but meh. (Btw i've edited some functions to get it work with the new syntax)
    Command to toggle the snd effects:
    sm_breathe or sm_breathing

    I didn't test this modify version, if anyone use it and have errors just post it below here
    Attached Files
    File Type: sp Get Plugin or Get Source (breathe.sp - 152 views - 3.4 KB)
    File Type: smx breathe.smx (13.8 KB, 141 views)
    __________________

    Last edited by NanoC; 03-17-2020 at 19:53.
    NanoC is offline
    Send a message via Skype™ to NanoC
    LuqS
    AlliedModders Donor
    Join Date: Jun 2019
    Location: Israel
    Old 03-17-2020 , 20:18   Re: [CS:GO] Player Breathing Sounds (v1.0, 18 March - 2020)
    Reply With Quote #3

    Quote:
    Originally Posted by NanoC View Post
    I remember when i've used this old plugin in my first server, it's really nice, congrats for the remake!
    Also i've decided to modify it just a bit, to add a public command to toggle player breathing (enable-disable), so people can choose if they want to listen the sound effect or not. The option will be saved (using clientspref) and it's enabled by default.
    Not sure if people will use this modified version but meh. (Btw i've edited some functions to get it work with the new syntax)
    Command to toggle the snd effects:
    sm_breathe or sm_breathing

    I didn't test this modify version, if anyone use it and have errors just post it below here
    Thank you very much!

    And thanks for the modify, if people will want this option i will release it in a new version .
    __________________
    You like my work? You want to support?
    Consider Donating!

    Need signatures / offsets for CS:GO?
    Contact me:
    LuqS is offline
    DCPMALCHIK
    Junior Member
    Join Date: Mar 2020
    Old 03-18-2020 , 07:07   Re: [CS:GO] Player Breathing Sounds (v1.0, 18 March - 2020)
    Reply With Quote #4

    So, I found a bug

    If for example set Con-Var [breathe_who_should_breathe "1" ("2")] and then switch from Ts to CTs and then again to Ts, the sound of breathing disappears before re-entering the server or re-launching.
    DCPMALCHIK is offline
    LuqS
    AlliedModders Donor
    Join Date: Jun 2019
    Location: Israel
    Old 03-18-2020 , 08:59   Re: [CS:GO] Player Breathing Sounds (v1.0, 18 March - 2020)
    Reply With Quote #5

    Quote:
    Originally Posted by DCPMALCHIK View Post
    So, I found a bug

    If for example set Con-Var [breathe_who_should_breathe "1" ("2")] and then switch from Ts to CTs and then again to Ts, the sound of breathing disappears before re-entering the server or re-launching.
    now it should be fixed
    I tested the plugin but it would be nice if you can check and let me know if it solved the bug for you
    __________________
    You like my work? You want to support?
    Consider Donating!

    Need signatures / offsets for CS:GO?
    Contact me:
    LuqS is offline
    DCPMALCHIK
    Junior Member
    Join Date: Mar 2020
    Old 03-18-2020 , 09:42   Re: [CS:GO] Player Breathing Sounds (v1.0, 18 March - 2020)
    Reply With Quote #6

    Quote:
    Originally Posted by LuqS View Post
    now it should be fixed
    I tested the plugin but it would be nice if you can check and let me know if it solved the bug for you
    Yeah, now it works perfectly.
    Thank you
    DCPMALCHIK is offline
    Lannister
    Veteran Member
    Join Date: Apr 2015
    Old 03-18-2020 , 10:48   Re: [CS:GO] Player Breathing Sounds (v1.0, 18 March - 2020)
    Reply With Quote #7

    Hello! Good Job!

    I wonder if you could make a way to add more sounds? so instead of only one we can play for example 2 or 3 so they play randomly?

    I know its kind of a personal request but it would be very useful for me!

    Good job and thanks in advance!
    Lannister is offline
    LuqS
    AlliedModders Donor
    Join Date: Jun 2019
    Location: Israel
    Old 03-18-2020 , 11:09   Re: [CS:GO] Player Breathing Sounds (v1.0, 18 March - 2020)
    Reply With Quote #8

    Quote:
    Originally Posted by Lannister View Post
    Hello! Good Job!

    I wonder if you could make a way to add more sounds? so instead of only one we can play for example 2 or 3 so they play randomly?

    I know its kind of a personal request but it would be very useful for me!

    Good job and thanks in advance!
    I'm actually working on something like this right now! (and more features as well)

    When everything will be finished and tested i will upload it
    __________________
    You like my work? You want to support?
    Consider Donating!

    Need signatures / offsets for CS:GO?
    Contact me:
    LuqS is offline
    LuqS
    AlliedModders Donor
    Join Date: Jun 2019
    Location: Israel
    Old 03-18-2020 , 18:58   Re: [CS:GO] Player Breathing Sounds (v1.21, 19 March - 2020)
    Reply With Quote #9

    New BIG update uploaded

    HF!
    __________________
    You like my work? You want to support?
    Consider Donating!

    Need signatures / offsets for CS:GO?
    Contact me:
    LuqS is offline
    nguyenbaodanh
    AlliedModders Donor
    Join Date: Jun 2007
    Location: HCMC, Vietnam
    Old 03-27-2020 , 05:37   Re: [CS:GO] Player Breathing Sounds (v1.22, 19 March - 2020)
    Reply With Quote #10

    COol ) now we need a invisible and knife only for TS )
    __________________
    nguyenbaodanh 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 03:26.


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