Forged Alliance Forever Forged Alliance Forever Forums 2018-05-21T07:54:42+02:00 /feed.php?f=47&t=16215 2018-05-21T07:54:42+02:00 2018-05-21T07:54:42+02:00 /viewtopic.php?t=16215&p=163665#p163665 <![CDATA[Re: Total Mayhem 1.36: Sound Bug]]> Statistics: Posted by HorizonPulse — 21 May 2018, 07:54


]]>
2018-05-20T22:54:13+02:00 2018-05-20T22:54:13+02:00 /viewtopic.php?t=16215&p=163652#p163652 <![CDATA[Re: Total Mayhem 1.36: Sound Bug]]> Normal FAF start uses (init_faf.lua) and has such a function in it.

The coop init file has no sound mounting from mod directories.

There are 2 ways to solve this problem.

1. copy all soundfiles from mods\Total Mayhem\sounds\*.* to your game-sound folder eg: SupCom\sound\*.*

OR

2. Open your coop inifile "C:\ProgramData\FAForever\bin\init_coop.lua"

Paste this at the end of the file:

Code:
-- This section mounts sounds from the mods directory to allow mods to add custom sounds to the game
function mount_mod_sounds(MODFOLDER)
    -- searching for mods inside the modfolder
    for _,mod in io.dir( MODFOLDER..'\\*.*') do
        -- do we have a true directory ?
        if mod != '.' and mod != '..' then
            -- searching for sounds inside mod folder
            for _,folder in io.dir(MODFOLDER..'\\'..mod..'\\*.*') do
                -- if we found a folder named sounds then mount it
                if folder == 'sounds' then
                    LOG('Found mod sounds in: '..mod)
                    mount_dir(MODFOLDER..'\\'..mod..'\\sounds', '/sounds')
                    break
                end
            end
        end
    end
end
mount_mod_sounds(SHGetFolderPath('PERSONAL') .. 'My Games\\Gas Powered Games\\Supreme Commander Forged Alliance\\mods')
mount_mod_sounds(InitFileDir .. '\\..\\user\\My Games\\Gas Powered Games\\Supreme Commander Forged Alliance\\mods')


Save it, and start coop.

[Edit] Coop GitHub: https://github.com/FAForever/fa-coop (there you can directly talk/message the coop developer team)

Statistics: Posted by Uveso — 20 May 2018, 22:54


]]>
2018-05-20T21:02:54+02:00 2018-05-20T21:02:54+02:00 /viewtopic.php?t=16215&p=163645#p163645 <![CDATA[Total Mayhem 1.36: Sound Bug]]> I'm experiencing a strange bug when playing with the Total Mayhem mod where most of the sounds for the modded units will not play during co-op story mode missions, but will work fine during normal multiplayer. Does anyone have any idea what might be causing this issue?

Statistics: Posted by HorizonPulse — 20 May 2018, 21:02


]]>