Difference between revisions of "Hit Sound"

From Team Fortress Wiki
Jump to: navigation, search
m (found an old update)
(Reword, a random github repo isn't needed (just a text reference to where to find this file would be much better next time, especially because the repo is not updated anymore since 2022))
 
(35 intermediate revisions by 26 users not shown)
Line 1: Line 1:
{{Stub}}
+
[[File:Hitsound.png|right|425px|Scout, demonstrating his hit sound.]]
{{Cleanup}}
+
A '''Hit Sound''' or '''hitsound''' is a sound clip that plays when dealing damage to another player. In addition, a higher-pitched sound is played along with the player's hitsound when a [[Critical hits|Critical hit]] is performed. A "Last Hit Sound" has the same concept as a regular Hit Sound, but plays when dealing enough damage to kill another player. Hit Sounds also colloquially refer to '''Kill Sounds''' or '''killsounds''' as a subtype of them, which this article also covers.
[[Image:Hitsound.png|right|425px|Scout, demonstrating his hit sound.]]
 
A '''Hit Sound''' is a sound clip that plays when dealing damage to another player.
 
  
Hit Sounds can be activated and customized through the [[Multiplayer options#Advanced multiplayer options|Advanced Options]] menu.
+
Hit Sounds and Last Hit Sounds can be activated and customized through the [[Multiplayer options#Advanced multiplayer options|Advanced Options]] menu.
===== Custom Hit Sounds =====
+
Custom Hit Sounds can be installed by placing a sound file in '''tf/sounds/ui folder'''  
+
== Custom Hit Sounds ==
The custom Hit Sound must be in '''.wav''' format in order for it to work properly. You can create your own Hit Sounds by converting a sound to '''.wav''' format.
+
Custom Hit Sounds can be installed by placing a sound file in '''tf\custom\customfolder\sound\ui''' folder (the '''customfolder''' folder is just an example; it can be any other folder with a different name, as long as it's not the main sound file's location folder). The custom Hit Sound must be in '''.wav''' (16-bit) format in order for it to work properly. You can create your own Hit Sounds by converting a sound to '''.wav''' format with a sample rate of 44100hz, 22050hz or 11025hz. A custom Kill Sound can be made by placing a '''killsound.wav''' in the folder specified above, while a custom Hit Sound can be produced by placing a file named '''hitsound.wav'''.
Custom Hit Sounds can also be downloaded from various internet sites.
+
Custom Hit Sounds can be downloaded from various internet sites.
  
Uninstalling a custom Hit Sound can be done by deleting the '''.wav''' file from the '''tf/sounds/ui''' folder. The default Hit Sound will be automatically enabled after deleting the '''.wav''' Hit Sound file.
+
Deleting a custom Hit Sound or Kill Sound will switch back to the default sound(s).
  
 
== List of Hit sounds ==
 
== List of Hit sounds ==
Line 52: Line 50:
 
*[[Media:Hitsound menu note7b.wav|Note 7b]]
 
*[[Media:Hitsound menu note7b.wav|Note 7b]]
 
*[[Media:Hitsound menu note8.wav|Note 8]]
 
*[[Media:Hitsound menu note8.wav|Note 8]]
 +
*[[Media:Hitsound menu note9.wav|Note 9]]
 
}}
 
}}
  
Line 124: Line 123:
 
|content    =  
 
|content    =  
 
*[[Media:Hitsound squasher.wav|Squasher 1]]
 
*[[Media:Hitsound squasher.wav|Squasher 1]]
 +
}}
 +
 +
== List of Kill sounds ==
 +
{{SoundList
 +
|colour    = #F3A957
 +
|title      = '''Last Hit Sound'''
 +
|image      =
 +
|image-size = 25px
 +
|image-link =
 +
|content    =
 +
*[[Media:Killsound.wav|Default]]
 +
*[[Media:Killsound electro.wav|Electro]]
 +
*[[Media:Killsound note.wav|Note]]
 +
*[[Media:Killsound percussion.wav|Percussion]]
 +
*[[Media:Killsound retro.wav|Retro]]
 +
*[[Media:Killsound space.wav|Space]]
 +
*[[Media:Killsound beepo.wav|Beepo]]
 +
*[[Media:Killsound vortex.wav|Vortex]]
 +
*[[Media:Killsound squasher.wav|Squasher]]
 
}}
 
}}
  
Line 149: Line 167:
 
;Parameters:
 
;Parameters:
 
:<code><''integer''></code>
 
:<code><''integer''></code>
::Specifies the lowest pitch of your hit sound..
+
::Specifies the lowest pitch of your hit sound.
 
|-
 
|-
 
|{{nw|<big>'''<var>tf_dingaling_volume</var>'''</big>}}
 
|{{nw|<big>'''<var>tf_dingaling_volume</var>'''</big>}}
Line 177: Line 195:
 
:<code><''integer''></code>
 
:<code><''integer''></code>
 
::Sets the delay time between hit sounds.
 
::Sets the delay time between hit sounds.
 +
|-
 +
;Syntax: <kbd>tf_dingalingaling_repeat_delay <''integer''></kbd>
 +
 +
|{{nw|<big>'''<var>tf_dingalingaling_effect</var>'''</big>}}
 +
|Desired hitsound.
 +
 +
;Syntax: <kbd>tf_dingalingaling_effect <''0-8''></kbd>
 +
 +
;Parameters:
 +
:<code><''0-8''></code>
 +
::Sets the hitsound to desired sound.
 +
 +
|-
 +
|{{nw|<big>'''<var>tf_dingalingaling_last_effect</var>'''</big>}}
 +
|Desired killsound.
 +
 +
;Syntax: <kbd>tf_dingalingaling_last_effect <''0-8''></kbd>
 +
 +
;Parameters:
 +
:<code><''0-8''></code>
 +
::Sets the killsound to desired sound.
 
|}
 
|}
  
 
== Update history ==
 
== Update history ==
'''[Unknown Date]'''
+
{{Update history|
 +
'''{{Patch name|1|6|2010}}'''
 
* Added hit sounds
 
* Added hit sounds
  
Line 187: Line 227:
 
* Custom hitsounds can now be used under sv_pure 1/2.
 
* Custom hitsounds can now be used under sv_pure 1/2.
  
'''{{Patch name|7|2|2015}}''' ([[Gun Mettle Update]])
+
'''{{Patch name|7|2|2015}}''' ({{update link|Gun Mettle Update}})
 
* Added a slider to the Advanced Options menu that adjusts the volume of the hit sound when you damage an enemy
 
* Added a slider to the Advanced Options menu that adjusts the volume of the hit sound when you damage an enemy
  
Line 198: Line 238:
 
** Min and max pitch values reverted to what they were prior to the [[October 1, 2015 Patch|October 1st update]]
 
** Min and max pitch values reverted to what they were prior to the [[October 1, 2015 Patch|October 1st update]]
 
** Note: the Advanced Options default slider position is 100, which is normal (0) pitch
 
** Note: the Advanced Options default slider position is 100, which is normal (0) pitch
 +
 +
'''{{Patch name|2|29|2016}}'''
 +
* Added combat text and hit sounds for damage done to buildings.
 +
* Added a "Last Hit" sound option to Hit Sounds.
 +
** Triggered when one of your attacks causes the death of a player or building.
 +
** Can be toggled in the Adv. Options menu.
 +
 +
'''{{Patch name|3|1|2016}}'''
 +
* Update last Hit sounds.
 +
** Added several options (located in Adv. Options on the main menu).
 +
** Fixed custom sounds not working in sv_pure servers.
 +
** Fixed not hearing the Last Hit sound for Spies using the Dead Ringer.
 +
 +
'''{{Patch name|3|3|2016}}'''
 +
* Fixed not being able to use custom hitsounds and killsounds on servers using {{code|[[List of useful console commands|sv_pure 2]]}}.
 +
 +
'''{{Patch name|3|17|2016}}'''
 +
* Last hit sounds no longer consider the time of the previous hit sound.
 +
** Fixes the sound not playing if you damaged an enemy too close to landing the last hit.
 +
}}
 +
 +
== Unused content ==
 +
* References to an unused set of hitsounds named "Synth" can be found in the {{code|game_sounds_weapons.txt}} file in the {{code|tf2_misc_dir.vpk}}. The referenced {{code|.wav}} hitsound files are not present in the game's files.
  
 
== Trivia ==
 
== Trivia ==
* The '''note''' hit sound uses similar sound clips to those used when mousing over classes on the class selection screen.
+
* The '''Note''' hit sound uses similar sound clips to those used when mousing over classes on the class selection screen.
 +
* The '''Default''' hit sound is similar to the sound when players capture a [[Control point (objective)|Control Point]].
  
 
[[Category:Gameplay]]
 
[[Category:Gameplay]]

Latest revision as of 15:39, 16 November 2024

Scout, demonstrating his hit sound.

A Hit Sound or hitsound is a sound clip that plays when dealing damage to another player. In addition, a higher-pitched sound is played along with the player's hitsound when a Critical hit is performed. A "Last Hit Sound" has the same concept as a regular Hit Sound, but plays when dealing enough damage to kill another player. Hit Sounds also colloquially refer to Kill Sounds or killsounds as a subtype of them, which this article also covers.

Hit Sounds and Last Hit Sounds can be activated and customized through the Advanced Options menu.

Custom Hit Sounds

Custom Hit Sounds can be installed by placing a sound file in tf\custom\customfolder\sound\ui folder (the customfolder folder is just an example; it can be any other folder with a different name, as long as it's not the main sound file's location folder). The custom Hit Sound must be in .wav (16-bit) format in order for it to work properly. You can create your own Hit Sounds by converting a sound to .wav format with a sample rate of 44100hz, 22050hz or 11025hz. A custom Kill Sound can be made by placing a killsound.wav in the folder specified above, while a custom Hit Sound can be produced by placing a file named hitsound.wav. Custom Hit Sounds can be downloaded from various internet sites.

Deleting a custom Hit Sound or Kill Sound will switch back to the default sound(s).

List of Hit sounds

Note: This list is for official hit sounds only. Do not add your own custom hit sounds.

Default
Electro
Notes
Percussion
Retro
Space
Beepo
Vortex
Squasher

List of Kill sounds

Last Hit Sound

Hit sound commands

There are extra console commands that can be used to further customize hit sounds.

Syntax
tf_dingalingaling_repeat_delay <integer>
Command Description
tf_dingaling_pitchmaxdmg Desired pitch of the hit sound when a maximum damage hit (>= 150 health) is done.
Syntax
tf_dingaling_pitchmaxdmg <integer>
Parameters
<integer>
Specifies the highest pitch of your hit sound.
tf_dingaling_pitchmindmg Desired pitch of the hit sound when a minimal damage hit (<= 10 health) is done.
Syntax
tf_dingaling_pitchmindmg <integer>
Parameters
<integer>
Specifies the lowest pitch of your hit sound.
tf_dingaling_volume Desired volume of the hit sound.
Syntax
tf_dingaling_volume <integer>
Parameters
<integer>
Specifies the volume of your hit sound when played.
tf_dingalingaling If set to 1, will play a sound every time you injure another player.
Syntax
tf_dingalingaling <integer>
Parameters
<integer>
Either 1 or 0. Default is 0 (disabled).
tf_dingalingaling_repeat_delay Desired repeat delay of the hit sound. Set to 0 to play a sound for every instance of damage dealt.
Syntax
tf_dingalingaling_repeat_delay <integer>
Parameters
<integer>
Sets the delay time between hit sounds.
tf_dingalingaling_effect Desired hitsound.
Syntax
tf_dingalingaling_effect <0-8>
Parameters
<0-8>
Sets the hitsound to desired sound.
tf_dingalingaling_last_effect Desired killsound.
Syntax
tf_dingalingaling_last_effect <0-8>
Parameters
<0-8>
Sets the killsound to desired sound.

Update history

January 6, 2010 Patch
  • Added hit sounds

December 22, 2010 Patch

  • Custom hitsounds must now be specified by replacing the 'tf/sound/ui/hitsound.wav' file.
  • Custom hitsounds can now be used under sv_pure 1/2.

July 2, 2015 Patch (Gun Mettle Update)

  • Added a slider to the Advanced Options menu that adjusts the volume of the hit sound when you damage an enemy

October 1, 2015 Patch

  • Added new hit-sound options for players to choose from in the Adv. Options menu

October 6, 2015 Patch

  • Fixed a regression with weapon hit sounds
    • Hit sounds no longer clip each other
    • Min and max pitch values reverted to what they were prior to the October 1st update
    • Note: the Advanced Options default slider position is 100, which is normal (0) pitch

February 29, 2016 Patch

  • Added combat text and hit sounds for damage done to buildings.
  • Added a "Last Hit" sound option to Hit Sounds.
    • Triggered when one of your attacks causes the death of a player or building.
    • Can be toggled in the Adv. Options menu.

March 1, 2016 Patch

  • Update last Hit sounds.
    • Added several options (located in Adv. Options on the main menu).
    • Fixed custom sounds not working in sv_pure servers.
    • Fixed not hearing the Last Hit sound for Spies using the Dead Ringer.

March 3, 2016 Patch

  • Fixed not being able to use custom hitsounds and killsounds on servers using sv_pure 2.

March 17, 2016 Patch

  • Last hit sounds no longer consider the time of the previous hit sound.
    • Fixes the sound not playing if you damaged an enemy too close to landing the last hit.

Unused content

  • References to an unused set of hitsounds named "Synth" can be found in the game_sounds_weapons.txt file in the tf2_misc_dir.vpk. The referenced .wav hitsound files are not present in the game's files.

Trivia

  • The Note hit sound uses similar sound clips to those used when mousing over classes on the class selection screen.
  • The Default hit sound is similar to the sound when players capture a Control Point.