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.

Post tutorial Report RSS STALKER Audio Commenting/Conversion

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

Posted by on - 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
Lоnerboner
Lоnerboner - - 8,303 comments

Hey, thanks man! Really needed this :)

Reply Good karma Bad karma+3 votes
{imperialreign} Author
{imperialreign} - - 57 comments

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

Reply Good karma+2 votes
Kardue
Kardue - - 225 comments

I was looking into 'mod portal' learning how to mod and every time i followed the instructions my finished sounds (after editing with the LevelEditor.bat prog) never ended up in level_editor/gamedata/sounds even though I followed every step. On this page it came to my attention to save it as 2 ch stereo instead.
Now my learning can go on. Thank you for this.

Reply Good karma Bad karma+2 votes
Guest
Guest - - 689,296 comments

I'm pretty sure there's an external mod utility for commenting files.

Reply Good karma Bad karma0 votes
Aldarith
Aldarith - - 77 comments

It's called SAVANT

Reply Good karma Bad karma+1 vote
Guest
Guest - - 689,296 comments

This comment is currently awaiting admin approval, join now to view.

Alav.n
Alav.n - - 121 comments

Does it work for COC and do you need to download CoP first before using it?

Reply Good karma Bad karma+1 vote
Alav.n
Alav.n - - 121 comments

Hmmm... I tried so many times, I tried to convert the Glock weapon sound from Cry of Fear to the game but I did all the things you said but it still didn't work... it crashes every time I open the game

Reply Good karma Bad karma+1 vote
Guest
Guest - - 689,296 comments

I did everything in the order but the program doesnt convert the files to ogg format for some reason, need help

Reply Good karma Bad karma0 votes
Kardue
Kardue - - 225 comments

Are you using Audacity? If you are you need to go to "file" then "export" then it should give you options like "export as .WAV" "export as .MP3" "export as .OGG"...
That should be it.

Reply Good karma Bad karma+1 vote
SteamMod
SteamMod - - 156 comments

I was having the same problem until I read the directions much more closely:

Converted files are saved into the SDK's gamedata folder (C:\Program Files\X-Ray CoP SDK\editors\gamedata\sounds\) in .ogg format.

Yes, You would think they might be found in the same folder as the unconverted file where the comment .thm file is generated, but no....

Reply Good karma Bad karma+1 vote
Guest
Guest - - 689,296 comments

Hola estoy haciendo instrumentales y quiero darle mistisismo al asunto. Tengo sensibilidad a la hora de catar sentimientos, estoy vinculado con el clima y mi entorno.

Reply Good karma Bad karma+1 vote
Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account: