Replacing sound effects Created 3 years ago2021-05-21 13:42:37 UTC by HelloGordon HelloGordon

Created 3 years ago2021-05-21 13:42:37 UTC by HelloGordon HelloGordon

Posted 3 years ago2021-05-21 13:42:37 UTC Post #345660
there are some great tutorials in here and on ModDB about importing your own sound effects to half life, but i couldn't see any of them cover this thing:

take for example the sound effect "Access granted". it is made out of 2 .wav files - "access.wav" adn "granted.wav", in game the play one after another (for my underdasting) and when browsing through sounds in hammer they're listed just as "Access granted".

What should I do if I want to replace a sound effect divided into a few files?
Posted 3 years ago2021-05-21 16:51:52 UTC Post #345661
Those are sentences. See this page for more information: https://twhl.info/wiki/page/Tutorial%3A_Scripted_Sentences

The access granted sound is part of the EA group.

The game will pick at random one of the sentences that starts with the EA prefix and that has a number following that prefix.

To change it you'll need to make your own version of sentences.txt. Note that you will need to make a custom mod to do this since modifying the original file will cause problems (will be reverted if the game is validated through Steam, multiple maps with their own copy will overwrite each-others changes, etc).
You must be logged in to post a response.