Added some new music files to be played over the radio
Converted the files to mono, ogg format
Told the game to use these new files by adding them to sound_theme.script
I fire up stalker, load a savegame, and the game crashes with this CTD;
FATAL ERROR
[error]Expression : fatal error
[error]Function : CScriptEngine::lua_error
[error]File : E:\stalker\patch_1_0004\xr_3da\xrGame\script_engine.cpp
[error]Line : 73
[error]Description : <no expression>
[error]Arguments : LUA error: ...shadow of chernobyl\gamedata\scripts\xr_sound.script:268: attempt to index global 'sound_theme' (a nil value)
stack trace:
So, I open xr_sound.script, go to line 268 and it looks like this;
function load_sound(npc)
sound_theme.load_sound(npc)
end
I see absolutely no problem here.
](./images/smilies/eusa_wall.gif)