#Inconsistent results when using differing sounds in /scripts/game_sounds.txt

1 messages · Page 1 of 1 (latest)

hot pike
#

I've always had a bit of an annoyance with the machine hums in tf2, and I play highlander which runs on sv_pure 2 servers. The only way I can see to disable the sound is editing game_sounds.txt to replace the machine hum with the "blank.wav" sound in tf2. However, it doesn't seem to replace them consistently and either does it half of the time, or not at all. This can be replicated on any sound being replaced. Anyone got ideas, or is this just another weird bug?

covert tiger
#

It's how it works

#

Why? Who knows

#

If you paste the "wave" line multiple times, it will affect the chances

median gorgeBOT
#

*If you paste the "wave"

line multiple times, it will

affect the changes*

covert tiger
#

For example if you paste the same "wave" line 99 times, it'll only play the original sound about 1% of the time

hot pike
#
{
    "channel"    "CHAN_STATIC"
    "volume"    "1"
    "pitch"        "100"
    "soundlevel"      "SNDLVL_75dB"
    "wave"        ")misc/blank.wav"
    "wave"        ")misc/blank.wav"
    "wave"        ")misc/blank.wav"
    "wave"        ")misc/blank.wav"
    "wave"        ")misc/blank.wav"
}```
#

Something like that?

covert tiger
#

Yep i think

hot pike
#

Seems like that didn't do anything.

#

Wave line is pasted like 150 times

covert tiger
#

Not sure then, perhaps that only works in game_sounds_weapons

#

If you look at the mod that replaces the Original sound with the stock rocket launcher, that's how they do it

#

And it works in competitive

hot pike
#

Yea it doesn't seem to work with game_sounds, it might have something to do with it being a looping sound?

#

I know how to get rid of looping sounds, by using snd_restart it stops them completely so I may(?) have to use that but I'd prefer not to.

#

Seems that it's only temporary until you switch classes, oh well. If anyone knows something I don't, please let me know.

zealous void
#

rndwave

covert tiger
#

The rocket sound mod doesn't use rndwave

#

Wonder how that works