VERC: Looping custom ambient_generic sounds Half-Life Last edited 5 years ago2019-04-20 12:36:26 UTC

You are viewing an older revision of this wiki page. The current revision may be more detailed and up-to-date. Click here to see the current revision of this page.

The Basics

The hard part of this is finding a good sound file, as the beginning and the end of the file have to transition smoothly. Once you have, you need to make it conform with the following parameters to make it loop in Half-Life: To do all this, you need a sound editing program like Cool Edit 2000, which can make "cue points" for your wav and save in the required format. There are other audio editors if you didn't like Cool Edit 2000.

Example - using Cool Edit 2000

Then, in your map editor, create an ambient_generic using your new sound. By default it will now loop, playing it over and over and over... which is why the hard part is choosing a good sound.
This article was originally published on the Valve Editing Resource Collective (VERC).
TWHL only archives articles from defunct websites. For more information on TWHL's archiving efforts, please visit the TWHL Archiving Project page.

Comments

You must log in to post a comment. You can login or register a new account.