AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   Damage Sound v2.1 (aka hitsound) (https://forums.alliedmods.net/showthread.php?t=99552)

Chanz 08-06-2009 19:38

Damage Sound v2.1 (aka hitsound)
 
5 Attachment(s)
Damage Sound
You hear a sound when you hit/damage an other player!

Description:
  • With this plugin a player hears a sound if he damaged another player.
  • You can configure it to pitch (higher/brighter) a sound higher on multiple hits to indicate multiple hits *derp*.
  • Every player can choose to disable this plugin or change its settings with the chat command: !settings or !hitsound.
  • You can change the sound played with a console variable.
Requirements for server admins:
  • Sourcemod 1.5 or higher (currently I'm using snapshots :oops: )
Requirements for developers:
  • Sourcemod 1.5 or higher (currently I'm using snapshots :oops: )
  • Git & github.com account etc.
  • SMLIB:feature-pluginmanager (just clone the damage-sound repo, it contains the latest version)
Known Issues:
https://github.com/bcserv/damage-sound/issues
How to report issues:
Please, search what you'd like to report here first: https://github.com/bcserv/damage-sound/issues
You can't find it? Then continue to read the following - lets call it guide lines.
  1. What game are you running the plugin on. (CSS, HL2DM, TF2, etc...)
  2. What the problem is:
    • The server is crashing, lagging, etc.
    • The plugin isn't loading.
    • The plugin isn't working as you expect it.
    • ...
  3. Optional: What the server console prints, when you type the following into it without "" (if you can't access the server console directly use HLSW):
    1. "plugin_print"
    2. "meta list"
    3. "sm plugins list"
    4. "sm exts list"
  4. Search the latest error log (<moddir>/addons/sourcemod/logs/error_xxxxxx.log) that contains an error about this plugin.
Changelog:
https://github.com/bcserv/damage-sound/commits/master
Plugin console variables:
Code:

sm cmds damagesound
[SM] Listing 3 commands for: Damage Sound
          [Name]              [Type]      [Help]
          sm_damagesound      console      Shows the damagesound menu
          sm_damagesound_test  admin        Creates a hurt event of the game engine to test the damage sound
          sm_hitsound          console      Shows the damagesound menu

Plugin console variables:
Code:

sm cvars damagesound
[SM] Listing 9 convars for: Damage Sound
          [Name]                          [Value]
          damagesound_actonweapon         
          damagesound_client_enable        1
          damagesound_client_pitch        0
          damagesound_client_pitch_time    2.0
          damagesound_client_volume        70
          damagesound_delay                0.0
          damagesound_enable              1
          damagesound_path                buttons/button10.wav
          damagesound_version              2.0

Source code and versions:
https://github.com/bcserv/damage-sound
Download:
https://github.com/bcserv/damage-sound/releases
Installation:
Drag and drop the .smx file into your plugins folder (addons/sourcemod/plugins)
Credits:
[foo] bar - he came up with the idea and the code for allowing only defined weapons to play a sound

TheSpyHunter 08-07-2009 12:44

Re: Damage Sound
 
and what sound would this be? can you tell it what sound to play in sourcemod.cfg?

Chanz 08-07-2009 12:56

Re: Damage Sound
 
woops its the
buttons/button10.wav

standard hl2 sound. I'll add a convar as soon as possible. :)

Chanz 08-16-2009 06:32

Re: Damage Sound
 
updated to 1.1.4 see first post for changelog

Whosat 08-16-2009 10:28

Re: Damage Sound
 
Would this be something like the mod Dystopia's hitsounds?

Chanz 08-16-2009 15:51

Re: Damage Sound
 
jup thats like dystopia's hit sounds, but I did not insert the support for the pitch... I mean in dystopia the hitsound gets piched up with each more hit. If you like than I add it and link it to a convar...

Whosat 08-19-2009 06:13

Re: Damage Sound
 
Wow if its possible then I'm sure no one minds hehe :D

Although for l4d you'll probably have to get all the total dmg done for that shot since shotguns and rifles can blast many infected at once. :O

Chanz 08-20-2009 13:10

Re: Damage Sound
 
updated to 1.3.23 see first post for changelog.

(added the dystopia hitsound effect)

Dominator 09-02-2009 01:30

Re: Damage Sound
 
This plugin is great and we use it on our TF2 server due to the lag issues. Would it be possible to make it so that a user can turn the sound off themselves if they dislike this feature?

Chanz 09-02-2009 05:49

Re: Damage Sound
 
yeah sure I would add a menu like the quakesound plugin has. (on/off,volume,more options...)


All times are GMT -4. The time now is 19:30.

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