In 1986, the world's worst nuclear disaster occurred at the Chernobyl power station. Soviet authorities established a 30km 'Exclusion Zone' around this nuclear wasteland, but in 2006 a second explosion rocked the stricken reactor, obliterating all living things and causing the Zone's boundaries to ripple outwards. From this epicenter came waves of mutated creatures, deadly radiation, and a strange, anomalous energy. The Zone was cordoned off by the military, who would shoot on sight anyone foolish enough to brave the horrors within.

Report article RSS Feed STALKER Audio Commenting/Conversion

Explains how to properly create properly commented .ogg format audio for the STALKER series.

Posted by {imperialreign} on Feb 22nd, 2011
Basic Sound Effects.

Creating properly commented .ogg audio for STALKER is actually very simple. You will need a few tools, though:

Audacity - A free wave editing application (any other wave editor will work fine)
X-Ray SDK v0.7 - most current SDK released for Call of Pripyat; will also work for Clear Sky and Shadow of Chernobyl audio

First, you'll need to record, edit, create, and/or mix your own audio file - which is where Audacity or your wave editor of choice comes into play.

After you're done with editing your file, you'll need to save it into the SDK's rawdata folder (C:\Program Files\X-Ray CoP SDK\editors\rawdata\sounds\). Make sure you wave the file as a mono (1-channel), 16bit, 44.1kHz file. If you're working with Clear Sky or Call of Pripyat, system sounds and music files should be saved as stereo (2-channel). *note* - Shadow of Chernobyl does not support stereo sounds, and will CTD upon attempting to play them.

Once you've saved your file into the rawdata folder, open the SDK Level Editor, then in the menu on the right hand side, select sounds>sound editor.

With the Sound Editor open, you'll notice two primary columns:

One the left-hand side, you'll see the directory tree and files within the rawdata folder. On the right-hand side, you'll see a list of different config settings available:

Quality - this value is used to determine the final compression quality of the converted .ogg
Min Dist - this value sets the minimum distance from the sound's source the player can hear the sound at 100% volume
Max Dist - this value sets the maximum distance from the sound's source the player can hear still the sound being played
Max AI Dist - this value sets the maximum distance from the sound's source that AI can still "hear" the sound
Base Volume - sets the base volume level of the sound (this value will be adjusted dynamically in-game based of different variables)
Game Type - sets the declared type of sound (used by the engine to assign AI recognition, playback priority and volume adjustment levels)
Auto Att - this will "attenuate" the sound by either the current set Max Dist or Min Dist; it literally will set the min/max for the sound to achieve a steady fade-out over distance
Control - used to play/stop the currently selected sound - can only be used if the raw file has been converted to .ogg
Autoplay - will automatically playback the selected file if has already been converted to .ogg
MANAGE - will "synch" all current files without closing the editor

Some pointers:

*for the editor to convert your currently selected .wav to .ogg, you MUST make some kind of change to the current values. The easiest way to accomplish this is to simply bump the quality setting a bit.
*the higher your quality setting, the better the final converted file will sound, but the larger the file will be as well. The smaller the quality setting, the poorer the sound, but the smaller the file.
*use the attenuation graph to get an idea of how the sound will fade out, based on your current min/max settings - ideally, you want your sound to fade out properly so that it won't "cut off" as the player moves away from it
*depending on the type of sound, be careful of setting the AI distance too high - this can lead to odd AI behaviour as they'll be able to "hear" the sound much further than would be realisitic
*choose a sound type that most closely matches what type of sound it is - the sound types are used heavily by the game engine for AI recognition. For example, if you set an explosion to world ambient, AI will not react to the sound at all.
*set a base volume on par with the type of sound you're working with. If you set too low or too high of a value, it can affect AI recognition. Using a value of 2.00 is fine for explosions, but not for footsteps (AI would "hear" footsteps even if the player was slowly walking across cloth).

Once you've set your values, hit the "OK" button, and the sound editor will convert and comment the file. Converted files are saved into the SDK's gamedata folder (C:\Program Files\X-Ray CoP SDK\editors\gamedata\sounds\) in .ogg format. From here, they can be copied into your STALKER folder, and tested in-game.

More information can be found here:

STALKER Mod Wiki

Further questions can be asked here:

GSC Forums

Post comment Comments
[TZP]LoNer1
[TZP]LoNer1 Feb 23 2011, 1:29pm says:

Hey, thanks man! Really needed this :)

+2 votes     reply to comment
{imperialreign}
{imperialreign} Feb 23 2011, 5:35pm says:

No prob - and if you have any further questions, you know where to find me :D

+1 vote     reply to comment
ILOVEZOMBIESIDO
ILOVEZOMBIESIDO Nov 9 2011, 2:03pm says:

I got this error when trying to export (save as a 16 bit .wav)
"Error while writing WAV (Microsoft) file (disk full?). Libsndfile says "r".

What am I doing wrong?

Thanks.

+1 vote     reply to comment
Post a Comment
click to sign in

You are not logged in, your comment will be anonymous unless you join the community today (totally free - or sign in with your social account on the right) which we encourage all contributors to do.

2000 characters limit; HTML formatting and smileys are not supported - text only

Icon
S.T.A.L.K.E.R. Shadow of Chernobyl
Platform
Windows
Developer
GSC Game World
Publisher
THQ
Engine
X-Ray Engine
Contact
Send Message
Official Page
Stalker-game.com
Release Date
Released Mar 19, 2007
Game Watch
Track this game
Tutorial
Browse
Tutorials
Report Abuse
Report article
Related Games
S.T.A.L.K.E.R. Shadow of Chernobyl
S.T.A.L.K.E.R. Shadow of Chernobyl Single & Multiplayer First Person Shooter
S.T.A.L.K.E.R.: Call of Pripyat
S.T.A.L.K.E.R.: Call of Pripyat Single Player First Person Shooter
S.T.A.L.K.E.R.: Clear Sky
S.T.A.L.K.E.R.: Clear Sky Single Player First Person Shooter
Related Engines
X-Ray Engine
X-Ray Engine Commercial Released Mar 19, 2007
Related Groups
GSC Game World
GSC Game World Developer & Publisher
THQ
THQ Developer & Publisher